{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Water Quality - Surface Water",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Sites where surface water (i.e. rivers, streams, estuaries, drains, lakes, etc) quality samples have been taken and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1274228.6890000002,
    "ymin": 5004186.1432,
    "xmax": 2465123.0349000003,
    "ymax": 5355772.9677,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b3e990093385f7d413e6dd67c7973691",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVUlEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfTRbchlEDLWRlHx7uxVhssNk42RTQQrkvZxJGg1A7FupIFCkMPRwfdnrzAUnoX5DgsABQ9coQkhuwHR8BL+Y3TNAwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_ID]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 2,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "SITE_NAME",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 12,
     "defaultValue": null,
     "modelName": "SITE_ID"
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 150,
     "defaultValue": null,
     "modelName": "SITE_NAME"
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SOURCE"
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 25,
     "defaultValue": null,
     "modelName": "SITE_TYPE"
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "SPRING_NO"
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "GAUGING_SITE_INDEX"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "Link"
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "QAR_CODE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Water Quality - Surface Water",
     "description": "",
     "prototype": {
      "attributes": {
       "NZTOPO50": null,
       "SITE_ID": null,
       "SITE_NAME": null,
       "SOURCE": null,
       "SITE_TYPE": null,
       "SPRING_NO": null,
       "GAUGING_SITE_INDEX": null,
       "ALTITUDE": null,
       "Link": null,
       "QAR_CODE": 0,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": "Water Quality - Groundwater ",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Sites where groundwater quality samples have been taken from wells and test bores and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1346869,
    "ymin": 5023808,
    "xmax": 1674411,
    "ymax": 5332683,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "esriPMS",
      "url": "577274173966d81837c6ff33ed1390e5",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVklEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfTx8/NjkJeXR1Hx8OFDhk2bNhkjmwhWpK+vT9BqBmLdSAOFIIejg48fP2IoPAvzHRYACh64QhNCdgMAtP4THyCmSyIAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[well_no]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 3,
      "symbol": {
       "type": "esriTS",
       "color": [
        156,
        156,
        156,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "well_no",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "well_type_desc",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DESC",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "well_type_desc"
    },
    {
     "name": "locality",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 70,
     "defaultValue": null,
     "modelName": "locality"
    },
    {
     "name": "road_or_street",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "road_or_street"
    },
    {
     "name": "depth",
     "type": "esriFieldTypeDouble",
     "alias": "DEPTH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "depth"
    },
    {
     "name": "diameter",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DIAMETER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "diameter"
    },
    {
     "name": "date_drilled",
     "type": "esriFieldTypeDate",
     "alias": "DATE_DRILLED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "date_drilled"
    },
    {
     "name": "aquifer_tests",
     "type": "esriFieldTypeSmallInteger",
     "alias": "AQUIFER_TESTS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "aquifer_tests"
    },
    {
     "name": "step_test_steps",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STEP_TEST_STEPS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "step_test_steps"
    },
    {
     "name": "link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 200,
     "defaultValue": null,
     "modelName": "link"
    },
    {
     "name": "nztmx",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "nztmx"
    },
    {
     "name": "nztmy",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "nztmy"
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "sample_count",
     "type": "esriFieldTypeString",
     "alias": "sample_count",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 2048,
     "defaultValue": null,
     "modelName": "sample_count"
    },
    {
     "name": "well_no",
     "type": "esriFieldTypeString",
     "alias": "well_no",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "well_no"
    },
    {
     "name": "well_status_desc",
     "type": "esriFieldTypeString",
     "alias": "well_status_desc",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "well_status_desc"
    },
    {
     "name": "driller",
     "type": "esriFieldTypeString",
     "alias": "driller",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "driller"
    },
    {
     "name": "use_code_1_desc",
     "type": "esriFieldTypeString",
     "alias": "use_code_1_desc",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "use_code_1_desc"
    },
    {
     "name": "use_code_2_desc",
     "type": "esriFieldTypeString",
     "alias": "use_code_2_desc",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "use_code_2_desc"
    },
    {
     "name": "top_screen_1",
     "type": "esriFieldTypeDouble",
     "alias": "top_screen_1",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "top_screen_1"
    },
    {
     "name": "top_screen_2",
     "type": "esriFieldTypeDouble",
     "alias": "top_screen_2",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "top_screen_2"
    },
    {
     "name": "top_screen_3",
     "type": "esriFieldTypeDouble",
     "alias": "top_screen_3",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "top_screen_3"
    },
    {
     "name": "bottom_screen_1",
     "type": "esriFieldTypeDouble",
     "alias": "bottom_screen_1",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "bottom_screen_1"
    },
    {
     "name": "bottom_screen_2",
     "type": "esriFieldTypeDouble",
     "alias": "bottom_screen_2",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "bottom_screen_2"
    },
    {
     "name": "bottom_screen_3",
     "type": "esriFieldTypeDouble",
     "alias": "bottom_screen_3",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "bottom_screen_3"
    },
    {
     "name": "highest_water_level",
     "type": "esriFieldTypeDouble",
     "alias": "highest_water_level",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "highest_water_level"
    },
    {
     "name": "lowest_water_level",
     "type": "esriFieldTypeDouble",
     "alias": "lowest_water_level",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "lowest_water_level"
    },
    {
     "name": "initial_swl",
     "type": "esriFieldTypeDouble",
     "alias": "initial_swl",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "initial_swl"
    },
    {
     "name": "start_readings",
     "type": "esriFieldTypeDate",
     "alias": "start_readings",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "start_readings"
    },
    {
     "name": "end_readings",
     "type": "esriFieldTypeDate",
     "alias": "end_readings",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "end_readings"
    },
    {
     "name": "strata",
     "type": "esriFieldTypeSmallInteger",
     "alias": "strata",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "strata"
    },
    {
     "name": "samples_from",
     "type": "esriFieldTypeDate",
     "alias": "Samples From",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "samples_from"
    },
    {
     "name": "samples_to",
     "type": "esriFieldTypeDate",
     "alias": "Samples To",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "samples_to"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R1055_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Water Quality - Groundwater ",
     "description": "",
     "prototype": {
      "attributes": {
       "samples_from": null,
       "well_type_desc": null,
       "locality": null,
       "road_or_street": null,
       "depth": null,
       "diameter": null,
       "date_drilled": null,
       "aquifer_tests": null,
       "step_test_steps": null,
       "link": null,
       "nztmx": null,
       "nztmy": null,
       "samples_to": null,
       "sample_count": null,
       "well_no": null,
       "well_status_desc": null,
       "driller": null,
       "use_code_1_desc": null,
       "use_code_2_desc": null,
       "top_screen_1": null,
       "top_screen_2": null,
       "top_screen_3": null,
       "bottom_screen_1": null,
       "bottom_screen_2": null,
       "bottom_screen_3": null,
       "highest_water_level": null,
       "lowest_water_level": null,
       "initial_swl": null,
       "start_readings": null,
       "end_readings": null,
       "strata": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "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": 3,
   "name": "Water Quality - Stream Health",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Sites monitored as part of Environment Canterbury's stream health quality program. The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "a30c99635d2ff532e72947f39b048690",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAUklEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfSRCWFg4FZCVfH1HgPDkzUMxsgmghUJGhG2moFYN9JAIcjh6OD3e0yFZ2G+wwJAwQNXaELIbgACUg5meQJOAgAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_ID]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 6,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "SITE_ID",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 12,
     "defaultValue": null,
     "modelName": "SITE_ID"
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 150,
     "defaultValue": null,
     "modelName": "SITE_NAME"
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SOURCE"
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 25,
     "defaultValue": null,
     "modelName": "SITE_TYPE"
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "SPRING_NO"
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "GAUGING_SITE_INDEX"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "QAR_CODE",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "SOF",
     "type": "esriFieldTypeString",
     "alias": "SOF",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "SOF"
    },
    {
     "name": "LANDUSE_CODE",
     "type": "esriFieldTypeString",
     "alias": "LANDUSE_CODE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 2,
     "defaultValue": null,
     "modelName": "LANDUSE_CODE"
    },
    {
     "name": "REFERENCE_SITE",
     "type": "esriFieldTypeString",
     "alias": "REFERENCE_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "REFERENCE_SITE"
    },
    {
     "name": "REFERENCED_TO_SITE",
     "type": "esriFieldTypeString",
     "alias": "REFERENCED_TO_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "REFERENCED_TO_SITE"
    },
    {
     "name": "STREAMHEALTH_SAMPLEDESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "STREAMHEALTH_SAMPLEDESCRIPTION",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 150,
     "defaultValue": null,
     "modelName": "STREAMHEALTH_SAMPLEDESCRIPTION"
    },
    {
     "name": "STREAMHEALTH_OLDNUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "STREAMHEALTH_OLDNUMBER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "STREAMHEALTH_OLDNUMBER"
    },
    {
     "name": "QSITE_ID",
     "type": "esriFieldTypeString",
     "alias": "QSITE_ID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "QSITE_ID"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "QAR_CODE"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Water Quality - Stream Health",
     "description": "",
     "prototype": {
      "attributes": {
       "NZTOPO50": null,
       "SITE_ID": null,
       "SITE_NAME": null,
       "SOURCE": null,
       "SITE_TYPE": null,
       "SPRING_NO": null,
       "GAUGING_SITE_INDEX": null,
       "ALTITUDE": null,
       "QAR_CODE": 0,
       "SOF": null,
       "LANDUSE_CODE": null,
       "REFERENCE_SITE": null,
       "REFERENCED_TO_SITE": null,
       "STREAMHEALTH_SAMPLEDESCRIPTION": null,
       "STREAMHEALTH_OLDNUMBER": null,
       "QSITE_ID": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": 4,
   "name": "River Gaugings",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Locations where river and stream flows have been measured. These locations are derived from Environment Canterbury's Gaugings Database.  Each record summarises the date of the first and most recent survey, the number of surveys recorded for the site, whether the site is monitored for a specific reason (such as for compliance or low flow monitoring purposes) and lists the minimum and maximum surveyed flows recorded.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "291b9f4a1769a3c64ff898b73f2b50ac",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAo0lEQVQokWNhwA6kGBgYnmGTYMEiZszAwLCZgYFBkoGBwYSBgeEsPg1gxcYMrpLvGV4y3GO4dAZdEws2xWUMC8EClQweGJpYcCkGgXaGHRiaWKAexFCMQ5M0CzQ0wG7GBQQZxEEUipNMQCaATAKZiAy6GOIZzjLsBiluBBkO0wASwNCEphgU1CihhKIJ5Ax0xdjiAa4JykZRjE0DTJM0lI2RPADVzkYrXI5ceAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 7,
      "symbol": {
       "type": "esriTS",
       "color": [
        169,
        0,
        230,
        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,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "OBJECTID",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "SiteNumber",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "RIVER"
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 64,
     "defaultValue": null,
     "modelName": "SITENAME"
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 118,
     "defaultValue": null,
     "modelName": "SITE"
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TIM_CHCH"
    },
    {
     "name": "FLOW_OR_STAGE",
     "type": "esriFieldTypeString",
     "alias": "FLOW_OR_STAGE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOW_OR_STAGE"
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "RECORDER_SITE"
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TELEMETERED"
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "COMPLIANCE_MONITORING"
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOOD_CONTROL"
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NO_OF_GAUGINGS"
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "FIRST_GAUGING"
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "LAST_GAUGING"
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW_SITE"
    },
    {
     "name": "MINIMUM",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "MINIMUM"
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LOWEST_FLOW"
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HIGHEST_FLOW"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "SITENUMBER"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "River Gaugings",
     "description": "",
     "prototype": {
      "attributes": {
       "NZTOPO50": null,
       "SITENUMBER": 0,
       "RIVER": null,
       "SITENAME": null,
       "SITE": null,
       "TIM_CHCH": null,
       "FLOW_OR_STAGE": null,
       "RECORDER_SITE": null,
       "TELEMETERED": null,
       "COMPLIANCE_MONITORING": null,
       "FLOOD_CONTROL": null,
       "NO_OF_GAUGINGS": null,
       "FIRST_GAUGING": null,
       "LAST_GAUGING": null,
       "MINIMUM_FLOW_SITE": null,
       "MINIMUM": null,
       "LOWEST_FLOW": null,
       "HIGHEST_FLOW": null,
       "ALTITUDE": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": 5,
   "name": "Rainfall Monitoring Sites",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 500000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Locations where rainfall measuremnts have been recorded. These locations are derived from Environment Canterbury's Gaugings Database.  If the site is continuously monitored, summaries of the recorded daily rainfall for previous 7 dayas are listed.  This information is drawn from Environment Canterbury's Telemetry Network.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "842121f3a4dd1ed9cc023660c83ed836",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAsklEQVQokWNhIBOw4JHbDKV9SdG4WUZRw+fJ/Rsg9hkGBgYTYjSCNbmFpDLwCYowTKiKN8ammQWXJi0jG7BAQdtCrJpZ8GkCARlFDayaWfBpwqEZFGi+cBtBAQHyEz7AJyjC8On9m2cgNgtSkJ8BmQgyGWQDMgAZOq+7GKRpCwMDQzq6H02waX6Cqgkep+ihiqIZBLBpwqYRRTPUTxiacGmEad4MDQiwn4jVCAJY0ygMAAAgfVdnLJuT6AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER] CONCAT \" - \" CONCAT [SITE]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 8,
      "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": [
        245,
        253,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "timeInfo": {
    "startTimeField": "LAST_SAMPLE",
    "endTimeField": null,
    "trackIdField": null,
    "type": "field",
    "timeExtent": [
     1524593700000,
     1524707100000
    ],
    "timeReference": {
     "timeZone": "New Zealand Standard Time",
     "respectsDaylightSaving": false
    },
    "timeInterval": 2,
    "timeIntervalUnits": "esriTimeUnitsHours",
    "exportOptions": {
     "useTime": true,
     "timeDataCumulative": false,
     "timeOffset": null,
     "timeOffsetUnits": null
    },
    "hasLiveData": false,
    "timeRelation": "esriTimeRelationOverlaps"
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "SiteName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "RIVER"
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 64,
     "defaultValue": null,
     "modelName": "SITENAME"
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 118,
     "defaultValue": null,
     "modelName": "SITE"
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TIM_CHCH"
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TELEMETERED"
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "COMPLIANCE_MONITORING"
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOOD_CONTROL"
    },
    {
     "name": "LAST_SAMPLE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "LAST_SAMPLE"
    },
    {
     "name": "LAST_HOUR",
     "type": "esriFieldTypeDouble",
     "alias": "LAST_HOUR",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LAST_HOUR"
    },
    {
     "name": "RAIN_TODAY",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_TODAY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_TODAY"
    },
    {
     "name": "RAIN_1_DAY_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_1_DAY_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_1_DAY_AGO"
    },
    {
     "name": "RAIN_2_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_2_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_2_DAYS_AGO"
    },
    {
     "name": "RAIN_3_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_3_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_3_DAYS_AGO"
    },
    {
     "name": "RAIN_4_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_4_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_4_DAYS_AGO"
    },
    {
     "name": "RAIN_5_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_5_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_5_DAYS_AGO"
    },
    {
     "name": "RAIN_6_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_6_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_6_DAYS_AGO"
    },
    {
     "name": "RAIN_7_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_7_DAYS_AGO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "RAIN_7_DAYS_AGO"
    },
    {
     "name": "TOTAL_RAINFALL",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_RAINFALL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TOTAL_RAINFALL"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "SITENUMBER"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "Rainfall Monitoring Sites",
     "description": "",
     "prototype": {
      "attributes": {
       "NZTOPO50": null,
       "SITENUMBER": 0,
       "RIVER": null,
       "SITENAME": null,
       "SITE": null,
       "TIM_CHCH": null,
       "TELEMETERED": null,
       "COMPLIANCE_MONITORING": null,
       "FLOOD_CONTROL": null,
       "LAST_SAMPLE": null,
       "LAST_HOUR": null,
       "RAIN_TODAY": null,
       "RAIN_1_DAY_AGO": null,
       "RAIN_2_DAYS_AGO": null,
       "RAIN_3_DAYS_AGO": null,
       "RAIN_4_DAYS_AGO": null,
       "RAIN_5_DAYS_AGO": null,
       "RAIN_6_DAYS_AGO": null,
       "RAIN_7_DAYS_AGO": null,
       "TOTAL_RAINFALL": null,
       "ALTITUDE": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": 6,
   "name": "River Flow and Stage Monitoring Sites",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 500000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Locations where river flow or stage measurements have been recorded. These locations are derived from Environment Canterbury's Gaugings Database.  Each record summarises the date of the first and most recent survey, the number of surveys recorded for the site, whether the site is monitored for a specific reason (such as for compliance or low flow monitoring purposes) and lists the minimum and maximum surveyed flows recorded.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "73470eac03fa02a233cfc2832779e2bf",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAq0lEQVQokWNhIBOw4JHbDKV9SdG4mYFfyYfh4z0Q+wwDA4MJMRohmtRDGBg4BBgYDlUZY9PMglOTuBFExK4Nq2YWvJpAgF8Jq2YWvJqwawYFmi/CRlBAgPyED3AIMjD8eP8MxGRBCvIzYBNBJoNsQAYgQ091gzRtYWBgSEf3owlWzR9RNMHjFD1UUTWDABZN2DSiaob4CUMTLo0wzZuhAQH2E7EaQQBrGoUBAJutQmkSkv+xAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Site]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        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,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "SiteName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "SITENUMBER"
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "RIVER"
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 64,
     "defaultValue": null,
     "modelName": "SITENAME"
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 118,
     "defaultValue": null,
     "modelName": "SITE"
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TIM_CHCH"
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "RECORDER_SITE"
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TELEMETERED"
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "COMPLIANCE_MONITORING"
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOOD_CONTROL"
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW_SITE"
    },
    {
     "name": "MINIMUM_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW"
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NO_OF_GAUGINGS"
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "FIRST_GAUGING"
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "LAST_GAUGING"
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LOWEST_FLOW"
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HIGHEST_FLOW"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "River Flow and Stage Monitoring Sites",
     "description": "",
     "prototype": {
      "attributes": {
       "NZTOPO50": null,
       "SITENUMBER": 0,
       "RIVER": null,
       "SITENAME": null,
       "SITE": null,
       "TIM_CHCH": null,
       "RECORDER_SITE": null,
       "TELEMETERED": null,
       "COMPLIANCE_MONITORING": null,
       "FLOOD_CONTROL": null,
       "MINIMUM_FLOW_SITE": null,
       "MINIMUM_FLOW": null,
       "NO_OF_GAUGINGS": null,
       "FIRST_GAUGING": null,
       "LAST_GAUGING": null,
       "LOWEST_FLOW": null,
       "HIGHEST_FLOW": null,
       "ALTITUDE": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": 11,
   "name": "River Flow and Stage Monitoring Sites with Plan Limits",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": false,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Subset of the river flow and stage monitoring sites which are associated with water use plan limits.",
   "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1339755,
    "ymin": 5020368,
    "xmax": 1659278,
    "ymax": 5315528,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       50,
       132,
       81,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.7
      }
     }
    },
    "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": "SITENAME",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "SITENUMBER"
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "RIVER"
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SITENAME"
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "SITE"
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TIM_CHCH"
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "RECORDER_SITE"
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TELEMETERED"
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "COMPLIANCE_MONITORING"
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOOD_CONTROL"
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW_SITE"
    },
    {
     "name": "MINIMUM_FLOW",
     "type": "esriFieldTypeDouble",
     "alias": "MINIMUM_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW"
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NO_OF_GAUGINGS"
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "FIRST_GAUGING"
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "LAST_GAUGING"
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeDouble",
     "alias": "LOWEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LOWEST_FLOW"
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeDouble",
     "alias": "HIGHEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HIGHEST_FLOW"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "ALTITUDE_DATUM",
     "type": "esriFieldTypeString",
     "alias": "ALTITUDE_DATUM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ALTITUDE_DATUM"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "SOURCE_SYSTEM",
     "type": "esriFieldTypeString",
     "alias": "SOURCE_SYSTEM",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SOURCE_SYSTEM"
    },
    {
     "name": "PUBLISHDATE",
     "type": "esriFieldTypeDate",
     "alias": "PUBLISHDATE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "PUBLISHDATE"
    },
    {
     "name": "PROCESSID",
     "type": "esriFieldTypeString",
     "alias": "PROCESSID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "PROCESSID"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R994_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S976_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "River Flow and Stage Monitoring Sites with Plan Limits",
     "description": "",
     "prototype": {
      "attributes": {
       "PUBLISHDATE": null,
       "PROCESSID": null,
       "SITENUMBER": null,
       "RIVER": null,
       "SITENAME": null,
       "SITE": null,
       "TIM_CHCH": null,
       "RECORDER_SITE": null,
       "TELEMETERED": null,
       "COMPLIANCE_MONITORING": null,
       "FLOOD_CONTROL": null,
       "MINIMUM_FLOW_SITE": null,
       "MINIMUM_FLOW": null,
       "NO_OF_GAUGINGS": null,
       "FIRST_GAUGING": null,
       "LAST_GAUGING": null,
       "LOWEST_FLOW": null,
       "HIGHEST_FLOW": null,
       "ALTITUDE": null,
       "ALTITUDE_DATUM": null,
       "NZTMX": null,
       "NZTMY": null,
       "SOURCE_SYSTEM": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "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": 8,
   "name": "MFE - NES Drinking Water Source",
   "type": "Feature Layer",
   "parentLayer": {
    "id": 7,
    "name": "Ministry for the Environment"
   },
   "defaultVisibility": false,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Drinking water source abstraction points obtained from the Ministry of Health's WINZ database",
   "copyrightText": "Ministry for the Environment; Ministry of Health",
   "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1174509.0129000004,
    "ymin": 4794598.1663,
    "xmax": 2082464.9353999998,
    "ymax": 6190164.1198,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "esriPMS",
      "url": "673065e5122ec8932d261598d3630204",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABCElEQVQYlWNhIAGwYIikzWRleMknwfBR4jnDAcc/uBX7rshlfMnY/P/ff34m/lc/GPxWtv4zut7G0NDwD1Wxz4poZmam5oZ0KzYjLXGG24/ec7TMOl717rwm5z8GhmpUxUwMdenBei+tDaXVQFw9VVGGmjRLzuKe/cUMDvObGQ4k/kAo/s+gqqcq+hTZVapyggx///1nZ+DnEGVgYHiM7OYb+04/eq2mICQDE7h06/VfJibGr/8Mbzxl2IjiQcbaVbtvzWdnZTnubC6nff3+u2/9S85w/Pv3vxrTg5vD1zL4LP+3eOvV9sVbr/IyMDC8Y2BkaGXYHDENe9BtiVzPwMAAwkRGCh4AADzOW+rFt0ABAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 8,
      "height": 8,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[soSourceNa]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 5,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        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,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "soSourceName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "soSourceCode",
     "type": "esriFieldTypeString",
     "alias": "soSourceCode",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "soSourceCode"
    },
    {
     "name": "soSourceName",
     "type": "esriFieldTypeString",
     "alias": "soSourceName",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "soSourceName"
    },
    {
     "name": "soPlantCod",
     "type": "esriFieldTypeString",
     "alias": "soPlantCod",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "soPlantCod"
    },
    {
     "name": "soEast",
     "type": "esriFieldTypeDouble",
     "alias": "soEast",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "soEast"
    },
    {
     "name": "soNorth",
     "type": "esriFieldTypeDouble",
     "alias": "soNorth",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "soNorth"
    },
    {
     "name": "PlantPop",
     "type": "esriFieldTypeDouble",
     "alias": "PlantPop",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "PlantPop"
    },
    {
     "name": "WZSourceType",
     "type": "esriFieldTypeString",
     "alias": "WZSourceType",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "WZSourceType"
    },
    {
     "name": "GenSourceType",
     "type": "esriFieldTypeString",
     "alias": "GenSourceType",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "GenSourceType"
    },
    {
     "name": "WZSecureGW",
     "type": "esriFieldTypeString",
     "alias": "WZSecureGW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "WZSecureGW"
    },
    {
     "name": "PlantHasAllSecure",
     "type": "esriFieldTypeString",
     "alias": "PlantHasAllSecure",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "PlantHasAllSecure"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "length": 6,
     "defaultValue": null,
     "modelName": "SOURCECODE"
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "QARCODE"
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "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": 16,
     "defaultValue": null,
     "modelName": "MODIFIEDBY"
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "MODIFIEDDATE"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R163_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S157_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "MFE - NES Drinking Water Source",
     "description": "",
     "prototype": {
      "attributes": {
       "MODIFIEDBY": null,
       "MODIFIEDDATE": null,
       "soSourceCode": null,
       "soSourceName": null,
       "soPlantCod": null,
       "soEast": null,
       "soNorth": null,
       "PlantPop": null,
       "WZSourceType": null,
       "GenSourceType": null,
       "WZSecureGW": null,
       "PlantHasAllSecure": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null,
       "NZTOPO50": null,
       "SOURCECODE": null,
       "QARCODE": null,
       "CREATEDBY": null,
       "CREATEDDATE": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "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": 9,
   "name": "MFE - NES Drinking Water Treatment Plants",
   "type": "Feature Layer",
   "parentLayer": {
    "id": 7,
    "name": "Ministry for the Environment"
   },
   "defaultVisibility": false,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Drinking water treatment plants obtained from the Ministry of Health's WINZ database",
   "copyrightText": "Ministry for the Environment; Ministry of Health",
   "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1175404.221,
    "ymin": 4794598.1663,
    "xmax": 2082464.9353999998,
    "ymax": 6190164.1198,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "esriPMS",
      "url": "1502742337c0be2e7368c87f9f1d784c",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAa0lEQVQokWNhIBGwwBh7X/5XZvrLwIpL4S8mhsfuEoxf4RpKew5cVlcQ4sSm+NX7bww1aRaeDAwMO+AaFKX5f6cG62HVMHvtJUwnkeyH4aDh8p3X7MihgQzuPvmAqeHWFHeOW3hMdmwn00kAIUEeKy0eqa8AAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[plPlantNam]",
      "labelPlacement": "esriServerPointLabelPlacementCenterRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 4,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        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,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "plPlantName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "plPlantCode",
     "type": "esriFieldTypeString",
     "alias": "plPlantCode",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "plPlantCode"
    },
    {
     "name": "plPlantName",
     "type": "esriFieldTypeString",
     "alias": "plPlantName",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "plPlantName"
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "OwnerType"
    },
    {
     "name": "Owner",
     "type": "esriFieldTypeString",
     "alias": "Owner",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Owner"
    },
    {
     "name": "plEast",
     "type": "esriFieldTypeDouble",
     "alias": "plEast",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "plEast"
    },
    {
     "name": "plNorth",
     "type": "esriFieldTypeDouble",
     "alias": "plNorth",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "plNorth"
    },
    {
     "name": "plPopulation",
     "type": "esriFieldTypeDouble",
     "alias": "plPopulation",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "plPopulation"
    },
    {
     "name": "PopClass",
     "type": "esriFieldTypeDouble",
     "alias": "PopClass",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "PopClass"
    },
    {
     "name": "plP2List",
     "type": "esriFieldTypeString",
     "alias": "plP2List",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "plP2List"
    },
    {
     "name": "EColiTransgression2005",
     "type": "esriFieldTypeString",
     "alias": "EColiTransgression2005",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "EColiTransgression2005"
    },
    {
     "name": "ProtozoaComply2005",
     "type": "esriFieldTypeString",
     "alias": "ProtozoaComply2005",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "ProtozoaComply2005"
    },
    {
     "name": "TrtmtChlorine",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtChlorine",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtChlorine"
    },
    {
     "name": "TrtmtOzone",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtOzone",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtOzone"
    },
    {
     "name": "TrtmtUV",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtUV",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtUV"
    },
    {
     "name": "TrtmtCoagFilter",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtCoagFilter",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtCoagFilter"
    },
    {
     "name": "TrtmtMembraneCartridge",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtMembraneCartridge",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtMembraneCartridge"
    },
    {
     "name": "TrtmtSlowSlowSandDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TrtmtSlowSlowSandDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TrtmtSlowSlowSandDE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "length": 6,
     "defaultValue": null,
     "modelName": "SOURCECODE"
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "QARCODE"
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "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": 16,
     "defaultValue": null,
     "modelName": "MODIFIEDBY"
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "MODIFIEDDATE"
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "Shape"
   },
   "indexes": [
    {
     "name": "R164_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S158_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "MFE - NES Drinking Water Treatment Plants",
     "description": "",
     "prototype": {
      "attributes": {
       "MODIFIEDBY": null,
       "MODIFIEDDATE": null,
       "plPlantCode": null,
       "plPlantName": null,
       "OwnerType": null,
       "Owner": null,
       "plEast": null,
       "plNorth": null,
       "plPopulation": null,
       "PopClass": null,
       "plP2List": null,
       "EColiTransgression2005": null,
       "ProtozoaComply2005": null,
       "TrtmtChlorine": null,
       "TrtmtOzone": null,
       "TrtmtUV": null,
       "TrtmtCoagFilter": null,
       "TrtmtMembraneCartridge": null,
       "TrtmtSlowSlowSandDE": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null,
       "NZTOPO50": null,
       "SOURCECODE": null,
       "QARCODE": null,
       "CREATEDBY": null,
       "CREATEDDATE": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "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": 10,
   "name": "Water Quality -  Lakes",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 125000,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "Sites where surface water lakes quality samples have been taken and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "copyrightText": "Environment Canterbury",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "infoInEstimates": [
    "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": false,
   "supportsASyncCalculate": false,
   "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": 1352540.2999,
    "ymin": 5048432.5746,
    "xmax": 1648032.7218000004,
    "ymax": 5304769.2333,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Grade2010",
     "uniqueValueGroups": [
      {
       "heading": "Grade 2010",
       "classes": [
        {
         "label": "Microtrophic",
         "description": "Microtrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           0,
           197,
           255,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Microtrophic"
          ]
         ]
        },
        {
         "label": "Oligotrophic",
         "description": "Oligotrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           137,
           205,
           102,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Oligotrophic"
          ]
         ]
        },
        {
         "label": "Mesotrophic",
         "description": "Mesotrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           255,
           255,
           0,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Mesotrophic"
          ]
         ]
        },
        {
         "label": "Eutrophic",
         "description": "Eutrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           255,
           0,
           0,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Eutrophic"
          ]
         ]
        },
        {
         "label": "Supertrophic",
         "description": "Supertrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           156,
           156,
           156,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Supertrophic"
          ]
         ]
        },
        {
         "label": "Hypertrophic",
         "description": "Hypertrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           137,
           68,
           68,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Hypertrophic"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         0,
         197,
         255,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Microtrophic",
       "label": "Microtrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         137,
         205,
         102,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Oligotrophic",
       "label": "Oligotrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         255,
         255,
         0,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Mesotrophic",
       "label": "Mesotrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         255,
         0,
         0,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Eutrophic",
       "label": "Eutrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         156,
         156,
         156,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Supertrophic",
       "label": "Supertrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         137,
         68,
         68,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Hypertrophic",
       "label": "Hypertrophic"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          222,
          153,
          135,
          255
         ],
         "toColor": [
          222,
          153,
          135,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          62,
          53,
          255
         ],
         "toColor": [
          240,
          62,
          53,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          54,
          79,
          255
         ],
         "toColor": [
          179,
          54,
          79,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          121,
          140,
          255
         ],
         "toColor": [
          247,
          121,
          140,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          201,
          192,
          255
         ],
         "toColor": [
          240,
          201,
          192,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          128,
          99,
          255
         ],
         "toColor": [
          242,
          128,
          99,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          181,
          138,
          143,
          255
         ],
         "toColor": [
          181,
          138,
          143,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          54,
          43,
          255
         ],
         "toColor": [
          179,
          54,
          43,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          91,
          70,
          255
         ],
         "toColor": [
          184,
          91,
          70,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          81,
          86,
          255
         ],
         "toColor": [
          224,
          81,
          86,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          204,
          118,
          131,
          255
         ],
         "toColor": [
          204,
          118,
          131,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          237,
          161,
          170,
          255
         ],
         "toColor": [
          237,
          161,
          170,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          88,
          91,
          255
         ],
         "toColor": [
          184,
          88,
          91,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_NAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 1,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": false,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "SITE_NAME",
   "typeIdField": "Grade2010",
   "subtypeField": "",
   "fields": [
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 12,
     "defaultValue": null,
     "modelName": "SITE_ID"
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 150,
     "defaultValue": null,
     "modelName": "SITE_NAME"
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SOURCE"
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 25,
     "defaultValue": null,
     "modelName": "SITE_TYPE"
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "SPRING_NO"
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "GAUGING_SITE_INDEX"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "Grade20042006",
     "type": "esriFieldTypeString",
     "alias": "Grade20042006",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Grade20042006"
    },
    {
     "name": "Grade2010",
     "type": "esriFieldTypeString",
     "alias": "Grade2010",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Grade2010"
    },
    {
     "name": "Monitoring",
     "type": "esriFieldTypeDate",
     "alias": "Monitoring",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Monitoring"
    },
    {
     "name": "TLI20042006",
     "type": "esriFieldTypeDouble",
     "alias": "TLI20042006",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TLI20042006"
    },
    {
     "name": "TLI2010",
     "type": "esriFieldTypeDouble",
     "alias": "TLI2010",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "TLI2010"
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 75,
     "defaultValue": null,
     "modelName": "Link"
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "QAR_CODE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [
    {
     "id": "Microtrophic",
     "name": "Microtrophic",
     "domains": {},
     "templates": [
      {
       "name": "Microtrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Microtrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    },
    {
     "id": "Oligotrophic",
     "name": "Oligotrophic",
     "domains": {},
     "templates": [
      {
       "name": "Oligotrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Oligotrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    },
    {
     "id": "Mesotrophic",
     "name": "Mesotrophic",
     "domains": {},
     "templates": [
      {
       "name": "Mesotrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Mesotrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    },
    {
     "id": "Eutrophic",
     "name": "Eutrophic",
     "domains": {},
     "templates": [
      {
       "name": "Eutrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Eutrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    },
    {
     "id": "Supertrophic",
     "name": "Supertrophic",
     "domains": {},
     "templates": [
      {
       "name": "Supertrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Supertrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    },
    {
     "id": "Hypertrophic",
     "name": "Hypertrophic",
     "domains": {},
     "templates": [
      {
       "name": "Hypertrophic",
       "description": "",
       "prototype": {
        "attributes": {
         "NZTOPO50": null,
         "SITE_ID": null,
         "SITE_NAME": null,
         "SOURCE": null,
         "SITE_TYPE": null,
         "SPRING_NO": null,
         "GAUGING_SITE_INDEX": null,
         "ALTITUDE": null,
         "Grade20042006": null,
         "Grade2010": "Hypertrophic",
         "Monitoring": null,
         "TLI20042006": null,
         "TLI2010": null,
         "Link": null,
         "QAR_CODE": 0,
         "NZMGX": null,
         "NZMGY": null,
         "NZMS260": null,
         "NZTMX": null,
         "NZTMY": null
        }
       },
       "drawingTool": "esriFeatureEditToolPoint"
      }
     ]
    }
   ],
   "templates": [],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": 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": 12,
   "name": "River Flow and Stage Monitoring - Live",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": false,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "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"
   },
   "hasMetadata": true,
   "extent": {
    "xmin": 1339755.1253000004,
    "ymin": 5020366.9323,
    "xmax": 2458915.1257999996,
    "ymax": 5337597.5726,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       137,
       74,
       45,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.7
      }
     }
    },
    "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": "SITENAME",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 50,
     "defaultValue": null,
     "modelName": "RIVER"
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 64,
     "defaultValue": null,
     "modelName": "SITENAME"
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 118,
     "defaultValue": null,
     "modelName": "SITE"
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "SITENUMBER"
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TIM_CHCH"
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "RECORDER_SITE"
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "TELEMETERED"
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "COMPLIANCE_MONITORING"
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "FLOOD_CONTROL"
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW_SITE"
    },
    {
     "name": "MINIMUM_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "MINIMUM_FLOW"
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NO_OF_GAUGINGS"
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "FIRST_GAUGING"
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "LAST_GAUGING"
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "LOWEST_FLOW"
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HIGHEST_FLOW"
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ALTITUDE"
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGX"
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZMGY"
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZMS260"
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMX"
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NZTMY"
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 16,
     "defaultValue": null,
     "modelName": "NZTOPO50"
    },
    {
     "name": "Flow_or_Stage",
     "type": "esriFieldTypeString",
     "alias": "Flow_or_Stage",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "Flow_or_Stage"
    },
    {
     "name": "Website_table_order",
     "type": "esriFieldTypeInteger",
     "alias": "Website_table_order",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Website_table_order"
    },
    {
     "name": "North_or_South",
     "type": "esriFieldTypeString",
     "alias": "North_or_South",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "North_or_South"
    },
    {
     "name": "Supress_table",
     "type": "esriFieldTypeString",
     "alias": "Supress_table",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "Supress_table"
    },
    {
     "name": "Flow_or_stage_hydrotel",
     "type": "esriFieldTypeString",
     "alias": "Flow_or_stage_hydrotel",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 1,
     "defaultValue": null,
     "modelName": "Flow_or_stage_hydrotel"
    },
    {
     "name": "Comment_for_web",
     "type": "esriFieldTypeString",
     "alias": "Comment_for_web",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 100,
     "defaultValue": null,
     "modelName": "Comment_for_web"
    },
    {
     "name": "Water_temperature_point",
     "type": "esriFieldTypeInteger",
     "alias": "Water_temperature_point",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Water_temperature_point"
    },
    {
     "name": "Last_sample",
     "type": "esriFieldTypeDate",
     "alias": "Last_sample",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Last_sample"
    },
    {
     "name": "Current_stage_height_m",
     "type": "esriFieldTypeDouble",
     "alias": "Current_stage_height_m",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Current_stage_height_m"
    },
    {
     "name": "Current_flow_m3s",
     "type": "esriFieldTypeDouble",
     "alias": "Current_flow_m3s",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Current_flow_m3s"
    },
    {
     "name": "Change_last_hour_mm",
     "type": "esriFieldTypeDouble",
     "alias": "Change_last_hour_mm",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Change_last_hour_mm"
    },
    {
     "name": "Peak_stage_7_day",
     "type": "esriFieldTypeDouble",
     "alias": "Peak_stage_7_day",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Peak_stage_7_day"
    },
    {
     "name": "Peak_flow_7_day",
     "type": "esriFieldTypeDouble",
     "alias": "Peak_flow_7_day",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Peak_flow_7_day"
    },
    {
     "name": "Peak_stage_7_day_date",
     "type": "esriFieldTypeDate",
     "alias": "Peak_stage_7_day_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Peak_stage_7_day_date"
    },
    {
     "name": "Water_temperature",
     "type": "esriFieldTypeDouble",
     "alias": "Water_temperature",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Water_temperature"
    },
    {
     "name": "Mean_annual_flood_stage",
     "type": "esriFieldTypeDouble",
     "alias": "Mean_annual_flood_stage",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Mean_annual_flood_stage"
    },
    {
     "name": "ARI_stage_5_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_stage_5_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_stage_5_year"
    },
    {
     "name": "ARI_stage_10_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_stage_10_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_stage_10_year"
    },
    {
     "name": "ARI_stage_20_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_stage_20_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_stage_20_year"
    },
    {
     "name": "ARI_stage_50_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_stage_50_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_stage_50_year"
    },
    {
     "name": "Mean_annual_flood_flow",
     "type": "esriFieldTypeDouble",
     "alias": "Mean_annual_flood_flow",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Mean_annual_flood_flow"
    },
    {
     "name": "ARI_flow_5_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_5_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_5_year"
    },
    {
     "name": "ARI_flow_10_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_10_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_10_year"
    },
    {
     "name": "ARI_flow_20_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_20_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_20_year"
    },
    {
     "name": "ARI_flow_50_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_50_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_50_year"
    },
    {
     "name": "ARI_flow_100_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_100_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_100_year"
    },
    {
     "name": "ARI_flow_200_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_200_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_200_year"
    },
    {
     "name": "ARI_flow_500_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_500_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_500_year"
    },
    {
     "name": "ARI_flow_1000_year",
     "type": "esriFieldTypeDouble",
     "alias": "ARI_flow_1000_year",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ARI_flow_1000_year"
    },
    {
     "name": "Flood_frequency_distribution",
     "type": "esriFieldTypeString",
     "alias": "Flood_frequency_distribution",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_frequency_distribution"
    },
    {
     "name": "Flood_frequency_method",
     "type": "esriFieldTypeString",
     "alias": "Flood_frequency_method",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_frequency_method"
    },
    {
     "name": "Maximum_recorded_flow",
     "type": "esriFieldTypeDouble",
     "alias": "Maximum_recorded_flow",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Maximum_recorded_flow"
    },
    {
     "name": "Maximum_recorded_flow_date",
     "type": "esriFieldTypeString",
     "alias": "Maximum_recorded_flow_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Maximum_recorded_flow_date"
    },
    {
     "name": "Maximum_recorded_stage",
     "type": "esriFieldTypeDouble",
     "alias": "Maximum_recorded_stage",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Maximum_recorded_stage"
    },
    {
     "name": "Maximum_recorded_stage_date",
     "type": "esriFieldTypeString",
     "alias": "Maximum_recorded_stage_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Maximum_recorded_stage_date"
    },
    {
     "name": "Record_length_years",
     "type": "esriFieldTypeInteger",
     "alias": "Record_length_years",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Record_length_years"
    },
    {
     "name": "Catchment_area",
     "type": "esriFieldTypeDouble",
     "alias": "Catchment_area",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Catchment_area"
    },
    {
     "name": "Flood_freq_analysis_notes",
     "type": "esriFieldTypeString",
     "alias": "Flood_freq_analysis_notes",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_freq_analysis_notes"
    },
    {
     "name": "Flood_freq_analysis_chng_note",
     "type": "esriFieldTypeString",
     "alias": "Flood_freq_analysis_chng_note",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_freq_analysis_chng_note"
    },
    {
     "name": "Flood_frequency_source",
     "type": "esriFieldTypeString",
     "alias": "Flood_frequency_source",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_frequency_source"
    },
    {
     "name": "Flood_frequency_source_link",
     "type": "esriFieldTypeString",
     "alias": "Flood_frequency_source_link",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_frequency_source_link"
    },
    {
     "name": "Flood_freq_analysis_date",
     "type": "esriFieldTypeString",
     "alias": "Flood_freq_analysis_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 254,
     "defaultValue": null,
     "modelName": "Flood_freq_analysis_date"
    },
    {
     "name": "Historic_flow_A",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_flow_A",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_flow_A"
    },
    {
     "name": "Historic_flow_A_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_flow_A_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_flow_A_date"
    },
    {
     "name": "Historic_flow_B",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_flow_B",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_flow_B"
    },
    {
     "name": "Historic_flow_B_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_flow_B_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_flow_B_date"
    },
    {
     "name": "Historic_flow_C",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_flow_C",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_flow_C"
    },
    {
     "name": "Historic_flow_C_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_flow_C_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_flow_C_date"
    },
    {
     "name": "Historic_stage_A",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_stage_A",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_stage_A"
    },
    {
     "name": "Historic_stage_A_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_stage_A_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_stage_A_date"
    },
    {
     "name": "Historic_stage_B",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_stage_B",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_stage_B"
    },
    {
     "name": "Historic_stage_B_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_stage_B_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_stage_B_date"
    },
    {
     "name": "Historic_stage_C",
     "type": "esriFieldTypeDouble",
     "alias": "Historic_stage_C",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Historic_stage_C"
    },
    {
     "name": "Historic_stage_C_date",
     "type": "esriFieldTypeDate",
     "alias": "Historic_stage_C_date",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "Historic_stage_C_date"
    },
    {
     "name": "Datum",
     "type": "esriFieldTypeString",
     "alias": "Datum",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Datum"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": false,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "datesInUnknownTimezone": false,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": false
   },
   "preferredTimeReference": null,
   "types": [],
   "templates": [
    {
     "name": "River Flow and Stage Monitoring - Live",
     "description": "",
     "prototype": {
      "attributes": {
       "Historic_stage_C_date": null,
       "Datum": null,
       "RIVER": " ",
       "SITENAME": " ",
       "SITE": " ",
       "SITENUMBER": 0,
       "TIM_CHCH": null,
       "RECORDER_SITE": null,
       "TELEMETERED": null,
       "COMPLIANCE_MONITORING": null,
       "FLOOD_CONTROL": null,
       "MINIMUM_FLOW_SITE": null,
       "MINIMUM_FLOW": null,
       "NO_OF_GAUGINGS": null,
       "FIRST_GAUGING": null,
       "LAST_GAUGING": null,
       "LOWEST_FLOW": null,
       "HIGHEST_FLOW": null,
       "ALTITUDE": null,
       "NZMGX": null,
       "NZMGY": null,
       "NZMS260": null,
       "NZTMX": null,
       "NZTMY": null,
       "NZTOPO50": null,
       "Flow_or_Stage": null,
       "Website_table_order": null,
       "North_or_South": null,
       "Supress_table": null,
       "Flow_or_stage_hydrotel": null,
       "Comment_for_web": null,
       "Water_temperature_point": null,
       "Last_sample": null,
       "Current_stage_height_m": null,
       "Current_flow_m3s": null,
       "Change_last_hour_mm": null,
       "Peak_stage_7_day": null,
       "Peak_flow_7_day": null,
       "Peak_stage_7_day_date": null,
       "Water_temperature": null,
       "Mean_annual_flood_stage": null,
       "ARI_stage_5_year": null,
       "ARI_stage_10_year": null,
       "ARI_stage_20_year": null,
       "ARI_stage_50_year": null,
       "Mean_annual_flood_flow": null,
       "ARI_flow_5_year": null,
       "ARI_flow_10_year": null,
       "ARI_flow_20_year": null,
       "ARI_flow_50_year": null,
       "ARI_flow_100_year": null,
       "ARI_flow_200_year": null,
       "ARI_flow_500_year": null,
       "ARI_flow_1000_year": null,
       "Flood_frequency_distribution": null,
       "Flood_frequency_method": null,
       "Maximum_recorded_flow": null,
       "Maximum_recorded_flow_date": null,
       "Maximum_recorded_stage": null,
       "Maximum_recorded_stage_date": null,
       "Record_length_years": null,
       "Catchment_area": null,
       "Flood_freq_analysis_notes": null,
       "Flood_freq_analysis_chng_note": null,
       "Flood_frequency_source": null,
       "Flood_frequency_source_link": null,
       "Flood_freq_analysis_date": null,
       "Historic_flow_A": null,
       "Historic_flow_A_date": null,
       "Historic_flow_B": null,
       "Historic_flow_B_date": null,
       "Historic_flow_C": null,
       "Historic_flow_C_date": null,
       "Historic_stage_A": null,
       "Historic_stage_A_date": null,
       "Historic_stage_B": null,
       "Historic_stage_B_date": null,
       "Historic_stage_C": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "capabilities": "Query",
   "useStandardizedQueries": true,
   "bigIntegerRestrictedTo53Bits": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  }
 ],
 "tables": []
}