{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 4,
   "name": "Minimum Flow Sites",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "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
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "6a09fc8f5251ebb4602b5c65eaa8f24e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAbCAYAAAB836/YAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABqklEQVRIidWVLW8CQRCG301OkJDgW4OAhKAIOX4FHMWSIHD0d6BQKAxFI3CEr19BDocgYDBXLEgE08z1liy3dy1LqOio2a/nZnbe2bPwZLP+H5CIWgDsO88PhBBuLJCIZgAcg4BaRDQXQlQ1IBFVDWHSHCKyZaSRd9jtdtHr9X6kFAoFTCYTOeQr0oCedMrlMpbLJcbjMc7nswYrlUpoNBrqlCudK5BDJiJesPP5PEajERzHwWKx0ID8McXmamHCKb8BmBpU2QXwrk7cAIUQHlfNADjnM7HAZ5j1p0Ai4lS5U0yEPVDTDkf4AeCFne12i9VqFUlh/dVqNQR7p6wkDRhE5xdjs9mgUqngdDohmUz6WrxcLkgkEv7eZrOJfr+Per3OQzuuUz6lk8vlsNvtrgudTgfr9RrD4fDXO7AiJKP1czabxfF4jGO4scLmVyNUmJYEHg4HNRN+laQOZ5ERKtCr+oMX6CWTyWC/36t7brrDRIcMd1KpFIrFojqHR4GedNLptDb3CLANwE9bia79MFB8d8Br8J/hYnjhxwCGEUrw4J59dwNN7OnAL2TfnkOgCILWAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 15,
      "height": 20,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SiteNumber",
     "type": "esriFieldTypeOID",
     "alias": "SiteNumber",
     "domain": null
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 64,
     "domain": null
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "length": 118,
     "domain": null
    },
    {
     "name": "Tim_ChCh",
     "type": "esriFieldTypeString",
     "alias": "Tim_ChCh",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOW_OR_STAGE",
     "type": "esriFieldTypeString",
     "alias": "FLOW_OR_STAGE",
     "length": 1,
     "domain": null
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "Telemetered",
     "type": "esriFieldTypeString",
     "alias": "Telemetered",
     "length": 1,
     "domain": null
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "MINIMUM",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM",
     "domain": null
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null
    },
    {
     "name": "Altitude",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Altitude",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Development Zones",
   "type": "Feature Layer",
   "description": "Development zones as defined in the Hurunui Waiau River Regional Plan (2011)",
   "geometryType": "esriGeometryPolygon",
   "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
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        56,
        168,
        0,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[DEVELOPMENT_ZONE_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 750000,
      "name": "Default",
      "priority": 1,
      "symbol": {
       "type": "esriTS",
       "color": [
        56,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1508511.6319000004,
    "ymin": 5239624.8148,
    "xmax": 1631435.8702999996,
    "ymax": 5340419.7741,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DEVELOPMENT_ZONE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "DEVELOPMENT_ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "Development Zone Name",
     "length": 6,
     "domain": null
    },
    {
     "name": "PLAN_STATUS",
     "type": "esriFieldTypeString",
     "alias": "Plan Status",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "Sub Regional Chapter Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_NAME",
     "type": "esriFieldTypeString",
     "alias": "Allocation Regime Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "S280_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 5,
   "name": "Surface Water Allocation Zones",
   "type": "Feature Layer",
   "description": "Surface water allocation zones in the Canterbury Region as shown in the Land and Water Regional Plan.",
   "geometryType": "esriGeometryPolygon",
   "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
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        77,
        168,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ZONE_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 750000,
      "name": "Small Scale",
      "priority": 6,
      "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": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ALLOCATION_REGIME_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ZONE_GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "ZONE_GROUP_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "ZONE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "ZONE_NUMBER",
     "length": 50,
     "domain": null
    },
    {
     "name": "PLAN_STATUS",
     "type": "esriFieldTypeString",
     "alias": "PLAN_STATUS",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUB_REGIONAL_CHAPTER_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_NAME",
     "type": "esriFieldTypeString",
     "alias": "ALLOCATION_REGIME_NAME",
     "length": 200,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_CLASS",
     "type": "esriFieldTypeString",
     "alias": "ALLOCATION_REGIME_CLASS",
     "length": 80,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "S601_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Groundwater Allocation Zones",
   "type": "Feature Layer",
   "description": "Groundwater Allocation Zones as defined in the Hurunui Waiau River Regional Plan.",
   "geometryType": "esriGeometryPolygon",
   "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
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        38,
        0,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {"expression": "$feature.GROUNDWATER_ZONE_NAME"},
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 450000,
      "name": "Default",
      "priority": 3,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1508511.6319000004,
    "ymin": 5239624.8148,
    "xmax": 1631435.8702999996,
    "ymax": 5340419.7741,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "GROUNDWATER_ZONE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "GROUNDWATER_ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "GROUNDWATER_ALLOCATION_ZONE_NAME",
     "length": 20,
     "domain": null
    },
    {
     "name": "PLAN_STATUS",
     "type": "esriFieldTypeString",
     "alias": "PLAN_STATUS",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUB_REGIONAL_CHAPTER_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_NAME",
     "type": "esriFieldTypeString",
     "alias": "ALLOCATION_REGIME_NAME",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "SHAPE_STArea__",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE_STLength__",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "S281_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 2,
   "name": "Nutrient Management Area",
   "type": "Feature Layer",
   "description": "Nutrient Management Area as defined in the Hurunui Waiau River Regional Plan.",
   "geometryType": "esriGeometryPolygon",
   "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
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSForwardDiagonal",
      "color": [
       0,
       92,
       230,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        76,
        115,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1508511.6319000004,
    "ymin": 5239624.8148,
    "xmax": 1631435.8702999996,
    "ymax": 5340419.7741,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NUTRIENT_MGMT_AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "NUTRIENT_MGMT_AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "Nutrient Management Area Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "PLAN_STATUS",
     "type": "esriFieldTypeString",
     "alias": "Plan Status",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "Sub Regional Chapter Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_NAME",
     "type": "esriFieldTypeString",
     "alias": "Allocation Regime Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "S282_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "River Zones",
   "type": "Feature Layer",
   "description": "Nutrient Management Area as defined in the Hurunui Waiau River Regional Plan.",
   "geometryType": "esriGeometryPolygon",
   "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
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       64,
       101,
       235,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        64,
        101,
        235,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1540013.3711,
    "ymin": 5242783.6781,
    "xmax": 1630649.1426999997,
    "ymax": 5333293.0988,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RIVER_ZONE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "RIVER_ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "River Zone Name",
     "length": 25,
     "domain": null
    },
    {
     "name": "PLAN_STATUS",
     "type": "esriFieldTypeString",
     "alias": "Plan Status",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "Sub Regional Chapter Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "ALLOCATION_REGIME_NAME",
     "type": "esriFieldTypeString",
     "alias": "Allocation Regime Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "S283_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}