{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 2,
   "name": "River Benchmarks",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 40001,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "modelName": "GP_34229718",
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1399164.1100000003,
    "ymin": 5024137.7017,
    "xmax": 1688781.0560999997,
    "ymax": 5356417.5328,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 5763,
    "latestVcsWkid": 5763,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "Lyttelton",
    "heightUnit": "meter"
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9ca002d20fc63f0e233c747834ce5785",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABjUlEQVQokWNhIBOwUFXjh6oqo+MPH4ZwMTMzWsnKbmdtbT2EV+P9hASOCdevH4lYtcrYQEICLDbh1KmKdheXGxWmpjaM7e1vsWosO3Xq+JNPnwwOJyUxMDMygsX+/PvHYDV3rsbTT59OMzAwKGFojNDRceBlY9NPMjRkSN+8mWGWry/DfwYGhrTNmxlq7OwYVl+7prgkKCgwZt269SgaX375kpDv7MxoISMD5qdt3szw9/9/hkANDQY/dXUGDhYWhjXXrsUyMDCgavz44wenJC8vmO2qrMww+dQpMNtHTQ1MS/HyMrz59o0Tw6mPPn3ad+nFCz8ZPj6O1E2bGNKNjRnYmJnBNoOcfeXVK4aPv34dwND45tu3pRV79uStu3FDC+Y8BigAaT73/Pnz8y9eTMEWql+uvXmT9uvfv/nNjo4gj4KdpSos/O/o48cvXn/5Es/AwPAVa3QwMDAcvfPunYv6lCmlEtzc2v8ZGdk+fP9+9/2PH00MDAx3cSYAmHe//f6de+/DByxS+DUSBQDlR5lmfU/0VQAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": true,
   "enableZDefaults": false,
   "supportsVCSProjection": true,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "DESCRIPTION",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "HEIGHT",
     "type": "esriFieldTypeDouble",
     "alias": "HEIGHT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HEIGHT"
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "DESCRIPTION"
    },
    {
     "name": "LOCATION",
     "type": "esriFieldTypeString",
     "alias": "LOCATION",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "LOCATION"
    },
    {
     "name": "DataSOURCE",
     "type": "esriFieldTypeString",
     "alias": "DataSOURCE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "DataSOURCE"
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "COMMENTS"
    },
    {
     "name": "X_DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "X_DISPLAY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "X_DISPLAY"
    },
    {
     "name": "Y_DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "Y_DISPLAY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Y_DISPLAY"
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SpatialAccuracy"
    },
    {
     "name": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "WGS84_LONGITUDE"
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "WGS84_LATITUDE"
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CreatedBy"
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "CreatedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "CreatedDate"
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "ModifiedBy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ModifiedBy"
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "ModifiedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ModifiedDate"
    },
    {
     "name": "PublishedDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "PublishedDate"
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ProcessDate"
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "ProcessID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ProcessID"
    },
    {
     "name": "Q__POINT",
     "type": "esriFieldTypeString",
     "alias": "Q__POINT",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "Q__POINT"
    },
    {
     "name": "Northing",
     "type": "esriFieldTypeDouble",
     "alias": "Northing",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Northing"
    },
    {
     "name": "Easting",
     "type": "esriFieldTypeDouble",
     "alias": "Easting",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Easting"
    },
    {
     "name": "Code",
     "type": "esriFieldTypeString",
     "alias": "Code",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Code"
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "TYPE"
    },
    {
     "name": "SUBTYPE",
     "type": "esriFieldTypeString",
     "alias": "SUBTYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SUBTYPE"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R2447_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1996_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "River Benchmarks",
     "description": "",
     "prototype": {
      "attributes": {
       "TYPE": null,
       "SUBTYPE": null,
       "HEIGHT": null,
       "DESCRIPTION": null,
       "LOCATION": null,
       "DataSOURCE": null,
       "COMMENTS": null,
       "X_DISPLAY": null,
       "Y_DISPLAY": null,
       "SpatialAccuracy": null,
       "WGS84_LONGITUDE": null,
       "WGS84_LATITUDE": null,
       "CreatedBy": null,
       "CreatedDate": null,
       "ModifiedBy": null,
       "ModifiedDate": null,
       "PublishedDate": null,
       "ProcessDate": null,
       "ProcessID": null,
       "Q__POINT": null,
       "Northing": null,
       "Easting": null,
       "Code": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Fairway and Berm Condition Editor",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": {
    "creationDateField": "created_date",
    "creatorField": "created_user",
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user"
   },
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": true,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": true,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1747889049000
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1368429.9155000001,
    "ymin": 5021799.6134,
    "xmax": 1655005.0845999997,
    "ymax": 5313672.2381,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Condition",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "1",
         "description": "1",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           20,
           158,
           206,
           214
          ],
          "width": 2.25
         },
         "values": [
          [
           "1"
          ]
         ]
        },
        {
         "label": "2",
         "description": "2",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "2"
          ]
         ]
        },
        {
         "label": "3",
         "description": "3",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "3"
          ]
         ]
        },
        {
         "label": "4",
         "description": "4",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "4"
          ]
         ]
        },
        {
         "label": "5",
         "description": "5",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           230,
           0,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "5"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         20,
         158,
         206,
         214
        ],
        "width": 2.25
       },
       "value": "1",
       "label": "1"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "width": 2.25
       },
       "value": "2",
       "label": "2"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "width": 2.25
       },
       "value": "3",
       "label": "3"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "4",
       "label": "4"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         0,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "5",
       "label": "5"
      }
     ],
     "fieldDelimiter": ","
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": true,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "GlobalID",
   "displayField": "Reach",
   "typeIdField": "Condition",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Id"
    },
    {
     "name": "Condition",
     "type": "esriFieldTypeInteger",
     "alias": "Condition",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Condition"
    },
    {
     "name": "Length",
     "type": "esriFieldTypeDouble",
     "alias": "Length",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Length"
    },
    {
     "name": "Reach",
     "type": "esriFieldTypeString",
     "alias": "Reach",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Reach"
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Comment"
    },
    {
     "name": "Position",
     "type": "esriFieldTypeString",
     "alias": "Position",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Position"
    },
    {
     "name": "YearGroup",
     "type": "esriFieldTypeString",
     "alias": "YearGroup",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 100,
     "defaultValue": null,
     "modelName": "YearGroup"
    },
    {
     "name": "River",
     "type": "esriFieldTypeString",
     "alias": "River",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "River"
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "length": 38,
     "defaultValue": null,
     "modelName": "GlobalID"
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "created_user"
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "created_date"
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "last_edited_user"
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "last_edited_date"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_2993",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "gdb_ct3_2993",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2394_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [
    {
     "id": 1,
     "name": "1",
     "domains": {},
     "templates": [
      {
       "name": "1",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 1,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 2,
     "name": "2",
     "domains": {},
     "templates": [
      {
       "name": "2",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 2,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 3,
     "name": "3",
     "domains": {},
     "templates": [
      {
       "name": "3",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 3,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 4,
     "name": "4",
     "domains": {},
     "templates": [
      {
       "name": "4",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 4,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 5,
     "name": "5",
     "domains": {},
     "templates": [
      {
       "name": "5",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 5,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing,ChangeTracking",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 8,
   "name": "Fairway and Berm Condition 2017 - 2023",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": {
    "creationDateField": "created_date",
    "creatorField": "created_user",
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user"
   },
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": true,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": true,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1747889049000
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1368429.9155000001,
    "ymin": 5021799.6134,
    "xmax": 1655005.0845999997,
    "ymax": 5313672.2381,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Condition",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "1",
         "description": "1",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           20,
           158,
           206,
           214
          ],
          "width": 2.25
         },
         "values": [
          [
           "1"
          ]
         ]
        },
        {
         "label": "2",
         "description": "2",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "2"
          ]
         ]
        },
        {
         "label": "3",
         "description": "3",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "3"
          ]
         ]
        },
        {
         "label": "4",
         "description": "4",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "4"
          ]
         ]
        },
        {
         "label": "5",
         "description": "5",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           230,
           0,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "5"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         20,
         158,
         206,
         214
        ],
        "width": 2.25
       },
       "value": "1",
       "label": "1"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "width": 2.25
       },
       "value": "2",
       "label": "2"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "width": 2.25
       },
       "value": "3",
       "label": "3"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "4",
       "label": "4"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         0,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "5",
       "label": "5"
      }
     ],
     "fieldDelimiter": ","
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": true,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "GlobalID",
   "displayField": "Id",
   "typeIdField": "Condition",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Id"
    },
    {
     "name": "Condition",
     "type": "esriFieldTypeInteger",
     "alias": "Condition",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Condition"
    },
    {
     "name": "Length",
     "type": "esriFieldTypeDouble",
     "alias": "Length",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Length"
    },
    {
     "name": "Reach",
     "type": "esriFieldTypeString",
     "alias": "Reach",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Reach"
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Comment"
    },
    {
     "name": "Position",
     "type": "esriFieldTypeString",
     "alias": "Position",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Position"
    },
    {
     "name": "YearGroup",
     "type": "esriFieldTypeString",
     "alias": "YearGroup",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 100,
     "defaultValue": null,
     "modelName": "YearGroup"
    },
    {
     "name": "River",
     "type": "esriFieldTypeString",
     "alias": "River",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "River"
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "length": 38,
     "defaultValue": null,
     "modelName": "GlobalID"
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "created_user"
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "created_date"
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "last_edited_user"
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "last_edited_date"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_2993",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "gdb_ct3_2993",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2394_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [
    {
     "id": 1,
     "name": "1",
     "domains": {},
     "templates": [
      {
       "name": "1",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 1,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 2,
     "name": "2",
     "domains": {},
     "templates": [
      {
       "name": "2",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 2,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 3,
     "name": "3",
     "domains": {},
     "templates": [
      {
       "name": "3",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 3,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 4,
     "name": "4",
     "domains": {},
     "templates": [
      {
       "name": "4",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 4,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 5,
     "name": "5",
     "domains": {},
     "templates": [
      {
       "name": "5",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 5,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing,ChangeTracking",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 9,
   "name": "Fairway and Berm Condition 2024 - 2028",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": {
    "creationDateField": "created_date",
    "creatorField": "created_user",
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user"
   },
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": true,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": true,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1747889049000
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1368429.9155000001,
    "ymin": 5021799.6134,
    "xmax": 1655005.0845999997,
    "ymax": 5313672.2381,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Condition",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "1",
         "description": "1",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           20,
           158,
           206,
           214
          ],
          "width": 2.25
         },
         "values": [
          [
           "1"
          ]
         ]
        },
        {
         "label": "2",
         "description": "2",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "2"
          ]
         ]
        },
        {
         "label": "3",
         "description": "3",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "3"
          ]
         ]
        },
        {
         "label": "4",
         "description": "4",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "4"
          ]
         ]
        },
        {
         "label": "5",
         "description": "5",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           230,
           0,
           0,
           255
          ],
          "width": 2.25
         },
         "values": [
          [
           "5"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         20,
         158,
         206,
         214
        ],
        "width": 2.25
       },
       "value": "1",
       "label": "1"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "width": 2.25
       },
       "value": "2",
       "label": "2"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "width": 2.25
       },
       "value": "3",
       "label": "3"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "4",
       "label": "4"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         0,
         0,
         255
        ],
        "width": 2.25
       },
       "value": "5",
       "label": "5"
      }
     ],
     "fieldDelimiter": ","
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": true,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "GlobalID",
   "displayField": "Id",
   "typeIdField": "Condition",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Id"
    },
    {
     "name": "Condition",
     "type": "esriFieldTypeInteger",
     "alias": "Condition",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Condition"
    },
    {
     "name": "Length",
     "type": "esriFieldTypeDouble",
     "alias": "Length",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Length"
    },
    {
     "name": "Reach",
     "type": "esriFieldTypeString",
     "alias": "Reach",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Reach"
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Comment"
    },
    {
     "name": "Position",
     "type": "esriFieldTypeString",
     "alias": "Position",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Position"
    },
    {
     "name": "YearGroup",
     "type": "esriFieldTypeString",
     "alias": "YearGroup",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 100,
     "defaultValue": null,
     "modelName": "YearGroup"
    },
    {
     "name": "River",
     "type": "esriFieldTypeString",
     "alias": "River",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "River"
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "length": 38,
     "defaultValue": null,
     "modelName": "GlobalID"
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "created_user"
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "created_date"
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "last_edited_user"
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "domain": null,
     "editable": false,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "last_edited_date"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_2993",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "gdb_ct3_2993",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2394_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [
    {
     "id": 1,
     "name": "1",
     "domains": {},
     "templates": [
      {
       "name": "1",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 1,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 2,
     "name": "2",
     "domains": {},
     "templates": [
      {
       "name": "2",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 2,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 3,
     "name": "3",
     "domains": {},
     "templates": [
      {
       "name": "3",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 3,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 4,
     "name": "4",
     "domains": {},
     "templates": [
      {
       "name": "4",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 4,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    },
    {
     "id": 5,
     "name": "5",
     "domains": {},
     "templates": [
      {
       "name": "5",
       "description": "",
       "prototype": {
        "attributes": {
         "River": null,
         "YearGroup": " ",
         "Id": null,
         "Condition": 5,
         "Length": null,
         "Reach": null,
         "Comment": null,
         "Position": null
        }
       },
       "drawingTool": "esriFeatureEditToolLine"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing,ChangeTracking",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Survey Cross Sections",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "River Engineering Survey Cross Sections",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1399164.1172000002,
    "ymin": 5024134.8623,
    "xmax": 1683804.7555,
    "ymax": 5349768.0716,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 5763,
    "latestVcsWkid": 5763,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "Lyttelton",
    "heightUnit": "meter"
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       197,
       255
      ],
      "width": 1.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Label1]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "minimizeLabels",
      "useClippedGeometry": true,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 25000,
      "name": "Default",
      "priority": 4,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 11,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "Location",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "Location"
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "DataSource"
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CreatedBy"
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "CreatedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "CreatedDate"
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "ModifiedBy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ModifiedBy"
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "ModifiedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ModifiedDate"
    },
    {
     "name": "PublishedDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "PublishedDate"
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ProcessDate"
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "ProcessID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "ProcessID"
    },
    {
     "name": "Label1",
     "type": "esriFieldTypeString",
     "alias": "Label1",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 30,
     "defaultValue": null,
     "modelName": "Label1"
    },
    {
     "name": "Label2",
     "type": "esriFieldTypeString",
     "alias": "Label2",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 30,
     "defaultValue": null,
     "modelName": "Label2"
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "TYPE"
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "Name"
    },
    {
     "name": "Survey_Area",
     "type": "esriFieldTypeString",
     "alias": "Survey_Area",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "Survey_Area"
    },
    {
     "name": "Coastal_Area",
     "type": "esriFieldTypeString",
     "alias": "Coastal_Area",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "Coastal_Area"
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R2414_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1964_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Survey Cross Sections",
     "description": "",
     "prototype": {
      "attributes": {
       "Coastal_Area": null,
       "Survey_Area": null,
       "Location": null,
       "DataSource": null,
       "CreatedBy": null,
       "CreatedDate": null,
       "ModifiedBy": null,
       "ModifiedDate": null,
       "PublishedDate": null,
       "ProcessDate": null,
       "ProcessID": null,
       "Label1": null,
       "Label2": null,
       "TYPE": null,
       "Name": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "Calculated Cross Sections",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1473953.9649,
    "ymin": 5138634,
    "xmax": 1611410.0892000003,
    "ymax": 5280658.8783,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 1.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {
       "expression": "$feature.Label",
       "title": "Custom"
      },
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "minimizeLabels",
      "useClippedGeometry": true,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 25000,
      "name": "Class 1",
      "priority": -1,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 11,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "River_Branch",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "River_Branch",
     "type": "esriFieldTypeString",
     "alias": "River_Branch",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "River_Branch"
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Label"
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "CreatedBy"
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "CreatedDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "CreatedDate"
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "DataSource"
    },
    {
     "name": "Chainage",
     "type": "esriFieldTypeSingle",
     "alias": "Chainage",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Chainage"
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R2943_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S2362_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Calculated Cross Sections",
     "description": "",
     "prototype": {
      "attributes": {
       "Chainage": null,
       "DataSource": null,
       "River_Branch": null,
       "Label": null,
       "CreatedBy": null,
       "CreatedDate": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 6,
   "name": "Gravel Availability",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolygon",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "isDataBranchVersioned": false,
   "isDataReplicaTracked": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsQuantizationEditMode": true,
   "supportsCalculate": true,
   "supportsASyncCalculate": true,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": true,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsQueryAnalytic": true
   },
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": true,
    "supportsPercentileAnalytic": true
   },
   "advancedEditingCapabilities": {
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape__Area",
    "shapeLengthFieldName": "Shape__Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1417175.0659999996,
    "ymin": 5037868.8955,
    "xmax": 1577939.2591000004,
    "ymax": 5212426.2398,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "colour",
     "uniqueValueGroups": [
      {
       "heading": "Colour",
       "classes": [
        {
         "label": "Green",
         "description": "Green",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           56,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "Green"
          ]
         ]
        },
        {
         "label": "Yellow",
         "description": "Yellow",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "Yellow"
          ]
         ]
        },
        {
         "label": "Red",
         "description": "Red",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "Red"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "Green",
       "label": "Green"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "Yellow",
       "label": "Yellow"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "Red",
       "label": "Red"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          245,
          255
         ],
         "toColor": [
          252,
          210,
          245,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          252,
          179,
          255
         ],
         "toColor": [
          184,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          192,
          247,
          252,
          255
         ],
         "toColor": [
          192,
          247,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          228,
          182,
          255
         ],
         "toColor": [
          252,
          228,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          185,
          252,
          255
         ],
         "toColor": [
          179,
          185,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          187,
          188,
          255
         ],
         "toColor": [
          252,
          187,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          204,
          252,
          216,
          255
         ],
         "toColor": [
          204,
          252,
          216,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          219,
          252,
          255
         ],
         "toColor": [
          189,
          219,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          251,
          255
         ],
         "toColor": [
          252,
          179,
          251,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          235,
          252,
          179,
          255
         ],
         "toColor": [
          235,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          214,
          199,
          255
         ],
         "toColor": [
          252,
          214,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          223,
          192,
          252,
          255
         ],
         "toColor": [
          223,
          192,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          252,
          215,
          255
         ],
         "toColor": [
          252,
          252,
          215,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "rivername",
   "typeIdField": "colour",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "id",
     "type": "esriFieldTypeDouble",
     "alias": "id",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "id"
    },
    {
     "name": "csid",
     "type": "esriFieldTypeString",
     "alias": "csid",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "csid"
    },
    {
     "name": "rivername",
     "type": "esriFieldTypeString",
     "alias": "rivername",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "rivername"
    },
    {
     "name": "distance_m",
     "type": "esriFieldTypeString",
     "alias": "distance_m",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "distance_m"
    },
    {
     "name": "avail",
     "type": "esriFieldTypeString",
     "alias": "avail",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "avail"
    },
    {
     "name": "colour",
     "type": "esriFieldTypeString",
     "alias": "colour",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "colour"
    },
    {
     "name": "message",
     "type": "esriFieldTypeString",
     "alias": "message",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "message"
    },
    {
     "name": "link",
     "type": "esriFieldTypeString",
     "alias": "link",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "link"
    },
    {
     "name": "last_surv",
     "type": "esriFieldTypeString",
     "alias": "last_surv",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "last_surv"
    },
    {
     "name": "last_calc",
     "type": "esriFieldTypeString",
     "alias": "last_calc",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "last_calc"
    },
    {
     "name": "next_calc",
     "type": "esriFieldTypeString",
     "alias": "next_calc",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "next_calc"
    },
    {
     "name": "consents",
     "type": "esriFieldTypeString",
     "alias": "consents",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "consents"
    },
    {
     "name": "shape_star",
     "type": "esriFieldTypeDouble",
     "alias": "shape_star",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "shape_star"
    },
    {
     "name": "shape_stle",
     "type": "esriFieldTypeDouble",
     "alias": "shape_stle",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "shape_stle"
    },
    {
     "name": "Shape__Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STArea()",
     "required": true
    },
    {
     "name": "Shape__Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null,
     "editable": false,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Shape.STLength()",
     "required": true
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R987_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S969_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [
    {
     "id": "Green",
     "name": "Green",
     "domains": {},
     "templates": [
      {
       "name": "Green",
       "description": "",
       "prototype": {
        "attributes": {
         "shape_stle": null,
         "shape_star": null,
         "id": null,
         "csid": null,
         "rivername": null,
         "distance_m": null,
         "avail": null,
         "colour": "Green",
         "message": null,
         "link": null,
         "last_surv": null,
         "last_calc": null,
         "next_calc": null,
         "consents": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    },
    {
     "id": "Yellow",
     "name": "Yellow",
     "domains": {},
     "templates": [
      {
       "name": "Yellow",
       "description": "",
       "prototype": {
        "attributes": {
         "shape_stle": null,
         "shape_star": null,
         "id": null,
         "csid": null,
         "rivername": null,
         "distance_m": null,
         "avail": null,
         "colour": "Yellow",
         "message": null,
         "link": null,
         "last_surv": null,
         "last_calc": null,
         "next_calc": null,
         "consents": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    },
    {
     "id": "Red",
     "name": "Red",
     "domains": {},
     "templates": [
      {
       "name": "Red",
       "description": "",
       "prototype": {
        "attributes": {
         "shape_stle": null,
         "shape_star": null,
         "id": null,
         "csid": null,
         "rivername": null,
         "distance_m": null,
         "avail": null,
         "colour": "Red",
         "message": null,
         "link": null,
         "last_surv": null,
         "last_calc": null,
         "next_calc": null,
         "consents": null
        }
       },
       "drawingTool": "esriFeatureEditToolPolygon"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 4000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  }
 ],
 "tables": []
}