{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Water Quality Management Unit Classes - Rivers",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "RIVER_CLASS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Alpine Lower",
         "description": "Alpine Lower",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Alpine Lower"
          ]
         ]
        },
        {
         "label": "Alpine Upland",
         "description": "Alpine Upland",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           112,
           255,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Alpine Upland"
          ]
         ]
        },
        {
         "label": "Hill-fed Lower",
         "description": "Hill-fed Lower",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           115,
           76,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Hill-fed Lower"
          ]
         ]
        },
        {
         "label": "Hill-fed Upland",
         "description": "Hill-fed Upland",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           76,
           0,
           115,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Hill-fed Upland"
          ]
         ]
        },
        {
         "label": "Lake-fed",
         "description": "Lake-fed",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           255,
           197,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Lake-fed"
          ]
         ]
        },
        {
         "label": "Natural State",
         "description": "Natural State",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           38,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Natural State"
          ]
         ]
        },
        {
         "label": "Spring-fed Lower Basin",
         "description": "Spring-fed Lower Basin",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           53,
           79,
           166,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Lower Basin"
          ]
         ]
        },
        {
         "label": "Spring-fed Plains",
         "description": "Spring-fed Plains",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           197,
           0,
           255,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Plains"
          ]
         ]
        },
        {
         "label": "Spring-fed Plains-Urban",
         "description": "Spring-fed Plains-Urban",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           115,
           223,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Plains-Urban"
          ]
         ]
        },
        {
         "label": "Spring-fed Upland",
         "description": "Spring-fed Upland",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           56,
           168,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Upland"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Alpine Lower",
       "label": "Alpine Lower"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 1.2
       },
       "value": "Alpine Upland",
       "label": "Alpine Upland"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         115,
         76,
         255
        ],
        "width": 1.2
       },
       "value": "Hill-fed Lower",
       "label": "Hill-fed Lower"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         76,
         0,
         115,
         255
        ],
        "width": 1.2
       },
       "value": "Hill-fed Upland",
       "label": "Hill-fed Upland"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         255,
         197,
         255
        ],
        "width": 1.2
       },
       "value": "Lake-fed",
       "label": "Lake-fed"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         38,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Natural State",
       "label": "Natural State"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         53,
         79,
         166,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Lower Basin",
       "label": "Spring-fed Lower Basin"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         197,
         0,
         255,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Plains",
       "label": "Spring-fed Plains"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         115,
         223,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Plains-Urban",
       "label": "Spring-fed Plains-Urban"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Upland",
       "label": "Spring-fed Upland"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          186,
          42,
          189,
          255
         ],
         "toColor": [
          186,
          42,
          189,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          64,
          163,
          113,
          255
         ],
         "toColor": [
          64,
          163,
          113,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          181,
          55,
          43,
          255
         ],
         "toColor": [
          181,
          55,
          43,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          35,
          94,
          158,
          255
         ],
         "toColor": [
          35,
          94,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          196,
          174,
          61,
          255
         ],
         "toColor": [
          196,
          174,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          39,
          46,
          186,
          255
         ],
         "toColor": [
          39,
          46,
          186,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          94,
          201,
          48,
          255
         ],
         "toColor": [
          94,
          201,
          48,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          64,
          104,
          255
         ],
         "toColor": [
          161,
          64,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          42,
          166,
          191,
          255
         ],
         "toColor": [
          42,
          166,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          109,
          55,
          255
         ],
         "toColor": [
          171,
          109,
          55,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          104,
          61,
          153,
          255
         ],
         "toColor": [
          104,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          116,
          153,
          47,
          255
         ],
         "toColor": [
          116,
          153,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          38,
          132,
          255
         ],
         "toColor": [
          163,
          38,
          132,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1407953.9978,
    "ymin": 5083912.7734,
    "xmax": 1576628.5744000003,
    "ymax": 5266904.9061,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RIVER_CLASS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "RIVER_CLASS",
     "type": "esriFieldTypeString",
     "alias": "RIVER_CLASS",
     "length": 30,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "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": "High Naturalness Water Bodies",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 50,
     "name": "Rivers including tributaries"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1467058.6413000003,
    "ymin": 5095816.5422,
    "xmax": 1469367.5340999998,
    "ymax": 5097919.6673,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": null,
   "geometryField": {},
   "indexes": [],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query",
   "supportsStatistics": false,
   "supportsExceedsLimitStatistics": false,
   "supportsAdvancedQueries": false,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": false,
    "supportsPercentileStatistics": false,
    "supportsHavingClause": false,
    "supportsOrderBy": false,
    "supportsDistinct": false,
    "supportsCountDistinct": false,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": false,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": false,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": false
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 50,
   "name": "Rivers including tributaries",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": "",
   "parentLayer": {
    "id": 2,
    "name": "High Naturalness Water Bodies"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1467058.6413000003,
    "ymin": 5095816.5422,
    "xmax": 1469367.5340999998,
    "ymax": 5097919.6673,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RiverName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "RiverName",
     "type": "esriFieldTypeString",
     "alias": "River Name",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaoriName",
     "type": "esriFieldTypeString",
     "alias": "Māori Name",
     "length": 100,
     "domain": null
    },
    {
     "name": "RiverType",
     "type": "esriFieldTypeString",
     "alias": "River Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "Feature Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 100,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "FDO_GlobalID",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "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": 4,
   "name": "Salmon Spawning Sites",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1356197.7114000004,
    "ymin": 5048681.3568,
    "xmax": 1571356.3558999998,
    "ymax": 5283714.8512,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Site_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "Site_name",
     "type": "esriFieldTypeString",
     "alias": "Site_name",
     "length": 50,
     "domain": null
    },
    {
     "name": "HabitatSig",
     "type": "esriFieldTypeString",
     "alias": "HabitatSig",
     "length": 20,
     "domain": null
    },
    {
     "name": "OverallSig",
     "type": "esriFieldTypeString",
     "alias": "OverallSig",
     "length": 20,
     "domain": null
    },
    {
     "name": "FisherySig",
     "type": "esriFieldTypeString",
     "alias": "FisherySig",
     "length": 20,
     "domain": null
    },
    {
     "name": "Downstream",
     "type": "esriFieldTypeString",
     "alias": "Downstream",
     "length": 30,
     "domain": null
    },
    {
     "name": "Upstream",
     "type": "esriFieldTypeString",
     "alias": "Upstream",
     "length": 30,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 50,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 50,
     "domain": null
    },
    {
     "name": "Species",
     "type": "esriFieldTypeString",
     "alias": "Species",
     "length": 50,
     "domain": null
    },
    {
     "name": "US_loc",
     "type": "esriFieldTypeString",
     "alias": "US_loc",
     "length": 100,
     "domain": null
    },
    {
     "name": "DS_loc",
     "type": "esriFieldTypeString",
     "alias": "DS_loc",
     "length": 100,
     "domain": null
    },
    {
     "name": "DS_NZTM_E",
     "type": "esriFieldTypeInteger",
     "alias": "DS_NZTM_E",
     "domain": null
    },
    {
     "name": "DS_NZTM_N",
     "type": "esriFieldTypeInteger",
     "alias": "DS_NZTM_N",
     "domain": null
    },
    {
     "name": "US_NZTM_N",
     "type": "esriFieldTypeInteger",
     "alias": "US_NZTM_N",
     "domain": null
    },
    {
     "name": "US_NZTM_E",
     "type": "esriFieldTypeInteger",
     "alias": "US_NZTM_E",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "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": 51,
   "name": "Critical Habitats",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 47,
     "name": "Rivers"
    },
    {
     "id": 40,
     "name": "Lakes"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328945.0398000004,
    "ymin": 5023410.627,
    "xmax": 1676800.188,
    "ymax": 5357261.309400001,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": null,
   "geometryField": {},
   "indexes": [],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query",
   "supportsStatistics": false,
   "supportsExceedsLimitStatistics": false,
   "supportsAdvancedQueries": false,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": false,
    "supportsPercentileStatistics": false,
    "supportsHavingClause": false,
    "supportsOrderBy": false,
    "supportsDistinct": false,
    "supportsCountDistinct": false,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": false,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": false,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": false
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 47,
   "name": "Rivers",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 4.504455473910538E8,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 51,
    "name": "Critical Habitats"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       230,
       140,
       101,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1328945.0398000004,
    "ymin": 5023410.627,
    "xmax": 1676800.188,
    "ymax": 5357261.309400001,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Species_1",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_12",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_12",
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "Species_1",
     "type": "esriFieldTypeString",
     "alias": "Species",
     "length": 100,
     "domain": null
    },
    {
     "name": "Vernacular_1",
     "type": "esriFieldTypeString",
     "alias": "Vernacular",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 100,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "Data Source",
     "length": 150,
     "domain": null
    },
    {
     "name": "DateReported",
     "type": "esriFieldTypeString",
     "alias": "Date Reported",
     "length": 50,
     "domain": null
    },
    {
     "name": "From_X",
     "type": "esriFieldTypeDouble",
     "alias": "From X",
     "domain": null
    },
    {
     "name": "From_Y",
     "type": "esriFieldTypeDouble",
     "alias": "From Y",
     "domain": null
    },
    {
     "name": "To_X",
     "type": "esriFieldTypeDouble",
     "alias": "To X",
     "domain": null
    },
    {
     "name": "To_Y",
     "type": "esriFieldTypeDouble",
     "alias": "To Y",
     "domain": null
    },
    {
     "name": "Maori",
     "type": "esriFieldTypeString",
     "alias": "Maori",
     "length": 255,
     "domain": null
    },
    {
     "name": "Species_2",
     "type": "esriFieldTypeString",
     "alias": "Species 2",
     "length": 255,
     "domain": null
    },
    {
     "name": "Vernacular_2",
     "type": "esriFieldTypeString",
     "alias": "Vernacular 2",
     "length": 255,
     "domain": null
    },
    {
     "name": "Changes_Scope",
     "type": "esriFieldTypeString",
     "alias": "Changes Scope",
     "length": 255,
     "domain": null
    },
    {
     "name": "Changes_D_4_4",
     "type": "esriFieldTypeString",
     "alias": "Changes D_4_4",
     "length": 255,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_12",
     "fields": "OBJECTID_12",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "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": 40,
   "name": "Lakes",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": {
    "id": 51,
    "name": "Critical Habitats"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSDiagonalCross",
      "color": [
       115,
       0,
       76,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        0,
        76,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1331183.3875000002,
    "ymin": 5051884.282,
    "xmax": 1576138.3805,
    "ymax": 5266184.6544,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_12",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_12",
     "domain": null
    },
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Species",
     "type": "esriFieldTypeString",
     "alias": "Species",
     "length": 100,
     "domain": null
    },
    {
     "name": "Vernacular",
     "type": "esriFieldTypeString",
     "alias": "Vernacular",
     "length": 100,
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location_G",
     "type": "esriFieldTypeString",
     "alias": "Location_G",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location_D",
     "type": "esriFieldTypeString",
     "alias": "Location_D",
     "length": 100,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "artificial",
     "type": "esriFieldTypeInteger",
     "alias": "artificial",
     "domain": null
    },
    {
     "name": "Date_repor",
     "type": "esriFieldTypeString",
     "alias": "Date_repor",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "area",
     "type": "esriFieldTypeInteger",
     "alias": "DBO.pLWRP_v7_CriticalHabitat_Lakes.area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_12",
     "fields": "OBJECTID_12",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": "Main and Secondary Hinds Drain",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       230,
       152,
       0,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1481886.5972999996,
    "ymin": 5108652.6841,
    "xmax": 1501845.6915999996,
    "ymax": 5131654.9448,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "Drain_Type",
     "type": "esriFieldTypeString",
     "alias": "Drain_Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape_Length",
    "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": "Hinds Coastal Strip Zone",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       214,
       157,
       188,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        214,
        157,
        188,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1479706.5745,
    "ymin": 5105988.4291,
    "xmax": 1492589.8131,
    "ymax": 5117495.6066,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 0,
   "name": "Sub Regional Chapter Boundary",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "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,
        112,
        255,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUB_REGIONAL_CHAPTER_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUB_REGIONAL_CHAPTER_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 8,
   "name": "Surface Water Allocation Zones",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "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": [
        115,
        223,
        255,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1515805.6519999998,
    "ymin": 5188508.8314,
    "xmax": 1579802.5157000003,
    "ymax": 5246551.2782,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CATCHMENT_GROUP_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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": "HYDROLOGICAL_CATCHMENT_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "HYDROLOGICAL_CATCHMENT_NUMBER",
     "length": 8,
     "domain": null
    },
    {
     "name": "NIWA_CATCHMENT_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "NIWA_CATCHMENT_NUMBER",
     "length": 8,
     "domain": null
    },
    {
     "name": "CATCHMENT_GROUP",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT_GROUP",
     "length": 3,
     "domain": null
    },
    {
     "name": "CATCHMENT_GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT_GROUP_NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 255,
     "domain": null
    },
    {
     "name": "SWAZ_GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "SWAZ_GROUP_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWAZ_NAME",
     "type": "esriFieldTypeString",
     "alias": "SWAZ_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWAZ_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "SWAZ_NUMBER",
     "length": 50,
     "domain": null
    },
    {
     "name": "A_ALLOCATION_BLOCK",
     "type": "esriFieldTypeDouble",
     "alias": "A_ALLOCATION_BLOCK",
     "domain": null
    },
    {
     "name": "ALLOCATION_BLOCK_GAP",
     "type": "esriFieldTypeDouble",
     "alias": "ALLOCATION_BLOCK_GAP",
     "domain": null
    },
    {
     "name": "B_ALLOCATION_BLOCK",
     "type": "esriFieldTypeDouble",
     "alias": "B_ALLOCATION_BLOCK",
     "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": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 9,
   "name": "Groundwater Allocation Zones",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "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": [
        168,
        56,
        0,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Zone_Name] CONCAT \" Groundwater Allocation Zone\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 18,
      "symbol": {
       "type": "esriTS",
       "color": [
        205,
        137,
        102,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323809.5535000004,
    "ymin": 5004753.2701,
    "xmax": 1662028.4353,
    "ymax": 5340419.7741,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Zone_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Zone_Name",
     "type": "esriFieldTypeString",
     "alias": "Zone_Name",
     "length": 100,
     "domain": null
    },
    {
     "name": "Zone_Status",
     "type": "esriFieldTypeString",
     "alias": "Zone Status",
     "length": 10,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 39,
   "name": "Combined Surface & Groundwater Allocation Zones",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Name",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Rakaia-Selwyn",
         "description": "Rakaia-Selwyn",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSHorizontal",
          "color": [
           0,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSDash",
           "color": [
            0,
            92,
            230,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Rakaia-Selwyn"
          ]
         ]
        },
        {
         "label": "Selwyn-Waimakariri",
         "description": "Selwyn-Waimakariri",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSVertical",
          "color": [
           0,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSDash",
           "color": [
            0,
            92,
            230,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Selwyn-Waimakariri"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSHorizontal",
        "color": [
         0,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSDash",
         "color": [
          0,
          92,
          230,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Rakaia-Selwyn",
       "label": "Rakaia-Selwyn"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSVertical",
        "color": [
         0,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSDash",
         "color": [
          0,
          92,
          230,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Selwyn-Waimakariri",
       "label": "Selwyn-Waimakariri"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          186,
          42,
          189,
          255
         ],
         "toColor": [
          186,
          42,
          189,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          64,
          163,
          113,
          255
         ],
         "toColor": [
          64,
          163,
          113,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          181,
          55,
          43,
          255
         ],
         "toColor": [
          181,
          55,
          43,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          35,
          94,
          158,
          255
         ],
         "toColor": [
          35,
          94,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          196,
          174,
          61,
          255
         ],
         "toColor": [
          196,
          174,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          39,
          46,
          186,
          255
         ],
         "toColor": [
          39,
          46,
          186,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          94,
          201,
          48,
          255
         ],
         "toColor": [
          94,
          201,
          48,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          64,
          104,
          255
         ],
         "toColor": [
          161,
          64,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          42,
          166,
          191,
          255
         ],
         "toColor": [
          42,
          166,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          109,
          55,
          255
         ],
         "toColor": [
          171,
          109,
          55,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          104,
          61,
          153,
          255
         ],
         "toColor": [
          104,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          116,
          153,
          47,
          255
         ],
         "toColor": [
          116,
          153,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          38,
          132,
          255
         ],
         "toColor": [
          163,
          38,
          132,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1547311.3718999997,
    "ymin": 5143782.1657,
    "xmax": 1572915.2023,
    "ymax": 5159501.5086,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 6,
   "name": "Aquifer Systems and Sediments",
   "type": "Feature Layer",
   "description": "The Coastal Confined Gravel Aquifer System is a relatively narrow band of confined gravel aquifers, situated near the coast between the Ashley and Rakaia rivers, bounded by the coastal marine area, Banks Peninsula, and on\nthe western side by the line where sediments in the overlying confining layer are three metres thick. The aquifer system consists of at least five permeable gravel layers containing water (aquifer), separated by relatively impermeable layers of sediments (confining layers). Recognisable surface features have been used to\napproximate the natural boundary because the latter is not obvious at the ground surface.",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "AQUIFER_SYSTEM",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Coastal Confined Gravel Aquifer System",
         "description": "Coastal Confined Gravel Aquifer System",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSCross",
          "color": [
           0,
           230,
           169,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            230,
            169,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Coastal Confined Gravel Aquifer System"
          ]
         ]
        },
        {
         "label": "Semi-confined or unconfined aquifers",
         "description": "Semi-confined or unconfined aquifers",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSDiagonalCross",
          "color": [
           112,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            112,
            168,
            0,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Semi-confined or unconfined aquifers"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSCross",
        "color": [
         0,
         230,
         169,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          230,
          169,
          255
         ],
         "width": 1
        }
       },
       "value": "Coastal Confined Gravel Aquifer System",
       "label": "Coastal Confined Gravel Aquifer System"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSDiagonalCross",
        "color": [
         112,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          112,
          168,
          0,
          255
         ],
         "width": 2
        }
       },
       "value": "Semi-confined or unconfined aquifers",
       "label": "Semi-confined or unconfined aquifers"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          81,
          207,
          108,
          255
         ],
         "toColor": [
          81,
          207,
          108,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          134,
          104,
          232,
          255
         ],
         "toColor": [
          134,
          104,
          232,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          114,
          89,
          255
         ],
         "toColor": [
          227,
          114,
          89,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          174,
          204,
          255
         ],
         "toColor": [
          92,
          174,
          204,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          153,
          80,
          125,
          255
         ],
         "toColor": [
          153,
          80,
          125,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          243,
          147,
          255
         ],
         "toColor": [
          250,
          243,
          147,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          129,
          143,
          86,
          255
         ],
         "toColor": [
          129,
          143,
          86,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          95,
          156,
          255
         ],
         "toColor": [
          76,
          95,
          156,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          99,
          247,
          228,
          255
         ],
         "toColor": [
          99,
          247,
          228,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          245,
          102,
          250,
          255
         ],
         "toColor": [
          245,
          102,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          237,
          147,
          234,
          255
         ],
         "toColor": [
          237,
          147,
          234,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          242,
          195,
          148,
          255
         ],
         "toColor": [
          242,
          195,
          148,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          121,
          98,
          255
         ],
         "toColor": [
          163,
          121,
          98,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 15,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1567119.8287000004,
    "ymin": 5176341.9792,
    "xmax": 1573203.3224,
    "ymax": 5180758.1964,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AQUIFER_SYSTEM",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "AQUIFER_SYSTEM",
     "type": "esriFieldTypeString",
     "alias": "AQUIFER_SYSTEM",
     "length": 100,
     "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": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 46,
   "name": "Nitrate Management Areas",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 44,
     "name": "Orari Temuka Opihi Pareora"
    },
    {
     "id": 45,
     "name": "Waimakariri"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1416944.1250999998,
    "ymin": 5028389.4124,
    "xmax": 1569615.7862999998,
    "ymax": 5212453.5968,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": null,
   "geometryField": {},
   "indexes": [],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query",
   "supportsStatistics": false,
   "supportsExceedsLimitStatistics": false,
   "supportsAdvancedQueries": false,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": false,
    "supportsPercentileStatistics": false,
    "supportsHavingClause": false,
    "supportsOrderBy": false,
    "supportsDistinct": false,
    "supportsCountDistinct": false,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": false,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": false,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": false
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 44,
   "name": "Orari Temuka Opihi Pareora",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": {
    "id": 46,
    "name": "Nitrate Management Areas"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Name",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Fairlie Basin High Nitrogen Concentration Area",
         "description": "Fairlie Basin High Nitrogen Concentration Area",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSDiagonalCross",
          "color": [
           255,
           115,
           223,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            115,
            223,
            255
           ],
           "width": 1.5
          }
         },
         "values": [
          [
           "Fairlie Basin High Nitrogen Concentration Area"
          ]
         ]
        },
        {
         "label": "Levels Plain High Nitrogen Concentration Area",
         "description": "Levels Plain High Nitrogen Concentration Area",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSDiagonalCross",
          "color": [
           115,
           223,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            115,
            223,
            255,
            255
           ],
           "width": 1.5
          }
         },
         "values": [
          [
           "Levels Plain High Nitrogen Concentration Area"
          ]
         ]
        },
        {
         "label": "Rangitata Orton High Nitrogen Concentration Area",
         "description": "Rangitata Orton High Nitrogen Concentration Area",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSDiagonalCross",
          "color": [
           0,
           77,
           168,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            92,
            230,
            255
           ],
           "width": 1.5
          }
         },
         "values": [
          [
           "Rangitata Orton High Nitrogen Concentration Area"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSDiagonalCross",
        "color": [
         255,
         115,
         223,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          115,
          223,
          255
         ],
         "width": 1.5
        }
       },
       "value": "Fairlie Basin High Nitrogen Concentration Area",
       "label": "Fairlie Basin High Nitrogen Concentration Area"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSDiagonalCross",
        "color": [
         115,
         223,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          223,
          255,
          255
         ],
         "width": 1.5
        }
       },
       "value": "Levels Plain High Nitrogen Concentration Area",
       "label": "Levels Plain High Nitrogen Concentration Area"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSDiagonalCross",
        "color": [
         0,
         77,
         168,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          92,
          230,
          255
         ],
         "width": 1.5
        }
       },
       "value": "Rangitata Orton High Nitrogen Concentration Area",
       "label": "Rangitata Orton High Nitrogen Concentration Area"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          173,
          84,
          255
         ],
         "toColor": [
          59,
          173,
          84,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          91,
          62,
          184,
          255
         ],
         "toColor": [
          91,
          62,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          61,
          54,
          255
         ],
         "toColor": [
          194,
          61,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          131,
          161,
          255
         ],
         "toColor": [
          50,
          131,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          201,
          171,
          60,
          255
         ],
         "toColor": [
          201,
          171,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          39,
          118,
          255
         ],
         "toColor": [
          161,
          39,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          66,
          199,
          174,
          255
         ],
         "toColor": [
          66,
          199,
          174,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          40,
          191,
          255
         ],
         "toColor": [
          189,
          40,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          49,
          89,
          158,
          255
         ],
         "toColor": [
          49,
          89,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          114,
          65,
          255
         ],
         "toColor": [
          166,
          114,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          154,
          194,
          60,
          255
         ],
         "toColor": [
          154,
          194,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          196,
          47,
          255
         ],
         "toColor": [
          65,
          196,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          51,
          84,
          255
         ],
         "toColor": [
          163,
          51,
          84,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1416944.1250999998,
    "ymin": 5028389.4124,
    "xmax": 1569615.7862999998,
    "ymax": 5212453.5968,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "LandType",
     "type": "esriFieldTypeString",
     "alias": "LandType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 45,
   "name": "Waimakariri",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": {
    "id": 46,
    "name": "Nitrate Management Areas"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Name",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Nitrate Priority Area",
         "description": "Nitrate Priority Area",
         "symbol": {
          "type": "esriPFS",
          "url": "bfdf8f43024f0565599378f2dd58f8f5",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAHoAAAB6CAYAAABwWUfkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFSElEQVR4nO2d667cIAyEg5T3f2UqVZXaRpvFl7Ghnfn+HCnhtic72BiHva/fzF9/x9WLtd+3clXjnkXtbhnHjRmLOJ0/H/QAfaO8yrO2+1YuO643vDNMdMZZ3Y8q+a92pWgSLA/a+w1FfzMvkEJGst0n1vZX7WX/L6bPK0WTcBfYritos6zj8N6foHZPXZWYxiNFk3ADvG2vTfReR3utc1H+DW//qOvecX5sR4om4duDRtvsKGivdYBtL2rmQv0fP7YjRZNwA23hVRxZ87ZX7W1PY/0skP6laBIssW7rfa/XaC3/LNftO4xg+9Vet6t/KZoE5INGrUu95bK2cibrX4d53R/bk6JJ+PSg0d53tXeaHedw1q++br3vKidFE+9eoRVQZTurMjO6Il6oiJ/W0cK2e+UFHTFDzyyoSBO6nLde6L5sNAl3Q4wXbbtXRGeCkWx/5etUZdCY7kvRJET2o73f1KrdrlPepNjlU1jv/0SKJiGSBfoEHfFB51LNR/mqd73QuWjZ+9q9YsSzju7yGrPlV97vSPbrvb7Ll9A6mhGPM3Z6btV1mBfeHcH72p68bhLuBtv8r2aITGe76HfYoLthUjQJlgyT0oiNoz56PV2dvboq7yVls6VoEiIZJlXr5VX9qt2ykRxXtN/Wt1OlaBKQkbFTdp1Q6/jprFet3BRSNAnIyFg08+KtnJXofvgsqmcF9TlNqxMpmoTImxrecuhcrFU99LieVMcVsl63Yt3MVKyjd80Ib+Wn8Xp29616ZkshG02CZR1dtZ6siv1a+xnBcrvjCquZSF43M5HTfU/Z1+3O0ZqPdrtssjcHTl43M4i8bnSEKRurjnrd2Rh098zlQl43CZH3o6Pr7idd6/UBut69Tx312uV1MxOZuqv3daNKRXvbc9Fed0zdOjPI62YmcuKBt3yX142OYI1gfyuqxvMVed0kfFtHZ3eNUOWrbeRo9jG2zBRSNAnIc8b+F697Ptqpntne+vWW+1pPiiYh86B3Z4hY+5nO+1FFVWWoRGcYvXvFSCYLdHeGSFf9+SiHip2j/s8mmy0bTcKnB13thaP66dp1G1cNKO/c1I4UTULmDJOuLEdrO6t92QEeZxXZyNpHpGgSLL9Nmf1moSJLXu90d0RrOq+vxpHaH5eiSfD8NuWumDaqXvd+O1qxqdi/FE3Cv/DblKh681G/a7zR9rM5a4qMMeKJdXfb1Ow6fdc6ehrHsyL7ef5CNpqE+wBv8Spap1fZ4BnsNzujpOpL0SQgHvQp61lvezNY7rTdLFN9KZqETIbJG+j3jp+gMl8GuFzV6gKyGpCiSbgPeB852o+VaWwv2++WGLa1PymaBOTpvijQNm6A+q16CzIbMTPdl6JJQD5odKaF6WyOxtj7SN7f6tVL0SRYcsasoGO/VuXuPi/sKrLt1oicyUeRokmw5Ix15zujvNCocschZ6FAI3dSNAmR032rFd41swxw+a4Zz4qyQBlBnhxYdRJAtF9vP9M5nl27U6E9B9loEk5cR7fEfht9A7RtD41TiibhxHV09Tims51dPgk0D1yKJqHjV3JQoJQwiseD6heaFSpFkxDJAkXZJnQ/WSXMZP0spTZciiYhcs4YyjZV7+p0Rd68oHbNXOORokmw/JLd6bbL+o2fi3be2O1DQHwOKZoEywn8u73vqlj2dNa39tsduTPNaFI0CZkH3eV9V+0rj2A9FKgsVa2jRe370VVU2+KxqIeO8EVnstBzkY0mAfF+dFeMO1puBOtbFYjOICk5H02KJgHxfnRXjDta7o3dPkjXmS4/kaIvDn4AUyuIevr6iKYAAAAASUVORK5CYII=",
          "contentType": "image/png",
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 0.4
          },
          "width": 91.5,
          "height": 91.5,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "xscale": 1,
          "yscale": 1
         },
         "values": [
          [
           "Nitrate Priority Area"
          ]
         ]
        },
        {
         "label": "Nitrate priority sub-area A",
         "description": "Nitrate priority sub-area A",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           223,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Nitrate priority sub-area A"
          ]
         ]
        },
        {
         "label": "Nitrate priority sub-area B",
         "description": "Nitrate priority sub-area B",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           85,
           255,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Nitrate priority sub-area B"
          ]
         ]
        },
        {
         "label": "Nitrate priority sub-area C",
         "description": "Nitrate priority sub-area C",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Nitrate priority sub-area C"
          ]
         ]
        },
        {
         "label": "Nitrate priority sub-area E",
         "description": "Nitrate priority sub-area E",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           115,
           223,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Nitrate priority sub-area E"
          ]
         ]
        },
        {
         "label": "Nitrate priority sub-area D",
         "description": "Nitrate priority sub-area D",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           169,
           0,
           230,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Nitrate priority sub-area D"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPFS",
        "url": "bfdf8f43024f0565599378f2dd58f8f5",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAHoAAAB6CAYAAABwWUfkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFSElEQVR4nO2d667cIAyEg5T3f2UqVZXaRpvFl7Ghnfn+HCnhtic72BiHva/fzF9/x9WLtd+3clXjnkXtbhnHjRmLOJ0/H/QAfaO8yrO2+1YuO643vDNMdMZZ3Y8q+a92pWgSLA/a+w1FfzMvkEJGst0n1vZX7WX/L6bPK0WTcBfYritos6zj8N6foHZPXZWYxiNFk3ADvG2vTfReR3utc1H+DW//qOvecX5sR4om4duDRtvsKGivdYBtL2rmQv0fP7YjRZNwA23hVRxZ87ZX7W1PY/0skP6laBIssW7rfa/XaC3/LNftO4xg+9Vet6t/KZoE5INGrUu95bK2cibrX4d53R/bk6JJ+PSg0d53tXeaHedw1q++br3vKidFE+9eoRVQZTurMjO6Il6oiJ/W0cK2e+UFHTFDzyyoSBO6nLde6L5sNAl3Q4wXbbtXRGeCkWx/5etUZdCY7kvRJET2o73f1KrdrlPepNjlU1jv/0SKJiGSBfoEHfFB51LNR/mqd73QuWjZ+9q9YsSzju7yGrPlV97vSPbrvb7Ll9A6mhGPM3Z6btV1mBfeHcH72p68bhLuBtv8r2aITGe76HfYoLthUjQJlgyT0oiNoz56PV2dvboq7yVls6VoEiIZJlXr5VX9qt2ykRxXtN/Wt1OlaBKQkbFTdp1Q6/jprFet3BRSNAnIyFg08+KtnJXofvgsqmcF9TlNqxMpmoTImxrecuhcrFU99LieVMcVsl63Yt3MVKyjd80Ib+Wn8Xp29616ZkshG02CZR1dtZ6siv1a+xnBcrvjCquZSF43M5HTfU/Z1+3O0ZqPdrtssjcHTl43M4i8bnSEKRurjnrd2Rh098zlQl43CZH3o6Pr7idd6/UBut69Tx312uV1MxOZuqv3daNKRXvbc9Fed0zdOjPI62YmcuKBt3yX142OYI1gfyuqxvMVed0kfFtHZ3eNUOWrbeRo9jG2zBRSNAnIc8b+F697Ptqpntne+vWW+1pPiiYh86B3Z4hY+5nO+1FFVWWoRGcYvXvFSCYLdHeGSFf9+SiHip2j/s8mmy0bTcKnB13thaP66dp1G1cNKO/c1I4UTULmDJOuLEdrO6t92QEeZxXZyNpHpGgSLL9Nmf1moSJLXu90d0RrOq+vxpHaH5eiSfD8NuWumDaqXvd+O1qxqdi/FE3Cv/DblKh681G/a7zR9rM5a4qMMeKJdXfb1Ow6fdc6ehrHsyL7ef5CNpqE+wBv8Spap1fZ4BnsNzujpOpL0SQgHvQp61lvezNY7rTdLFN9KZqETIbJG+j3jp+gMl8GuFzV6gKyGpCiSbgPeB852o+VaWwv2++WGLa1PymaBOTpvijQNm6A+q16CzIbMTPdl6JJQD5odKaF6WyOxtj7SN7f6tVL0SRYcsasoGO/VuXuPi/sKrLt1oicyUeRokmw5Ix15zujvNCocschZ6FAI3dSNAmR032rFd41swxw+a4Zz4qyQBlBnhxYdRJAtF9vP9M5nl27U6E9B9loEk5cR7fEfht9A7RtD41TiibhxHV09Tims51dPgk0D1yKJqHjV3JQoJQwiseD6heaFSpFkxDJAkXZJnQ/WSXMZP0spTZciiYhcs4YyjZV7+p0Rd68oHbNXOORokmw/JLd6bbL+o2fi3be2O1DQHwOKZoEywn8u73vqlj2dNa39tsduTPNaFI0CZkH3eV9V+0rj2A9FKgsVa2jRe370VVU2+KxqIeO8EVnstBzkY0mAfF+dFeMO1puBOtbFYjOICk5H02KJgHxfnRXjDta7o3dPkjXmS4/kaIvDn4AUyuIevr6iKYAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.4
        },
        "width": 91.5,
        "height": 91.5,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "xscale": 1,
        "yscale": 1
       },
       "value": "Nitrate Priority Area",
       "label": "Nitrate Priority Area"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         223,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Nitrate priority sub-area A",
       "label": "Nitrate priority sub-area A"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         85,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Nitrate priority sub-area B",
       "label": "Nitrate priority sub-area B"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Nitrate priority sub-area C",
       "label": "Nitrate priority sub-area C"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         115,
         223,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Nitrate priority sub-area E",
       "label": "Nitrate priority sub-area E"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         169,
         0,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Nitrate priority sub-area D",
       "label": "Nitrate priority sub-area D"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          173,
          84,
          255
         ],
         "toColor": [
          59,
          173,
          84,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          91,
          62,
          184,
          255
         ],
         "toColor": [
          91,
          62,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          61,
          54,
          255
         ],
         "toColor": [
          194,
          61,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          131,
          161,
          255
         ],
         "toColor": [
          50,
          131,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          201,
          171,
          60,
          255
         ],
         "toColor": [
          201,
          171,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          39,
          118,
          255
         ],
         "toColor": [
          161,
          39,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          66,
          199,
          174,
          255
         ],
         "toColor": [
          66,
          199,
          174,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          40,
          191,
          255
         ],
         "toColor": [
          189,
          40,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          49,
          89,
          158,
          255
         ],
         "toColor": [
          49,
          89,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          114,
          65,
          255
         ],
         "toColor": [
          166,
          114,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          154,
          194,
          60,
          255
         ],
         "toColor": [
          154,
          194,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          196,
          47,
          255
         ],
         "toColor": [
          65,
          196,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          51,
          84,
          255
         ],
         "toColor": [
          163,
          51,
          84,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1416944.1250999998,
    "ymin": 5028389.4124,
    "xmax": 1569615.7862999998,
    "ymax": 5212453.5968,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "LandType",
     "type": "esriFieldTypeString",
     "alias": "LandType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 7,
   "name": "Freshwater Management Units FMUs",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 33,
     "name": "Orari Temuka Opihi Pareora FMUs"
    },
    {
     "id": 34,
     "name": "Waimakariri FMUs"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1579802.5157000003,
    "ymax": 5246551.2781,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": null,
   "geometryField": {},
   "indexes": [],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query",
   "supportsStatistics": false,
   "supportsExceedsLimitStatistics": false,
   "supportsAdvancedQueries": false,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": false,
    "supportsPercentileStatistics": false,
    "supportsHavingClause": false,
    "supportsOrderBy": false,
    "supportsDistinct": false,
    "supportsCountDistinct": false,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": false,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": false,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": false
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 33,
   "name": "Orari Temuka Opihi Pareora FMUs",
   "type": "Feature Layer",
   "description": "State of Environment (SOEM) Management Zones for water charging.\nPreviously called Water Management Accountability Zones proposed and defined by Bryan Jenkins, Chief Executive, ECan 5 Dec 2008.\n\nDigitised from a mixture of main catchments, groundwater allocation and surface water allocation zones.",
   "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": "",
   "parentLayer": {
    "id": 7,
    "name": "Freshwater Management Units FMUs"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "NAME",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Opihi Freshwater Management Unit",
         "description": "Opihi Freshwater Management Unit",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            197,
            0,
            255,
            255
           ],
           "width": 3
          }
         },
         "values": [
          [
           "Opihi Freshwater Management Unit"
          ]
         ]
        },
        {
         "label": "Orari Freshwater Management Unit",
         "description": "Orari Freshwater Management Unit",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 3
          }
         },
         "values": [
          [
           "Orari Freshwater Management Unit"
          ]
         ]
        },
        {
         "label": "Pareora Freshwater Management Unit",
         "description": "Pareora Freshwater Management Unit",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            255,
            197,
            255
           ],
           "width": 3
          }
         },
         "values": [
          [
           "Pareora Freshwater Management Unit"
          ]
         ]
        },
        {
         "label": "Temuka Freshwater Management Unit",
         "description": "Temuka Freshwater Management Unit",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            170,
            255,
            0,
            255
           ],
           "width": 3
          }
         },
         "values": [
          [
           "Temuka Freshwater Management Unit"
          ]
         ]
        },
        {
         "label": "Timaru Freshwater Management Unit",
         "description": "Timaru Freshwater Management Unit",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            170,
            0,
            255
           ],
           "width": 3
          }
         },
         "values": [
          [
           "Timaru Freshwater Management Unit"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          197,
          0,
          255,
          255
         ],
         "width": 3
        }
       },
       "value": "Opihi Freshwater Management Unit",
       "label": "Opihi Freshwater Management Unit"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 3
        }
       },
       "value": "Orari Freshwater Management Unit",
       "label": "Orari Freshwater Management Unit"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          255,
          197,
          255
         ],
         "width": 3
        }
       },
       "value": "Pareora Freshwater Management Unit",
       "label": "Pareora Freshwater Management Unit"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          170,
          255,
          0,
          255
         ],
         "width": 3
        }
       },
       "value": "Temuka Freshwater Management Unit",
       "label": "Temuka Freshwater Management Unit"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          170,
          0,
          255
         ],
         "width": 3
        }
       },
       "value": "Timaru Freshwater Management Unit",
       "label": "Timaru Freshwater Management Unit"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          173,
          84,
          255
         ],
         "toColor": [
          59,
          173,
          84,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          91,
          62,
          184,
          255
         ],
         "toColor": [
          91,
          62,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          61,
          54,
          255
         ],
         "toColor": [
          194,
          61,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          131,
          161,
          255
         ],
         "toColor": [
          50,
          131,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          201,
          171,
          60,
          255
         ],
         "toColor": [
          201,
          171,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          39,
          118,
          255
         ],
         "toColor": [
          161,
          39,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          66,
          199,
          174,
          255
         ],
         "toColor": [
          66,
          199,
          174,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          40,
          191,
          255
         ],
         "toColor": [
          189,
          40,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          49,
          89,
          158,
          255
         ],
         "toColor": [
          49,
          89,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          114,
          65,
          255
         ],
         "toColor": [
          166,
          114,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          154,
          194,
          60,
          255
         ],
         "toColor": [
          154,
          194,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          196,
          47,
          255
         ],
         "toColor": [
          65,
          196,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          51,
          84,
          255
         ],
         "toColor": [
          163,
          51,
          84,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 7,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1579802.5157000003,
    "ymax": 5246551.2781,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 34,
   "name": "Waimakariri FMUs",
   "type": "Feature Layer",
   "description": "State of Environment (SOEM) Management Zones for water charging.\nPreviously called Water Management Accountability Zones proposed and defined by Bryan Jenkins, Chief Executive, ECan 5 Dec 2008.\n\nDigitised from a mixture of main catchments, groundwater allocation and surface water allocation zones.",
   "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": "",
   "parentLayer": {
    "id": 7,
    "name": "Freshwater Management Units FMUs"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "NAME",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Ashley River/Rakahuri FMU ",
         "description": "Ashley River/Rakahuri FMU ",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           56,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            56,
            168,
            0,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Ashley River/Rakahuri FMU "
          ]
         ]
        },
        {
         "label": "Northern Waimakariri Tributaries FMU",
         "description": "Northern Waimakariri Tributaries FMU",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            170,
            0,
            255
           ],
           "width": 1.7
          }
         },
         "values": [
          [
           "Northern Waimakariri Tributaries FMU"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          56,
          168,
          0,
          255
         ],
         "width": 2
        }
       },
       "value": "Ashley River/Rakahuri FMU ",
       "label": "Ashley River/Rakahuri FMU "
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          170,
          0,
          255
         ],
         "width": 1.7
        }
       },
       "value": "Northern Waimakariri Tributaries FMU",
       "label": "Northern Waimakariri Tributaries FMU"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          173,
          84,
          255
         ],
         "toColor": [
          59,
          173,
          84,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          91,
          62,
          184,
          255
         ],
         "toColor": [
          91,
          62,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          61,
          54,
          255
         ],
         "toColor": [
          194,
          61,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          131,
          161,
          255
         ],
         "toColor": [
          50,
          131,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          201,
          171,
          60,
          255
         ],
         "toColor": [
          201,
          171,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          39,
          118,
          255
         ],
         "toColor": [
          161,
          39,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          66,
          199,
          174,
          255
         ],
         "toColor": [
          66,
          199,
          174,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          40,
          191,
          255
         ],
         "toColor": [
          189,
          40,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          49,
          89,
          158,
          255
         ],
         "toColor": [
          49,
          89,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          114,
          65,
          255
         ],
         "toColor": [
          166,
          114,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          154,
          194,
          60,
          255
         ],
         "toColor": [
          154,
          194,
          60,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          196,
          47,
          255
         ],
         "toColor": [
          65,
          196,
          47,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          51,
          84,
          255
         ],
         "toColor": [
          163,
          51,
          84,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1579802.5157000003,
    "ymax": 5246551.2781,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 53,
   "name": "Conjunctive Use Zone",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       190,
       210,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        112,
        255,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1454997.2089999998,
    "ymin": 5099102.9819,
    "xmax": 1474686.3702999996,
    "ymax": 5132826.0401,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "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": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 52,
   "name": "Coopers Creek",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       85,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        85,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1454612.9905000003,
    "ymin": 5118155.5252,
    "xmax": 1465770.6678999998,
    "ymax": 5140618.975,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "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": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 14,
   "name": "Ashley-Waimakariri Plains Area",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSHorizontal",
      "color": [
       230,
       89,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        230,
        89,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 10,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1518031.5184000004,
    "ymin": 5188508.8314,
    "xmax": 1579802.5157000003,
    "ymax": 5226207.8483,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Description",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 250,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 42,
   "name": "Rock Art Management Area",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "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": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1428976.0122999996,
    "ymin": 5072497.1165,
    "xmax": 1447592.9649,
    "ymax": 5114302.886,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Catchment",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "BUFF_DIST",
     "type": "esriFieldTypeDouble",
     "alias": "BUFF_DIST",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": 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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 22,
   "name": "Ashley Estuary (Te Aka Aka) and Coastal Protection Zone",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       209,
       255,
       115,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        152,
        230,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1563495.9112,
    "ymin": 5195898.1859,
    "xmax": 1579802.5157000003,
    "ymax": 5217553.2771,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUB_REGIONAL_CHAPTER_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SUB_REGIONAL_CHAPTER_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUB_REGIONAL_CHAPTER_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 21,
   "name": "Mātaitai and Waipuna Protection Zone",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 2,
    "mTolerance": 2,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSDiagonalCross",
      "color": [
       240,
       240,
       240,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        211,
        127,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1447562.0596000003,
    "ymin": 5083412.2789,
    "xmax": 1472701.8196999999,
    "ymax": 5111660.4875,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "OBJECTID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape_Leng",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Leng",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 15,
   "name": "Groundwater Provinces",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       78,
       78,
       78,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        78,
        78,
        78,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1410242.5171999997,
    "ymin": 5067751.7064,
    "xmax": 1480298.3077999996,
    "ymax": 5139481.1331,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "GW_Area",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "GW_Area",
     "type": "esriFieldTypeString",
     "alias": "GW_Area",
     "length": 50,
     "domain": null
    },
    {
     "name": "ORIG_FID",
     "type": "esriFieldTypeInteger",
     "alias": "ORIG_FID",
     "domain": null
    },
    {
     "name": "Shape_Leng",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Leng",
     "domain": null
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 16,
   "name": "Flow Sensitive Catchments",
   "type": "Feature Layer",
   "description": "Catchments as defined for the Proposed Canterbury Natural Resources Regional Plan which are sensitive to the effects that forestry has on water yields.  Based on cat_bdy and main_cat layers, with boundaries realligned to ridge lines using 1:50,000 NZMG topo images.",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       168,
       56,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        56,
        0,
        255
       ],
       "width": 1.7
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": [
     {
      "labelExpression": "[SENSITIVE_CATCHMENT_NAME] CONCAT  NEWLINE  CONCAT \"Flow Sensitive Catchment\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 17,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1396119.8536,
    "ymin": 5029400.6161,
    "xmax": 1637809.4192000004,
    "ymax": 5304536.1797,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SENSITIVE_CATCHMENT_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SENSITIVE_CATCHMENT_NAME",
     "type": "esriFieldTypeString",
     "alias": "SENSITIVE_CATCHMENT_NAME",
     "length": 150,
     "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_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "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": 17,
   "name": "Nutrient Allocation Zones",
   "type": "Feature Layer",
   "description": "State of Environment (SOEM) Management Zones for water charging.\nPreviously called Water Management Accountability Zones proposed and defined by Bryan Jenkins, Chief Executive, ECan 5 Dec 2008.\n\nDigitised from a mixture of main catchments, groundwater allocation and surface water allocation zones.",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "ZONE_CLASS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "At Risk",
         "description": "At Risk",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           170,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            77,
            168,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "At Risk"
          ]
         ]
        },
        {
         "label": "Lake Zone",
         "description": "Lake Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           197,
           0,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            38,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Lake Zone"
          ]
         ]
        },
        {
         "label": "Meets Water Quality Outcomes",
         "description": "Meets Water Quality Outcomes",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           56,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            38,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Meets Water Quality Outcomes"
          ]
         ]
        },
        {
         "label": "Unclassified",
         "description": "Unclassified",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           223,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            38,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Unclassified"
          ]
         ]
        },
        {
         "label": "Water Quality Outcomes Not Met",
         "description": "Water Quality Outcomes Not Met",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            38,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Water Quality Outcomes Not Met"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          77,
          168,
          255
         ],
         "width": 0.4
        }
       },
       "value": "At Risk",
       "label": "At Risk"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         197,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Lake Zone",
       "label": "Lake Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Meets Water Quality Outcomes",
       "label": "Meets Water Quality Outcomes"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         223,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Unclassified",
       "label": "Unclassified"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Water Quality Outcomes Not Met",
       "label": "Water Quality Outcomes Not Met"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          0,
          112,
          6,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          250,
          58,
          10,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ZONE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "ZONE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_CLASS",
     "type": "esriFieldTypeString",
     "alias": "ZONE_CLASS",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "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"
     }
    },
    {
     "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"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "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": "ZONE_COLOUR",
     "type": "esriFieldTypeString",
     "alias": "ZONE_COLOUR",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}