{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 578,
   "name": "Cemeteries ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 575,
     "name": "Burial Plots"
    },
    {
     "id": 576,
     "name": "Cemeteries"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1350956.623000145,
    "ymin": 4955774.734700203,
    "xmax": 1656133.5394001007,
    "ymax": 5304674.1452999115,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 575,
   "name": "Burial Plots",
   "type": "Feature Layer",
   "description": "Burial plots in the Canterbury Region",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "http://canterburymaps.govt.nz/partners",
   "parentLayer": {
    "id": 578,
    "name": "Cemeteries "
   },
   "subLayers": [],
   "minScale": 2000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "PLOT_STATUS",
     "uniqueValueGroups": [
      {
       "heading": "Plot Status",
       "classes": [
        {
         "label": "Closed",
         "description": "Closed",
         "symbol": {
          "type": "esriPMS",
          "url": "57ab0b2e033aaa23639e1321c0008d8f",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAk0lEQVQokaXRIQoCURQF0AOOoCsx2g0WkxswW1yAoILBZhBcg8VicgNmZRZhEwSrIBaLDKgMnz8Dgzde3oH3eImKSf4FTczQwwMb7ItAAynaua6PJRYxMA6Gv5lji3MIugVr19CJgVvJrffYSjsMI8MXHGIgKydY5forBnjGwBStD8zueeGEEeo4hmBdcsMvlT/9Bo7MFtm5QFyOAAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 9,
          "height": 9,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Closed"
          ]
         ]
        },
        {
         "label": "Open",
         "description": "Open",
         "symbol": {
          "type": "esriPMS",
          "url": "6f000fb1b676fec2a4ebbb43a5ea3792",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAm0lEQVQokaXRvwpBURwH8E+5ihSLxWaR8gAewCwv4c9qslslyaNYiclkktUrSFkMLLp1B92OdPOdfp3O5/T7/U4kY6J/QREjlJDDGetvoIApZrglZ22MsQqBIeYfl+Mc0UIDlzQo4xpoe4dOCDy/zFnFPdTSKXlpnwJdLEJgiz4GSV1BDxs8QmCCJmpY4pXAOvI4pEG8oZ/J/NNvF9gZbPmIDU8AAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 9,
          "height": 9,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Open"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "57ab0b2e033aaa23639e1321c0008d8f",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAk0lEQVQokaXRIQoCURQF0AOOoCsx2g0WkxswW1yAoILBZhBcg8VicgNmZRZhEwSrIBaLDKgMnz8Dgzde3oH3eImKSf4FTczQwwMb7ItAAynaua6PJRYxMA6Gv5lji3MIugVr19CJgVvJrffYSjsMI8MXHGIgKydY5forBnjGwBStD8zueeGEEeo4hmBdcsMvlT/9Bo7MFtm5QFyOAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 9,
        "height": 9,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Closed",
       "label": "Closed"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "6f000fb1b676fec2a4ebbb43a5ea3792",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAm0lEQVQokaXRvwpBURwH8E+5ihSLxWaR8gAewCwv4c9qslslyaNYiclkktUrSFkMLLp1B92OdPOdfp3O5/T7/U4kY6J/QREjlJDDGetvoIApZrglZ22MsQqBIeYfl+Mc0UIDlzQo4xpoe4dOCDy/zFnFPdTSKXlpnwJdLEJgiz4GSV1BDxs8QmCCJmpY4pXAOvI4pEG8oZ/J/NNvF9gZbPmIDU8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 9,
        "height": 9,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Open",
       "label": "Open"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          56,
          168,
          0,
          255
         ],
         "toColor": [
          255,
          255,
          0,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          255,
          255,
          0,
          255
         ],
         "toColor": [
          255,
          0,
          0,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1367789.6192998886,
    "ymin": 5077720.860300064,
    "xmax": 1571767.1364998817,
    "ymax": 5215126.851699829,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SURNAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "PLOT_ID",
     "type": "esriFieldTypeString",
     "alias": "PLOT_ID",
     "length": 20,
     "domain": null
    },
    {
     "name": "PLOT_STATUS",
     "type": "esriFieldTypeString",
     "alias": "PLOT_STATUS",
     "length": 6,
     "domain": null
    },
    {
     "name": "SURNAME",
     "type": "esriFieldTypeString",
     "alias": "SURNAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "BURIAL_DATE",
     "type": "esriFieldTypeString",
     "alias": "BURIAL_DATE",
     "length": 50,
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "length": 500,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeString",
     "alias": "ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 58,
     "domain": null
    },
    {
     "name": "DATE_CREATED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_CREATED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_LAST_MODIFIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_LAST_MODIFIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_SUPPLIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_SUPPLIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 25,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Feedback",
     "type": "esriFieldTypeString",
     "alias": "Feedback",
     "length": 4000,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 576,
   "name": "Cemeteries",
   "type": "Feature Layer",
   "description": "Cemeteries in the Canterbury Region",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "http://canterburymaps.govt.nz/partners",
   "parentLayer": {
    "id": 578,
    "name": "Cemeteries "
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       205,
       170,
       102,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1350956.623000145,
    "ymin": 4955774.734700203,
    "xmax": 1656133.5394001007,
    "ymax": 5304674.1452999115,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "COMMON_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "COMMON_NAME",
     "type": "esriFieldTypeString",
     "alias": "COMMON_NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "SHORT_NAME",
     "type": "esriFieldTypeString",
     "alias": "SHORT_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "STREET_ADDRESS",
     "type": "esriFieldTypeString",
     "alias": "STREET_ADDRESS",
     "length": 150,
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "length": 500,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeString",
     "alias": "ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 58,
     "domain": null
    },
    {
     "name": "DATE_CREATED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_CREATED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_LAST_MODIFIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_LAST_MODIFIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_SUPPLIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_SUPPLIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 25,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Feedback",
     "type": "esriFieldTypeString",
     "alias": "Feedback",
     "length": 4000,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 569,
   "name": "Resource consents ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 525,
     "name": "Resource Consents (Active)"
    },
    {
     "id": 526,
     "name": "Consented Activities - All Activities (Active)"
    },
    {
     "id": 527,
     "name": "Consented Activities - Points (Active)"
    },
    {
     "id": 528,
     "name": "Consented Activities - Lines (Active)"
    },
    {
     "id": 529,
     "name": "Consented Activities - Areas (Active)"
    },
    {
     "id": 530,
     "name": "Consented Activities - Global (Active)"
    },
    {
     "id": 531,
     "name": "Consented Activities - Discharge to Air (Active)"
    },
    {
     "id": 532,
     "name": "Consented Activities - Discharge to Air Area (Active)"
    },
    {
     "id": 533,
     "name": "Consented Activities - Discharge to Air Global (Active)"
    },
    {
     "id": 534,
     "name": "Consented Activities - Discharge to Land (Active)"
    },
    {
     "id": 535,
     "name": "Consented Activities - Discharge to Land Area (Active)"
    },
    {
     "id": 536,
     "name": "Consented Activities - Discharge to Land Global (Active)"
    },
    {
     "id": 537,
     "name": "Consented Activities - Discharge to Water (Active)"
    },
    {
     "id": 538,
     "name": "Consented Activities - Discharge to Water Area (Active)"
    },
    {
     "id": 539,
     "name": "Consented Activities - Discharge to Water Global (Active)"
    },
    {
     "id": 540,
     "name": "Consented Activities - Groundwater Take (Active)"
    },
    {
     "id": 541,
     "name": "Consented Activities - Effluent Dairy Discharge (Active)"
    },
    {
     "id": 542,
     "name": "Consented Activities - Effluent Dairy Discharge Area (Active)"
    },
    {
     "id": 543,
     "name": "Consented Activities - Effluent Dairy Discharge Global (Active)"
    },
    {
     "id": 544,
     "name": "Consented Activities - Effluent Human Discharge (Active)"
    },
    {
     "id": 545,
     "name": "Consented Activities - Effluent Human Discharge Area (Active)"
    },
    {
     "id": 546,
     "name": "Consented Activities - Effluent Human Discharge Global (Active)"
    },
    {
     "id": 547,
     "name": "Consented Activities - Gravel Excavation (Active)"
    },
    {
     "id": 548,
     "name": "Consented Activities - Gravel Excavation Area (Active)"
    },
    {
     "id": 549,
     "name": "Consented Activities - Above Ground Hazardous Storage (Active)"
    },
    {
     "id": 550,
     "name": "Consented Activities - Below Ground Hazardous Storage"
    },
    {
     "id": 551,
     "name": "Consented Activities - Vegetation Burn (Active)"
    },
    {
     "id": 552,
     "name": "Consented Activities - Vegetation Burn Area (Active)"
    },
    {
     "id": 553,
     "name": "Consented Activities - Install Well (Active)"
    },
    {
     "id": 554,
     "name": "Consented Activities - Surface Water Dam (Active)"
    },
    {
     "id": 555,
     "name": "Consented Activities - Surface Water Divert (Active)"
    },
    {
     "id": 556,
     "name": "Consented Activities - Surface Water Take (Active)"
    },
    {
     "id": 557,
     "name": "Consented Activities - Surface Water Use (Active)"
    },
    {
     "id": 558,
     "name": "Surface Water Abstraction Points"
    },
    {
     "id": 559,
     "name": "Groundwater Wells (by Reading Count)"
    },
    {
     "id": 560,
     "name": "Community Drinking Water Supply Points"
    },
    {
     "id": 561,
     "name": "Community Drinking Water Protection Zones"
    },
    {
     "id": 562,
     "name": "Rakaia Riparian"
    },
    {
     "id": 563,
     "name": "Surface Water Irrigation Proposed Schemes"
    },
    {
     "id": 564,
     "name": "Surface Water Irrigation Schemes"
    },
    {
     "id": 565,
     "name": "Minimum Flows"
    },
    {
     "id": 566,
     "name": "Residual Flows"
    },
    {
     "id": 567,
     "name": "Surface Water Take Metering"
    },
    {
     "id": 568,
     "name": "Groundwater Take Metering"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 525,
   "name": "Resource Consents (Active)",
   "type": "Feature Layer",
   "description": "General locations current consents, permits and applications under the Resource Management Act by Environment Canterbury Regional Council.\n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b4efab2e1b4f8047c7ab4559f8f128c7",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVQ4jWNhoBJgGdwGuc3ev46R4b8ekXp37Ux1ysJqECPDfzcGBgZuIg1ywukiYoE0PyfDi0/fGck2SF2Uj8FPW5ph7aXHDH//M/wnyyB3dUkGNzVJhoZdlxk+//yNIY/TIE5WZgYPdSmG9VceM3hqSDGE6ckxFGw6i9UQvAYF68oxxBgpMGiJ8zGYyAgz5G88y/DxB3ZD8Bq08uJDBh0JfgZbRTGGWSfvMDz68BWnIXgN+v33H0Pj7ssMWZZqDBuuPMFrCF6DQOD7778MvYeuEzSEoEGkABYU3n+GOwyMDPpE6fzPcAenQTvTnAyo4yIKANUMAgCbMkHYDkMvOAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 83,
      "symbol": {
       "type": "esriTS",
       "color": [
        71,
        155,
        190,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1326491.568,
    "ymin": 5016282.885,
    "xmax": 1688996.6279999996,
    "ymax": 5354033.2326,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 526,
   "name": "Consented Activities - All Activities (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity as recorded within Environment Canterbury's Resource Management Act database.  Depending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "f9dc3efccd861e726e997747a5b59d15",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8klEQVQ4jWNhoBJgGeQGrWxZx/CfQY84rYy7GCKqs7Ab9J/BjYGBgZs4g/474XYRkUCVV4jhwZcPjL/JNchMSIohR9WEoffmSYbf///9J8tFyUoGDImK+gx+h1cxvPv1HUMep0G8LGxgzRNunWJIVTJkKNe0ZLDcswCrIXgNKtawYKjXtmWwEpFh8JRUZjDfPZ/h9c9vOF2M06D2a0cZbEVkGUJlNRmKL+xhuPbpDU5D8Br0899fBv8jqxkmG7kzTLx1Cq8heA0CgS9/fjEkntpM0BCCBpECWND4dxgYGPSJ0skIVovDoIgaA2q5iGxANYMAzIRAybvO0rsAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 64,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1326491.568,
    "ymin": 5015496.4835,
    "xmax": 1688996.6279999996,
    "ymax": 5354033.2326,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 527,
   "name": "Consented Activities - Points (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity as recorded within Environment Canterbury's Resource Management Act database.  This layer contains features that are represented as points, and includes feature types such as water takes, discharge points, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Lines, Consented Activities - Areas and Consented Activities - Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "f9dc3efccd861e726e997747a5b59d15",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8klEQVQ4jWNhoBJgGeQGrWxZx/CfQY84rYy7GCKqs7Ab9J/BjYGBgZs4g/474XYRkUCVV4jhwZcPjL/JNchMSIohR9WEoffmSYbf///9J8tFyUoGDImK+gx+h1cxvPv1HUMep0G8LGxgzRNunWJIVTJkKNe0ZLDcswCrIXgNKtawYKjXtmWwEpFh8JRUZjDfPZ/h9c9vOF2M06D2a0cZbEVkGUJlNRmKL+xhuPbpDU5D8Br0899fBv8jqxkmG7kzTLx1Cq8heA0CgS9/fjEkntpM0BCCBpECWND4dxgYGPSJ0skIVovDoIgaA2q5iGxANYMAzIRAybvO0rsAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 60,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1330109.4798999997,
    "ymin": 5017456.7118,
    "xmax": 1687271.2468999997,
    "ymax": 5354033.2326,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 528,
   "name": "Consented Activities - Lines (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity as recorded within Environment Canterbury's Resource Management Act database.  This layer contains features that are represented as lines, and includes feature types such as walls, stopbanks, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Points, Consented Activities - Areas and Consented Activities - Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location line may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       57,
       143,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 115,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1373024.3936,
    "ymin": 5026356.9457,
    "xmax": 1689095.8472999996,
    "ymax": 5355848.6192,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 529,
   "name": "Consented Activities - Areas (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity as recorded within Environment Canterbury's Resource Management Act database.  This layer contains features that are represented as area of a size 10,000ha or less, and includes feature types such as gravel excavation areas, burnoff areas, etc.  \n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Points, Consented Activities - Lines and Consented Activities - Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location area may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       168,
       132,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        168,
        132,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 114,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1333906.1679999996,
    "ymin": 5007963.1936,
    "xmax": 1687338.4265,
    "ymax": 5354932.7168,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 530,
   "name": "Consented Activities - Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity as recorded within Environment Canterbury's Resource Management Act database.  This layer contains features that are represented as area of a size greater than 10,000ha or are issued for activities than can undertaken region wide in Canterbury, and includes feature types such as discharge areas, disturbing land in the riverbed, etc.  \n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Points, Consented Activities - Lines and Consented Activities - Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location area may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       168,
       132,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        168,
        132,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 500000,
      "name": "Default",
      "priority": 126,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1205019.3026,
    "ymin": 4950301.9218,
    "xmax": 1705804.6664000005,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 531,
   "name": "Consented Activities - Discharge to Air (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to air as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to air features that are represented as points for actvities such as using a solid fuel burner, discharges of dust, smells associated with eflluent storage and spreading, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Air Areas and Consented Activities - Discharge to Air Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to fuel burnt, animal effluent type and numbers, storage and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "14da29c724021a407dae26732d7d359d",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA+ElEQVQ4jWNhoBJgGdwGrbRgWPefgUGPSL27Ik4wZGE16D8DgxsDAwM3Ucb8Z3DC6SJiAa+sKsOXZw8YGRh+k2eQkJYZg2pIDsPN5b0M///8/k+Wi5R8kxkUfRIZDpf6Mfz69A5DHqdBLFy8YM23Vk5gUPJPZdCMLWfYk2KJ1RC8BmlEFTNoJ9cziOhZMUhaejLsTjZn+PnhNU4X4zTo2sJ2BhF9WwZZp1CGC5OKGT7dv4bTELwG/fv9k+FImT+DUfFkhlsrJ+I1BK9BIPDn+xeGUy2JBA0haBApgAWNf4eBgUGfGI2MTGC12A2KOMFgQC0XkQ2oZhAAnr5AxTX56ccAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 67,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1331025.6994000003,
    "ymin": 5025812.5793,
    "xmax": 1677377.5455999998,
    "ymax": 5331464.6845,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Value",
     "type": "esriFieldTypeDouble",
     "alias": "Value",
     "domain": null
    },
    {
     "name": "AreaVolumeOrRate",
     "type": "esriFieldTypeString",
     "alias": "AreaVolumeOrRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "AnimalType",
     "type": "esriFieldTypeString",
     "alias": "AnimalType",
     "length": 50,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "DepthOfPit_m",
     "type": "esriFieldTypeDouble",
     "alias": "DepthOfPit_m",
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "SprayPainting",
     "type": "esriFieldTypeString",
     "alias": "SprayPainting",
     "length": 50,
     "domain": null
    },
    {
     "name": "PrimaryFuel",
     "type": "esriFieldTypeString",
     "alias": "PrimaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "SecondaryFuel",
     "type": "esriFieldTypeString",
     "alias": "SecondaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxFuelRateAppPerHour",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRateAppPerHour",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxFuelRate",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxSulphurContent",
     "type": "esriFieldTypeString",
     "alias": "MaxSulphurContent",
     "length": 10,
     "domain": null
    },
    {
     "name": "MinStackHeight",
     "type": "esriFieldTypeString",
     "alias": "MinStackHeight",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxEmissionsGramsPerSec",
     "type": "esriFieldTypeString",
     "alias": "MaxEmissionsGramsPerSec",
     "length": 10,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 532,
   "name": "Consented Activities - Discharge to Air Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to air as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to air features that are represented as points for actvities such as using a solid fuel burner, discharges of dust, smells associated with eflluent storage and spreading, etc.\n\nNote: Prior to 2013 all actvivties were recorded as area features less than 10,000 in size.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Air Points and Consented Activities - Discharge to Air Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to fuel burnt, animal effluent type and numbers, storage and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       168,
       56,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        56,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 106,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1366504.6042999998,
    "ymin": 5025055.7316,
    "xmax": 1669337.7048000004,
    "ymax": 5337193.6175,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Value",
     "type": "esriFieldTypeDouble",
     "alias": "Value",
     "domain": null
    },
    {
     "name": "AreaVolumeOrRate",
     "type": "esriFieldTypeString",
     "alias": "AreaVolumeOrRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "AnimalType",
     "type": "esriFieldTypeString",
     "alias": "AnimalType",
     "length": 50,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "DepthOfPit_m",
     "type": "esriFieldTypeDouble",
     "alias": "DepthOfPit_m",
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "SprayPainting",
     "type": "esriFieldTypeString",
     "alias": "SprayPainting",
     "length": 50,
     "domain": null
    },
    {
     "name": "PrimaryFuel",
     "type": "esriFieldTypeString",
     "alias": "PrimaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "SecondaryFuel",
     "type": "esriFieldTypeString",
     "alias": "SecondaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxFuelRateAppPerHour",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRateAppPerHour",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxFuelRate",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxSulphurContent",
     "type": "esriFieldTypeString",
     "alias": "MaxSulphurContent",
     "length": 10,
     "domain": null
    },
    {
     "name": "MinStackHeight",
     "type": "esriFieldTypeString",
     "alias": "MinStackHeight",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxEmissionsGramsPerSec",
     "type": "esriFieldTypeString",
     "alias": "MaxEmissionsGramsPerSec",
     "length": 10,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 533,
   "name": "Consented Activities - Discharge to Air Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to air as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to air features that are represented as points for actvities such as using a solid fuel burner, discharges of dust, smells associated with eflluent storage and spreading, etc.\n\nNote: Prior to 2013 all actvivties were recorded as area features greater than 10,000 in size or for activities that can be undertaken throughout the Canterbury region.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Air Points and Consented Activities - Discharge to Air Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to fuel burnt, animal effluent type and numbers, storage and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       168,
       56,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        56,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 500000,
      "name": "Default",
      "priority": 111,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1205019.3026,
    "ymin": 5004764.9257,
    "xmax": 1704528.0614,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Value",
     "type": "esriFieldTypeDouble",
     "alias": "Value",
     "domain": null
    },
    {
     "name": "AreaVolumeOrRate",
     "type": "esriFieldTypeString",
     "alias": "AreaVolumeOrRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "AnimalType",
     "type": "esriFieldTypeString",
     "alias": "AnimalType",
     "length": 50,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "DepthOfPit_m",
     "type": "esriFieldTypeDouble",
     "alias": "DepthOfPit_m",
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "SprayPainting",
     "type": "esriFieldTypeString",
     "alias": "SprayPainting",
     "length": 50,
     "domain": null
    },
    {
     "name": "PrimaryFuel",
     "type": "esriFieldTypeString",
     "alias": "PrimaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "SecondaryFuel",
     "type": "esriFieldTypeString",
     "alias": "SecondaryFuel",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxFuelRateAppPerHour",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRateAppPerHour",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxFuelRate",
     "type": "esriFieldTypeString",
     "alias": "MaxFuelRate",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxSulphurContent",
     "type": "esriFieldTypeString",
     "alias": "MaxSulphurContent",
     "length": 10,
     "domain": null
    },
    {
     "name": "MinStackHeight",
     "type": "esriFieldTypeString",
     "alias": "MinStackHeight",
     "length": 10,
     "domain": null
    },
    {
     "name": "MaxEmissionsGramsPerSec",
     "type": "esriFieldTypeString",
     "alias": "MaxEmissionsGramsPerSec",
     "length": 10,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 534,
   "name": "Consented Activities - Discharge to Land (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as points for actvities such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Land Areas and Consented Activities - Discharge to Land Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "fa02d9e8d620031be069db99fcf525fa",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/klEQVQ4jWNhoBJgGdwGFfkwrGNkZNAjRiMjA8Ouns0MWVgNYmRgcGP4z8BNjEH/GRiccLqIWCAipcrw9uUDRgaG3+QZJKdmxmDtk8NwcH0vw/+/v/+T5SIz12QGM9dEhnnNfgzfPr/DkMdpEDsnL4OZWzLD4Y0TGMzdUxmcgssZJpdaYjUEr0H2gcUMbpH1DAoaVgwaJp4Mk4rMGb58fI3TxTgN2re6nUFJ25ZB3yaUYfPcYoaXj6/hNASvQX9+/2SY3+zPEJAxmeHwpol4DcFrEAj8/PGFYeWERIKGEDSIFMCCxr/DwMCgT5RORrBa7Ab1bmEwoJaLyAZUMwgAVXI/wzv6hKoAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 69,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1330109.4798999997,
    "ymin": 5017818.5596,
    "xmax": 1683920.3476999998,
    "ymax": 5350443.7362,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 535,
   "name": "Consented Activities - Discharge to Land Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as ares less than 10,000ha in size for actvities such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Land Points and Consented Activities - Discharge to Land Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       115,
       76,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        76,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 99,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1341507.4614000004,
    "ymin": 5018194.6345,
    "xmax": 1683315.9819,
    "ymax": 5349530.0945,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 536,
   "name": "Consented Activities - Discharge to Land Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as ares less greater than 10,000ha in size or for activities than can be undertaken region wide in Canterbury such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Land Points and Consented Activities - Discharge to Land Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       115,
       76,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        76,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000000,
      "name": "Default",
      "priority": 101,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1704528.0576999998,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 537,
   "name": "Consented Activities - Discharge to Water (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to water as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to water features that are represented as points for actvities such as the discharge of contaminated water or stormwater to water, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Water Areas and Consented Activities - Discharge to Water Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "cc7e8bc60a22c48b94761f2f767a3023",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3ElEQVQ4jc3QPQtBYRjG8f/hDMpLSh0hg8GKiThZDMrC5ANIFtkMRqNJke/hA5h9A4XBYMGgTBJ5ObIR53hwBtf2dHf/7qtHxqTIfw4NtT4SEcHdAapUfQ1ZyKJhF4Qy+o0EE7bBfI90/BaKO6Dmg/YSjqB91ajshZIC+QlsTs9zXchphbICnRVUvNAIQHL0GjGE6n5oBiHlgpwbEiNY33+KKNRaQNoFRQ/U5zDe6SOG0OEChSn0QtBdGSOG0C3bM5Rm75G30CeRH14at/tRwd2ZPqRKMXMa/RDToCtogyzYAM8sBwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 72,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        197,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1342597.5629000003,
    "ymin": 5023592.0188,
    "xmax": 1682878.6437999997,
    "ymax": 5352412.5515,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "SubType",
     "type": "esriFieldTypeString",
     "alias": "SubType",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 100,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "BuildingConsentNumber",
     "type": "esriFieldTypeString",
     "alias": "BuildingConsentNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationMethod",
     "type": "esriFieldTypeString",
     "alias": "ApplicationMethod",
     "length": 200,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 538,
   "name": "Consented Activities - Discharge to Water Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to water as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to water features that are represented as areas less than 10,000ha in size for actvities such as the discharge of contaminated water or stormwater to water, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Water Points and Consented Activities - Discharge to Water Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       197,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        197,
        255,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 103,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        197,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1358746.4642000003,
    "ymin": 5030159.5113,
    "xmax": 1658237.3355,
    "ymax": 5308243.0824,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActvityText",
     "type": "esriFieldTypeString",
     "alias": "ActvityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "SubType",
     "type": "esriFieldTypeString",
     "alias": "SubType",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 100,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "BuildingConsentNumber",
     "type": "esriFieldTypeString",
     "alias": "BuildingConsentNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationMethod",
     "type": "esriFieldTypeString",
     "alias": "ApplicationMethod",
     "length": 200,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 539,
   "name": "Consented Activities - Discharge to Water Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the discharge or contaminants to water as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to water features that are represented as areas greater than 10,000ha in size or for activities that can be undertaken region wide in Canterbury for actvities such as the discharge of contaminated water or stormwater to water, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Discharge to Water Points and Consented Activities - Discharge to Water Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       197,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        197,
        255,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000000,
      "name": "Default",
      "priority": 105,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        197,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1704528.0576999998,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "SubType",
     "type": "esriFieldTypeString",
     "alias": "SubType",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 100,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "BuildingConsentNumber",
     "type": "esriFieldTypeString",
     "alias": "BuildingConsentNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationMethod",
     "type": "esriFieldTypeString",
     "alias": "ApplicationMethod",
     "length": 200,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 540,
   "name": "Consented Activities - Groundwater Take (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to extracting groundwater for domestic or commercial as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains water take features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to maximum allowable application rates and volumes, and allocation regimes are also included if relavent to the type of take.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "fc88340164712f45daafe0aeeb5e82c9",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA10lEQVQ4jc3OsQsBcRjG8e+vrgwyWiVlsGDCKQMDWSjlD5AsUgaD0WhSJyuzTVmlxB9hMhiVMl1KRyQb9zvnusGzvb09nx4Fl6L8OdS+zxBEbXYXaKJpDgnygNcmlJMvspmwH/YnhOEUSgSglYHBCowbd0eL6imoJaA0htP58y+FfJ5XWVtDQ4VuDtShOWIJdbLQK0A6CMUIJDU46vLFUqi/hEwIqnHozGF7kCOW0OUK5QmMKjDcWCOW0DP6BWrT78hX6Jcob/cOiNns7uSQJuJuLXIc16AHXNwr0WufP9EAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 76,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1359444.4343999997,
    "ymin": 5020664.4601,
    "xmax": 1682812.5606000004,
    "ymax": 5350069.2845,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "ReturnPeriodDays",
     "type": "esriFieldTypeString",
     "alias": "ReturnPeriodDays",
     "length": 10,
     "domain": null
    },
    {
     "name": "EffectiveAnnualVolume",
     "type": "esriFieldTypeDouble",
     "alias": "EffectiveAnnualVolume",
     "domain": null
    },
    {
     "name": "FullEffectiveAnnualVolume",
     "type": "esriFieldTypeDouble",
     "alias": "FullEffectiveAnnualVolume",
     "domain": null
    },
    {
     "name": "ConsentedAnnualVolume",
     "type": "esriFieldTypeDouble",
     "alias": "ConsentedAnnualVolume",
     "domain": null
    },
    {
     "name": "InAllocation",
     "type": "esriFieldTypeString",
     "alias": "InAllocation",
     "length": 5,
     "domain": null
    },
    {
     "name": "FromMonth",
     "type": "esriFieldTypeString",
     "alias": "FromMonth",
     "length": 5,
     "domain": null
    },
    {
     "name": "ToMonth",
     "type": "esriFieldTypeString",
     "alias": "ToMonth",
     "length": 5,
     "domain": null
    },
    {
     "name": "EstMethod",
     "type": "esriFieldTypeString",
     "alias": "EstMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstComment",
     "type": "esriFieldTypeString",
     "alias": "EstComment",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationTypeText",
     "type": "esriFieldTypeString",
     "alias": "IrrigationTypeText",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationOf",
     "type": "esriFieldTypeString",
     "alias": "IrrigationOf",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationArea",
     "type": "esriFieldTypeDouble",
     "alias": "IrrigationArea",
     "domain": null
    },
    {
     "name": "WaterUseDetailText",
     "type": "esriFieldTypeString",
     "alias": "WaterUseDetailText",
     "length": 70,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 541,
   "name": "Consented Activities - Effluent Dairy Discharge (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of dairy effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as points.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Dairy Discharge Areas and Consented Activities - Effluent Dairy Discharge Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to dairying practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "35a2792ed9c24f658e78edf1abd432af",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA9klEQVQ4jWNhoBJgGdwG5a9kWMf4n0GPSL27JkQwZGE1iPE/gxsDAwM3kQY54XQRsUCUV5Xh3ZcHjAwMv8kzSE7IjMFWNYdh/81ehr//f/8ny0UWSskMZoqJDHMO+zF8+/UOQx6nQewsvGDNB29NYLBUSmVw0ixnmLjHEqsheA1y1ChmcNeuZ1AQsWLQlPRkmLDbnOHLz9c4XYzToD3X2hmURGwZDGRDGTZeKGZ48ekaTkPwGvTn30+GuUf8GYKMJjMcujURryF4DQKBn3++MCw/lUjQEIIGkQJY0Ph3GBgY9InSyQhWi92gCREMBtRyEdmAagYBAAajP8r36qh7AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 71,
      "symbol": {
       "type": "esriTS",
       "color": [
        112,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1361193.9815999996,
    "ymin": 5024769.7222,
    "xmax": 1659208.4107999997,
    "ymax": 5314489.3798,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "FarmNumber",
     "type": "esriFieldTypeString",
     "alias": "FarmNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "NutrientLoading",
     "type": "esriFieldTypeString",
     "alias": "NutrientLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "ActualAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ActualAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "WinterMilking",
     "type": "esriFieldTypeString",
     "alias": "WinterMilking",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkSupply",
     "type": "esriFieldTypeString",
     "alias": "MilkSupply",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkingFrequency",
     "type": "esriFieldTypeString",
     "alias": "MilkingFrequency",
     "length": 50,
     "domain": null
    },
    {
     "name": "CowsWintered",
     "type": "esriFieldTypeString",
     "alias": "CowsWintered",
     "length": 50,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "FailSafe",
     "type": "esriFieldTypeString",
     "alias": "FailSafe",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageLiner",
     "type": "esriFieldTypeString",
     "alias": "StorageLiner",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageVolume_m3",
     "type": "esriFieldTypeString",
     "alias": "StorageVolume_m3",
     "length": 50,
     "domain": null
    },
    {
     "name": "DairyHandstandAdequate",
     "type": "esriFieldTypeString",
     "alias": "DairyHandstandAdequate",
     "length": 50,
     "domain": null
    },
    {
     "name": "FeedPad",
     "type": "esriFieldTypeString",
     "alias": "FeedPad",
     "length": 50,
     "domain": null
    },
    {
     "name": "EfluentSolidsContained",
     "type": "esriFieldTypeString",
     "alias": "EfluentSolidsContained",
     "length": 50,
     "domain": null
    },
    {
     "name": "NaturalWaterbodies",
     "type": "esriFieldTypeString",
     "alias": "NaturalWaterbodies",
     "length": 50,
     "domain": null
    },
    {
     "name": "HighGW_Springs",
     "type": "esriFieldTypeString",
     "alias": "HighGW_Springs",
     "length": 50,
     "domain": null
    },
    {
     "name": "StockExclWaterways",
     "type": "esriFieldTypeString",
     "alias": "StockExclWaterways",
     "length": 50,
     "domain": null
    },
    {
     "name": "WaterbodyCrossings",
     "type": "esriFieldTypeString",
     "alias": "WaterbodyCrossings",
     "length": 50,
     "domain": null
    },
    {
     "name": "Underpass",
     "type": "esriFieldTypeString",
     "alias": "Underpass",
     "length": 50,
     "domain": null
    },
    {
     "name": "ArtificialDrainage",
     "type": "esriFieldTypeString",
     "alias": "ArtificialDrainage",
     "length": 50,
     "domain": null
    },
    {
     "name": "SilagePit",
     "type": "esriFieldTypeString",
     "alias": "SilagePit",
     "length": 50,
     "domain": null
    },
    {
     "name": "OffalPit",
     "type": "esriFieldTypeString",
     "alias": "OffalPit",
     "length": 50,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 542,
   "name": "Consented Activities - Effluent Dairy Discharge Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of dairy effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as areas less than 10,000ha in size.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Dairy Discharge Points and Consented Activities - Effluent Dairy Discharge Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to dairying practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       112,
       168,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        112,
        168,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 108,
      "symbol": {
       "type": "esriTS",
       "color": [
        112,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1359061.4357000003,
    "ymin": 5023473.8871,
    "xmax": 1656639.1755,
    "ymax": 5309999.5803,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "FarmNumber",
     "type": "esriFieldTypeString",
     "alias": "FarmNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "NutrientLoading",
     "type": "esriFieldTypeString",
     "alias": "NutrientLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "ActualAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ActualAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "WinterMilking",
     "type": "esriFieldTypeString",
     "alias": "WinterMilking",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkSupply",
     "type": "esriFieldTypeString",
     "alias": "MilkSupply",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkingFrequency",
     "type": "esriFieldTypeString",
     "alias": "MilkingFrequency",
     "length": 50,
     "domain": null
    },
    {
     "name": "CowsWintered",
     "type": "esriFieldTypeString",
     "alias": "CowsWintered",
     "length": 50,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "FailSafe",
     "type": "esriFieldTypeString",
     "alias": "FailSafe",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageLiner",
     "type": "esriFieldTypeString",
     "alias": "StorageLiner",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageVolume_m3",
     "type": "esriFieldTypeString",
     "alias": "StorageVolume_m3",
     "length": 50,
     "domain": null
    },
    {
     "name": "DairyHandstandAdequate",
     "type": "esriFieldTypeString",
     "alias": "DairyHandstandAdequate",
     "length": 50,
     "domain": null
    },
    {
     "name": "FeedPad",
     "type": "esriFieldTypeString",
     "alias": "FeedPad",
     "length": 50,
     "domain": null
    },
    {
     "name": "EfluentSolidsContained",
     "type": "esriFieldTypeString",
     "alias": "EfluentSolidsContained",
     "length": 50,
     "domain": null
    },
    {
     "name": "NaturalWaterbodies",
     "type": "esriFieldTypeString",
     "alias": "NaturalWaterbodies",
     "length": 50,
     "domain": null
    },
    {
     "name": "HighGW_Springs",
     "type": "esriFieldTypeString",
     "alias": "HighGW_Springs",
     "length": 50,
     "domain": null
    },
    {
     "name": "StockExclWaterways",
     "type": "esriFieldTypeString",
     "alias": "StockExclWaterways",
     "length": 50,
     "domain": null
    },
    {
     "name": "WaterbodyCrossings",
     "type": "esriFieldTypeString",
     "alias": "WaterbodyCrossings",
     "length": 50,
     "domain": null
    },
    {
     "name": "Underpass",
     "type": "esriFieldTypeString",
     "alias": "Underpass",
     "length": 50,
     "domain": null
    },
    {
     "name": "ArtificialDrainage",
     "type": "esriFieldTypeString",
     "alias": "ArtificialDrainage",
     "length": 50,
     "domain": null
    },
    {
     "name": "SilagePit",
     "type": "esriFieldTypeString",
     "alias": "SilagePit",
     "length": 50,
     "domain": null
    },
    {
     "name": "OffalPit",
     "type": "esriFieldTypeString",
     "alias": "OffalPit",
     "length": 50,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 543,
   "name": "Consented Activities - Effluent Dairy Discharge Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of dairy effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as areas greater than 10,000ha in size.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Dairy Discharge Points and Consented Activities - Effluent Dairy Discharge Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to dairying practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       112,
       168,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        112,
        168,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[HolderName]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000000,
      "name": "Default",
      "priority": 110,
      "symbol": {
       "type": "esriTS",
       "color": [
        112,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "FarmNumber",
     "type": "esriFieldTypeString",
     "alias": "FarmNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "NutrientLoading",
     "type": "esriFieldTypeString",
     "alias": "NutrientLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "ActualAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ActualAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "WinterMilking",
     "type": "esriFieldTypeString",
     "alias": "WinterMilking",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkSupply",
     "type": "esriFieldTypeString",
     "alias": "MilkSupply",
     "length": 50,
     "domain": null
    },
    {
     "name": "MilkingFrequency",
     "type": "esriFieldTypeString",
     "alias": "MilkingFrequency",
     "length": 50,
     "domain": null
    },
    {
     "name": "CowsWintered",
     "type": "esriFieldTypeString",
     "alias": "CowsWintered",
     "length": 50,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "FailSafe",
     "type": "esriFieldTypeString",
     "alias": "FailSafe",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageMethod",
     "type": "esriFieldTypeString",
     "alias": "StorageMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageLiner",
     "type": "esriFieldTypeString",
     "alias": "StorageLiner",
     "length": 50,
     "domain": null
    },
    {
     "name": "StorageVolume_m3",
     "type": "esriFieldTypeString",
     "alias": "StorageVolume_m3",
     "length": 50,
     "domain": null
    },
    {
     "name": "DairyHandstandAdequate",
     "type": "esriFieldTypeString",
     "alias": "DairyHandstandAdequate",
     "length": 50,
     "domain": null
    },
    {
     "name": "FeedPad",
     "type": "esriFieldTypeString",
     "alias": "FeedPad",
     "length": 50,
     "domain": null
    },
    {
     "name": "EfluentSolidsContained",
     "type": "esriFieldTypeString",
     "alias": "EfluentSolidsContained",
     "length": 50,
     "domain": null
    },
    {
     "name": "NaturalWaterbodies",
     "type": "esriFieldTypeString",
     "alias": "NaturalWaterbodies",
     "length": 50,
     "domain": null
    },
    {
     "name": "HighGW_Springs",
     "type": "esriFieldTypeString",
     "alias": "HighGW_Springs",
     "length": 50,
     "domain": null
    },
    {
     "name": "StockExclWaterways",
     "type": "esriFieldTypeString",
     "alias": "StockExclWaterways",
     "length": 50,
     "domain": null
    },
    {
     "name": "WaterbodyCrossings",
     "type": "esriFieldTypeString",
     "alias": "WaterbodyCrossings",
     "length": 50,
     "domain": null
    },
    {
     "name": "Underpass",
     "type": "esriFieldTypeString",
     "alias": "Underpass",
     "length": 50,
     "domain": null
    },
    {
     "name": "ArtificialDrainage",
     "type": "esriFieldTypeString",
     "alias": "ArtificialDrainage",
     "length": 50,
     "domain": null
    },
    {
     "name": "SilagePit",
     "type": "esriFieldTypeString",
     "alias": "SilagePit",
     "length": 50,
     "domain": null
    },
    {
     "name": "OffalPit",
     "type": "esriFieldTypeString",
     "alias": "OffalPit",
     "length": 50,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 544,
   "name": "Consented Activities - Effluent Human Discharge (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of human effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as points.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Human Discharge Areas and Consented Activities - Effluent Human Discharge Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to treatment and disposal practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "f539a28813d6af36211961f34f232bdf",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8klEQVQ4jWNhoBJgGeQGrXy2joGBQY8onf8ZdjFESGXhcpEbAwMDN1EGMTI44XYRkUCVh4Xhwdc/jL/JNchMiJUhR5WboffmV4bf/xn+k+WiZEUuhkRFTga/I+8Z3v36hyGP0yBeFkaGZCUuhgm3vjKkKnExlGvwMFjufYPVELwGFavzMNRr8zBYCbMxeEqyM5jvecPw+id2Q/Aa1H79C4OtKBtDqCwHQ/GFTwzXPv3BaQheg37++8/gf+Qdw2QjfoaJt7/iNQSvQSDw5c9/hsRTHwgaQtAgUgALGv8OAwODPpF67+A2KFzKgFouIhtQzSAAEEw91HB2eKEAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 80,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        169,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1330109.4798999997,
    "ymin": 5017818.5596,
    "xmax": 1683920.3476999998,
    "ymax": 5350443.7362,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 545,
   "name": "Consented Activities - Effluent Human Discharge Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of human effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as areas less than 10,000ha in size.\n\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Human Discharge Points and Consented Activities - Effluent Human Discharge Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to treatment and disposal practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       169,
       230,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        169,
        230,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 122,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        169,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1341507.4614000004,
    "ymin": 5018194.6345,
    "xmax": 1683315.9819,
    "ymax": 5349530.0945,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 546,
   "name": "Consented Activities - Effluent Human Discharge Global (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage and discharge of human effluent to water or land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge features that are represented as areas greater than 10,000ha in size.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Effluent Human Discharge Points and Consented Activities - Effluent Human Discharge Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to treatment and disposal practices are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       169,
       230,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        169,
        230,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000000,
      "name": "Default",
      "priority": 119,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        169,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548691.0527,
    "ymin": 5139045.7598,
    "xmax": 1610480.6837999998,
    "ymax": 5195842.2149,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 547,
   "name": "Consented Activities - Gravel Excavation (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to excavating gravel as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains gravel excavation features that are represented as points.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Gravel Excavation Areas layer to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to allowable excavation annual volumes and maximum volumes over the ifetime of the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b3ed0009446c901c3584beae181016c4",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA30lEQVQ4jc3QIQ6DMBQG4L8JwcwhCUGhEOsgQYBATCycZYeAhIPgMRPIYRFwB26AQUFCAl1Sua3QEcR+99K8L3+fgoOi/DeUpukDwFlmkTH2TJLkLmp0A3CSgQghV2Ej2Wiahr7vyW5I13V4noe6rrEsC9sFOY4DSinyPMc4jh/vQkhVVb7cNA1c10UQBMiy7CuyCvm+jzAMYRgGLMviyDAMwsZCqKoqmKYJ27ZRliW6rhMiq9A8z/weURTx721l9djTNKEoik1kE/olytvcAqCSu60QiuP4clSj3TkMegHJ0EHYqsAqyAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 79,
      "symbol": {
       "type": "esriTS",
       "color": [
        130,
        130,
        130,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1347434.2306000004,
    "ymin": 5031500.1787,
    "xmax": 1682778.5826000003,
    "ymax": 5351962.701,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "RiverLocationDesc",
     "type": "esriFieldTypeString",
     "alias": "RiverLocationDesc",
     "length": 100,
     "domain": null
    },
    {
     "name": "RatingDistrict",
     "type": "esriFieldTypeString",
     "alias": "RatingDistrict",
     "length": 100,
     "domain": null
    },
    {
     "name": "LowerSiteDistance",
     "type": "esriFieldTypeDouble",
     "alias": "LowerSiteDistance",
     "domain": null
    },
    {
     "name": "UpperSiteDistance",
     "type": "esriFieldTypeDouble",
     "alias": "UpperSiteDistance",
     "domain": null
    },
    {
     "name": "MaxSiteVolumePerYear",
     "type": "esriFieldTypeDouble",
     "alias": "MaxSiteVolumePerYear",
     "domain": null
    },
    {
     "name": "MaxConsentVolumePerYear",
     "type": "esriFieldTypeDouble",
     "alias": "MaxConsentVolumePerYear",
     "domain": null
    },
    {
     "name": "MaxVolumeOverConsentLife",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolumeOverConsentLife",
     "domain": null
    },
    {
     "name": "CeaseExcavationDate",
     "type": "esriFieldTypeDate",
     "alias": "CeaseExcavationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Comments",
     "type": "esriFieldTypeString",
     "alias": "Comments",
     "length": 4000,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 548,
   "name": "Consented Activities - Gravel Excavation Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to excavating gravel as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains gravel excavation features that are represented as areas.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Gravel Excavation Points layer to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to allowable excavation annual volumes and maximum volumes over the ifetime of the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       130,
       130,
       130,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        130,
        130,
        130,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 118,
      "symbol": {
       "type": "esriTS",
       "color": [
        130,
        130,
        130,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1369162.2997000003,
    "ymin": 5028419.8425,
    "xmax": 1654859.0392000005,
    "ymax": 5313434.5348,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "RiverLocationDesc",
     "type": "esriFieldTypeString",
     "alias": "RiverLocationDesc",
     "length": 100,
     "domain": null
    },
    {
     "name": "RatingDistrict",
     "type": "esriFieldTypeString",
     "alias": "RatingDistrict",
     "length": 100,
     "domain": null
    },
    {
     "name": "LowerSiteDistance",
     "type": "esriFieldTypeDouble",
     "alias": "LowerSiteDistance",
     "domain": null
    },
    {
     "name": "UpperSiteDistance",
     "type": "esriFieldTypeDouble",
     "alias": "UpperSiteDistance",
     "domain": null
    },
    {
     "name": "MaxSiteVolumePerYear",
     "type": "esriFieldTypeDouble",
     "alias": "MaxSiteVolumePerYear",
     "domain": null
    },
    {
     "name": "MaxConsentVolumePerYear",
     "type": "esriFieldTypeDouble",
     "alias": "MaxConsentVolumePerYear",
     "domain": null
    },
    {
     "name": "MaxVolumeOverConsentLife",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolumeOverConsentLife",
     "domain": null
    },
    {
     "name": "CeaseExcavationDate",
     "type": "esriFieldTypeDate",
     "alias": "CeaseExcavationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Comments",
     "type": "esriFieldTypeString",
     "alias": "Comments",
     "length": 4000,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 549,
   "name": "Consented Activities - Above Ground Hazardous Storage (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage of hazardous materials in above ground structures as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains water take features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.\n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "629e6f0a83bb2affae59f52df1a8612c",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA80lEQVQ4jWNhoBJgGdwGnU1PX8fw/78eMRoZGRh2Gc2alYXdRf//uzEwMHATY9B/BgYnnC4iFrCLiTH8evuWkWyDuBUUGEQdHRle7t7N8P/v3/9kGSRsbQ3G96ZOZfjz9SuGPE6DmDk4wBpf7d3LIGJryyDu7s5ws7MTqyF4DRJzdWWQ9PFh4FZWZuDX0WG40d7O8OfzZ5wuxmnQi+3bGXhUVBgEjY0ZnqxezfDj+XOchuA16P+fPwx3p01jkI2IYHi9bx9eQ/AaBAL/fv5keLhwIUFDCBpECmBB499hYGDQJ1LvHZwGGc+aZUAtF5ENqGYQAKZEQ9VYd9YEAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 74,
      "symbol": {
       "type": "esriTS",
       "color": [
        137,
        68,
        68,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1357208.4709,
    "ymin": 5044087.5289,
    "xmax": 1671696.8739,
    "ymax": 5327222.4703,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "StorageLocation",
     "type": "esriFieldTypeString",
     "alias": "StorageLocation",
     "length": 70,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 550,
   "name": "Consented Activities - Below Ground Hazardous Storage",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the storage of hazardous materials in below ground structures as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains water take features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.\n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "5611223a08febcba1d12e53fcc97f032",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVQ4jWNhoBJgGdwGrVzJsO7/fwY9IvXuiohgyMJq0P//DG4MDAzcRBrkhNNFxAJeXlWGL18eMDIw/CbPICEhMwZV1RyGmzd7Gf7///2fLBcpKSUzKComMhw+7Mfw69c7DHmcBrGw8II137o1gUFJKZVBU7OcYc8eS6yG4DVIQ6OYQVu7nkFExIpBUtKTYfduc4afP1/jdDFOg65da2cQEbFlkJUNZbhwoZjh06drOA3Ba9C/fz8ZjhzxZzAymsxw69ZEvIbgNQgE/vz5wnDqVCJBQwgaRApgQePfYWBg0CdGIyMjWC12gyIiGAyo5SKyAdUMAgBNuUHO56tDjgAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1358784.2084999997,
    "ymin": 5056189.4191,
    "xmax": 1656117.5597,
    "ymax": 5306432.3216,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "StorageLocation",
     "type": "esriFieldTypeString",
     "alias": "StorageLocation",
     "length": 70,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 551,
   "name": "Consented Activities - Vegetation Burn (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the clearing of vegetation by burning as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains vegetation burn off features that are represented as points.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Vegetation Burn Area  layer to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the primary vegetation type being burned and the area of burn off related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "f775c20e3a9d972140c4316d6e23a9a8",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA9ElEQVQ4jWNhoBJgGdwGPZvBsI6BgUGPKJ3/GXZJZTJk4XKRGwMDAzdRBjEyOOF0EbGAhV+V4c/nB4wMDL/JM4hVzIyBWzuH4eulXgaGf7//k+UiLo1kBk71RIb3O/wY/v18h+lKXBoZWXnBmr9ensDApZnKwGNQzvBmvSVWQ/AaxKNfzMBjXM/AJmHFwC7ryfBmvTnDvx+vcboYp0FfzrczsEnYMnAohTJ8Ol7M8Of9NZyG4DXo/9+fDO92+jPwW09m+Hp5Il5D8BoENuz3F4YPBxIJGkLQIFIACxr/DgMDgz6Reu/gNEgqg8GAWi4iG1DNIAABvD3Rnp9R5AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 87,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        152,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1375061.0273000002,
    "ymin": 5027054.0375,
    "xmax": 1604804.6009999998,
    "ymax": 5290525.2996,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "VegetationType",
     "type": "esriFieldTypeString",
     "alias": "VegetationType",
     "length": 200,
     "domain": null
    },
    {
     "name": "BurnArea_m2",
     "type": "esriFieldTypeDouble",
     "alias": "BurnArea_m2",
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 552,
   "name": "Consented Activities - Vegetation Burn Area (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the clearing of vegetation by burning as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains vegetation burn off features that are represented as areas.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Consented Activities - Vegetation Burn  layer to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the primary vegetation type being burned and the area of burn off related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       230,
       152,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        230,
        152,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[HolderName]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 123,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        152,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1346297.7522,
    "ymin": 5016051.319,
    "xmax": 1663144.6827999996,
    "ymax": 5328145.676,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "VegetationType",
     "type": "esriFieldTypeString",
     "alias": "VegetationType",
     "length": 200,
     "domain": null
    },
    {
     "name": "BurnArea_m2",
     "type": "esriFieldTypeDouble",
     "alias": "BurnArea_m2",
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 553,
   "name": "Consented Activities - Install Well (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the installation of a well as recorded within Environment Canterbury's Resource Management Act Database. This layer contains well/bore features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the depth, diamater and Environment Canterbury Wells Database record number related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "df782a43c44af67e9554e443371aba62",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA70lEQVQ4jWNhoBJgGdwGzVt1fR0Dw389IvXuSgrTysLlIjcGBkZuIg1ywukiYgEfDxvDl2+/GMk2SFSIg0FTRZDhyq13DP/+MfwnyyA1RQEGVQV+hj1HnzD8/PUXQx6nQawsTGDNV2+/Y1BTEmDQUxdm2LLvAVZD8Bqkoy7EYKAlwiAmwskgLcHNsGXvQ4YfP7EbgtegS9ffMoiLcDEoyPAynLr4iuHDp584DcFr0N9//xn2Hn3CYG4oznDt9ju8huA1CAR+//nHcOT0c4KGEDSIFMCCxr/DwMCgT4xGRoha7AYlhWkaUMtFZAOqGQQAA3o+4vvJQJ0AAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 85,
      "symbol": {
       "type": "esriTS",
       "color": [
        122,
        142,
        245,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1361994.1201999998,
    "ymin": 5027860.1516,
    "xmax": 1651879.3946000002,
    "ymax": 5305013.5132,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "SubType",
     "type": "esriFieldTypeString",
     "alias": "SubType",
     "length": 50,
     "domain": null
    },
    {
     "name": "WellNo",
     "type": "esriFieldTypeString",
     "alias": "WellNo",
     "length": 15,
     "domain": null
    },
    {
     "name": "WellLocation",
     "type": "esriFieldTypeString",
     "alias": "WellLocation",
     "length": 15,
     "domain": null
    },
    {
     "name": "Depth",
     "type": "esriFieldTypeDouble",
     "alias": "Depth",
     "domain": null
    },
    {
     "name": "Diameter",
     "type": "esriFieldTypeDouble",
     "alias": "Diameter",
     "domain": null
    },
    {
     "name": "GlobalBoreConsent",
     "type": "esriFieldTypeString",
     "alias": "GlobalBoreConsent",
     "length": 50,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 554,
   "name": "Consented Activities - Surface Water Dam (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to damming surface water as recorded within Environment Canterbury's Resource Management Act Database. This layer contains dam features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the water use, dam volume and source of water related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b4a6340df24230aedfbfbe762c1b24a1",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA8UlEQVQ4jWNhoBJgGeQGqRWtY2Bg1CNK53/GXQy3e7JwuIjRjYGBgZsogxj/O+F2EZFAVV6E4cGTt4y/yTXITE+OISfGmqF33kGG33///yfLRckhZgyJwWYMfhnzGN59/IYhj9MgXm52sOYJCw8zpIaZM5SnOjFYhk/Gagheg4qT7Bnqc9wYrIwUGDztNBjMQycxvH73BaeLcRrUPnMfg62JEkOohz5Dccdmhmt3XuI0BK9BP3/9YfDPnM8wuTaAYeKiw3gNwWsQCHz59pMhsXIlQUMIGkQKYEHj32FgYNAnUu8d3Abd6jWglovIBlQzCABhmD/CYpxWWgAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 97,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        38,
        115,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1342144.2748999996,
    "ymin": 5025642.2759,
    "xmax": 1676577.2518999996,
    "ymax": 5336618.5227,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "WaterUse",
     "type": "esriFieldTypeString",
     "alias": "WaterUse",
     "length": 150,
     "domain": null
    },
    {
     "name": "DamSituation",
     "type": "esriFieldTypeString",
     "alias": "DamSituation",
     "length": 100,
     "domain": null
    },
    {
     "name": "DamStorageVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DamStorageVolume",
     "domain": null
    },
    {
     "name": "SourceOfWater",
     "type": "esriFieldTypeString",
     "alias": "SourceOfWater",
     "length": 150,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 555,
   "name": "Consented Activities - Surface Water Divert (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the diversion of surface as recorded within Environment Canterbury's Resource Management Act Database. This layer contains diversion features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the rate and duration of the diversion, allocation details, if used for irrigation the irrigation method related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "bc835802df108d3f82192304754f3c5d",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVQ4jWNhoBJgGdwGdZxNX8fI8F+PGI2MjAy7yoxmZWE1iJHhvxsDAwM3MQb9/8/ghNNFxAJBdjGGj7/eMpJtkCS3AoORqCPD6Ze7Gf79//ufLIP0hK0ZdIWtGdbem8rw489XDHmcBrExc4A1n3m1l0FfxJbBXNydYcnNTqyG4DXIVMyVwVrSh0GaW5lBkV+HYfGNdoZvfz7jdDFOg0682M4gw6PCoC5ozLD/yWqGtz+e4zQEr0F///9hWH93GoOLbATDmdf78BqC1yAQ+PXvJ8O2hwsJGkLQIFIACxr/DgMDgz6Reu/gNKjceJYBtVxENqCaQQBiskLZu4q7egAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 94,
      "symbol": {
       "type": "esriTS",
       "color": [
        92,
        137,
        68,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1346201.2493000003,
    "ymin": 5025189.9501,
    "xmax": 1657417.2724000001,
    "ymax": 5307832.1373,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "SWAllocationZone",
     "length": 100,
     "domain": null
    },
    {
     "name": "InAllocation",
     "type": "esriFieldTypeString",
     "alias": "InAllocation",
     "length": 5,
     "domain": null
    },
    {
     "name": "EstComment",
     "type": "esriFieldTypeString",
     "alias": "EstComment",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstAllocation",
     "type": "esriFieldTypeDouble",
     "alias": "EstAllocation",
     "domain": null
    },
    {
     "name": "EstMethod",
     "type": "esriFieldTypeString",
     "alias": "EstMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "consecDays",
     "type": "esriFieldTypeString",
     "alias": "consecDays",
     "length": 10,
     "domain": null
    },
    {
     "name": "fmMonth",
     "type": "esriFieldTypeInteger",
     "alias": "fmMonth",
     "domain": null
    },
    {
     "name": "fmMonthText",
     "type": "esriFieldTypeString",
     "alias": "fmMonthText",
     "length": 5,
     "domain": null
    },
    {
     "name": "toMonth",
     "type": "esriFieldTypeInteger",
     "alias": "toMonth",
     "domain": null
    },
    {
     "name": "toMonthText",
     "type": "esriFieldTypeString",
     "alias": "toMonthText",
     "length": 5,
     "domain": null
    },
    {
     "name": "IrrigationOf",
     "type": "esriFieldTypeString",
     "alias": "IrrigationOf",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationType",
     "type": "esriFieldTypeString",
     "alias": "IrrigationType",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationArea",
     "type": "esriFieldTypeDouble",
     "alias": "IrrigationArea",
     "domain": null
    },
    {
     "name": "WaterUseDetailText",
     "type": "esriFieldTypeString",
     "alias": "WaterUseDetailText",
     "length": 70,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 556,
   "name": "Consented Activities - Surface Water Take (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to extracting surface water for domestic or commercial as recorded within Environment Canterbury's Resource Management Act Database.  This layer contains water take features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to maximum allowable application rates and volumes, and allocation regimes are also included if relavent to the type of take.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "5193efdf387554206a35c42089b3d594",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABAElEQVQ4jWNhoBJgGdwGOad2rGNkYNQjSud/xl175pRlYTWIkYHRjYGBgZsog5j+O+F0EbFAWkyQ4eW7j4xkG6ShKMng72jEsHrXaYY/f//9J8sgTxs9BncrXYbaqWsZPn/9AQoHBqIM4uJgY/Cw0WNYt+cMg5etPkO4hzlDXscSiCFYAE6DQlxNGWJ9rRm0laUZTHUUGXLbFjN8/PwNp4txGrR8+wkGXVUZBjtjdYaZq/czPHz+FqcheA36/ecvQ93U9Qw5kS4M6/aewWsIXoNA4PvPXwzdC7YRNISgQaQAFmTOfwaGO4wMDPpE6fzPcAenQXtnlxtQxUWUAKoZBABAZULTOLWixwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 93,
      "symbol": {
       "type": "esriTS",
       "color": [
        68,
        101,
        137,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1342924.8103999998,
    "ymin": 5020960.7883,
    "xmax": 1682842.0305000003,
    "ymax": 5351248.9185,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "SWAPNo",
     "type": "esriFieldTypeString",
     "alias": "SWAPNo",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "SWAllocationZone",
     "length": 100,
     "domain": null
    },
    {
     "name": "InAllocation",
     "type": "esriFieldTypeString",
     "alias": "InAllocation",
     "length": 5,
     "domain": null
    },
    {
     "name": "EstComment",
     "type": "esriFieldTypeString",
     "alias": "EstComment",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstAllocation",
     "type": "esriFieldTypeDouble",
     "alias": "EstAllocation",
     "domain": null
    },
    {
     "name": "EstMethod",
     "type": "esriFieldTypeString",
     "alias": "EstMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "consecDays",
     "type": "esriFieldTypeString",
     "alias": "consecDays",
     "length": 10,
     "domain": null
    },
    {
     "name": "fmMonth",
     "type": "esriFieldTypeInteger",
     "alias": "fmMonth",
     "domain": null
    },
    {
     "name": "fmMonthText",
     "type": "esriFieldTypeString",
     "alias": "fmMonthText",
     "length": 5,
     "domain": null
    },
    {
     "name": "toMonth",
     "type": "esriFieldTypeInteger",
     "alias": "toMonth",
     "domain": null
    },
    {
     "name": "toMonthText",
     "type": "esriFieldTypeString",
     "alias": "toMonthText",
     "length": 5,
     "domain": null
    },
    {
     "name": "IrrigationOf",
     "type": "esriFieldTypeString",
     "alias": "IrrigationOf",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationType",
     "type": "esriFieldTypeString",
     "alias": "IrrigationType",
     "length": 100,
     "domain": null
    },
    {
     "name": "IrrigationArea",
     "type": "esriFieldTypeDouble",
     "alias": "IrrigationArea",
     "domain": null
    },
    {
     "name": "WaterUseDetailText",
     "type": "esriFieldTypeString",
     "alias": "WaterUseDetailText",
     "length": 70,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 557,
   "name": "Consented Activities - Surface Water Use (Active)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a current consented activity related to the use of surface as recorded within Environment Canterbury's Resource Management Act Database. This layer contains use water features that are represented as points.\n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, in process, etc.), the name of the applicant, a description of the location where the activity related to the permit is undertaken, and if the permit was successfully issued, the period over which the permiitted activities apply.  Activity specific details related to the water use, rate, volume and duration of the diversion, allocation details related to the consent are also included if relavent.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "eb2126e9d6b12ba6179cc1f32049f8f2",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA+0lEQVQ4jWNhoBJgGdwGOXfkr2NkZNQjSicjw649ZROysBrEyMjoxsDAwE2UQf8ZnHC6iFggLSjK8PLjO0ayDdKQlGPwN7JlWH16P8Off3//k2WQp54Fg7uuGUPt2jkMn398w5DHaRAXGzuDh54Fw7ozBxm89C0Zws2dGPKWTMRqCF6DQkwdGWKt3Rm0pRUYTBU1GXIXT2D4+O0LThfjNGj5iT0MujJKDHbqBgwz929kePj2BU5D8Br0++8fhrr1cxlyXIIY1p05hNcQvAaBwPdfPxm6ty0naAhBg0gBLMic/wwMdxgZGPSJ1HsHp0F7yycYUMVFlACqGQQASZ1A0kVmu6cAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 91,
      "symbol": {
       "type": "esriTS",
       "color": [
        68,
        137,
        112,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -4020763.2677228367,
    "ymin": 2036.0570636580535,
    "xmax": 7220763.267722837,
    "ymax": 1.9997963942936342E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "WaterUse",
     "type": "esriFieldTypeString",
     "alias": "WaterUse",
     "length": 150,
     "domain": null
    },
    {
     "name": "MaxRateLitresPerSec",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRateLitresPerSec",
     "domain": null
    },
    {
     "name": "VolumeM3",
     "type": "esriFieldTypeDouble",
     "alias": "VolumeM3",
     "domain": null
    },
    {
     "name": "ConsecutiveDayPeriod",
     "type": "esriFieldTypeDouble",
     "alias": "ConsecutiveDayPeriod",
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 558,
   "name": "Surface Water Abstraction Points",
   "type": "Feature Layer",
   "description": "Locations of abstractions from surface water bodies such as streams, rivers and lakes.  These locations are generall tied to a Resource Consent and are gooverned by allocation rules.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c9c73de7b959ab986abdebf26686dff2",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA+klEQVQokWNhIBGwUK5BpdSNmY2B/+/ff/8Z/jH8Y5Dm3cRwoOEPVg3iNi15fRMzHCWlhV0ZGBh+fPn6fVGwf7P4b5nCBQxP+r+jalAv9Jg0NTtMVFzAGirCzcPNWbh5R1Ovh2NFAAMDw3IUDZoa8kpIiuGAjYUlgYGJ4QSGk54+fesfHNCI4aX//xmEGP4ztDIwMKxB0fDly4/d//79c8MSMIwM/xlOY9jwj5l7Ejvbj5SfP36ro6hmZHz3n/lPKWYoXW349VOvxJiBkbGFhZkp4t///6z//v7b/f//3xKG6xOeYw1Whks9XxkYGAr/MDAUYnEaFg1EAACDpVLVdtdllwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SWAP_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 25000,
      "name": "Default",
      "priority": 56,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1337959.6091999998,
    "ymin": 5020960.7883,
    "xmax": 1685350.2580000004,
    "ymax": 5353907.6762,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SWAP_NO",
   "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": "SWAP_NO",
     "type": "esriFieldTypeString",
     "alias": "SWAP_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "SWAP_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SWAP_TYPE",
     "length": 2,
     "domain": null
    },
    {
     "name": "SWAP_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "SWAP_TYPE_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWAP_STATUS",
     "type": "esriFieldTypeString",
     "alias": "SWAP_STATUS",
     "length": 2,
     "domain": null
    },
    {
     "name": "SWAP_STATUS_DESC",
     "type": "esriFieldTypeString",
     "alias": "SWAP_STATUS_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "WATERUSE",
     "type": "esriFieldTypeInteger",
     "alias": "WATERUSE",
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "HASWATERMETER",
     "type": "esriFieldTypeString",
     "alias": "HASWATERMETER",
     "length": 5,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "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": "I8SWAP_NO",
     "fields": "SWAP_NO",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 559,
   "name": "Groundwater Wells (by Reading Count)",
   "type": "Feature Layer",
   "description": "Locations of groundwater wells and bores, symbolised into classes based on the number of water level readings undertaken on the bore (0 readings, 1-50 readings, and greater than 50 readings).  \n\nIncludes summary details about the well (depth, diameter, reference elevation, screen positons, date drilled, primary uses of abstracted water, etc.)  It also includes summary details related to water quality monitoring  and consented allocation where relevant.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          240,
          242,
          255
         ],
         "toColor": [
          69,
          149,
          230,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          69,
          149,
          230,
          255
         ],
         "toColor": [
          58,
          6,
          161,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "READING_COUNT",
     "classificationMethod": "esriClassifyManual",
     "minValue": 0,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "3a14adeb8e77a04b702dd056a63879aa",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABnklEQVQ4jbWTT0jTYRjHP+9v0w7GboI7CILopCUehNZBOqhgM/p32KXAQxYKUtTUQ7cOXUTd8NBhf4hFBEHgvQgCJbJ/JzG24TzowVFjozUN2/y98e4f2++XGAy/8MLzfp/3+fA+DzxWGpT1hAAeC472C0APcMChWGNz8dv/Abq9oyCeIOmoepryp99SsI6zNbd9NKBr5gbI5+USo4axFtbo9LpI+HbMAOdsG3k9WCm+PHiG68O9fE/nWHq2yu6PrLLtaCIEXDQD8votoEWFtz0uQo891dTYtX7OXlog/XMfBCP0eLuJ+uKGFuQ5lVW6NzZQ93d7qw2Pu4/Ayw8lQ+c8YASI5kpk0cwjsGgleHmqp8wtSBlDCLcKw68+4nt4pZpSX19+s14DEFEzQJMvkOK+Cv2RFTLZ31wdcpLK7DEXekcy9avyMkG85b0ZEPN/wTETQMoJdY0sfy4eg3Q0puCRbgYAnM7eJWdT7RQhBuVA3CG68LrWrAd8DeaBSRwPwujiJkI4QP4B8Ykm7Skb80kj9d+7oNoBdY5Vw9v4F9E+eZuLExd8AAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 12,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 0,
       "label": "0"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "09209da075b5f2e7be682ffba34132d8",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABpklEQVQ4jbWTz2sTURDHP7sJJWAsaE9qvciSoBI8CEq0wdCDgpZCS8zRg0fpwdgYvJTmpIWG9CIK/QNEqgREg0IPLUmhPyQXI9RICoJtb22s27TabXbKqpti1tiCOPBg3szweTNf5rn5R3P/H4CWaMdlRjDxgWyBMofhzfAp+W1vgK8/BrX7CB4UOyjQon9GuxOlnJ5pDvDHbyOSbtLtcVRlnJPxIPOp906AP3EUqT2wr8GLpwiFAlS+rJN5lmdl5asV9mLyEAg7AWL2Ah7LvdZ1nv7E9Xrq8pWz3LyRQtc3QOQSvtgxPo4sNQBEs2fuiXT81ntbWyvhzjO8fDH9M2CiAQ0AhU3bdamqQwBVqSsK6m6texegzCDyw82+muVWX3c9ZbWezxV/1ckGVYpOwBFvlmW9ZMn5fCzHur7JhY7TrK1VefpkgtVV3X7+EYupP3QwmdzGH48iMgEcfvP6LdZpsCm+ewea70Ep9Q7t7jlc5gjCVUsOewqExxgHBxu30bmJ5eEFoJvAvUMYxgkwtzhQ/UBh1HDU/vUzFYcqQKFpfk/APm0H2zyMujr3BY8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 12,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 50,
       "label": "1 - 50"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "54aa78b89ecd36df45243d3630404a12",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABdklEQVQ4jbWTzSuDcRzAP8+2pDwO3LxdeNqsKFLKiZPiIEn+DmOWi+yEsuxAlJt/wM3JgSLWNMWEeSnl5eqwV3t4vpqx2R5Dybd+9X3r833p+7PxR7H9D0Dz1GM1hjGwg6RBCaKr69x4Uz8D7OMueJlBKEf5cAqURW/Rxka4WgiUBjjco4gslOi2AYuyidPdxZnvxAxweGqRl9mc3dwITjvEE7B/CNFYxqtisAT0mAFiDAHlb3pHKwz25mu3OWFxDZIpEOnG7qrjwn9fBBAtN3NXe2HzlSq0OODgKGsbaEARQCGZ1y3mDSi5jYIln2v7lBBAJKuHwtCXGzPb+unle54kiBM2A2rUDR6ikcw62QtB6gmamyCRhJ0gxOIf5Ze5833Rwbb3GYd7BJEtoJrDE95eoezypE6VvoOI7xhtohOr4UfoB6zvkSjCCnrldPE1mi/xav4aGKB1sgpdbwQjTUX8nNCqbsr99jOF5x4z6ywZ/xHwS3kF7Td9qmzrWmMAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 12,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 2812,
       "label": "50<"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WELL_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 53,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        38,
        115,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1331269.7951999996,
    "ymin": 5018398.5391,
    "xmax": 1683679.8084000004,
    "ymax": 5350793.0967,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WELL_NO",
   "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": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_STATUS",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_STATUS_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_OWNER",
     "type": "esriFieldTypeString",
     "alias": "WELL_OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "DIAMETER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DIAMETER",
     "domain": null
    },
    {
     "name": "DATE_DRILLED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_DRILLED",
     "length": 8,
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE_DESC",
     "length": 25,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE",
     "length": 6,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE_DESC",
     "length": 30,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_1",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_2",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_3",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_1",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_2",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_3",
     "domain": null
    },
    {
     "name": "READING_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "READING_COUNT",
     "domain": null
    },
    {
     "name": "REFERENCE_RL",
     "type": "esriFieldTypeSingle",
     "alias": "REFERENCE_RL",
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "HIGHEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "LOWEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "INITIAL_SWL",
     "type": "esriFieldTypeSingle",
     "alias": "INITIAL_SWL",
     "domain": null
    },
    {
     "name": "START_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "START_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "END_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "END_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "CALC_MIN",
     "type": "esriFieldTypeSingle",
     "alias": "CALC_MIN",
     "domain": null
    },
    {
     "name": "MAX_YIELD",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_YIELD",
     "domain": null
    },
    {
     "name": "MAX_DRAW_DOWN",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_DRAW_DOWN",
     "domain": null
    },
    {
     "name": "STRATA",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STRATA",
     "domain": null
    },
    {
     "name": "SPECIFIC_CAPACITY",
     "type": "esriFieldTypeSingle",
     "alias": "SPECIFIC_CAPACITY",
     "domain": null
    },
    {
     "name": "ISOTOPE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ISOTOPE",
     "domain": null
    },
    {
     "name": "WATER_USE",
     "type": "esriFieldTypeInteger",
     "alias": "WATER_USE",
     "domain": null
    },
    {
     "name": "AQUIFER_TESTS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "AQUIFER_TESTS",
     "domain": null
    },
    {
     "name": "STEP_TEST_STEPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STEP_TEST_STEPS",
     "domain": null
    },
    {
     "name": "RECORDNO",
     "type": "esriFieldTypeString",
     "alias": "RECORDNO",
     "length": 30,
     "domain": null
    },
    {
     "name": "RECORDSTATUS",
     "type": "esriFieldTypeString",
     "alias": "RECORDSTATUS",
     "length": 30,
     "domain": null
    },
    {
     "name": "ALLOCATEDRATE",
     "type": "esriFieldTypeDouble",
     "alias": "ALLOCATEDRATE",
     "domain": null
    },
    {
     "name": "MAXRATE",
     "type": "esriFieldTypeDouble",
     "alias": "MAXRATE",
     "domain": null
    },
    {
     "name": "MAXVOLUME",
     "type": "esriFieldTypeDouble",
     "alias": "MAXVOLUME",
     "domain": null
    },
    {
     "name": "CONSECDAYS",
     "type": "esriFieldTypeDouble",
     "alias": "CONSECDAYS",
     "domain": null
    },
    {
     "name": "EXPIRYDATE",
     "type": "esriFieldTypeDate",
     "alias": "EXPIRYDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "CONSENTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "CONSENTALLOCATION",
     "domain": null
    },
    {
     "name": "INALLOCATION",
     "type": "esriFieldTypeString",
     "alias": "INALLOCATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "ESTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "ESTALLOCATION",
     "domain": null
    },
    {
     "name": "ESTMETHOD",
     "type": "esriFieldTypeString",
     "alias": "ESTMETHOD",
     "length": 255,
     "domain": null
    },
    {
     "name": "ESTDATE",
     "type": "esriFieldTypeString",
     "alias": "ESTDATE",
     "length": 255,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 102,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 560,
   "name": "Community Drinking Water Supply Points",
   "type": "Feature Layer",
   "description": "Location and information about water supplies designated as community drinking water supplies.  Includes summary information related to the type of supply and details about the well if it is a groundwater supply.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9bd485df07b71493dbddc47a6e9d5b4b",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABpklEQVQ4jbWTT0hTcRzAP++9EautQ4EHKy/y2pDUg4HQqSgvGWpF21E6eI6sKXkQPUgajY0gjFqHdQuE3bzYoR08jGAdWlEbTwj6JyUOHbP0tfeNhz5He00F6Qs/+P77fX7f75fvz8M+xfN/APrwCTTrGhYBkA1QXmH6U3wc/7U7IHB7ECp3EbwojlPgQOkT+q0wRixTHxCM3EQkVqfaJlTlBS2RM7yPvnUDgsPHkMqkY/acX+BKl8H35UM8eNbBtx8+2+3H4iFwzg0Q6yrgtdWBUI7ExNx2qP/yO1ovXWd5xQsiZwkMHqcQ/1IDEN3p+Ub/679qb2woE7pY4PHz9k2HhQ7UABR+OqqmimsAmmpVDbWa66kClAyyefHpTBuxkfR2yC49NXdyK0/WKJNzAxr9s3wt5e1xxpOnKa566btgsFQ8yL1EJ4tLPuf5aT5H/1FBevw3wUgYkZfA0WTqFPapkXnW/aP19yAffYM+1IlmxRG67da3IiWER5iHx2q30b2Jxv0FoJe2O0cwzWawNvCVP5B9Yrpyd/xMuakikK0b3xWwR/kD8IyJSqQDP5QAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WELL_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 46,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1346388.1506000003,
    "ymin": 5020733.4882,
    "xmax": 1674411.1178000001,
    "ymax": 5332683.1866,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUPPLY_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": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUPPLY_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUPPLY_NAME",
     "length": 254,
     "domain": null
    },
    {
     "name": "OWNER",
     "type": "esriFieldTypeString",
     "alias": "OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "MOH_SOURCE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SOURCE_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "MOH_SUPPLY_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SUPPLY_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "GROUNDWATER_BEARING",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BEARING",
     "domain": null
    },
    {
     "name": "GROUNDWATER_OFFSET",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_OFFSET",
     "domain": null
    },
    {
     "name": "GROUNDWATER_BARRIER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BARRIER",
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "TOP_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN",
     "domain": null
    },
    {
     "name": "NUMBER_OF_SCREENS",
     "type": "esriFieldTypeInteger",
     "alias": "NUMBER_OF_SCREENS",
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "VERIFIED_BY",
     "type": "esriFieldTypeString",
     "alias": "VERIFIED_BY",
     "length": 20,
     "domain": null
    },
    {
     "name": "VERIFIED_DATE",
     "type": "esriFieldTypeDate",
     "alias": "VERIFIED_DATE",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 561,
   "name": "Community Drinking Water Protection Zones",
   "type": "Feature Layer",
   "description": "Provisional protection zones for Community and Group drinking water sources have been delineated in accordance with Schedule 1 of the proposed Canterbury Land and Water Regional Plan and are based on the best available information as at May 2015. Environment Canterbury has reviewed information on the location of Community and Group drinking water sources in association with Water Suppliers, Territorial Authorities and Community and Public Health",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       223,
       115,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1344412.6233,
    "ymin": 5020155.7158,
    "xmax": 1674625.9071000004,
    "ymax": 5333504.1521,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUPPLY_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": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUPPLY_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUPPLY_NAME",
     "length": 254,
     "domain": null
    },
    {
     "name": "OWNER",
     "type": "esriFieldTypeString",
     "alias": "OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "MOH_SOURCE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SOURCE_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "MOH_SUPPLY_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SUPPLY_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "GROUNDWATER_BEARING",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BEARING",
     "domain": null
    },
    {
     "name": "GROUNDWATER_OFFSET",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_OFFSET",
     "domain": null
    },
    {
     "name": "GROUNDWATER_BARRIER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BARRIER",
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "TOP_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN",
     "domain": null
    },
    {
     "name": "NUMBER_OF_SCREENS",
     "type": "esriFieldTypeInteger",
     "alias": "NUMBER_OF_SCREENS",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "VERIFIED_BY",
     "type": "esriFieldTypeString",
     "alias": "VERIFIED_BY",
     "length": 20,
     "domain": null
    },
    {
     "name": "VERIFIED_DATE",
     "type": "esriFieldTypeDate",
     "alias": "VERIFIED_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": "I3WELL_NO",
     "fields": "WELL_NO",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 562,
   "name": "Rakaia Riparian",
   "type": "Feature Layer",
   "description": "Gives the average height of ground water above sea level. This layer was created from a combination of shallow and deep aquifer ground water levels derived from averages of all available data in 2003 (approximately 20 years).",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       235,
       190,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        38,
        0,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1491853.0656000003,
    "ymin": 5138210.1683,
    "xmax": 1542229.2750000004,
    "ymax": 5179587.4435,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "OBJECTID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": "WS4_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": "WS4_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_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 563,
   "name": "Surface Water Irrigation Proposed Schemes",
   "type": "Feature Layer",
   "description": "Extent of proposed major surface-water supplied irrigation schemes in Canterbury.  Created when compiling a review of surface water irrigation schemes in Canterbury and their impacts on groundwater resources (ECan report U05/07). Attributes include scheme name, consented area, actual areas in border-dyke and spray (for some schemes), the maximum rate of take inter alia.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       115,
       178,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1398838.1535,
    "ymin": 5029044.6339,
    "xmax": 1545142.8605000004,
    "ymax": 5202628.1363,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SCHEME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "SCHEME",
     "type": "esriFieldTypeString",
     "alias": "SCHEME",
     "length": 16,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "TAKE_L_S",
     "type": "esriFieldTypeDouble",
     "alias": "TAKE_L_S",
     "domain": null
    },
    {
     "name": "M3_DAYS",
     "type": "esriFieldTypeString",
     "alias": "M3_DAYS",
     "length": 14,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 21,
     "domain": null
    },
    {
     "name": "METHODS",
     "type": "esriFieldTypeString",
     "alias": "METHODS",
     "length": 10,
     "domain": null
    },
    {
     "name": "GIS_AREA",
     "type": "esriFieldTypeString",
     "alias": "GIS_AREA",
     "length": 17,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "IRRIGATION_AREA_HA",
     "type": "esriFieldTypeInteger",
     "alias": "Temp_Ha",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS6_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": "WS6_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_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 564,
   "name": "Surface Water Irrigation Schemes",
   "type": "Feature Layer",
   "description": "Extent of major surface-water supplied irrigation schemes in Canterbury.  Created when compiling a review of surface water irrigation schemes in Canterbury and their impacts on groundwater resources (ECan report U05/07). Attributes include scheme name, consented area, actual areas in border-dyke and spray (for some schemes), the maximum rate of take inter alia. \n\nDescribed in ECan report U05/07 (James Dommisse) \n\nNote availaibility of companion shape files of proposed irrigation schemes.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       255,
       232,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1354515.9352000002,
    "ymin": 5007125.1889,
    "xmax": 1609272.5454000002,
    "ymax": 5277054.7363,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SCHEME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "SCHEME",
     "type": "esriFieldTypeString",
     "alias": "SCHEME",
     "length": 24,
     "domain": null
    },
    {
     "name": "CONSENT_HA",
     "type": "esriFieldTypeDouble",
     "alias": "CONSENT_HA",
     "domain": null
    },
    {
     "name": "BORDER_HA",
     "type": "esriFieldTypeDouble",
     "alias": "BORDER_HA",
     "domain": null
    },
    {
     "name": "SPRAY_HA",
     "type": "esriFieldTypeDouble",
     "alias": "SPRAY_HA",
     "domain": null
    },
    {
     "name": "TOTAL_HA",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_HA",
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 40,
     "domain": null
    },
    {
     "name": "TAKE_L_S",
     "type": "esriFieldTypeDouble",
     "alias": "TAKE_L_S",
     "domain": null
    },
    {
     "name": "M3_DAYS",
     "type": "esriFieldTypeString",
     "alias": "M3_DAYS",
     "length": 28,
     "domain": null
    },
    {
     "name": "METHODS",
     "type": "esriFieldTypeString",
     "alias": "METHODS",
     "length": 20,
     "domain": null
    },
    {
     "name": "GIS_AREA",
     "type": "esriFieldTypeString",
     "alias": "GIS_AREA",
     "length": 30,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": "WS6_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": "WS6_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_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 565,
   "name": "Minimum Flows",
   "type": "Feature Layer",
   "description": "<DIV STYLE=\"text-align:Left;font-size:12pt\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Many resource consents contain a condition limiting the taking of water when a river or waterway is on restriction<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>A minimum flow means the flow at which abstractions from a water body must cease other than for an individual\u2019s reasonable domestic needs, the reasonable needs of individuals and animals for drinking water, and for firefighting.<\/SPAN><\/SPAN><\/P><P STYLE=\"font-weight:bold;margin:0 0 14 0;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>Intended Use<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>The minimum flow sites layer is intended to show the location of the monitoring sites associated with maintaining minimum flows for consent condition purposes.<\/SPAN><\/SPAN><\/P><P STYLE=\"font-weight:bold;margin:0 0 14 0;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>Attribute Information<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Monitoring Site information<\/SPAN><\/SPAN><\/P><UL STYLE=\"margin:0 0 0 0;padding:0 0 0 0;\"><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>SiteID \u2013 Unique identification number for this site in Environment Canterbury database systems<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Waterway \u2013 name of the water feature that this site relates to for residual flow purposes<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Location \u2013 name for the location that the monitoring is undertaken<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>RestrictionType \u2013 type of restriction (in this case Minimum Flow restriction) that this site is used for monitoring.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>ReferenceSystem \u2013 Environment Canterbury data management system that the monitoring site information is being managed within.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>ReferenceNo \u2013 Internal ID for this site within the listed reference data management system<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>SiteAccount \u2013 Internal account for monitoring site.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>GroupAccount \u2013 Monitoring group.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>QARCode \u2013 Quality assurance code that describes the spatial accuracy of the site information.  1 = Differential GPS (advanced) or Geodetic Land Survey (1 - 2m); 2 = Standard handheld GPS (2 - 15m); 3 = Site visit (10 - 50m); 4 = Old Grid reference ±100m, no location sketch, or location not checked (50 - 300m); 5 = Proposed Location, should be within 50m (&lt; 50m)<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Altitude \u2013 Approximate altitude of the monitoring site (above mean sea level) relative to the datum listed in the AltitudeDatum field.  Values where the data is missing or displays 0 represent sites where that information is not available.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>AltitudeDatum \u2013 The vertical datum that the listed altitude value was recorded using. See <\/SPAN><\/SPAN><A href=\"https://www.linz.govt.nz/data/geodetic-system/datums-projections-and-heights/vertical-datums\" STYLE=\"text-decoration:underline;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>https://www.linz.govt.nz/data/geodetic-system/datums-projections-and-heights/vertical-datums<\/SPAN><\/SPAN><\/A><SPAN><SPAN> for more information about the vertical datums commonly used in New Zealand.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>IsActive \u2013 Current status on whether a site is being used for residual flow monitoring.  Records with this value set to No are not currently part of residual flow monitoring for consents.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>CatchmentNo \u2013 unique identification number for the hydrological catchment that the monitoring site lies within.  See <\/SPAN><\/SPAN><A href=\"https://opendata.canterburymaps.govt.nz/datasets/catchment-boundaries/explore\" STYLE=\"text-decoration:underline;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>https://opendata.canterburymaps.govt.nz/datasets/catchment-boundaries/explore<\/SPAN><\/SPAN><\/A><SPAN><SPAN> for more details.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>CatchmentDesc \u2013 name used for hydrological catchment that the monitoring site lies within. Typically this is the name of water body that that the catchment area represents.<\/SPAN><\/SPAN><\/P><\/LI><\/UL><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>GIS Attributes<\/SPAN><\/SPAN><\/P><UL STYLE=\"margin:0 0 0 0;padding:0 0 0 0;\"><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Spatial IDs: OBJECTID<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Spatial Fields: SHAPE, NZTMX &amp; NZTMY \u2013 Approximate location of monitoring site in New Zealand Transverse Mercator coordinates<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>LowFlowSource \u2013 Environment Canterbury data management system that the low flow site information is being managed within.<\/SPAN><\/SPAN><\/P><\/LI><\/UL><\/DIV>",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "a0e4f671dcd7ef59018c3722cbc1d6f5",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3klEQVQ4jWNhoBCwUN2AmkCGCWwsDPrYFP/7xzC9YS3DKpwGlPoxLHHWZYhWl8Ju28azDOYNwQwMyIawwBhF3gyTfYwYolUlcDvX35iBc+NZhgXpbgzvZ+5i2I1igAgfgwo+zciG7LvMYM/AgGYAuYCFbJ3D0IBt5xlOhFsyWHKyMfDj03D6LsOFU3cZjmEYcOQGQ2vIBAb2NQUMmZxsDALYNJ+9z3AufRZD+4uPDNuweeHP+XsMdT7tDK91FRg4sBlw8DrD1ZcfGTZh9QLMkOvPGfqvP8fnCVRAcSACAKvQO/kKv8hYAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"Ref No \" CONCAT [ReferenceNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 130,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        76,
        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": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1339755,
    "ymin": 5020368,
    "xmax": 1682818,
    "ymax": 5349493,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ReferenceNo",
   "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": "SiteID",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SiteID",
     "domain": null
    },
    {
     "name": "Waterway",
     "type": "esriFieldTypeString",
     "alias": "Waterway",
     "length": 29,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 40,
     "domain": null
    },
    {
     "name": "RestrictionType",
     "type": "esriFieldTypeString",
     "alias": "RestrictionType",
     "length": 9,
     "domain": null
    },
    {
     "name": "ReferenceSystem",
     "type": "esriFieldTypeString",
     "alias": "ReferenceSystem",
     "length": 200,
     "domain": null
    },
    {
     "name": "ReferenceNo",
     "type": "esriFieldTypeString",
     "alias": "ReferenceNo",
     "length": 200,
     "domain": null
    },
    {
     "name": "SiteAccount",
     "type": "esriFieldTypeString",
     "alias": "SiteAccount",
     "length": 10,
     "domain": null
    },
    {
     "name": "GroupAccount",
     "type": "esriFieldTypeString",
     "alias": "GroupAccount",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "QARCode",
     "type": "esriFieldTypeString",
     "alias": "QARCode",
     "length": 200,
     "domain": null
    },
    {
     "name": "Altitude",
     "type": "esriFieldTypeDouble",
     "alias": "Altitude",
     "domain": null
    },
    {
     "name": "AltitudeDatum",
     "type": "esriFieldTypeString",
     "alias": "AltitudeDatum",
     "length": 100,
     "domain": null
    },
    {
     "name": "IsActive",
     "type": "esriFieldTypeString",
     "alias": "IsActive",
     "length": 4,
     "domain": null
    },
    {
     "name": "CatchmentNo",
     "type": "esriFieldTypeInteger",
     "alias": "CatchmentNo",
     "domain": null
    },
    {
     "name": "CatchmentDesc",
     "type": "esriFieldTypeString",
     "alias": "CatchmentDesc",
     "length": 34,
     "domain": null
    },
    {
     "name": "LowFlowSource",
     "type": "esriFieldTypeString",
     "alias": "LowFlowSource",
     "length": 10,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 566,
   "name": "Residual Flows",
   "type": "Feature Layer",
   "description": "<DIV STYLE=\"text-align:Left;font-size:12pt\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Many resource consents contain a condition limiting the taking of water when a river or waterway is on restriction<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>A residual flow applies to specific consents that take water from a tributary of a main river. A residual flow recognises that a tributary stream often has different flow characteristics from the main river stem. It is set at the point of take on a case-by-case basis, to provide for the aquatic ecosystems and natural character of the source water body.<\/SPAN><\/SPAN><\/P><P STYLE=\"font-weight:bold;margin:0 0 14 0;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>Intended Use<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>The residual flow sites layer is intended to show the location of the monitoring sites associated with maintaining residual flows.<\/SPAN><\/SPAN><\/P><P STYLE=\"font-weight:bold;margin:0 0 14 0;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>Attribute Information<\/SPAN><\/SPAN><\/P><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Monitoring Site information<\/SPAN><\/SPAN><\/P><UL STYLE=\"margin:0 0 0 0;padding:0 0 0 0;\"><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>SiteID \u2013 Unique identification number for this site in Environment Canterbury database systems<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Waterway \u2013 name of the water feature that this site relates to for residual flow purposes<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Location \u2013 name for the location that the monitoring is undertaken<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>RestrictionType \u2013 type of restriction (in this case Residual Flow restriction) that this site is used for monitoring.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>ReferenceSystem \u2013 Environment Canterbury data management system that the monitoring site information is being managed within.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>ReferenceNo \u2013 Internal ID for this site within the listed reference data management system<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>SiteAccount \u2013 Internal account for monitoring site.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>GroupAccount \u2013 Monitoring group.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>QARCode \u2013 Quality assurance code that describes the spatial accuracy of the site information.  1 = Differential GPS (advanced) or Geodetic Land Survey (1 - 2m); 2 = Standard handheld GPS (2 - 15m); 3 = Site visit (10 - 50m); 4 = Old Grid reference ±100m, no location sketch, or location not checked (50 - 300m); 5 = Proposed Location, should be within 50m (&lt; 50m)<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Altitude \u2013 Approximate altitude of the monitoring site (above mean sea level) relative to the datum listed in the AltitudeDatum field.  Values where the data is missing or displays 0 represent sites where that information is not available.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>AltitudeDatum \u2013 The vertical datum that the listed altitude value was recorded using. See <\/SPAN><\/SPAN><A href=\"https://www.linz.govt.nz/data/geodetic-system/datums-projections-and-heights/vertical-datums\" STYLE=\"text-decoration:underline;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>https://www.linz.govt.nz/data/geodetic-system/datums-projections-and-heights/vertical-datums<\/SPAN><\/SPAN><\/A><SPAN><SPAN> for more information about the vertical datums commonly used in New Zealand.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>IsActive \u2013 Current status on whether a site is being used for residual flow monitoring.  Records with this value set to No are not currently part of residual flow monitoring for consents.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>CatchmentNo \u2013 unique identification number for the hydrological catchment that the monitoring site lies within.  See <\/SPAN><\/SPAN><A href=\"https://opendata.canterburymaps.govt.nz/datasets/catchment-boundaries/explore\" STYLE=\"text-decoration:underline;\"><SPAN STYLE=\"text-decoration:underline;\"><SPAN>https://opendata.canterburymaps.govt.nz/datasets/catchment-boundaries/explore<\/SPAN><\/SPAN><\/A><SPAN><SPAN> for more details.<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>CatchmentDesc \u2013 name used for hydrological catchment that the monitoring site lies within. Typically this is the name of water body that that the catchment area represents.<\/SPAN><\/SPAN><\/P><\/LI><\/UL><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>GIS Attributes<\/SPAN><\/SPAN><\/P><UL STYLE=\"margin:0 0 0 0;padding:0 0 0 0;\"><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Spatial IDs: OBJECTID<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>Spatial Fields: SHAPE, NZTMX &amp; NZTMY \u2013 Approximate location of monitoring site in New Zealand Transverse Mercator coordinates<\/SPAN><\/SPAN><\/P><\/LI><LI STYLE=\"margin:0 0 0 48;\"><P STYLE=\"margin:0 0 14 0;\"><SPAN><SPAN>LowFlowSource \u2013 Environment Canterbury data management system that the low flow site information is being managed within.<\/SPAN><\/SPAN><\/P><\/LI><\/UL><\/DIV>",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "e902f6df5329640b6870c9bc7efd5020",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3klEQVQ4jWNhoBCwUN2AqCiGCczMDPrYFP//zzB9yRKGVTgNCAtjWGJkxBAtI4PdtuPHGcxjYhgYkA1hgTGCgxkmm5szREtL43aupSUD5/HjDAv8/Bjeb9rEsBvFAH5+BhV8mpENOX+ewZ6BAc0AcgEL2TqHoQEnTjCcsLNjsOTgYODHp+HmTYYLt24xHMMw4No1htaWFgb22lqGTHZ2BgFsmm/fZjg3cSJD+7t3DNuweeHPnTsMdTU1DK8VFBg4sBlw+TLD1Q8fGDZh9QLMkMePGfofP8bnCVRAcSACAAwXPDbACboFAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"Ref No \" CONCAT [ReferenceNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 127,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        115,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1350347,
    "ymin": 5031353,
    "xmax": 1656558,
    "ymax": 5313030,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ReferenceNo",
   "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": "SiteID",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SiteID",
     "domain": null
    },
    {
     "name": "Waterway",
     "type": "esriFieldTypeString",
     "alias": "Waterway",
     "length": 29,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 40,
     "domain": null
    },
    {
     "name": "RestrictionType",
     "type": "esriFieldTypeString",
     "alias": "RestrictionType",
     "length": 9,
     "domain": null
    },
    {
     "name": "ReferenceSystem",
     "type": "esriFieldTypeString",
     "alias": "ReferenceSystem",
     "length": 200,
     "domain": null
    },
    {
     "name": "ReferenceNo",
     "type": "esriFieldTypeString",
     "alias": "ReferenceNo",
     "length": 200,
     "domain": null
    },
    {
     "name": "SiteAccount",
     "type": "esriFieldTypeString",
     "alias": "SiteAccount",
     "length": 10,
     "domain": null
    },
    {
     "name": "GroupAccount",
     "type": "esriFieldTypeString",
     "alias": "GroupAccount",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "QARCode",
     "type": "esriFieldTypeString",
     "alias": "QARCode",
     "length": 200,
     "domain": null
    },
    {
     "name": "Altitude",
     "type": "esriFieldTypeDouble",
     "alias": "Altitude",
     "domain": null
    },
    {
     "name": "AltitudeDatum",
     "type": "esriFieldTypeString",
     "alias": "AltitudeDatum",
     "length": 100,
     "domain": null
    },
    {
     "name": "IsActive",
     "type": "esriFieldTypeString",
     "alias": "IsActive",
     "length": 4,
     "domain": null
    },
    {
     "name": "CatchmentNo",
     "type": "esriFieldTypeInteger",
     "alias": "CatchmentNo",
     "domain": null
    },
    {
     "name": "CatchmentDesc",
     "type": "esriFieldTypeString",
     "alias": "CatchmentDesc",
     "length": 34,
     "domain": null
    },
    {
     "name": "LowFlowSource",
     "type": "esriFieldTypeString",
     "alias": "LowFlowSource",
     "length": 10,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 567,
   "name": "Surface Water Take Metering",
   "type": "Feature Layer",
   "description": "Metered and un-metered surface water point of takes as at May 2013.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 25001,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "METER_STATUS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "No Meter",
         "description": "No Meter",
         "symbol": {
          "type": "esriPMS",
          "url": "10c2c194bd51bbc3da7a32d4cbca7117",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVElEQVQokWNhIBOwUK5Rj8GJgYtBAK/qFwznGB4wPEDVWMxQzhDH4IZXYxpDNsNshmlUciqJgIVUDSNT412G1wxrGS7hVf2H4S2mxiaGGPJsJBEAAPFpDdehkBA5AAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "No Meter"
          ]
         ]
        },
        {
         "label": "Metered",
         "description": "Metered",
         "symbol": {
          "type": "esriPMS",
          "url": "74da64ad5d9986857bbd6f8e68008f41",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAW0lEQVQokWNhIBOwUKxRj4HBiYuBQQCf4hcMDOceMDA8QNFYzMBQHsfA4IZPYxoDQ/ZsBoZp1HEqqYCFZB0jUeNdBobXaxkYLuFT/IeB4S2GxiYGhhiybCQVAAD4Qw3X4SfKaQAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Metered"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "10c2c194bd51bbc3da7a32d4cbca7117",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVElEQVQokWNhIBOwUK5Rj8GJgYtBAK/qFwznGB4wPEDVWMxQzhDH4IZXYxpDNsNshmlUciqJgIVUDSNT412G1wxrGS7hVf2H4S2mxiaGGPJsJBEAAPFpDdehkBA5AAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "No Meter",
       "label": "No Meter"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "74da64ad5d9986857bbd6f8e68008f41",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAW0lEQVQokWNhIBOwUKxRj4HBiYuBQQCf4hcMDOceMDA8QNFYzMBQHsfA4IZPYxoDQ/ZsBoZp1HEqqYCFZB0jUeNdBobXaxkYLuFT/IeB4S2GxiYGhhiybCQVAAD4Qw3X4SfKaQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Metered",
       "label": "Metered"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WABNO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "METER_STATUS = 'Metered'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 132,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[WABNO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "METER_STATUS = 'Metered'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Metered",
      "priority": 134,
      "symbol": {
       "type": "esriTS",
       "color": [
        56,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[WABNO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "METER_STATUS = 'No Meter'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "UnMetered",
      "priority": 135,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1342924.8103999998,
    "ymin": 5022981.5722,
    "xmax": 1676327.4244,
    "ymax": 5342067.8531,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WABNO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WABNO",
     "type": "esriFieldTypeString",
     "alias": "WABNO",
     "length": 255,
     "domain": null
    },
    {
     "name": "NO_OF_METERS",
     "type": "esriFieldTypeDouble",
     "alias": "NO_OF_METERS",
     "domain": null
    },
    {
     "name": "ACTIVITY_CODE",
     "type": "esriFieldTypeString",
     "alias": "ACTIVITY_CODE",
     "length": 255,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DECRIPTION",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DECRIPTION",
     "length": 255,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 255,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 255,
     "domain": null
    },
    {
     "name": "METER_STATUS",
     "type": "esriFieldTypeString",
     "alias": "METER_STATUS",
     "length": 8,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS6_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": "WS6_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": 30,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 568,
   "name": "Groundwater Take Metering",
   "type": "Feature Layer",
   "description": "Metered and un-metered groundwater water point of takes as at May 2013.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 569,
    "name": "Resource consents "
   },
   "subLayers": [],
   "minScale": 25001,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "METER_STATUS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "No Meter",
         "description": "No Meter",
         "symbol": {
          "type": "esriPMS",
          "url": "ef7ef6dda7589c6eb70e945324f040c7",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/ElEQVQoka3SPyjEYRgH8M91SkJCN1AGg9SZFYmSDDYSk1AWg2wWceONRAqbQbJK3WB1uhj8GZgwsUjZrnRHoo677n434Du9ve/7eXue930r/DIV/w1btYl6kfbsFOnysEbEtBVzBrRrkvXm0Lktu46sB8GQmE0LRvNWw0Z06hM1KSxhtRhOmDFvuGThjarNmpGwnSv7B/boVykceBtDOvQadOygEFapC0S5nc0avsYF8MmjcrmV8eCsGN5ZkzKmW31JuC/lxHUx3HajRUxIXJfa7/lX7LlyZyr/nMJ3XLIhLenCoohWGWn3krKW7XgPhp+Ju8R42X7/8lc/AOr1N+e8nTKfAAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "No Meter"
          ]
         ]
        },
        {
         "label": "Metered",
         "description": "Metered",
         "symbol": {
          "type": "esriPMS",
          "url": "e608e7a2aa09a284efc96a48ab104b1a",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/ElEQVQoka3RPyjEYRgH8M91UheSqxtkOjZGf5LtksEmOpuUm0yyKkaDwb+UrKJsutkt6hBJFEYx2CTTDYdLrk53/e4uyXd73+f9vD3P+zb4Yxr+G8Y76X4l98Y5cnVhM7EkqzMMd9H+wecRV7vsHbNZC4bm2Z5loqwYHqV/kO45whnWAnCcVIqxan230TRFKsNOqe0fOECikXCtx0jQM8TIKekKGKG1FiodjBEtLsrhC8/q5JH3Fy4C8IGNS5J9xZGCSXN2wl0A7nPfwVKI5V5aSvt5HHLzxHT5RRX/uMJWnuwtC1HiBXKPZCMsHlCoCb+zzjUm681bFf42X01xNwsh+1nDAAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Metered"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ef7ef6dda7589c6eb70e945324f040c7",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/ElEQVQoka3SPyjEYRgH8M91SkJCN1AGg9SZFYmSDDYSk1AWg2wWceONRAqbQbJK3WB1uhj8GZgwsUjZrnRHoo677n434Du9ve/7eXue930r/DIV/w1btYl6kfbsFOnysEbEtBVzBrRrkvXm0Lktu46sB8GQmE0LRvNWw0Z06hM1KSxhtRhOmDFvuGThjarNmpGwnSv7B/boVykceBtDOvQadOygEFapC0S5nc0avsYF8MmjcrmV8eCsGN5ZkzKmW31JuC/lxHUx3HajRUxIXJfa7/lX7LlyZyr/nMJ3XLIhLenCoohWGWn3krKW7XgPhp+Ju8R42X7/8lc/AOr1N+e8nTKfAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "No Meter",
       "label": "No Meter"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "e608e7a2aa09a284efc96a48ab104b1a",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/ElEQVQoka3RPyjEYRgH8M91UheSqxtkOjZGf5LtksEmOpuUm0yyKkaDwb+UrKJsutkt6hBJFEYx2CTTDYdLrk53/e4uyXd73+f9vD3P+zb4Yxr+G8Y76X4l98Y5cnVhM7EkqzMMd9H+wecRV7vsHbNZC4bm2Z5loqwYHqV/kO45whnWAnCcVIqxan230TRFKsNOqe0fOECikXCtx0jQM8TIKekKGKG1FiodjBEtLsrhC8/q5JH3Fy4C8IGNS5J9xZGCSXN2wl0A7nPfwVKI5V5aSvt5HHLzxHT5RRX/uMJWnuwtC1HiBXKPZCMsHlCoCb+zzjUm681bFf42X01xNwsh+1nDAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Metered",
       "label": "Metered"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WABNO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "METER_STATUS = 'Metered'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Metered",
      "priority": 137,
      "symbol": {
       "type": "esriTS",
       "color": [
        38,
        115,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[WABNO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "METER_STATUS = 'No Meter'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Unmetered",
      "priority": 138,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1358134.3461999996,
    "ymin": 5020664.4601,
    "xmax": 1655784.7763999999,
    "ymax": 5309802.0911,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WABNO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WABNO",
     "type": "esriFieldTypeString",
     "alias": "WABNO",
     "length": 255,
     "domain": null
    },
    {
     "name": "NO_OF_METERS",
     "type": "esriFieldTypeDouble",
     "alias": "NO_OF_METERS",
     "domain": null
    },
    {
     "name": "ACTIVITY_CODE",
     "type": "esriFieldTypeString",
     "alias": "ACTIVITY_CODE",
     "length": 255,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DECRIPTION",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DECRIPTION",
     "length": 255,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 255,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 255,
     "domain": null
    },
    {
     "name": "METER_STATUS",
     "type": "esriFieldTypeString",
     "alias": "METER_STATUS",
     "length": 8,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS6_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": "WS6_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": 30,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 499,
   "name": "Air Quality",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 495,
     "name": "Air Quality Monitoring Site"
    },
    {
     "id": 496,
     "name": "Clean Air Zones (Proposed)"
    },
    {
     "id": 497,
     "name": "Clean Air Zones (Operative)"
    },
    {
     "id": 498,
     "name": "Gazetted Airsheds"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1443135.9633,
    "ymin": 5042775.3818,
    "xmax": 1582218.8378999997,
    "ymax": 5209979.941,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 495,
   "name": "Air Quality Monitoring Site",
   "type": "Feature Layer",
   "description": "Location of Air Quality Sites monitored by Environment Canterbury.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 499,
    "name": "Air Quality"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b75eed9a3f8eb5aa70f6bed9b4003503",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAATCAYAAACDW21BAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACyUlEQVRIic2VX0haURzHv3dXm924TcZ0hFHgi0yJIBAl8EFh0EYrmsFwC0KKPaiwh7hKiylsE4p88CF6uOsP+LAoEGbowx6SEIqQGBsM2V58bShtMa+ocZnjRIgttdYi9ns58Dtfvp/7O+d3fleCKw7Jfw0sl8sKAHcAkFUE8B3AV4qiMpcFvKbRaDhRFJ1dXV3syMiIvJZoaGgol0qlfnZ3d3Nra2srFwI2NzcbVSrVqtVqVU1NTdEMwzTyYdPpNMtx3Fuz2exjGOZ+LBZLnxeokMlksyaT6R7P88rOzs4Tm+VyGYlEAj09PWBZtpJXq9UIh8OIx+MajuM+KhSKmWw2O3N89HWBLgAPl5aWCjabTVnrCzc2NjA8PAyPx4PJyclT+xaLBclkkvX7/Tafz3cXgBdAoh7Qmc/nHzMM8wF1YmFhAX6/H4FAAG63GzRNn9LQNA2v16vr6Oh4YrfbnzcClhiGsdSD7e/vY3NzE8vLy4hEIlhfXycNU08OvV6vP88d3qpnEAqFYLVaSUPBbrdjbm6uIVAqlcrPA/xSz2BxcRESiQR9fX0olUpH1aZSKWi12pr6XC5HvNrOAr47ftA3q5Pb29ugKArRaLSSI3dJqpyfn6/FO+B5PgLA3Aj4nqKoVzs7O5zBYHhDHn51s4yOjqK9vb0idrlcMBqNmJ6eRmtra7VPmef5WZ7nX5KDaQT0ANAajcbX/f39K+Fw+EFTU9ORU29vLwYHB0+IdTodgsEgstlsBbi3t1ccGBhI7u7u3gbwlFTaCEgiRd5iNBp9JJfL1YFA4NDhcJjGx8cr1VbH2NjY0VosFn9NTEx8DoVCPwRBeAbg09/O0tVCoRBzOp0v3G43ZTAYRKVS2dbS0nJDKpVeJwJRFA8FQTjIZDLftra25KVSKUia+V+Gt0COOZ/Py+Lx+Fna4p9j7CLAarNLiSv/Af8G5az0ZuyydtEAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 21,
      "height": 14,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1445591.1321999999,
    "ymin": 5044600,
    "xmax": 1574300,
    "ymax": 5205000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SHORT_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": "SHORT_NAME",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 496,
   "name": "Clean Air Zones (Proposed)",
   "type": "Feature Layer",
   "description": "Proposed Clean Air Zones as shown in the Canterbury Air Regional Plan.\nClean Air Zones are used to encourage the adoption of efficient space heating appliances that do not discharge contaminants into air so that  Ambient Air Quality National Environmental Standards are met.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 499,
    "name": "Air Quality"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        0,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1443135.9633,
    "ymin": 5042775.3818,
    "xmax": 1582218.8378999997,
    "ymax": 5209979.941,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "LABEL",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LABEL",
     "type": "esriFieldTypeString",
     "alias": "LABEL",
     "length": 40,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 497,
   "name": "Clean Air Zones (Operative)",
   "type": "Feature Layer",
   "description": "Clean Air 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": "Environment Canterbury",
   "parentLayer": {
    "id": 499,
    "name": "Air Quality"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "ZONE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Zone 1",
         "description": "Zone 1",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           190,
           190,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "1"
          ]
         ]
        },
        {
         "label": "Zone 2",
         "description": "Zone 2",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           232,
           190,
           255,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "2"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         190,
         190,
         255
        ],
        "outline": null
       },
       "value": "1",
       "label": "Zone 1"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         232,
         190,
         255,
         255
        ],
        "outline": null
       },
       "value": "2",
       "label": "Zone 2"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1443135.9633,
    "ymin": 5042775.3818,
    "xmax": 1582218.8378999997,
    "ymax": 5209979.941,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "LABEL",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ZONE",
     "type": "esriFieldTypeDouble",
     "alias": "ZONE",
     "domain": null
    },
    {
     "name": "LABEL",
     "type": "esriFieldTypeString",
     "alias": "LABEL",
     "length": 40,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeString",
     "alias": "ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 498,
   "name": "Gazetted Airsheds",
   "type": "Feature Layer",
   "description": "Clause 14 States:The ambient air quality standard for a contaminant at any place -(a) that is in a region or part of a region specified by the Minister by Noitce in the Gazette; and(b) that is in the open air; and(c) where people are likely to be exposed to the contaminant.Airsheds extend from ground level up, with no specified upper limit, including coastal marine areas. NIWA has provided guidance on the definition of Airsheds, but the defintion is up the councils. The airsheds within the Canterbury Region were derived based on Urban Planning Zones - particularly the Residential and Commercial zones from the various District Plans.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 499,
    "name": "Air Quality"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       168,
       0,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        0,
        0,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1443548.8217000002,
    "ymin": 5043618.701,
    "xmax": 1582218.8377999999,
    "ymax": 5207078.0113,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AIRSHED",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "AIRSHED",
     "type": "esriFieldTypeString",
     "alias": "AIRSHED",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE",
     "type": "esriFieldTypeString",
     "alias": "ZONE",
     "length": 5,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 487,
   "name": "Water Quality ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 482,
     "name": "Water Quality - Surface Water"
    },
    {
     "id": 483,
     "name": "Water Quality - Groundwater"
    },
    {
     "id": 484,
     "name": "Water Quality - Swimming"
    },
    {
     "id": 485,
     "name": "Water Quality - Stream Health"
    },
    {
     "id": 486,
     "name": "Water Quality -  Lakes"
    },
    {
     "id": 488,
     "name": "Water Quality Management Units and Classes - Rivers"
    },
    {
     "id": 489,
     "name": "Water Quality Management Units and Classes - Lakes"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": true,
   "extent": {
    "xmin": 1274228.6890000002,
    "ymin": 5004185.1433,
    "xmax": 2465065.6655,
    "ymax": 5359674.8719,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 482,
   "name": "Water Quality - Surface Water",
   "type": "Feature Layer",
   "description": "Sites where surface water (i.e. rivers, streams, estuaries, drains, lakes, etc) quality samples have been taken and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "b3e990093385f7d413e6dd67c7973691",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVUlEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfTRbchlEDLWRlHx7uxVhssNk42RTQQrkvZxJGg1A7FupIFCkMPRwfdnrzAUnoX5DgsABQ9coQkhuwHR8BL+Y3TNAwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_ID]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 86,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        168,
        132,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1274228.6890000002,
    "ymin": 5004185.1433,
    "xmax": 2465065.6655,
    "ymax": 5355771.9682,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "FIRST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 78,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 483,
   "name": "Water Quality - Groundwater",
   "type": "Feature Layer",
   "description": "Sites where groundwater quality samples have been taken from wells and test bores and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "577274173966d81837c6ff33ed1390e5",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVklEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfTx8/NjkJeXR1Hx8OFDhk2bNhkjmwhWpK+vT9BqBmLdSAOFIIejg48fP2IoPAvzHRYACh64QhNCdgMAtP4THyCmSyIAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 92,
      "symbol": {
       "type": "esriTS",
       "color": [
        156,
        156,
        156,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1346869.1786000002,
    "ymin": 5023808.2669,
    "xmax": 1674411.1178000001,
    "ymax": 5332683.1866,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITE_NO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SITE_NO",
     "type": "esriFieldTypeString",
     "alias": "SITE_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "DIAMETER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DIAMETER",
     "domain": null
    },
    {
     "name": "DATE_DRILLED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_DRILLED",
     "length": 8,
     "domain": null
    },
    {
     "name": "WELL_HEAD_SECURITY",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WELL_HEAD_SECURITY",
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE_DESC",
     "length": 25,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE",
     "length": 6,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE_DESC",
     "length": 30,
     "domain": null
    },
    {
     "name": "MONITORING_AREA",
     "type": "esriFieldTypeString",
     "alias": "MONITORING_AREA",
     "length": 1,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "FIRST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_CHANGED_BY",
     "type": "esriFieldTypeString",
     "alias": "LAST_CHANGED_BY",
     "length": 256,
     "domain": null
    },
    {
     "name": "LAST_UPDATED_ON",
     "type": "esriFieldTypeDate",
     "alias": "LAST_UPDATED_ON",
     "length": 8,
     "domain": null
    },
    {
     "name": "WATER_USE",
     "type": "esriFieldTypeInteger",
     "alias": "WATER_USE",
     "domain": null
    },
    {
     "name": "AQUIFER_TESTS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "AQUIFER_TESTS",
     "domain": null
    },
    {
     "name": "STEP_TEST_STEPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STEP_TEST_STEPS",
     "domain": null
    },
    {
     "name": "REFERENCE_RL",
     "type": "esriFieldTypeSingle",
     "alias": "REFERENCE_RL",
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "ARSENIC",
     "type": "esriFieldTypeString",
     "alias": "ARSENIC",
     "length": 1,
     "domain": null
    },
    {
     "name": "ANNUAL_IONS",
     "type": "esriFieldTypeString",
     "alias": "ANNUAL_IONS",
     "length": 1,
     "domain": null
    },
    {
     "name": "SALTWATER_INTRUSION",
     "type": "esriFieldTypeString",
     "alias": "SALTWATER_INTRUSION",
     "length": 1,
     "domain": null
    },
    {
     "name": "MONTHLY",
     "type": "esriFieldTypeString",
     "alias": "MONTHLY",
     "length": 1,
     "domain": null
    },
    {
     "name": "QUARTERLY",
     "type": "esriFieldTypeString",
     "alias": "QUARTERLY",
     "length": 1,
     "domain": null
    },
    {
     "name": "wq_NGMP",
     "type": "esriFieldTypeString",
     "alias": "wq_NGMP",
     "length": 1,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 75,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 484,
   "name": "Water Quality - Swimming",
   "type": "Feature Layer",
   "description": "Sites where water quality is (or has been) monitored as part of the summer swimming water quality monitoring program.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "043606a66e801f044af64a1541a1971f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAVElEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfRhSG5gYFA3RlVy8ywDw9wGsCBMIUSRNS5DGZAUEulGWigEORwdvHmGofAszHdYANgEmEITQnYDAEKQDh+Ha0BgAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SiteID]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 96,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        178,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1348609.3544502258,
    "ymin": 5037832.893899918,
    "xmax": 1661876.893000126,
    "ymax": 5316086.987649918,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SiteID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SiteID",
     "type": "esriFieldTypeString",
     "alias": "SiteID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 50,
     "domain": null
    },
    {
     "name": "AreaCode",
     "type": "esriFieldTypeString",
     "alias": "AreaCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "AreaName",
     "type": "esriFieldTypeString",
     "alias": "AreaName",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiteGrade",
     "type": "esriFieldTypeString",
     "alias": "SiteGrade",
     "length": 46,
     "domain": null
    },
    {
     "name": "SampleTypeName",
     "type": "esriFieldTypeString",
     "alias": "SampleTypeName",
     "length": 32,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 83,
     "domain": null
    },
    {
     "name": "NotSampled",
     "type": "esriFieldTypeString",
     "alias": "NotSampled",
     "length": 3,
     "domain": null
    },
    {
     "name": "Warnings",
     "type": "esriFieldTypeString",
     "alias": "Warnings",
     "length": 256,
     "domain": null
    },
    {
     "name": "Legend",
     "type": "esriFieldTypeString",
     "alias": "Legend",
     "length": 256,
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 485,
   "name": "Water Quality - Stream Health",
   "type": "Feature Layer",
   "description": "Sites monitored as part of Environment Canterbury's stream health quality program. The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "a30c99635d2ff532e72947f39b048690",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAUklEQVQYlWNhIBKwQOnNDAwMPjjUnGVgYDCBKfSRCWFg4FZCVfH1HgPDkzUMxsgmghUJGhG2moFYN9JAIcjh6OD3e0yFZ2G+wwJAwQNXaELIbgACUg5meQJOAgAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 7,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_ID]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 104,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1351801.671599865,
    "ymin": 5023088.972549915,
    "xmax": 2450994.069749832,
    "ymax": 5330966.348849773,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITE_ID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "FIRST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "SOF",
     "type": "esriFieldTypeString",
     "alias": "SOF",
     "length": 20,
     "domain": null
    },
    {
     "name": "LANDUSE_CODE",
     "type": "esriFieldTypeString",
     "alias": "LANDUSE_CODE",
     "length": 2,
     "domain": null
    },
    {
     "name": "REFERENCE_SITE",
     "type": "esriFieldTypeString",
     "alias": "REFERENCE_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "REFERENCED_TO_SITE",
     "type": "esriFieldTypeString",
     "alias": "REFERENCED_TO_SITE",
     "length": 9,
     "domain": null
    },
    {
     "name": "STREAMHEALTH_SAMPLEDESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "STREAMHEALTH_SAMPLEDESCRIPTION",
     "length": 150,
     "domain": null
    },
    {
     "name": "STREAMHEALTH_OLDNUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "STREAMHEALTH_OLDNUMBER",
     "domain": null
    },
    {
     "name": "QSITE_ID",
     "type": "esriFieldTypeString",
     "alias": "QSITE_ID",
     "length": 9,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 486,
   "name": "Water Quality -  Lakes",
   "type": "Feature Layer",
   "description": "Sites where surface water lakes quality samples have been taken and tested.  The results of chemical and biological tests are accessible from the location listed inthe LINK field.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Grade2010",
     "uniqueValueGroups": [
      {
       "heading": "Grade 2010",
       "classes": [
        {
         "label": "Microtrophic",
         "description": "Microtrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           0,
           197,
           255,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Microtrophic"
          ]
         ]
        },
        {
         "label": "Oligotrophic",
         "description": "Oligotrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           137,
           205,
           102,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Oligotrophic"
          ]
         ]
        },
        {
         "label": "Mesotrophic",
         "description": "Mesotrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           255,
           255,
           0,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Mesotrophic"
          ]
         ]
        },
        {
         "label": "Eutrophic",
         "description": "Eutrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           255,
           0,
           0,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Eutrophic"
          ]
         ]
        },
        {
         "label": "Supertrophic",
         "description": "Supertrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           156,
           156,
           156,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Supertrophic"
          ]
         ]
        },
        {
         "label": "Hypertrophic",
         "description": "Hypertrophic",
         "symbol": {
          "type": "esriSMS",
          "style": "esriSMSCircle",
          "color": [
           137,
           68,
           68,
           255
          ],
          "size": 7,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0,
          "outline": {
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Hypertrophic"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         0,
         197,
         255,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Microtrophic",
       "label": "Microtrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         137,
         205,
         102,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Oligotrophic",
       "label": "Oligotrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         255,
         255,
         0,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Mesotrophic",
       "label": "Mesotrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         255,
         0,
         0,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Eutrophic",
       "label": "Eutrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         156,
         156,
         156,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Supertrophic",
       "label": "Supertrophic"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         137,
         68,
         68,
         255
        ],
        "size": 7,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Hypertrophic",
       "label": "Hypertrophic"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          60,
          51,
          255
         ],
         "toColor": [
          214,
          60,
          51,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          235,
          192,
          188,
          255
         ],
         "toColor": [
          235,
          192,
          188,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          91,
          101,
          255
         ],
         "toColor": [
          179,
          91,
          101,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          97,
          125,
          255
         ],
         "toColor": [
          250,
          97,
          125,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          138,
          112,
          255
         ],
         "toColor": [
          250,
          138,
          112,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          156,
          173,
          255
         ],
         "toColor": [
          240,
          156,
          173,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          41,
          69,
          255
         ],
         "toColor": [
          179,
          41,
          69,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          181,
          129,
          129,
          255
         ],
         "toColor": [
          181,
          129,
          129,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          75,
          57,
          255
         ],
         "toColor": [
          179,
          75,
          57,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          157,
          142,
          255
         ],
         "toColor": [
          230,
          157,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          237,
          55,
          91,
          255
         ],
         "toColor": [
          237,
          55,
          91,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          132,
          158,
          255
         ],
         "toColor": [
          250,
          132,
          158,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          219,
          105,
          111,
          255
         ],
         "toColor": [
          219,
          105,
          111,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_NAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 82,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1350870.2532000002,
    "ymin": 5048431.5741,
    "xmax": 1648013.7339000003,
    "ymax": 5304800.2254,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "length": 12,
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SITE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "FIRST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "GAUGING_SITE_INDEX",
     "type": "esriFieldTypeInteger",
     "alias": "GAUGING_SITE_INDEX",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "Grade20042006",
     "type": "esriFieldTypeString",
     "alias": "Grade20042006",
     "length": 255,
     "domain": null
    },
    {
     "name": "Grade2010",
     "type": "esriFieldTypeString",
     "alias": "Grade2010",
     "length": 255,
     "domain": null
    },
    {
     "name": "Monitoring",
     "type": "esriFieldTypeDate",
     "alias": "Monitoring",
     "length": 8,
     "domain": null
    },
    {
     "name": "TLI20042006",
     "type": "esriFieldTypeDouble",
     "alias": "TLI20042006",
     "domain": null
    },
    {
     "name": "TLI2010",
     "type": "esriFieldTypeDouble",
     "alias": "TLI2010",
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 78,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 488,
   "name": "Water Quality Management Units and Classes - Rivers",
   "type": "Feature Layer",
   "description": "Water management units and water quality classes(Refer Chapter 4: Schedule WQL1 and Rules WQL1, WQL4, WQL7, WQL8, WQL21, WQL48)Water management units have been developed for all river and lakes outside the natural state areas, excluding rivers and lakes covered by the operative allocation regimes.  For lakes the management units are based on the location of the lake in either high country or coastal areas, with separate units for artificial lakes either on a river or off river.Water quality and bed substrate outcomes for each management unit are set out in the tables in Objective WQL1. The outcomes take into account geology and location of the river or lake and other influences on water quality such as land use and the contribution from tributaries.Major lake and pond featrues that have been classified as part of the River Environment Classification by NIWA. Modified by ECAN to include some reclassified units. Features were classifed as part of The Natural Resources Regional Plan for bother Water Quality, and Lake Type. Water quality classes have been defined for all rivers and lakes in the Canterbury region, excluding the areas covered by the operative allocation regimes and water conservation orders. Each water quality class contains standards for water quality that are to be achieved for a point source discharge into a river or lake, after mixing of the discharge with the receiving water, in a defined zone. The rivers and lakes of the Canterbury region have been grouped into different types that have similar physical and hydrological characteristics",
   "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": "Environment Canterbury, NIWA",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "RIVER_CLASS",
     "defaultSymbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       255,
       0,
       255
      ],
      "width": 1.2
     },
     "defaultLabel": "All Other Rivers",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "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 Upland",
         "description": "Hill-fed Upland",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           255,
           85,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Hill-fed Upland"
          ]
         ]
        },
        {
         "label": "Spring-fed Upland",
         "description": "Spring-fed Upland",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           76,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Upland"
          ]
         ]
        },
        {
         "label": "Lake-fed",
         "description": "Lake-fed",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           230,
           169,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Lake-fed Upland"
          ]
         ]
        },
        {
         "label": "Alpine Lower",
         "description": "Alpine Lower",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           197,
           255,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Alpine Lower"
          ]
         ]
        },
        {
         "label": "Banks Peninsula",
         "description": "Banks Peninsula",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           168,
           168,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Banks Peninsula"
          ]
         ]
        },
        {
         "label": "Hill-fed Lower",
         "description": "Hill-fed Lower",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           38,
           115,
           0,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Hill-fed Lower"
          ]
         ]
        },
        {
         "label": "Hill-fed Lower Urban",
         "description": "Hill-fed Lower Urban",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           163,
           255,
           115,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Hill-fed Lower Urban"
          ]
         ]
        },
        {
         "label": "Spring-fed Lower Basin",
         "description": "Spring-fed Lower Basin",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           38,
           115,
           255
          ],
          "width": 1.2
         },
         "values": [
          [
           "Spring-fed Lower Basin"
          ]
         ]
        },
        {
         "label": "Spring-fed Plains",
         "description": "Spring-fed Plains",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           168,
           0,
           132,
           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": "Regional Plans",
         "description": "Regional Plans",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           0,
           0,
           255
          ],
          "width": 0.4
         },
         "values": [
          [
           "Opihi Regional Plan"
          ],
          [
           "Waimakariri Plan"
          ],
          [
           "Waimakariri Regional Plan"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "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": [
         255,
         85,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Hill-fed Upland",
       "label": "Hill-fed Upland"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         76,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Upland",
       "label": "Spring-fed Upland"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         230,
         169,
         255
        ],
        "width": 1.2
       },
       "value": "Lake-fed Upland",
       "label": "Lake-fed"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         197,
         255,
         255
        ],
        "width": 1.2
       },
       "value": "Alpine Lower",
       "label": "Alpine Lower"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         168,
         168,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Banks Peninsula",
       "label": "Banks Peninsula"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         38,
         115,
         0,
         255
        ],
        "width": 1.2
       },
       "value": "Hill-fed Lower",
       "label": "Hill-fed Lower"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "width": 1.2
       },
       "value": "Hill-fed Lower Urban",
       "label": "Hill-fed Lower Urban"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         38,
         115,
         255
        ],
        "width": 1.2
       },
       "value": "Spring-fed Lower Basin",
       "label": "Spring-fed Lower Basin"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         168,
         0,
         132,
         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": [
         0,
         0,
         0,
         255
        ],
        "width": 0.4
       },
       "value": "Opihi Regional Plan",
       "label": "Regional Plans"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 0.4
       },
       "value": "Waimakariri Plan",
       "label": "Regional Plans"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 0.4
       },
       "value": "Waimakariri Regional Plan",
       "label": "Regional Plans"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          173,
          42,
          255
         ],
         "toColor": [
          145,
          173,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          139,
          54,
          150,
          255
         ],
         "toColor": [
          139,
          54,
          150,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          47,
          152,
          163,
          255
         ],
         "toColor": [
          47,
          152,
          163,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          153,
          59,
          40,
          255
         ],
         "toColor": [
          153,
          59,
          40,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          32,
          74,
          133,
          255
         ],
         "toColor": [
          32,
          74,
          133,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          27,
          128,
          59,
          255
         ],
         "toColor": [
          27,
          128,
          59,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          138,
          123,
          66,
          255
         ],
         "toColor": [
          138,
          123,
          66,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          138,
          69,
          87,
          255
         ],
         "toColor": [
          138,
          69,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          31,
          33,
          135,
          255
         ],
         "toColor": [
          31,
          33,
          135,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          48,
          173,
          42,
          255
         ],
         "toColor": [
          48,
          173,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          64,
          163,
          125,
          255
         ],
         "toColor": [
          64,
          163,
          125,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          42,
          71,
          176,
          255
         ],
         "toColor": [
          42,
          71,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          148,
          84,
          65,
          255
         ],
         "toColor": [
          148,
          84,
          65,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1324509.875,
    "ymin": 5005398.5021,
    "xmax": 1687730.8381000003,
    "ymax": 5359674.8719,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 489,
   "name": "Water Quality Management Units and Classes - Lakes",
   "type": "Feature Layer",
   "description": "Water management units and water quality classes(Refer Chapter 4: Schedule WQL1 and Rules WQL1, WQL4, WQL7, WQL8, WQL21, WQL48)Water management units have been developed for all river and lakes outside the natural state areas, excluding rivers and lakes covered by the operative allocation regimes.  For lakes the management units are based on the location of the lake in either high country or coastal areas, with separate units for artificial lakes either on a river or off river.Water quality and bed substrate outcomes for each management unit are set out in the tables in Objective WQL1. The outcomes take into account geology and location of the river or lake and other influences on water quality such as land use and the contribution from tributaries.Major lake and pond featrues that have been classified as part of the River Environment Classification by NIWA. Modified by ECAN to include some reclassified units. Features were classifed as part of The Natural Resources Regional Plan for bother Water Quality, and Lake Type. Water quality classes have been defined for all rivers and lakes in the Canterbury region, excluding the areas covered by the operative allocation regimes and water conservation orders. Each water quality class contains standards for water quality that are to be achieved for a point source discharge into a river or lake, after mixing of the discharge with the receiving water, in a defined zone. The rivers and lakes of the Canterbury region have been grouped into different types that have similar physical and hydrological characteristics",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury, NIWA",
   "parentLayer": {
    "id": 487,
    "name": "Water Quality "
   },
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "LAKE_CLASS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Large High Country Lake",
         "description": "Large High Country Lake",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           210,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            38,
            115,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Large High Country Lake"
          ]
         ]
        },
        {
         "label": "Small to Medium High Country Lake",
         "description": "Small to Medium High Country Lake",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           190,
           232,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            169,
            0,
            230,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Small to Medium High Country Lake"
          ]
         ]
        },
        {
         "label": "Artificial On-river Lake",
         "description": "Artificial On-river Lake",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           233,
           255,
           190,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            85,
            255,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Artificial On-river Lake"
          ]
         ]
        },
        {
         "label": "Artificial Other Lake",
         "description": "Artificial Other Lake",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           232,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            197,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Artificial Other Lake"
          ]
         ]
        },
        {
         "label": "Coastal Lake",
         "description": "Coastal Lake",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           235,
           175,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            170,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Coastal Lake"
          ]
         ]
        },
        {
         "label": "Natural State",
         "description": "Natural State",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           115,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            115,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Natural State"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         210,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 1
        }
       },
       "value": "Large High Country Lake",
       "label": "Large High Country Lake"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         190,
         232,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          169,
          0,
          230,
          255
         ],
         "width": 1
        }
       },
       "value": "Small to Medium High Country Lake",
       "label": "Small to Medium High Country Lake"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         233,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          85,
          255,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Artificial On-river Lake",
       "label": "Artificial On-river Lake"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          197,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Artificial Other Lake",
       "label": "Artificial Other Lake"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         235,
         175,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          170,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Coastal Lake",
       "label": "Coastal Lake"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          115,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Natural State",
       "label": "Natural State"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          199,
          48,
          255
         ],
         "toColor": [
          166,
          199,
          48,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          159,
          46,
          176,
          255
         ],
         "toColor": [
          159,
          46,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          177,
          196,
          255
         ],
         "toColor": [
          65,
          177,
          196,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          53,
          44,
          255
         ],
         "toColor": [
          171,
          53,
          44,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          73,
          113,
          201,
          255
         ],
         "toColor": [
          73,
          113,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          43,
          196,
          125,
          255
         ],
         "toColor": [
          43,
          196,
          125,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          168,
          133,
          42,
          255
         ],
         "toColor": [
          168,
          133,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          39,
          103,
          255
         ],
         "toColor": [
          163,
          39,
          103,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          37,
          39,
          161,
          255
         ],
         "toColor": [
          37,
          39,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          60,
          199,
          42,
          255
         ],
         "toColor": [
          60,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          90,
          158,
          51,
          255
         ],
         "toColor": [
          90,
          158,
          51,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          44,
          191,
          169,
          255
         ],
         "toColor": [
          44,
          191,
          169,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          54,
          108,
          156,
          255
         ],
         "toColor": [
          54,
          108,
          156,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 20,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1341067.6639,
    "ymin": 5047221.7984,
    "xmax": 1648980.9594,
    "ymax": 5329781.2171,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "LAKE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LAKE_NAME",
     "type": "esriFieldTypeString",
     "alias": "LAKE_NAME",
     "length": 25,
     "domain": null
    },
    {
     "name": "LAKE_CLASS",
     "type": "esriFieldTypeString",
     "alias": "LAKE_CLASS",
     "length": 50,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 494,
   "name": "Surface Water",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 491,
     "name": "Surface Water Catchments"
    },
    {
     "id": 492,
     "name": "Surface Water Allocation Zones"
    },
    {
     "id": 493,
     "name": "Te Waihora Cultural Landscape/Values Management Area - Lake Area "
    },
    {
     "id": 593,
     "name": "Canterbury Water Management Strategy Zones"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "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": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 491,
   "name": "Surface Water Catchments",
   "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": 494,
    "name": "Surface Water"
   },
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        255,
        223,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1489838.5745,
    "ymin": 5140593.8272,
    "xmax": 1590018.0059000002,
    "ymax": 5202759.2436,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 492,
   "name": "Surface Water Allocation Zones",
   "type": "Feature Layer",
   "description": "Surface water allocation zones in the Canterbury Region as shown in the Land and Water Regional Plan.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 494,
    "name": "Surface Water"
   },
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "ALLOCATION_REGIME_CLASS",
     "uniqueValueGroups": [
      {
       "heading": "Allocation Regime Type",
       "classes": [
        {
         "label": "Land and Water Regional Plan Environmental Flow and Allocation Limit Zones",
         "description": "Land and Water Regional Plan Environmental Flow and Allocation Limit Zones",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           132,
           168,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Land and Water Regional Plan Environmental Flow and Allocation Limit Zones"
          ]
         ]
        },
        {
         "label": "Other Regional Plans",
         "description": "Other Regional Plans",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Other Regional Plans"
          ]
         ]
        },
        {
         "label": "Water Conservation Orders",
         "description": "Water Conservation Orders",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           132,
           0,
           168,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 1.2
          }
         },
         "values": [
          [
           "Water Conservation Orders"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         132,
         168,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Land and Water Regional Plan Environmental Flow and Allocation Limit Zones",
       "label": "Land and Water Regional Plan Environmental Flow and Allocation Limit Zones"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Other Regional Plans",
       "label": "Other Regional Plans"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         132,
         0,
         168,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 1.2
        }
       },
       "value": "Water Conservation Orders",
       "label": "Water Conservation Orders"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 70,
    "labelingInfo": [
     {
      "labelExpression": "[ZONE_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 100000,
      "name": "Small Scale",
      "priority": 120,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        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": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[ALLOCATION_REGIME_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 100001,
      "minScale": 0,
      "name": "Large Scale",
      "priority": 121,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ALLOCATION_REGIME_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "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": "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
    },
    {
     "name": "ALLOCATION_REGIME_CLASS",
     "type": "esriFieldTypeString",
     "alias": "ALLOCATION_REGIME_CLASS",
     "length": 80,
     "domain": null
    },
    {
     "name": "ZONE_GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "ZONE_GROUP_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_NAME",
     "type": "esriFieldTypeString",
     "alias": "ZONE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "ZONE_NUMBER",
     "length": 50,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 493,
   "name": "Te Waihora Cultural Landscape/Values Management Area - Lake 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": "Environment Canterbury",
   "parentLayer": {
    "id": 494,
    "name": "Surface Water"
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       0,
       197,
       255
      ],
      "outline": null
     },
     "label": "Te Waihora Cultural Landscape/Values Management Area - Lake Area ",
     "description": "Te Waihora Cultural Landscape/\nValues Management Area - Lake Area"
    },
    "scaleSymbols": true,
    "transparency": 60,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1542949.2753999997,
    "ymin": 5142119.0846,
    "xmax": 1576776.3360000001,
    "ymax": 5162797.4507,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 100,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 593,
   "name": "Canterbury Water Management Strategy Zones",
   "type": "Feature Layer",
   "description": "Canterbury Water Management Strategy Zones previously known as the \nState of Environment (SOEM) Management Zones for water charging.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 494,
    "name": "Surface Water"
   },
   "subLayers": [],
   "minScale": 10000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        255
       ],
       "width": 0.8
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ZONE_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 45,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        38,
        115,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "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": "ZONE_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ZONE_CODE",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SpatialUnitID",
     "type": "esriFieldTypeString",
     "alias": "SpatialUnitID",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 518,
   "name": "Groundwater ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 513,
     "name": "Wells"
    },
    {
     "id": 514,
     "name": "Spring Locations"
    },
    {
     "id": 515,
     "name": "Community Drinking Water Supply Points"
    },
    {
     "id": 516,
     "name": "Community Drinking Water Protection Zones"
    },
    {
     "id": 517,
     "name": "Piezometric Contours (Groundwater flow direction)"
    },
    {
     "id": 490,
     "name": "Groundwater Allocation Zones"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004746.2036,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 513,
   "name": "Wells",
   "type": "Feature Layer",
   "description": "Wells and Bores as recorded in the Environment Canterbury Wells Database.  Note that this may include proposed bores and test bores that have been subsequently filled in.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury Regional Council",
   "parentLayer": {
    "id": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "48da74f196318335ca63140688864f95",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1UlEQVQokWNhIBGwUKqBi8ExpJhBWtGegYmZleHNszMMB9b0MHz79hybBlaGwPSVDMaOPnARNQM7BgkFO4aN8wIY3j55iqrBzj+fwcgBoRgGlLRMGKxcqxk2z89C1SCjZMnAyIjd4cJS1phO+s+AQzUDA8P//0yYGt48O8Lw53cgAwsrpob3L45hati9so+BR9CDQd/aFa7p/38GhmunrjI8vViGqQEE1s9wY/j1vY5BWMKZgYGRheH9q7MMbz6XM5w9+x27BhDYurCJgYEBhLECkmMaAKRYOQ/PF0E6AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1331269.7951999996,
    "ymin": 5018398.5391,
    "xmax": 1683679.8084000004,
    "ymax": 5350793.0967,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WELL_NO",
   "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": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_STATUS",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_STATUS_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_OWNER",
     "type": "esriFieldTypeString",
     "alias": "WELL_OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "DIAMETER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DIAMETER",
     "domain": null
    },
    {
     "name": "DATE_DRILLED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_DRILLED",
     "length": 8,
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE_DESC",
     "length": 25,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE",
     "length": 6,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE_DESC",
     "length": 30,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_1",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_2",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_3",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_1",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_2",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_3",
     "domain": null
    },
    {
     "name": "READING_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "READING_COUNT",
     "domain": null
    },
    {
     "name": "REFERENCE_RL",
     "type": "esriFieldTypeSingle",
     "alias": "REFERENCE_RL",
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "HIGHEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "LOWEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "INITIAL_SWL",
     "type": "esriFieldTypeSingle",
     "alias": "INITIAL_SWL",
     "domain": null
    },
    {
     "name": "START_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "START_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "END_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "END_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "CALC_MIN",
     "type": "esriFieldTypeSingle",
     "alias": "CALC_MIN",
     "domain": null
    },
    {
     "name": "MAX_YIELD",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_YIELD",
     "domain": null
    },
    {
     "name": "MAX_DRAW_DOWN",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_DRAW_DOWN",
     "domain": null
    },
    {
     "name": "STRATA",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STRATA",
     "domain": null
    },
    {
     "name": "SPECIFIC_CAPACITY",
     "type": "esriFieldTypeSingle",
     "alias": "SPECIFIC_CAPACITY",
     "domain": null
    },
    {
     "name": "ISOTOPE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ISOTOPE",
     "domain": null
    },
    {
     "name": "WATER_USE",
     "type": "esriFieldTypeInteger",
     "alias": "WATER_USE",
     "domain": null
    },
    {
     "name": "AQUIFER_TESTS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "AQUIFER_TESTS",
     "domain": null
    },
    {
     "name": "STEP_TEST_STEPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STEP_TEST_STEPS",
     "domain": null
    },
    {
     "name": "RECORDNO",
     "type": "esriFieldTypeString",
     "alias": "RECORDNO",
     "length": 30,
     "domain": null
    },
    {
     "name": "RECORDSTATUS",
     "type": "esriFieldTypeString",
     "alias": "RECORDSTATUS",
     "length": 30,
     "domain": null
    },
    {
     "name": "ALLOCATEDRATE",
     "type": "esriFieldTypeDouble",
     "alias": "ALLOCATEDRATE",
     "domain": null
    },
    {
     "name": "MAXRATE",
     "type": "esriFieldTypeDouble",
     "alias": "MAXRATE",
     "domain": null
    },
    {
     "name": "MAXVOLUME",
     "type": "esriFieldTypeDouble",
     "alias": "MAXVOLUME",
     "domain": null
    },
    {
     "name": "CONSECDAYS",
     "type": "esriFieldTypeDouble",
     "alias": "CONSECDAYS",
     "domain": null
    },
    {
     "name": "EXPIRYDATE",
     "type": "esriFieldTypeDate",
     "alias": "EXPIRYDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "CONSENTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "CONSENTALLOCATION",
     "domain": null
    },
    {
     "name": "INALLOCATION",
     "type": "esriFieldTypeString",
     "alias": "INALLOCATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "ESTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "ESTALLOCATION",
     "domain": null
    },
    {
     "name": "ESTMETHOD",
     "type": "esriFieldTypeString",
     "alias": "ESTMETHOD",
     "length": 255,
     "domain": null
    },
    {
     "name": "ESTDATE",
     "type": "esriFieldTypeString",
     "alias": "ESTDATE",
     "length": 255,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 102,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 514,
   "name": "Spring Locations",
   "type": "Feature Layer",
   "description": "Location of springs information as recorded in Environment Canterbury's Wells database.\nLocation accuracy is given by the QAR_CODE field:\n1 = 1-2 metres\n2 = 2-15 metres\n3 = 10-50 metres\n4 = 50-300 metres",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "03b1c5f88f83adcc94b7c1bfbb982e04",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA50lEQVQokZWRP0tCYRTGf2+9ZVJLGOkXuNCWS6vkZ0jUKQgaXEWCIIlXUqipvSUSyj8fwK9QcDfXRpdWByG913sCMfS164UeOMM5PL/DeTiaf0qHTt/MAaJ3+fQHGBOsB17vHDbVE3A664/0F+1GmeJN+y/QNIdsqHcgsbQiBdKiU49RqL7YwJauoSzzQsIjz6bDhfleAIpMRNZ94joNfCxn8CIAQE3sk0R6KHW8xj0g6fVtwNtpsD3OAc6K2Qe5JGt8Gzi/GtG9PyGYPoCcAXsgLkiF4q37a7P/kL8eAqV5hSr80xH6AZNgOGFAnOyXAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SPRING_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 95,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        115,
        76,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1362546.1478000004,
    "ymin": 5023333.4004,
    "xmax": 1659678.2048000004,
    "ymax": 5313629.1979,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SPRING_NO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "SPRING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SPRING_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "SPRING_CHARACTER",
     "type": "esriFieldTypeString",
     "alias": "SPRING_CHARACTER",
     "length": 20,
     "domain": null
    },
    {
     "name": "MORPHOLOGY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "MORPHOLOGY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "VARIABILITY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "VARIABILITY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "GEOLOGY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GEOLOGY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_3",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_3",
     "length": 2,
     "domain": null
    },
    {
     "name": "QUALARC_SITE_NO",
     "type": "esriFieldTypeString",
     "alias": "QUALARC_SITE_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "ISOTOPE_DATA",
     "type": "esriFieldTypeString",
     "alias": "ISOTOPE_DATA",
     "length": 1,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "ALTITUDE_MEAS_REP",
     "type": "esriFieldTypeString",
     "alias": "ALTITUDE_MEAS_REP",
     "length": 1,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_3_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_3_DESC",
     "length": 50,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 515,
   "name": "Community Drinking Water Supply Points",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": {
    "id": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9bd485df07b71493dbddc47a6e9d5b4b",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABpklEQVQ4jbWTT0hTcRzAP++9EautQ4EHKy/y2pDUg4HQqSgvGWpF21E6eI6sKXkQPUgajY0gjFqHdQuE3bzYoR08jGAdWlEbTwj6JyUOHbP0tfeNhz5He00F6Qs/+P77fX7f75fvz8M+xfN/APrwCTTrGhYBkA1QXmH6U3wc/7U7IHB7ECp3EbwojlPgQOkT+q0wRixTHxCM3EQkVqfaJlTlBS2RM7yPvnUDgsPHkMqkY/acX+BKl8H35UM8eNbBtx8+2+3H4iFwzg0Q6yrgtdWBUI7ExNx2qP/yO1ovXWd5xQsiZwkMHqcQ/1IDEN3p+Ub/679qb2woE7pY4PHz9k2HhQ7UABR+OqqmimsAmmpVDbWa66kClAyyefHpTBuxkfR2yC49NXdyK0/WKJNzAxr9s3wt5e1xxpOnKa566btgsFQ8yL1EJ4tLPuf5aT5H/1FBevw3wUgYkZfA0WTqFPapkXnW/aP19yAffYM+1IlmxRG67da3IiWER5iHx2q30b2Jxv0FoJe2O0cwzWawNvCVP5B9Yrpyd/xMuakikK0b3xWwR/kD8IyJSqQDP5QAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WELL_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 90,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        190,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1346388.1506000003,
    "ymin": 5020733.4882,
    "xmax": 1674411.1178000001,
    "ymax": 5332683.1866,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "OBJECTID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "SUPPLY_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUPPLY_NAME",
     "length": 254,
     "domain": null
    },
    {
     "name": "OWNER",
     "type": "esriFieldTypeString",
     "alias": "OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "MOH_SOURCE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SOURCE_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "MOH_SUPPLY_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SUPPLY_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "GROUNDWATER_BEARING",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BEARING",
     "domain": null
    },
    {
     "name": "GROUNDWATER_OFFSET",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_OFFSET",
     "domain": null
    },
    {
     "name": "GROUNDWATER_BARRIER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BARRIER",
     "domain": null
    },
    {
     "name": "TOP_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN",
     "domain": null
    },
    {
     "name": "NUMBER_OF_SCREENS",
     "type": "esriFieldTypeInteger",
     "alias": "NUMBER_OF_SCREENS",
     "domain": null
    },
    {
     "name": "VERIFIED_DATE",
     "type": "esriFieldTypeDate",
     "alias": "VERIFIED_DATE",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 516,
   "name": "Community Drinking Water Protection Zones",
   "type": "Feature Layer",
   "description": "Provisional protection zones for Community and Group drinking water sources have been delineated in accordance with Schedule 1 of the proposed Canterbury Land and Water Regional Plan and are based on the best available information as at May 2015. Environment Canterbury has reviewed information on the location of Community and Group drinking water sources in association with Water Suppliers, Territorial Authorities and Community and Public Health",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": {
    "id": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 250,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       223,
       115,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1344412.6233,
    "ymin": 5020155.7158,
    "xmax": 1674625.9071000002,
    "ymax": 5333504.1521,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUPPLY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SUPPLY_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUPPLY_NAME",
     "length": 254,
     "domain": null
    },
    {
     "name": "OWNER",
     "type": "esriFieldTypeString",
     "alias": "OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "MOH_SOURCE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SOURCE_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "MOH_SUPPLY_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SUPPLY_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "GROUNDWATER_BEARING",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BEARING",
     "domain": null
    },
    {
     "name": "GROUNDWATER_OFFSET",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_OFFSET",
     "domain": null
    },
    {
     "name": "GROUNDWATER_BARRIER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BARRIER",
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "TOP_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN",
     "domain": null
    },
    {
     "name": "NUMBER_OF_SCREENS",
     "type": "esriFieldTypeInteger",
     "alias": "NUMBER_OF_SCREENS",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "VERIFIED_BY",
     "type": "esriFieldTypeString",
     "alias": "VERIFIED_BY",
     "length": 20,
     "domain": null
    },
    {
     "name": "VERIFIED_DATE",
     "type": "esriFieldTypeDate",
     "alias": "VERIFIED_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ESRI_OID",
     "type": "esriFieldTypeOID",
     "alias": "ESRI_OID",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_ESRI_OID",
     "fields": "ESRI_OID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 517,
   "name": "Piezometric Contours (Groundwater flow direction)",
   "type": "Feature Layer",
   "description": "Gives the average height of ground water above sea level. This layer was created from a combination of shallow and deep aquifer ground water levels derived from averages of all available data in 2003 (approximately 20 years).",
   "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": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ZLEVEL]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 250000,
      "name": "Default",
      "priority": 81,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1459319.0795,
    "ymin": 5098681.5623,
    "xmax": 1577058.9688999997,
    "ymax": 5216831.9301,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ZLEVEL",
     "type": "esriFieldTypeDouble",
     "alias": "ZLEVEL",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS1_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": "WS1_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 490,
   "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": "Environment Canterbury",
   "parentLayer": {
    "id": 518,
    "name": "Groundwater "
   },
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        0,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": [
     {
      "labelExpression": "[Zone_Name] CONCAT \" Groundwater Allocation Zone\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "where": "Zone_Name NOT IN ( 'Conjunctive Use Zone', 'Upper Coopers')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "GWAZ",
      "priority": 109,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[Zone_Name]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "where": "Zone_Name IN ( 'Conjunctive Use Zone', 'Upper Coopers')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Orari",
      "priority": 112,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004746.2036,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ZoneName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "length": 255,
     "domain": null
    },
    {
     "name": "SpatialUnitID",
     "type": "esriFieldTypeString",
     "alias": "SpatialUnitID",
     "length": 8,
     "domain": null
    },
    {
     "name": "ZoneName",
     "type": "esriFieldTypeString",
     "alias": "Zone Name",
     "length": 255,
     "domain": null
    },
    {
     "name": "PLAN_",
     "type": "esriFieldTypeString",
     "alias": "Plan",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZoneStatus",
     "type": "esriFieldTypeString",
     "alias": "Plan Status",
     "length": 25,
     "domain": null
    },
    {
     "name": "ZoneType",
     "type": "esriFieldTypeString",
     "alias": "Zone Type",
     "length": 255,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "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": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 512,
   "name": "Rūnanga Sensitive Areas",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 510,
     "name": "Kaikōura Sensitive Areas"
    },
    {
     "id": 511,
     "name": "Rūnanga Sensitive Areas"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328824.3062000005,
    "ymin": 5019752.0909,
    "xmax": 1706077.563,
    "ymax": 5399261.982,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 510,
   "name": "Kaikōura Sensitive Areas",
   "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": 512,
    "name": "Rūnanga Sensitive Areas"
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1508668.8394,
    "ymin": 5248875.1151,
    "xmax": 1706077.563,
    "ymax": 5399261.982,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Contact_1_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "SITE_ID",
     "length": 6,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 255,
     "domain": null
    },
    {
     "name": "Runanga",
     "type": "esriFieldTypeString",
     "alias": "Runanga",
     "length": 50,
     "domain": null
    },
    {
     "name": "Contact_1_Runanga",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Runanga",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_1_Name",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Name",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_1_Address_Physical",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Address_Physical",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_1_Address_Mailing",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Address_Mailing",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_1_Phone",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Phone",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_1_Email",
     "type": "esriFieldTypeString",
     "alias": "Contact_1_Email",
     "length": 255,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS1_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": "WS1_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_STArea__",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STArea__",
     "domain": null
    },
    {
     "name": "Shape_STLength__",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLength__",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 511,
   "name": "Rūnanga Sensitive Areas",
   "type": "Feature Layer",
   "description": "Sensitive areas of importance to each Ngāi Tahu Rūnanga in Canterbury.",
   "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": "Te Runanga O Ngai Tahu",
   "parentLayer": {
    "id": 512,
    "name": "Rūnanga Sensitive Areas"
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1328824.3062000005,
    "ymin": 5019752.0909,
    "xmax": 1686991.2655999996,
    "ymax": 5354554.8817,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CULTURAL_SIGNIFICANCE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SITE_ID",
     "type": "esriFieldTypeString",
     "alias": "Site Id",
     "length": 6,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 70,
     "domain": null
    },
    {
     "name": "SUB_CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "Sub Catchment",
     "length": 130,
     "domain": null
    },
    {
     "name": "CULTURAL_SIGNIFICANCE",
     "type": "esriFieldTypeString",
     "alias": "Cultural Significance",
     "length": 70,
     "domain": null
    },
    {
     "name": "CONCERN",
     "type": "esriFieldTypeString",
     "alias": "CONCERN",
     "length": 185,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "Created By",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "Last Updated",
     "length": 8,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 591,
   "name": "Black Maps (Natural features)",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 579,
     "name": "Intermittent Stream"
    },
    {
     "id": 580,
     "name": "Stream"
    },
    {
     "id": 581,
     "name": "River"
    },
    {
     "id": 582,
     "name": "Waterbody"
    },
    {
     "id": 583,
     "name": "Riverside Streamside Boundary"
    },
    {
     "id": 584,
     "name": "Wetland"
    },
    {
     "id": 585,
     "name": "Floodplain Island"
    },
    {
     "id": 586,
     "name": "Coastline"
    },
    {
     "id": 587,
     "name": "Terrace (>25,000)"
    },
    {
     "id": 588,
     "name": "Terrace"
    },
    {
     "id": 589,
     "name": "Land Cover"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1432828.0696,
    "ymin": 5022771.9014,
    "xmax": 1481711.1940000001,
    "ymax": 5137608.2175,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 579,
   "name": "Intermittent Stream",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 750000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       197,
       255,
       255
      ],
      "width": 1.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1454055.4352000002,
    "ymin": 5093441.9858,
    "xmax": 1477661.0654999996,
    "ymax": 5136741.8128,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "FEATURE_TYPE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "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": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 150,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 580,
   "name": "Stream",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 750000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       197,
       255,
       255
      ],
      "width": 1.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1451210.5974000003,
    "ymin": 5083457.7514,
    "xmax": 1479337.0399000002,
    "ymax": 5137605.8295,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "ORDER_",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDER_",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 581,
   "name": "River",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 750000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       132,
       168,
       255
      ],
      "width": 1.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1452697.4604000002,
    "ymin": 5095245.8411,
    "xmax": 1480472.7019999996,
    "ymax": 5137595.3567,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "ORDER_",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDER_",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 582,
   "name": "Waterbody",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       197,
       255,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1438115.1820999999,
    "ymin": 5028386.1445,
    "xmax": 1481711.1940000001,
    "ymax": 5136611.1352,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 583,
   "name": "Riverside Streamside Boundary",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432934.3102000002,
    "ymin": 5022785.6492,
    "xmax": 1480464.4249999998,
    "ymax": 5137602.8573,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CREATEDBY",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 50,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 584,
   "name": "Wetland",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       109,
       187,
       67,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        38,
        115,
        0,
        255
       ],
       "width": 0.75
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 56,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432935.4786999999,
    "ymin": 5025755.2002,
    "xmax": 1480392.6616000002,
    "ymax": 5136715.7402,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 585,
   "name": "Floodplain Island",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       235,
       175,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        211,
        127,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432934.3102000002,
    "ymin": 5022771.9014,
    "xmax": 1480407.7325999998,
    "ymax": 5137602.8573,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "FEATURE_TYPE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 586,
   "name": "Coastline",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       104,
       104,
       104,
       255
      ],
      "width": 1.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1453848.6207999997,
    "ymin": 5022869.8859,
    "xmax": 1481701.6449999996,
    "ymax": 5106671.4429,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CREATEDBY",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "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": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 50,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 587,
   "name": "Terrace (>25,000)",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 25000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432828.0696,
    "ymin": 5022785.6492,
    "xmax": 1479885.1068000002,
    "ymax": 5137602.8573,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 50,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 588,
   "name": "Terrace",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 25000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 7.999354080000001
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432828.0696,
    "ymin": 5022785.6492,
    "xmax": 1479885.1068000002,
    "ymax": 5137602.8573,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 50,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 589,
   "name": "Land Cover",
   "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": 591,
    "name": "Black Maps (Natural features)"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "VEGETATION_TYPE",
     "uniqueValueGroups": [
      {
       "heading": "Vegetation Type",
       "classes": [
        {
         "label": "Treeland",
         "description": "Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           68,
           137,
           112,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "TrL"
          ]
         ]
        },
        {
         "label": "Flaxland",
         "description": "Flaxland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           211,
           255,
           190,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "FlL"
          ]
         ]
        },
        {
         "label": "Flaxland and Shrubland",
         "description": "Flaxland and Shrubland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           209,
           255,
           115,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "FlL & ShL"
          ]
         ]
        },
        {
         "label": "Flaxland and Treeland",
         "description": "Flaxland and Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           163,
           255,
           115,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "FlL & TrL"
          ]
         ]
        },
        {
         "label": "Flaxland, Reedland and Grassland",
         "description": "Flaxland, Reedland and Grassland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           168,
           168,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "FlL, ReL & GrL"
          ]
         ]
        },
        {
         "label": "Flaxland, Shrubland and Treeland",
         "description": "Flaxland, Shrubland and Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           115,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "FlL, ShL & TrL"
          ]
         ]
        },
        {
         "label": "Grassland",
         "description": "Grassland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           211,
           127,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL"
          ]
         ]
        },
        {
         "label": "Grassland and Flaxland",
         "description": "Grassland and Flaxland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           215,
           194,
           158,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL & FlL"
          ]
         ]
        },
        {
         "label": "Grassland and Reedland",
         "description": "Grassland and Reedland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           167,
           127,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL & ReL"
          ]
         ]
        },
        {
         "label": "Grassland and Shrubland",
         "description": "Grassland and Shrubland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           205,
           137,
           102,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL & ShL"
          ]
         ]
        },
        {
         "label": "Grassland and Treeland",
         "description": "Grassland and Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           205,
           205,
           102,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL & TrL"
          ]
         ]
        },
        {
         "label": "Grassland, Flaxland and Shrubland",
         "description": "Grassland, Flaxland and Shrubland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           176,
           105,
           71,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL, FlL & ShL"
          ]
         ]
        },
        {
         "label": "Grassland, Flaxland and Treeland",
         "description": "Grassland, Flaxland and Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           150,
           96,
           66,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL, FlL & TrL"
          ]
         ]
        },
        {
         "label": "Grassland, Shrubland and Treeland",
         "description": "Grassland, Shrubland and Treeland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           137,
           68,
           68,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "GrL, ShL & TrL"
          ]
         ]
        },
        {
         "label": "Reedland",
         "description": "Reedland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           168,
           56,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "ReL"
          ]
         ]
        },
        {
         "label": "Rushland",
         "description": "Rushland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           215,
           158,
           158,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "RuL"
          ]
         ]
        },
        {
         "label": "Scrub",
         "description": "Scrub",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           232,
           190,
           255,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Scr"
          ]
         ]
        },
        {
         "label": "Shrubland",
         "description": "Shrubland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           194,
           158,
           215,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "ShL"
          ]
         ]
        },
        {
         "label": "Shrubland and scrub",
         "description": "Shrubland and scrub",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           112,
           68,
           137,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "ShL & Scr"
          ]
         ]
        },
        {
         "label": "Unknown",
         "description": "Unknown",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           225,
           225,
           225,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Un"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         68,
         137,
         112,
         255
        ],
        "outline": null
       },
       "value": "TrL",
       "label": "Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         211,
         255,
         190,
         255
        ],
        "outline": null
       },
       "value": "FlL",
       "label": "Flaxland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         209,
         255,
         115,
         255
        ],
        "outline": null
       },
       "value": "FlL & ShL",
       "label": "Flaxland and Shrubland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "outline": null
       },
       "value": "FlL & TrL",
       "label": "Flaxland and Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         168,
         168,
         0,
         255
        ],
        "outline": null
       },
       "value": "FlL, ReL & GrL",
       "label": "Flaxland, Reedland and Grassland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         115,
         0,
         255
        ],
        "outline": null
       },
       "value": "FlL, ShL & TrL",
       "label": "Flaxland, Shrubland and Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         211,
         127,
         255
        ],
        "outline": null
       },
       "value": "GrL",
       "label": "Grassland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         215,
         194,
         158,
         255
        ],
        "outline": null
       },
       "value": "GrL & FlL",
       "label": "Grassland and Flaxland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         167,
         127,
         255
        ],
        "outline": null
       },
       "value": "GrL & ReL",
       "label": "Grassland and Reedland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         205,
         137,
         102,
         255
        ],
        "outline": null
       },
       "value": "GrL & ShL",
       "label": "Grassland and Shrubland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         205,
         205,
         102,
         255
        ],
        "outline": null
       },
       "value": "GrL & TrL",
       "label": "Grassland and Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         176,
         105,
         71,
         255
        ],
        "outline": null
       },
       "value": "GrL, FlL & ShL",
       "label": "Grassland, Flaxland and Shrubland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         150,
         96,
         66,
         255
        ],
        "outline": null
       },
       "value": "GrL, FlL & TrL",
       "label": "Grassland, Flaxland and Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         137,
         68,
         68,
         255
        ],
        "outline": null
       },
       "value": "GrL, ShL & TrL",
       "label": "Grassland, Shrubland and Treeland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         168,
         56,
         0,
         255
        ],
        "outline": null
       },
       "value": "ReL",
       "label": "Reedland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         215,
         158,
         158,
         255
        ],
        "outline": null
       },
       "value": "RuL",
       "label": "Rushland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         232,
         190,
         255,
         255
        ],
        "outline": null
       },
       "value": "Scr",
       "label": "Scrub"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         194,
         158,
         215,
         255
        ],
        "outline": null
       },
       "value": "ShL",
       "label": "Shrubland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         112,
         68,
         137,
         255
        ],
        "outline": null
       },
       "value": "ShL & Scr",
       "label": "Shrubland and scrub"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         225,
         225,
         225,
         255
        ],
        "outline": null
       },
       "value": "Un",
       "label": "Unknown"
      }
     ],
     "fieldDelimiter": ";",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          56,
          168,
          0,
          255
         ],
         "toColor": [
          255,
          255,
          0,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          255,
          255,
          0,
          255
         ],
         "toColor": [
          255,
          0,
          0,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 35,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1432905.6836,
    "ymin": 5023503.6504,
    "xmax": 1480392.6616000002,
    "ymax": 5137608.2175,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "CATCHMENT",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "ACCURACY",
     "length": 20,
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 20,
     "domain": null
    },
    {
     "name": "VEGETATION_TYPE",
     "type": "esriFieldTypeString",
     "alias": "VEGETATION_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "VEGETATION_COMPOSITION_DESC",
     "type": "esriFieldTypeString",
     "alias": "VEGETATION_COMPOSITION_DESC",
     "length": 100,
     "domain": null
    },
    {
     "name": "SOIL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SOIL_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "SOIL_COMPOSITION_DESC",
     "type": "esriFieldTypeString",
     "alias": "SOIL_COMPOSITION_DESC",
     "length": 100,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 592,
   "name": "QEII National Trust Open Space Covenants",
   "type": "Feature Layer",
   "description": "A National Trust open space covenant is a legally binding protection agreement, which is registered on the title of the land. It is voluntary but once in place binds the current and all subsequent landowners.\nEach covenant is unique. It can apply to the whole property or just part of the property.\nThere can be different management areas within a covenant with varying applicable conditions. Conditions can be stringent where rare or vulnerable natural features or habitats are being protected.\nFor further information please visit http://www.openspace.org.nz/Site/Home/default.aspx",
   "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": "Queen Elizabeth II National Trust",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       132,
       0,
       168,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        78,
        78,
        78,
        255
       ],
       "width": 0.8
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1168135.2424999997,
    "ymin": 4792502.6324,
    "xmax": 2065672.1437999997,
    "ymax": 6153937.4244,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CovNumber",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CovNumber",
     "type": "esriFieldTypeString",
     "alias": "Covenant Number",
     "length": 12,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 254,
     "domain": null
    },
    {
     "name": "DateAppr",
     "type": "esriFieldTypeDate",
     "alias": "Date Approved (QEII)",
     "length": 8,
     "domain": null
    },
    {
     "name": "DateRegd",
     "type": "esriFieldTypeDate",
     "alias": "Date Registered (LINZ)",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastUpdate",
     "type": "esriFieldTypeDate",
     "alias": "Last Updated",
     "length": 8,
     "domain": null
    },
    {
     "name": "GeomArea",
     "type": "esriFieldTypeDouble",
     "alias": "Area (Ha)",
     "domain": null
    },
    {
     "name": "QEIIRegion",
     "type": "esriFieldTypeString",
     "alias": "QEII Region",
     "length": 25,
     "domain": null
    },
    {
     "name": "TA_Name",
     "type": "esriFieldTypeString",
     "alias": "District",
     "length": 30,
     "domain": null
    },
    {
     "name": "RegC_Name",
     "type": "esriFieldTypeString",
     "alias": "Region",
     "length": 30,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 30,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 574,
   "name": "Soils ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 572,
     "name": "S-Map Soils"
    },
    {
     "id": 573,
     "name": "New Zealand Fundamental Soils"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1089951.8307999996,
    "ymin": 4823308.8094,
    "xmax": 1717032.6944000004,
    "ymax": 5516947.1372,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 572,
   "name": "S-Map Soils",
   "type": "Feature Layer",
   "description": "Soil information sourced from S-Map with supplemental information synthesized from NZLRI for those areas where S-Map is not available.  Prepared by Landcare Research.\n\nS-map's primary map layer is soil classes, i.e. delineated areas that ar\n  labelled with the soil family name. Each soil family is defined as a unique\n  combination of attributes (NZSC classification, parent material, rock type,\n  dominant texture and permeability class). Soil classes are further characterised\n  as siblings according to their depth to rock class, stoniness, land type,\n  drainage, texture (more detailed), functional horizons and miscellaneous variant\n  information. The uncertainty of each of these family and sibling attribute\n  classes is specified.   Associated with the soil class layer will be additional\n  map layers of fundamental and derived soil properties. The fundamental soil\n  properties are depth (diggability), depth to slowly permeable layer, rooting\n  depth, rooting barrier, horizon thickness, stoniness, clay and sand content.\n  They are developed from sample information and expert knowledge. The derived\n  soil layers are each based on a model (or pedo-transfer function). Some models\n  are simple lookup tables that depend only on the soil class. Others combine\n  various soil, land use, vegetation, climate or topographic attributes in a\n  mathematical formula. Derived layers will include available water (mm),\n  macroporosity, water retention, bulk density, total carbon, total nitrogen,\n  phosphorus, calcium, cation exchange capacity, pH, and phosphorus retention.",
   "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": 574,
    "name": "Soils "
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 10000,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        104,
        104,
        104,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1326709.5982,
    "ymin": 5004834.5163,
    "xmax": 1687865.8284999998,
    "ymax": 5388472.7277,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SmapName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SMU",
     "type": "esriFieldTypeString",
     "alias": "SMU",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 5,
     "domain": null
    },
    {
     "name": "SmapName",
     "type": "esriFieldTypeString",
     "alias": "SmapName",
     "length": 15,
     "domain": null
    },
    {
     "name": "SiblingProportion",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingProportion",
     "domain": null
    },
    {
     "name": "SiblingRankOrder",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingRankOrder",
     "domain": null
    },
    {
     "name": "SiblingConfidence",
     "type": "esriFieldTypeString",
     "alias": "SiblingConfidence",
     "length": 2,
     "domain": null
    },
    {
     "name": "LongSoilName",
     "type": "esriFieldTypeString",
     "alias": "LongSoilName",
     "length": 100,
     "domain": null
    },
    {
     "name": "NZSCDescription",
     "type": "esriFieldTypeString",
     "alias": "NZSCDescription",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZSC",
     "type": "esriFieldTypeString",
     "alias": "NZSC",
     "length": 5,
     "domain": null
    },
    {
     "name": "PermeabilityCode",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode",
     "length": 4,
     "domain": null
    },
    {
     "name": "PermeabilityCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDepthCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDepthCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingTexture",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture",
     "length": 4,
     "domain": null
    },
    {
     "name": "SiblingTexture_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "RootBarrierCode",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode",
     "length": 2,
     "domain": null
    },
    {
     "name": "RootBarrierCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode_Desc",
     "length": 70,
     "domain": null
    },
    {
     "name": "Slope",
     "type": "esriFieldTypeString",
     "alias": "Slope",
     "length": 3,
     "domain": null
    },
    {
     "name": "EcanNLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanNLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "EcanPLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanPLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativeRunnoffPotential",
     "type": "esriFieldTypeString",
     "alias": "RelativeRunnoffPotential",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativePLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativePLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "SepticTankWastewaterSoakage",
     "type": "esriFieldTypeString",
     "alias": "SepticTankWastewaterSoakage",
     "length": 3,
     "domain": null
    },
    {
     "name": "AWmm30",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm30",
     "domain": null
    },
    {
     "name": "AWmm60",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm60",
     "domain": null
    },
    {
     "name": "PAWmm",
     "type": "esriFieldTypeDouble",
     "alias": "PAWmm",
     "domain": null
    },
    {
     "name": "PRetentionTopsoil",
     "type": "esriFieldTypeDouble",
     "alias": "PRetentionTopsoil",
     "domain": null
    },
    {
     "name": "RelativeBypassFlow",
     "type": "esriFieldTypeString",
     "alias": "RelativeBypassFlow",
     "length": 15,
     "domain": null
    },
    {
     "name": "RelativeNLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativeNLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "EffluentClass",
     "type": "esriFieldTypeString",
     "alias": "EffluentClass",
     "length": 2,
     "domain": null
    },
    {
     "name": "oldLUTcode",
     "type": "esriFieldTypeString",
     "alias": "oldLUTcode",
     "length": 4,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 573,
   "name": "New Zealand Fundamental Soils",
   "type": "Feature Layer",
   "description": "The New Zealand Fundamental Soil Layer originates from a relational join of features from two databases: the New Zealand Land Resource Inventory (NZLRI), and the National Soils Database (NSD).\n\nThe NZLRI is a national polygon database of physical land resource information, including a soil unit. Soil is one in an inventory of five physical factors (including rock, slope, erosion, and vegetation) delineated by physiographic polygons at approximately 1:50,000 scale. \n\nThe NSD is a point database of soil physical, chemical, and mineralological characteristics for over 1500 soil profiles nationally. \n\nA relational join between the NZLRI dominant soil and derivative tables from the NSD was the means by which 14 important soil attributes were attached to the NZLRI polygons. Some if these attributes originate from exact matches with NSD records, while others derive from matches to similar soils or are simply professional estimates.",
   "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": "Landcare Research Ltd.",
   "parentLayer": {
    "id": 574,
    "name": "Soils "
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       137,
       112,
       68,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        38,
        0,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1089951.8307999996,
    "ymin": 4823308.8094,
    "xmax": 1717032.6944000004,
    "ymax": 5516947.1372,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Soil_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PAW_Class",
     "type": "esriFieldTypeString",
     "alias": "PAW_CLASS",
     "length": 15,
     "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
    },
    {
     "name": "Soil_Name",
     "type": "esriFieldTypeString",
     "alias": "Soil_Name",
     "length": 82,
     "domain": null
    },
    {
     "name": "Soil_Texture",
     "type": "esriFieldTypeString",
     "alias": "Soil_Texture",
     "length": 100,
     "domain": null
    },
    {
     "name": "Soil_Drainage",
     "type": "esriFieldTypeString",
     "alias": "Soil_Drainage",
     "length": 15,
     "domain": null
    },
    {
     "name": "Potential_Rooting_Depth",
     "type": "esriFieldTypeString",
     "alias": "Potential_Rooting_Depth",
     "length": 26,
     "domain": null
    },
    {
     "name": "PAW_90cm",
     "type": "esriFieldTypeInteger",
     "alias": "PAW_90cm",
     "domain": null
    },
    {
     "name": "PAW_Range",
     "type": "esriFieldTypeString",
     "alias": "PAW_Range",
     "length": 27,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 5,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 598,
   "name": "CERA Zones",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 594,
     "name": "Green Zone, Technical Category 1, grey"
    },
    {
     "id": 595,
     "name": "Green Zone, Technical Category 2, yellow"
    },
    {
     "id": 596,
     "name": "Green Zone, Technical Category 3, blue"
    },
    {
     "id": 597,
     "name": "Red Zone"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 594,
   "name": "Green Zone, Technical Category 1, grey",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA).Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": {
    "id": 598,
    "name": "CERA Zones"
   },
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       130,
       130,
       130,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 254,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 595,
   "name": "Green Zone, Technical Category 2, yellow",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA).Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": {
    "id": 598,
    "name": "CERA Zones"
   },
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       255,
       116,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 254,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 596,
   "name": "Green Zone, Technical Category 3, blue",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA).Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": {
    "id": 598,
    "name": "CERA Zones"
   },
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       151,
       220,
       242,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 254,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 597,
   "name": "Red Zone",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA).Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": {
    "id": 598,
    "name": "CERA Zones"
   },
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 254,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 524,
   "name": "Liquifaction susceptibility ",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 519,
     "name": "Project Extent"
    },
    {
     "id": 520,
     "name": "Mapped Liquefaction - Feb 2011"
    },
    {
     "id": 521,
     "name": "Mapped Liquefaction - Sept 2010"
    },
    {
     "id": 522,
     "name": "Liquefaction Susceptibility Lines"
    },
    {
     "id": 523,
     "name": "Liquefaction Susceptibility - Final"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": false,
   "extent": {
    "xmin": 1517648.2802,
    "ymin": 5137761.9471,
    "xmax": 1611946.7372000003,
    "ymax": 5224953.2176,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 519,
   "name": "Project Extent",
   "type": "Feature Layer",
   "description": "NHRP liquefaction study project extent.",
   "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": "GNS Science, Beca, Lincoln University, Golder Associates, Coffey Geotechnics Ltd, Tonkin & Taylor Ltd, Environment Canterbury.",
   "parentLayer": {
    "id": 524,
    "name": "Liquifaction susceptibility "
   },
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1536583.2663000003,
    "ymin": 5137761.9471,
    "xmax": 1611946.7372000003,
    "ymax": 5224953.2176,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "FID_Projec",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "FID_Projec",
     "type": "esriFieldTypeInteger",
     "alias": "FID_Projec",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "FID_Proj_1",
     "type": "esriFieldTypeInteger",
     "alias": "FID_Proj_1",
     "domain": null
    },
    {
     "name": "Id_1",
     "type": "esriFieldTypeInteger",
     "alias": "Id_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 520,
   "name": "Mapped Liquefaction - Feb 2011",
   "type": "Feature Layer",
   "description": "Liquefaction mapping from aerial and satellite photos and site visit data following the Christchurch Earthquake on 22 February 2011, also incorporating data from external review comments.",
   "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": "Tonkin & Taylor, University of Canterbury, ECan, Beca, Landcare, Lincoln University, Greg Curline, GNS Science.",
   "parentLayer": {
    "id": 524,
    "name": "Liquifaction susceptibility "
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "GROUP_",
     "uniqueValueGroups": [
      {
       "heading": "GROUP",
       "classes": [
        {
         "label": "flooding -sediment",
         "description": "flooding -sediment",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           211,
           127,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            211,
            127,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "flooding -sediment"
          ]
         ]
        },
        {
         "label": "flooding -water",
         "description": "flooding -water",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           232,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            190,
            232,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "flooding -water"
          ]
         ]
        },
        {
         "label": "liquefaction",
         "description": "liquefaction",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "liquefaction"
          ]
         ]
        },
        {
         "label": "not yet attributed",
         "description": "not yet attributed",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            130,
            130,
            130,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "not yet attributed"
          ]
         ]
        },
        {
         "label": "unknown",
         "description": "unknown",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           115,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "unknown"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         211,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          211,
          127,
          255
         ],
         "width": 1
        }
       },
       "value": "flooding -sediment",
       "label": "flooding -sediment"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "flooding -water",
       "label": "flooding -water"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "liquefaction",
       "label": "liquefaction"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          130,
          130,
          130,
          255
         ],
         "width": 0.4
        }
       },
       "value": "not yet attributed",
       "label": "not yet attributed"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "unknown",
       "label": "unknown"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          252,
          187,
          255
         ],
         "toColor": [
          238,
          252,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          229,
          179,
          252,
          255
         ],
         "toColor": [
          229,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          238,
          252,
          255
         ],
         "toColor": [
          199,
          238,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          192,
          187,
          255
         ],
         "toColor": [
          252,
          192,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          218,
          255
         ],
         "toColor": [
          179,
          252,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          201,
          252,
          255
         ],
         "toColor": [
          194,
          201,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          235,
          207,
          255
         ],
         "toColor": [
          252,
          235,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          189,
          229,
          255
         ],
         "toColor": [
          252,
          189,
          229,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          252,
          182,
          255
         ],
         "toColor": [
          182,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          215,
          252,
          255
         ],
         "toColor": [
          240,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          252,
          215,
          255
         ],
         "toColor": [
          224,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          228,
          255
         ],
         "toColor": [
          252,
          215,
          228,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          252,
          249,
          255
         ],
         "toColor": [
          184,
          252,
          249,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1546658.8357999995,
    "ymin": 5163882.2095,
    "xmax": 1581925.1162,
    "ymax": 5209084.7099,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "GROUP_",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "ADOPT_CERT",
     "type": "esriFieldTypeString",
     "alias": "ADOPT_CERT",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_VISIT",
     "type": "esriFieldTypeString",
     "alias": "SITE_VISIT",
     "length": 100,
     "domain": null
    },
    {
     "name": "EXTRNAL_QA",
     "type": "esriFieldTypeString",
     "alias": "EXTRNAL_QA",
     "length": 100,
     "domain": null
    },
    {
     "name": "IMAGE",
     "type": "esriFieldTypeString",
     "alias": "IMAGE",
     "length": 50,
     "domain": null
    },
    {
     "name": "IMAGE_RES",
     "type": "esriFieldTypeDouble",
     "alias": "IMAGE_RES",
     "domain": null
    },
    {
     "name": "ORIGINATOR",
     "type": "esriFieldTypeString",
     "alias": "ORIGINATOR",
     "length": 50,
     "domain": null
    },
    {
     "name": "ORIG_NOTE",
     "type": "esriFieldTypeString",
     "alias": "ORIG_NOTE",
     "length": 254,
     "domain": null
    },
    {
     "name": "GNS_QA",
     "type": "esriFieldTypeString",
     "alias": "GNS_QA",
     "length": 50,
     "domain": null
    },
    {
     "name": "GNSQA_NOTE",
     "type": "esriFieldTypeString",
     "alias": "GNSQA_NOTE",
     "length": 254,
     "domain": null
    },
    {
     "name": "GNS_CERT",
     "type": "esriFieldTypeString",
     "alias": "GNS_CERT",
     "length": 50,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "GROUP_",
     "type": "esriFieldTypeString",
     "alias": "GROUP_",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 521,
   "name": "Mapped Liquefaction - Sept 2010",
   "type": "Feature Layer",
   "description": "Liquefaction mapping from aerial and satellite photos and site visit data following the Darfield Earthquake on 4 September2010, also incorporating data from external review comments.",
   "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": "Tonkin & Taylor, University of Canterbury, ECan, Beca, Landcare, Lincoln University, Greg Curline, GNS Science.",
   "parentLayer": {
    "id": 524,
    "name": "Liquifaction susceptibility "
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "GROUP_",
     "uniqueValueGroups": [
      {
       "heading": "GROUP",
       "classes": [
        {
         "label": "flooding -sediment",
         "description": "flooding -sediment",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           211,
           127,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            211,
            127,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "flooding -sediment"
          ]
         ]
        },
        {
         "label": "flooding -water",
         "description": "flooding -water",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           232,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            190,
            232,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "flooding -water"
          ]
         ]
        },
        {
         "label": "liquefaction",
         "description": "liquefaction",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "liquefaction"
          ]
         ]
        },
        {
         "label": "not yet attributed",
         "description": "not yet attributed",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            130,
            130,
            130,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "not yet attributed"
          ]
         ]
        },
        {
         "label": "unknown",
         "description": "unknown",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           115,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            115,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "unknown"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         211,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          211,
          127,
          255
         ],
         "width": 1
        }
       },
       "value": "flooding -sediment",
       "label": "flooding -sediment"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "flooding -water",
       "label": "flooding -water"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "liquefaction",
       "label": "liquefaction"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          130,
          130,
          130,
          255
         ],
         "width": 0.4
        }
       },
       "value": "not yet attributed",
       "label": "not yet attributed"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          115,
          255
         ],
         "width": 0.4
        }
       },
       "value": "unknown",
       "label": "unknown"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          252,
          187,
          255
         ],
         "toColor": [
          238,
          252,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          229,
          179,
          252,
          255
         ],
         "toColor": [
          229,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          238,
          252,
          255
         ],
         "toColor": [
          199,
          238,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          192,
          187,
          255
         ],
         "toColor": [
          252,
          192,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          218,
          255
         ],
         "toColor": [
          179,
          252,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          201,
          252,
          255
         ],
         "toColor": [
          194,
          201,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          235,
          207,
          255
         ],
         "toColor": [
          252,
          235,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          189,
          229,
          255
         ],
         "toColor": [
          252,
          189,
          229,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          252,
          182,
          255
         ],
         "toColor": [
          182,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          215,
          252,
          255
         ],
         "toColor": [
          240,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          252,
          215,
          255
         ],
         "toColor": [
          224,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          228,
          255
         ],
         "toColor": [
          252,
          215,
          228,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          252,
          249,
          255
         ],
         "toColor": [
          184,
          252,
          249,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1517648.2802,
    "ymin": 5151996.5157,
    "xmax": 1583114.8826000001,
    "ymax": 5213637.5552,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "GROUP_",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "ADOPT_CERT",
     "type": "esriFieldTypeString",
     "alias": "ADOPT_CERT",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE_VISIT",
     "type": "esriFieldTypeString",
     "alias": "SITE_VISIT",
     "length": 100,
     "domain": null
    },
    {
     "name": "EXTRNAL_QA",
     "type": "esriFieldTypeString",
     "alias": "EXTRNAL_QA",
     "length": 100,
     "domain": null
    },
    {
     "name": "IMAGE",
     "type": "esriFieldTypeString",
     "alias": "IMAGE",
     "length": 50,
     "domain": null
    },
    {
     "name": "IMAGE_RES",
     "type": "esriFieldTypeDouble",
     "alias": "IMAGE_RES",
     "domain": null
    },
    {
     "name": "ORIGINATOR",
     "type": "esriFieldTypeString",
     "alias": "ORIGINATOR",
     "length": 50,
     "domain": null
    },
    {
     "name": "ORIG_NOTE",
     "type": "esriFieldTypeString",
     "alias": "ORIG_NOTE",
     "length": 254,
     "domain": null
    },
    {
     "name": "GNS_QA",
     "type": "esriFieldTypeString",
     "alias": "GNS_QA",
     "length": 50,
     "domain": null
    },
    {
     "name": "GNSQA_NOTE",
     "type": "esriFieldTypeString",
     "alias": "GNSQA_NOTE",
     "length": 254,
     "domain": null
    },
    {
     "name": "GNS_CERT",
     "type": "esriFieldTypeString",
     "alias": "GNS_CERT",
     "length": 50,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "GROUP_",
     "type": "esriFieldTypeString",
     "alias": "GROUP_",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 522,
   "name": "Liquefaction Susceptibility Lines",
   "type": "Feature Layer",
   "description": "Boundary lines of areas predicted to be susceptible to liquefaction.",
   "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": "GNS Science, Beca, Lincoln University, Golder Associates, Coffey Geotechnics Ltd, Tonkin & Taylor Ltd, Environment Canterbury.",
   "parentLayer": {
    "id": 524,
    "name": "Liquifaction susceptibility "
   },
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       168,
       0,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1537749.9857,
    "ymin": 5138981.2234,
    "xmax": 1610566.273,
    "ymax": 5224499.4314,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "Id",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "LEFT_FID",
     "type": "esriFieldTypeInteger",
     "alias": "LEFT_FID",
     "domain": null
    },
    {
     "name": "RIGHT_FID",
     "type": "esriFieldTypeInteger",
     "alias": "RIGHT_FID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 523,
   "name": "Liquefaction Susceptibility - Final",
   "type": "Feature Layer",
   "description": "Areas predicted to be susceptible to liquefaction.",
   "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": "GNS Science, Beca, Lincoln University, Golder Associates, Coffey Geotechnics Ltd, Tonkin & Taylor Ltd, Environment Canterbury.",
   "parentLayer": {
    "id": 524,
    "name": "Liquifaction susceptibility "
   },
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Type",
     "uniqueValueGroups": [
      {
       "heading": "Type",
       "classes": [
        {
         "label": "DBH TC zoned",
         "description": "DBH TC zoned",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSForwardDiagonal",
          "color": [
           38,
           115,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "DBH TC zoned"
          ]
         ]
        },
        {
         "label": "DBH not zoned",
         "description": "DBH not zoned",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           255,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "DBH not zoned"
          ]
         ]
        },
        {
         "label": "Damaging liquefaction unlikely",
         "description": "Damaging liquefaction unlikely",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           78,
           78,
           78,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Damaging liquefaction unlikely"
          ]
         ]
        },
        {
         "label": "Liquefaction assessment needed",
         "description": "Liquefaction assessment needed",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSBackwardDiagonal",
          "color": [
           230,
           152,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Liquefaction assessment needed"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSForwardDiagonal",
        "color": [
         38,
         115,
         0,
         255
        ],
        "outline": null
       },
       "value": "DBH TC zoned",
       "label": "DBH TC zoned"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         255,
         255
        ],
        "outline": null
       },
       "value": "DBH not zoned",
       "label": "DBH not zoned"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         78,
         78,
         78,
         255
        ],
        "outline": null
       },
       "value": "Damaging liquefaction unlikely",
       "label": "Damaging liquefaction unlikely"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSBackwardDiagonal",
        "color": [
         230,
         152,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Liquefaction assessment needed",
       "label": "Liquefaction assessment needed"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          252,
          187,
          255
         ],
         "toColor": [
          238,
          252,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          229,
          179,
          252,
          255
         ],
         "toColor": [
          229,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          238,
          252,
          255
         ],
         "toColor": [
          199,
          238,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          192,
          187,
          255
         ],
         "toColor": [
          252,
          192,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          218,
          255
         ],
         "toColor": [
          179,
          252,
          218,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          201,
          252,
          255
         ],
         "toColor": [
          194,
          201,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          235,
          207,
          255
         ],
         "toColor": [
          252,
          235,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          189,
          229,
          255
         ],
         "toColor": [
          252,
          189,
          229,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          252,
          182,
          255
         ],
         "toColor": [
          182,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          215,
          252,
          255
         ],
         "toColor": [
          240,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          252,
          215,
          255
         ],
         "toColor": [
          224,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          228,
          255
         ],
         "toColor": [
          252,
          215,
          228,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          252,
          249,
          255
         ],
         "toColor": [
          184,
          252,
          249,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1536583.2663000003,
    "ymin": 5138981.2234,
    "xmax": 1610566.273,
    "ymax": 5224953.2176,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "Type",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 30,
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 40,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 500,
   "name": "District Planning Zones",
   "type": "Feature Layer",
   "description": "District Planning Zones in the Canterbury Region.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "http://canterburymaps.govt.nz/partners",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "ZONE_TYPE",
     "uniqueValueGroups": [
      {
       "heading": "Zone Type",
       "classes": [
        {
         "label": "Business Zone",
         "description": "Business Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Business Zone"
          ]
         ]
        },
        {
         "label": "Conservation Zone",
         "description": "Conservation Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           137,
           205,
           102,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Conservation Zone"
          ]
         ]
        },
        {
         "label": "Cultural Zone",
         "description": "Cultural Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           223,
           115,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Cultural Zone"
          ]
         ]
        },
        {
         "label": "Open Space Zone",
         "description": "Open Space Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           233,
           255,
           190,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Open Space Zone"
          ]
         ]
        },
        {
         "label": "Residential Zone",
         "description": "Residential Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           190,
           190,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Residential Zone"
          ]
         ]
        },
        {
         "label": "Rural Residential Zone",
         "description": "Rural Residential Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           223,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Rural Residential Zone"
          ]
         ]
        },
        {
         "label": "Rural Zone",
         "description": "Rural Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           169,
           230,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Rural Zone"
          ]
         ]
        },
        {
         "label": "Special Purpose Zone",
         "description": "Special Purpose Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Special Purpose Zone"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Business Zone",
       "label": "Business Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         137,
         205,
         102,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Conservation Zone",
       "label": "Conservation Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         223,
         115,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Cultural Zone",
       "label": "Cultural Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         233,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Open Space Zone",
       "label": "Open Space Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         190,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Residential Zone",
       "label": "Residential Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         223,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Rural Residential Zone",
       "label": "Rural Residential Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         169,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Rural Zone",
       "label": "Rural Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Special Purpose Zone",
       "label": "Special Purpose Zone"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          56,
          168,
          0,
          255
         ],
         "toColor": [
          255,
          255,
          0,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          255,
          255,
          0,
          255
         ],
         "toColor": [
          255,
          0,
          0,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1676998138,
    "ymin": 4950306.210100174,
    "xmax": 1688162.4106001854,
    "ymax": 5360240.260200024,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ZONE_TYPE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ZONE_CODE",
     "type": "esriFieldTypeString",
     "alias": "ZONE_CODE",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZONE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "ZONE_DESCRIPTION",
     "length": 150,
     "domain": null
    },
    {
     "name": "ZONE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "ZONE_TYPE",
     "length": 25,
     "domain": null
    },
    {
     "name": "PLAN_NAME",
     "type": "esriFieldTypeString",
     "alias": "PLAN_NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "DATE_PLAN_NOTIFIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_PLAN_NOTIFIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_PLAN_OPERATIVE",
     "type": "esriFieldTypeDate",
     "alias": "DATE_PLAN_OPERATIVE",
     "length": 8,
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "length": 500,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeString",
     "alias": "ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 58,
     "domain": null
    },
    {
     "name": "DATE_CREATED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_CREATED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_LAST_MODIFIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_LAST_MODIFIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "DATE_SUPPLIED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_SUPPLIED",
     "length": 8,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 25,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Feedback",
     "type": "esriFieldTypeString",
     "alias": "Feedback",
     "length": 4000,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 599,
   "name": "Vegetation Coverage",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Simple_2012",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Indigenous forest",
         "description": "Indigenous forest",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           84,
           92,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Indigenous forest"
          ]
         ]
        },
        {
         "label": "Broadleaved indigenous hardwoods",
         "description": "Broadleaved indigenous hardwoods",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           168,
           184,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Broadleaved indigenous hardwoods"
          ]
         ]
        },
        {
         "label": "Scrub",
         "description": "Scrub",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           232,
           204,
           66,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Scrub"
          ]
         ]
        },
        {
         "label": "Tussock grassland",
         "description": "Tussock grassland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           237,
           161,
           102,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Tussock grassland"
          ]
         ]
        },
        {
         "label": "Alpine",
         "description": "Alpine",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           227,
           232,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Alpine vegetation"
          ]
         ]
        },
        {
         "label": "Other indigenous vegetation",
         "description": "Other indigenous vegetation",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           115,
           76,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Other"
          ]
         ]
        },
        {
         "label": "Exotic forest",
         "description": "Exotic forest",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           20,
           54,
           0,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Exotic forest"
          ]
         ]
        },
        {
         "label": "Exotic grassland",
         "description": "Exotic grassland",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           125,
           150,
           66,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Grassland"
          ]
         ]
        },
        {
         "label": "Cropping/horticulture",
         "description": "Cropping/horticulture",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           171,
           97,
           54,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Cropping/horticulture"
          ]
         ]
        },
        {
         "label": "Urban",
         "description": "Urban",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           78,
           78,
           78,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Urban"
          ]
         ]
        },
        {
         "label": "Snow and ice",
         "description": "Snow and ice",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           209,
           255,
           255,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Snow and ice"
          ]
         ]
        },
        {
         "label": "Bare ground",
         "description": "Bare ground",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           242,
           227,
           204,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Bare ground"
          ]
         ]
        },
        {
         "label": "Water",
         "description": "Water",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           76,
           115,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "Water"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         84,
         92,
         0,
         255
        ],
        "outline": null
       },
       "value": "Indigenous forest",
       "label": "Indigenous forest"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         168,
         184,
         0,
         255
        ],
        "outline": null
       },
       "value": "Broadleaved indigenous hardwoods",
       "label": "Broadleaved indigenous hardwoods"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         232,
         204,
         66,
         255
        ],
        "outline": null
       },
       "value": "Scrub",
       "label": "Scrub"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         237,
         161,
         102,
         255
        ],
        "outline": null
       },
       "value": "Tussock grassland",
       "label": "Tussock grassland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         227,
         232,
         255
        ],
        "outline": null
       },
       "value": "Alpine vegetation",
       "label": "Alpine"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         115,
         76,
         255
        ],
        "outline": null
       },
       "value": "Other",
       "label": "Other indigenous vegetation"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         20,
         54,
         0,
         255
        ],
        "outline": null
       },
       "value": "Exotic forest",
       "label": "Exotic forest"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         125,
         150,
         66,
         255
        ],
        "outline": null
       },
       "value": "Grassland",
       "label": "Exotic grassland"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         171,
         97,
         54,
         255
        ],
        "outline": null
       },
       "value": "Cropping/horticulture",
       "label": "Cropping/horticulture"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         78,
         78,
         78,
         255
        ],
        "outline": null
       },
       "value": "Urban",
       "label": "Urban"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         209,
         255,
         255,
         255
        ],
        "outline": null
       },
       "value": "Snow and ice",
       "label": "Snow and ice"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         242,
         227,
         204,
         255
        ],
        "outline": null
       },
       "value": "Bare ground",
       "label": "Bare ground"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         76,
         115,
         255
        ],
        "outline": null
       },
       "value": "Water",
       "label": "Water"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1677999496,
    "ymin": 5004764.927499771,
    "xmax": 1688157.0356001854,
    "ymax": 5360238.946700096,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name_1996",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WET_CONTEX",
     "type": "esriFieldTypeString",
     "alias": "WET_CONTEX",
     "length": 3,
     "domain": null
    },
    {
     "name": "Onshore",
     "type": "esriFieldTypeString",
     "alias": "Onshore",
     "length": 4,
     "domain": null
    },
    {
     "name": "LCDB_UID",
     "type": "esriFieldTypeString",
     "alias": "LCDB_UID",
     "length": 16,
     "domain": null
    },
    {
     "name": "EditDate",
     "type": "esriFieldTypeDate",
     "alias": "EditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "EditAuthor",
     "type": "esriFieldTypeString",
     "alias": "EditAuthor",
     "length": 254,
     "domain": null
    },
    {
     "name": "Class_1996",
     "type": "esriFieldTypeInteger",
     "alias": "Class_1996",
     "domain": null
    },
    {
     "name": "Class_2001",
     "type": "esriFieldTypeInteger",
     "alias": "Class_2001",
     "domain": null
    },
    {
     "name": "Class_2008",
     "type": "esriFieldTypeInteger",
     "alias": "Class_2008",
     "domain": null
    },
    {
     "name": "Class_2012",
     "type": "esriFieldTypeInteger",
     "alias": "Class_2012",
     "domain": null
    },
    {
     "name": "Name_1996",
     "type": "esriFieldTypeString",
     "alias": "Name_1996",
     "length": 254,
     "domain": null
    },
    {
     "name": "Name_2001",
     "type": "esriFieldTypeString",
     "alias": "Name_2001",
     "length": 254,
     "domain": null
    },
    {
     "name": "Name_2008",
     "type": "esriFieldTypeString",
     "alias": "Name_2008",
     "length": 254,
     "domain": null
    },
    {
     "name": "Name_2012",
     "type": "esriFieldTypeString",
     "alias": "Name_2012",
     "length": 254,
     "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": 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_STArea__",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STArea__",
     "domain": null
    },
    {
     "name": "Shape_STLength__",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLength__",
     "domain": null
    },
    {
     "name": "Simple_1996",
     "type": "esriFieldTypeString",
     "alias": "Simple_1996",
     "length": 50,
     "domain": null
    },
    {
     "name": "Simple_2012",
     "type": "esriFieldTypeString",
     "alias": "Simple_2012",
     "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": 1000,
   "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": 616,
   "name": "Base Layers Labels",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 609,
     "name": "Population center and locality labels"
    },
    {
     "id": 610,
     "name": "Hydrographic feature labels"
    },
    {
     "id": 611,
     "name": "Parks, forests, and reserves labels"
    },
    {
     "id": 612,
     "name": "Address point labels"
    },
    {
     "id": 613,
     "name": "Road labels"
    },
    {
     "id": 614,
     "name": "Regional authority labels"
    },
    {
     "id": 615,
     "name": "Territorial authority labels"
    },
    {
     "id": 503,
     "name": "Lakes, Ponds and River Labels"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": true,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 609,
   "name": "Population center and locality labels",
   "type": "Feature Layer",
   "description": "Gazetter of placenames in Canterbury including; main centres, towns, populated areas & significant local land marks sourced from LINZ.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land information New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "3d4fea18e1764bc46eac56c84c383b0e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhQAMspAsAAALsABGvxex8AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 3,
      "height": 3,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE = 'SUBURB'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 100000,
      "name": "Suburbs <100,000",
      "priority": 6,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE In ( 'METR' ) OR PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 1000000,
      "name": "Metropolitan Areas <1,000,000",
      "priority": 2,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "(FEATURE_TYPE In ( 'TOWN') OR PLACENAME IN ( 'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine' )) AND NOT PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 4000000,
      "name": "Towns And Regional centres",
      "priority": 7,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE In ( 'METR' ) OR PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 4000000,
      "name": "Metropolitan Areas >1,000,000",
      "priority": 4,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "NOT PLACENAME IN (  'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine','ASHBURTON' , 'TIMARU' ) AND FEATURE_TYPE IN (  'POPULATED PLACE')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 250000,
      "name": "Population Centres < 250,000",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "NOT PLACENAME IN (  'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine','ASHBURTON' , 'TIMARU' ) AND FEATURE_TYPE IN ( 'LOCALITY')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Localities <50,000",
      "priority": 12,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1347700.778600216,
    "ymin": 5016812.282400131,
    "xmax": 2464483.4447999,
    "ymax": 5349325.324299812,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 610,
   "name": "Hydrographic feature labels",
   "type": "Feature Layer",
   "description": "Labels for hydrographic features such as rivers, lakes, drains, etc. Source from the LINZ Placenames database.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "4cc0ed55d972ebe6295a53aa5229851c",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhwAFYBlICAAjKABk/1SSdAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 4,
      "height": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE = 'LAKE' AND NOT PLACENAME IN ( 'Lake Waitaki' , 'Lake Benmore' , 'Lake Tekapo' , 'Lake Pukaki', 'Lake Ellesmere (Te Waihora)', 'Lake Coleridge', 'Lake Ohau', 'Lake Sumner' ) AND DISPLAYCLASS <> 0",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Lakes",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE IN ('STREAM', 'WATER WAY')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 25000,
      "name": "Rivers and Streams",
      "priority": 24,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE IN ( 'BAY/INLET' , 'ESTUARY' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Coastal Features",
      "priority": 18,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS IN (1)",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Major Rivers",
      "priority": 19,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1090244.515299797,
    "ymin": 4748042.427599907,
    "xmax": 2470299.3586001396,
    "ymax": 6223148.442900181,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 611,
   "name": "Parks, forests, and reserves labels",
   "type": "Feature Layer",
   "description": "Labels for hydrographic features such as rivers, lakes, drains, etc. Source from the LINZ Placenames database.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE IN ( 'FOREST' , 'PARK'  )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 25000,
      "name": "Parks",
      "priority": 16,
      "symbol": {
       "type": "esriTS",
       "color": [
        56,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1090244.515299797,
    "ymin": 4748042.427599907,
    "xmax": 2470299.3586001396,
    "ymax": 6223148.442900181,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 612,
   "name": "Address point labels",
   "type": "Feature Layer",
   "description": "Land parcels street address points originally sourced from Land Information New Zealand (please note these do not represent deliverable address points)",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury 2009",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 4000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[house_number]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000,
      "name": "< 1:2,000",
      "priority": 36,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        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.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[HOUSE_NUMBER]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 2001,
      "minScale": 4001,
      "name": "1:2,001 to 1:4,000",
      "priority": 35,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        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": 1.2,
       "font": {
        "family": "Arial",
        "size": 7.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1329312.5939998627,
    "ymin": 4945339.816699982,
    "xmax": 1691387.5998997688,
    "ymax": 5362357.0342001915,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "road_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "house_number",
     "type": "esriFieldTypeString",
     "alias": "HOUSE_NUMBER",
     "length": 25,
     "domain": null
    },
    {
     "name": "locality",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 30,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeInteger",
     "alias": "PAR_ID",
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "rna_id",
     "type": "esriFieldTypeInteger",
     "alias": "rna_id",
     "domain": null
    },
    {
     "name": "address",
     "type": "esriFieldTypeString",
     "alias": "address",
     "length": 126,
     "domain": null
    },
    {
     "name": "road_name",
     "type": "esriFieldTypeString",
     "alias": "road_name",
     "length": 100,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 255,
     "domain": null
    },
    {
     "name": "rcl_id",
     "type": "esriFieldTypeInteger",
     "alias": "rcl_id",
     "domain": null
    },
    {
     "name": "range_low",
     "type": "esriFieldTypeInteger",
     "alias": "range_low",
     "domain": null
    },
    {
     "name": "range_high",
     "type": "esriFieldTypeInteger",
     "alias": "range_high",
     "domain": null
    },
    {
     "name": "EXTRACT_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EXTRACT_DATE",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 613,
   "name": "Road labels",
   "type": "Feature Layer",
   "description": "Labels for road and street names in Canterbury.  Taken from the LINZ CRS system representaion of Streets and Roads.  Updated monthly.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       236,
       233,
       216,
       0
      ],
      "width": 4
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 4001,
      "minScale": 15000,
      "name": "Level 2 - 1:4,001 to 1:15,000",
      "priority": 29,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 15001,
      "minScale": 25000,
      "name": "Level 1 - 1:15,000 to 1:25,000",
      "priority": 28,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 2001,
      "minScale": 4000,
      "name": "Level 3 - 1:2,001 to 1:4,000",
      "priority": 31,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000,
      "name": "Level 4 - <= 1:2,000",
      "priority": 33,
      "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": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[other_names]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "lineOrientation": "unconstrained",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "where": "other_names LIKE 'SH%'",
      "useCodedValues": true,
      "maxScale": 25001,
      "minScale": 250000,
      "name": "Level 0 - 1:25,001 to 1:250,000",
      "priority": 26,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1329443.0248999596,
    "ymin": 4944825.082099915,
    "xmax": 1691797.4583997726,
    "ymax": 5362938.070400238,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "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": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    },
    {
     "name": "name",
     "type": "esriFieldTypeString",
     "alias": "name",
     "length": 100,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 255,
     "domain": null
    },
    {
     "name": "other_names",
     "type": "esriFieldTypeString",
     "alias": "other_names",
     "length": 255,
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "EXTRACT_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EXTRACT_DATE",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 614,
   "name": "Regional authority labels",
   "type": "Feature Layer",
   "description": "Regional authority boundaries originally sourced from Statistics New Zealand.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury (2009)",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 1000001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       236,
       233,
       216,
       0
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 1000001,
      "minScale": 8000000,
      "name": "Default",
      "priority": 39,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "REGC",
     "type": "esriFieldTypeString",
     "alias": "REGC",
     "length": 2,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": "WS3_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": "WS3_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_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": ""
    },
    {
     "name": "I11REGC",
     "fields": "REGC",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I11NAME",
     "fields": "NAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 615,
   "name": "Territorial authority labels",
   "type": "Feature Layer",
   "description": "City and district council labels.  Constructed from 2006 Census Meshblock dataset.",
   "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": "Statistics New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 50001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       240,
       240,
       240,
       0
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 50001,
      "minScale": 1000000,
      "name": "Default",
      "priority": 40,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1089969.8890000004,
    "ymin": 4747987.3642,
    "xmax": 2470041.9028000003,
    "ymax": 6194308.4926,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "TA",
     "type": "esriFieldTypeString",
     "alias": "TA",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "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": "WS3_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": "WS3_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": ""
    },
    {
     "name": "I13TA",
     "fields": "TA",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I13NAME",
     "fields": "NAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 503,
   "name": "Lakes, Ponds and River Labels",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 616,
    "name": "Base Layers Labels"
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "87bab53f01d8472eaa053df783121e3e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQYlWNhIABYRoYCABOYACEvhpUDAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 6,
      "height": 6,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS = 1",
      "useCodedValues": true,
      "maxScale": 500000,
      "minScale": 0,
      "name": "Major",
      "priority": 102,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS IN (1, 2)",
      "useCodedValues": true,
      "maxScale": 125000,
      "minScale": 499999,
      "name": "Minor",
      "priority": 116,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS IN (1, 2, 0)",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 124999,
      "name": "All",
      "priority": 124,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1090244.5153,
    "ymin": 4748042.4276,
    "xmax": 2470299.3586,
    "ymax": 6223148.4429,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": {
      "type": "codedValue",
      "name": "WS3_Layer_DisplayClass",
      "description": "Classes for breaking down when features should be displayed at different scales.",
      "codedValues": [
       {
        "name": "All scales",
        "code": 0
       },
       {
        "name": "Major features",
        "code": 1
       },
       {
        "name": "Minor features",
        "code": 2
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 50,
     "domain": null
    },
    {
     "name": "TACODE",
     "type": "esriFieldTypeString",
     "alias": "TACODE",
     "length": 3,
     "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": "I33REGION",
     "fields": "REGION",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I33PLACENAME",
     "fields": "PLACENAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I33FEATURE_TYPE",
     "fields": "FEATURE_TYPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I33DISPLAYCLASS",
     "fields": "DISPLAYCLASS",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 608,
   "name": "Base Layers",
   "type": "Group Layer",
   "description": "",
   "geometryType": null,
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 600,
     "name": "Regional Boundaries"
    },
    {
     "id": 601,
     "name": "Territorial Authority Boundaries"
    },
    {
     "id": 602,
     "name": "State highways (>1:1,000,000)"
    },
    {
     "id": 603,
     "name": "State highways (<1:1,000,000)"
    },
    {
     "id": 604,
     "name": "State highways (<1:250,000)"
    },
    {
     "id": 605,
     "name": "Roads (250,000 - 50,000)"
    },
    {
     "id": 606,
     "name": "Land Parcels"
    },
    {
     "id": 607,
     "name": "State highways outside Canterbury"
    },
    {
     "id": 504,
     "name": "Rivers and Streams - 1:250,000"
    },
    {
     "id": 505,
     "name": "Lakes and Ponds - 1:250,000"
    },
    {
     "id": 506,
     "name": "Rivers and Streams - 1:50,000"
    },
    {
     "id": 507,
     "name": "Lakes, Ponds and Rivers - 1:50,000"
    },
    {
     "id": 508,
     "name": "Wetland Areas"
    },
    {
     "id": 509,
     "name": "Wetlands of Representive Importance"
    },
    {
     "id": 617,
     "name": "Coastline"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": true,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": 600,
   "name": "Regional Boundaries",
   "type": "Feature Layer",
   "description": "Regionalauthority boundaries originally sourced from Statistics New Zealand.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury (2009)",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 16000000,
   "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,
        0,
        0,
        255
       ],
       "width": 2.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "REGC",
     "type": "esriFieldTypeString",
     "alias": "REGC",
     "length": 2,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": "WS3_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": "WS3_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_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": ""
    },
    {
     "name": "I11REGC",
     "fields": "REGC",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I11NAME",
     "fields": "NAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 601,
   "name": "Territorial Authority Boundaries",
   "type": "Feature Layer",
   "description": "City and district council boundaries.  Constructed from 2006 Census Meshblock dataset.",
   "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": "Statistics New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 1000000,
   "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": [
        255,
        0,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1089969.8890000004,
    "ymin": 4747987.3642,
    "xmax": 2470041.9028000003,
    "ymax": 6194308.4926,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "TA",
     "type": "esriFieldTypeString",
     "alias": "TA",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "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": "WS3_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": "WS3_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": ""
    },
    {
     "name": "I13TA",
     "fields": "TA",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I13NAME",
     "fields": "NAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 602,
   "name": "State highways (>1:1,000,000)",
   "type": "Feature Layer",
   "description": "State highways in Canterbury sourced from the LINZ CRS system representaion of State highways.  Updated monthly.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 1000001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 1.2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1142684.3046000004,
    "ymin": 4793731.8725,
    "xmax": 2464998.3706,
    "ymax": 6190615.6094,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "ROAD_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ROAD_NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 43,
     "domain": null
    },
    {
     "name": "ROAD_SURFACE",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SURFACE",
     "length": 10,
     "domain": null
    },
    {
     "name": "LANES",
     "type": "esriFieldTypeInteger",
     "alias": "LANES",
     "domain": null
    },
    {
     "name": "ROAD_HIGHWAY",
     "type": "esriFieldTypeString",
     "alias": "ROAD_HIGHWAY",
     "length": 6,
     "domain": null
    },
    {
     "name": "ROAD_SUFI",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SUFI",
     "length": 13,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 603,
   "name": "State highways (<1:1,000,000)",
   "type": "Feature Layer",
   "description": "State highways in Canterbury sourced from the LINZ CRS system representaion of State highways.  Updated monthly.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ROAD_HIGHWAY]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1142684.3046000004,
    "ymin": 4793731.8725,
    "xmax": 2464998.3706,
    "ymax": 6190615.6094,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "ROAD_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ROAD_NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 43,
     "domain": null
    },
    {
     "name": "ROAD_SURFACE",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SURFACE",
     "length": 10,
     "domain": null
    },
    {
     "name": "LANES",
     "type": "esriFieldTypeInteger",
     "alias": "LANES",
     "domain": null
    },
    {
     "name": "ROAD_HIGHWAY",
     "type": "esriFieldTypeString",
     "alias": "ROAD_HIGHWAY",
     "length": 6,
     "domain": null
    },
    {
     "name": "ROAD_SUFI",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SUFI",
     "length": 13,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "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": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 604,
   "name": "State highways (<1:250,000)",
   "type": "Feature Layer",
   "description": "State highways in Canterbury sourced from the LINZ CRS system representaion of State highways. Updated monthly.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 16001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ROAD_HIGHWAY]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 17,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1142684.3046000004,
    "ymin": 4793731.8725,
    "xmax": 2464998.3706,
    "ymax": 6190615.6094,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "ROAD_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ROAD_NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 43,
     "domain": null
    },
    {
     "name": "ROAD_SURFACE",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SURFACE",
     "length": 10,
     "domain": null
    },
    {
     "name": "LANES",
     "type": "esriFieldTypeInteger",
     "alias": "LANES",
     "domain": null
    },
    {
     "name": "ROAD_HIGHWAY",
     "type": "esriFieldTypeString",
     "alias": "ROAD_HIGHWAY",
     "length": 6,
     "domain": null
    },
    {
     "name": "ROAD_SUFI",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SUFI",
     "length": 13,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "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": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 605,
   "name": "Roads (250,000 - 50,000)",
   "type": "Feature Layer",
   "description": "Road and streets in Canterbury sourced from from the LINZ CRS system representaion of Streets and Roads.  Updated monthly.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 50001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       204,
       204,
       204,
       255
      ],
      "width": 1.2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1329443.0248999596,
    "ymin": 4944825.082099915,
    "xmax": 1691797.4583997726,
    "ymax": 5362938.070400238,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "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": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    },
    {
     "name": "name",
     "type": "esriFieldTypeString",
     "alias": "name",
     "length": 100,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 255,
     "domain": null
    },
    {
     "name": "other_names",
     "type": "esriFieldTypeString",
     "alias": "other_names",
     "length": 255,
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "EXTRACT_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EXTRACT_DATE",
     "length": 8,
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 606,
   "name": "Land Parcels",
   "type": "Feature Layer",
   "description": "Land parcel boundaries taken from the LINZ CRS system.  Updated monthly.",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 50000,
   "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,
        0,
        0,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1316605.1447,
    "ymin": 4932233.4777,
    "xmax": 1697451.0921000002,
    "ymax": 5372458.4862,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Appellation",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "Appellation",
     "type": "esriFieldTypeString",
     "alias": "Appellation",
     "length": 2048,
     "domain": null
    },
    {
     "name": "Titles",
     "type": "esriFieldTypeString",
     "alias": "Titles",
     "length": 2147483647,
     "domain": null
    },
    {
     "name": "Land_District",
     "type": "esriFieldTypeString",
     "alias": "Land_District",
     "length": 100,
     "domain": null
    },
    {
     "name": "Valuation_No",
     "type": "esriFieldTypeString",
     "alias": "Valuation_No",
     "length": 12,
     "domain": null
    },
    {
     "name": "TA_Property_ID",
     "type": "esriFieldTypeString",
     "alias": "TA_Property_ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "Roll_No",
     "type": "esriFieldTypeString",
     "alias": "Roll_No",
     "length": 5,
     "domain": null
    },
    {
     "name": "Assessment",
     "type": "esriFieldTypeString",
     "alias": "Assessment",
     "length": 5,
     "domain": null
    },
    {
     "name": "Suffix",
     "type": "esriFieldTypeString",
     "alias": "Suffix",
     "length": 2,
     "domain": null
    },
    {
     "name": "Valuation_Legal_Descriptions",
     "type": "esriFieldTypeString",
     "alias": "Valuation_Legal_Descriptions",
     "length": 255,
     "domain": null
    },
    {
     "name": "TA_Code",
     "type": "esriFieldTypeString",
     "alias": "TA_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "Territorial_Authority",
     "type": "esriFieldTypeString",
     "alias": "Territorial_Authority",
     "length": 100,
     "domain": null
    },
    {
     "name": "Affected_Surveys",
     "type": "esriFieldTypeString",
     "alias": "Affected_Surveys",
     "length": 2048,
     "domain": null
    },
    {
     "name": "Parcel_Intent",
     "type": "esriFieldTypeString",
     "alias": "Parcel_Intent",
     "length": 100,
     "domain": null
    },
    {
     "name": "Topology_Type",
     "type": "esriFieldTypeString",
     "alias": "Topology_Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "Statutory_Actions",
     "type": "esriFieldTypeString",
     "alias": "Statutory_Actions",
     "length": 2147483647,
     "domain": null
    },
    {
     "name": "Survey_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Survey_Area",
     "domain": null
    },
    {
     "name": "Calc_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Calc_Area",
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 300,
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeInteger",
     "alias": "PAR_ID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Length",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_Area",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 607,
   "name": "State highways outside Canterbury",
   "type": "Feature Layer",
   "description": "State highways outside of Canterbury sourced from the LINZ CRS system representaion of State highways.  Updated monthly.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 16000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       178,
       178,
       178,
       255
      ],
      "width": 0.6
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1142684.3046000004,
    "ymin": 4793731.8725,
    "xmax": 2464998.3706,
    "ymax": 6190615.6094,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "ROAD_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ROAD_NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 43,
     "domain": null
    },
    {
     "name": "ROAD_SURFACE",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SURFACE",
     "length": 10,
     "domain": null
    },
    {
     "name": "LANES",
     "type": "esriFieldTypeInteger",
     "alias": "LANES",
     "domain": null
    },
    {
     "name": "ROAD_HIGHWAY",
     "type": "esriFieldTypeString",
     "alias": "ROAD_HIGHWAY",
     "length": 6,
     "domain": null
    },
    {
     "name": "ROAD_SUFI",
     "type": "esriFieldTypeString",
     "alias": "ROAD_SUFI",
     "length": 13,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 504,
   "name": "Rivers and Streams - 1:250,000",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 125001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "HIERARCHY",
     "uniqueValueGroups": [
      {
       "heading": "Rivers and Streams",
       "classes": [
        {
         "label": "All Rivers",
         "description": "All Rivers",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 0.6
         },
         "values": [
          [
           "0"
          ],
          [
           "1"
          ],
          [
           "2"
          ]
         ]
        },
        {
         "label": "Main Rivers",
         "description": "Main Rivers",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           92,
           230,
           255
          ],
          "width": 1
         },
         "values": [
          [
           "3"
          ],
          [
           "4"
          ],
          [
           "5"
          ],
          [
           "6"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "0",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "1",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "2",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "3",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "4",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "5",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "6",
       "label": "Main Rivers"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          199,
          48,
          255
         ],
         "toColor": [
          166,
          199,
          48,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          159,
          46,
          176,
          255
         ],
         "toColor": [
          159,
          46,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          65,
          177,
          196,
          255
         ],
         "toColor": [
          65,
          177,
          196,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          53,
          44,
          255
         ],
         "toColor": [
          171,
          53,
          44,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          73,
          113,
          201,
          255
         ],
         "toColor": [
          73,
          113,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          43,
          196,
          125,
          255
         ],
         "toColor": [
          43,
          196,
          125,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          168,
          133,
          42,
          255
         ],
         "toColor": [
          168,
          133,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          39,
          103,
          255
         ],
         "toColor": [
          163,
          39,
          103,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          37,
          39,
          161,
          255
         ],
         "toColor": [
          37,
          39,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          60,
          199,
          42,
          255
         ],
         "toColor": [
          60,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          90,
          158,
          51,
          255
         ],
         "toColor": [
          90,
          158,
          51,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          44,
          191,
          169,
          255
         ],
         "toColor": [
          44,
          191,
          169,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          54,
          108,
          156,
          255
         ],
         "toColor": [
          54,
          108,
          156,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1324523.9845000003,
    "ymin": 5005369.8834,
    "xmax": 1691877.6246999996,
    "ymax": 5359553.7188,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "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": "FC",
     "type": "esriFieldTypeString",
     "alias": "FC",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 16,
     "domain": null
    },
    {
     "name": "GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "GROUP_NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "HIERARCHY",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HIERARCHY",
     "domain": null
    },
    {
     "name": "HLENGTH",
     "type": "esriFieldTypeDouble",
     "alias": "HLENGTH",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 505,
   "name": "Lakes and Ponds - 1:250,000",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 250001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       222,
       244,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        190,
        232,
        255,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1331317.4241000004,
    "ymin": 5020412.1096,
    "xmax": 1648934.3881,
    "ymax": 5336393.3075,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "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": "FC",
     "type": "esriFieldTypeString",
     "alias": "FC",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 16,
     "domain": null
    },
    {
     "name": "GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "GROUP_NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "HIERARCHY",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HIERARCHY",
     "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": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 506,
   "name": "Rivers and Streams - 1:50,000",
   "type": "Feature Layer",
   "description": "River, stream and canal features from the LINZ 1:50,000 scale Topomaps.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FEATURE_TYPE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Rivers and Streams",
         "description": "Rivers and Streams",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 1
         },
         "values": [
          [
           "Rapid"
          ],
          [
           "River"
          ],
          [
           "Waterfall"
          ]
         ]
        },
        {
         "label": "Canals and Water Races",
         "description": "Canals and Water Races",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           112,
           255,
           255
          ],
          "width": 1.25
         },
         "values": [
          [
           "Canal"
          ],
          [
           "Water Race"
          ]
         ]
        },
        {
         "label": "Drains",
         "description": "Drains",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 0.7
         },
         "values": [
          [
           "Drain"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "Rapid",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "River",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "Waterfall",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 1.25
       },
       "value": "Canal",
       "label": "Canals and Water Races"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 1.25
       },
       "value": "Water Race",
       "label": "Canals and Water Races"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.7
       },
       "value": "Drain",
       "label": "Drains"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1090206.6173,
    "ymin": 4748880.5362,
    "xmax": 2467017.0634000003,
    "ymax": 6221332.9618,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "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": "esriFieldTypeDouble",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 42,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 12,
     "domain": null
    },
    {
     "name": "RIVER_DEFINITION",
     "type": "esriFieldTypeString",
     "alias": "RIVER_DEFINITION",
     "length": 10,
     "domain": null
    },
    {
     "name": "WATER_RACE",
     "type": "esriFieldTypeString",
     "alias": "WATER_RACE",
     "length": 7,
     "domain": null
    },
    {
     "name": "WATERFALL",
     "type": "esriFieldTypeDouble",
     "alias": "WATERFALL",
     "domain": null
    },
    {
     "name": "X_OFFSET",
     "type": "esriFieldTypeDouble",
     "alias": "X_OFFSET",
     "domain": null
    },
    {
     "name": "Y_OFFSET",
     "type": "esriFieldTypeDouble",
     "alias": "Y_OFFSET",
     "domain": null
    },
    {
     "name": "DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "DISPLAY",
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 15,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 507,
   "name": "Lakes, Ponds and Rivers - 1:50,000",
   "type": "Feature Layer",
   "description": "Water features as show on the 1:50,000 Topo Map Series.",
   "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": "Land Information New Zealand",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FEATURE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Rivers and Streams",
         "description": "Rivers and Streams",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            115,
            178,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "RIVER"
          ],
          [
           "RAPID"
          ]
         ]
        },
        {
         "label": "Lakes, Ponds and Reservoirs",
         "description": "Lakes, Ponds and Reservoirs",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           222,
           244,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            190,
            232,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "LAGOON"
          ],
          [
           "LAKE"
          ],
          [
           "POND"
          ],
          [
           "RESERVOIR"
          ]
         ]
        },
        {
         "label": "Canals and Water Races",
         "description": "Canals and Water Races",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           112,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "CANAL"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          178,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "RIVER",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          178,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "RAPID",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "LAGOON",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "LAKE",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "POND",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "RESERVOIR",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "CANAL",
       "label": "Canals and Water Races"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          114,
          128,
          75,
          255
         ],
         "toColor": [
          114,
          128,
          75,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          171,
          78,
          222,
          255
         ],
         "toColor": [
          171,
          78,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          87,
          235,
          82,
          255
         ],
         "toColor": [
          87,
          235,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          89,
          128,
          255
         ],
         "toColor": [
          227,
          89,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          97,
          146,
          207,
          255
         ],
         "toColor": [
          97,
          146,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          250,
          225,
          255
         ],
         "toColor": [
          145,
          250,
          225,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          216,
          104,
          255
         ],
         "toColor": [
          247,
          216,
          104,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          214,
          133,
          209,
          255
         ],
         "toColor": [
          214,
          133,
          209,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          82,
          63,
          138,
          255
         ],
         "toColor": [
          82,
          63,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          164,
          142,
          255
         ],
         "toColor": [
          230,
          164,
          142,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          61,
          145,
          144,
          255
         ],
         "toColor": [
          61,
          145,
          144,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          140,
          207,
          118,
          255
         ],
         "toColor": [
          140,
          207,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          99,
          247,
          255
         ],
         "toColor": [
          92,
          99,
          247,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1090143.3318999996,
    "ymin": 4749800.3351,
    "xmax": 2466098.1902,
    "ymax": 6191027.6469,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "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": "ID",
     "type": "esriFieldTypeDouble",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 42,
     "domain": null
    },
    {
     "name": "FEATURE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE",
     "length": 50,
     "domain": null
    },
    {
     "name": "LAKE_GROUP",
     "type": "esriFieldTypeString",
     "alias": "LAKE_GROUP",
     "length": 26,
     "domain": null
    },
    {
     "name": "LAKE_USE",
     "type": "esriFieldTypeString",
     "alias": "LAKE_USE",
     "length": 14,
     "domain": null
    },
    {
     "name": "LAKE_PEREN",
     "type": "esriFieldTypeString",
     "alias": "LAKE_PEREN",
     "length": 8,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "POND_USE",
     "type": "esriFieldTypeString",
     "alias": "POND_USE",
     "length": 16,
     "domain": null
    },
    {
     "name": "DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "DISPLAY",
     "domain": null
    },
    {
     "name": "RESERVOIR",
     "type": "esriFieldTypeString",
     "alias": "RESERVOIR",
     "length": 7,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS3_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": "WS3_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": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 508,
   "name": "Wetland Areas",
   "type": "Feature Layer",
   "description": "Features identified as part of a desktop study related to recorded wetlands within the Canterbury Region.  Information collated from various sources, including aerial imagery and the New Zealand NZMS250 series topo maps.\n\nNote: Information in this layer has not been field verified.  The location of a feature in this layer does not necessarily indicate the actual presence of a wetland at that location.",
   "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": "Department of Conservation",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 50000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       115,
       255,
       223,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1327492.7977,
    "ymin": 5007131.8176,
    "xmax": 1677634.0705000004,
    "ymax": 5331692.7337,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "FEATURE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE",
     "length": 8,
     "domain": null
    },
    {
     "name": "FIELDCHKD",
     "type": "esriFieldTypeString",
     "alias": "FIELDCHKD",
     "length": 3,
     "domain": null
    },
    {
     "name": "SOURCES",
     "type": "esriFieldTypeString",
     "alias": "SOURCES",
     "length": 40,
     "domain": null
    },
    {
     "name": "BDY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "BDY_TYPE",
     "length": 30,
     "domain": null
    },
    {
     "name": "INFOMATCH",
     "type": "esriFieldTypeString",
     "alias": "INFOMATCH",
     "length": 35,
     "domain": null
    },
    {
     "name": "SITE_NO",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SITE_NO",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 37,
     "domain": null
    },
    {
     "name": "PHOTOSURVE",
     "type": "esriFieldTypeString",
     "alias": "PHOTOSURVE",
     "length": 19,
     "domain": null
    },
    {
     "name": "RUN_NO",
     "type": "esriFieldTypeString",
     "alias": "RUN_NO",
     "length": 10,
     "domain": null
    },
    {
     "name": "PHOTO_NO",
     "type": "esriFieldTypeString",
     "alias": "PHOTO_NO",
     "length": 18,
     "domain": null
    },
    {
     "name": "PALUSTRINE",
     "type": "esriFieldTypeString",
     "alias": "PALUSTRINE",
     "length": 11,
     "domain": null
    },
    {
     "name": "LACUSTRINE",
     "type": "esriFieldTypeString",
     "alias": "LACUSTRINE",
     "length": 10,
     "domain": null
    },
    {
     "name": "RIVERINE",
     "type": "esriFieldTypeString",
     "alias": "RIVERINE",
     "length": 10,
     "domain": null
    },
    {
     "name": "COASTAL",
     "type": "esriFieldTypeString",
     "alias": "COASTAL",
     "length": 10,
     "domain": null
    },
    {
     "name": "PLANTS",
     "type": "esriFieldTypeString",
     "alias": "PLANTS",
     "length": 21,
     "domain": null
    },
    {
     "name": "ANIMALS",
     "type": "esriFieldTypeString",
     "alias": "ANIMALS",
     "length": 15,
     "domain": null
    },
    {
     "name": "SPECIALBIO",
     "type": "esriFieldTypeString",
     "alias": "SPECIALBIO",
     "length": 21,
     "domain": null
    },
    {
     "name": "SURFACEWAT",
     "type": "esriFieldTypeString",
     "alias": "SURFACEWAT",
     "length": 15,
     "domain": null
    },
    {
     "name": "HUMANFEATU",
     "type": "esriFieldTypeString",
     "alias": "HUMANFEATU",
     "length": 23,
     "domain": null
    },
    {
     "name": "NATURALNES",
     "type": "esriFieldTypeString",
     "alias": "NATURALNES",
     "length": 14,
     "domain": null
    },
    {
     "name": "RESTORATIO",
     "type": "esriFieldTypeString",
     "alias": "RESTORATIO",
     "length": 15,
     "domain": null
    },
    {
     "name": "PROTECTION",
     "type": "esriFieldTypeString",
     "alias": "PROTECTION",
     "length": 14,
     "domain": null
    },
    {
     "name": "ADJAC_USE",
     "type": "esriFieldTypeString",
     "alias": "ADJAC_USE",
     "length": 18,
     "domain": null
    },
    {
     "name": "THREATS",
     "type": "esriFieldTypeString",
     "alias": "THREATS",
     "length": 18,
     "domain": null
    },
    {
     "name": "INFO_SOURC",
     "type": "esriFieldTypeString",
     "alias": "INFO_SOURC",
     "length": 52,
     "domain": null
    },
    {
     "name": "INFODATE",
     "type": "esriFieldTypeString",
     "alias": "INFODATE",
     "length": 20,
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSTESSAID",
     "type": "esriFieldTypeInteger",
     "alias": "NSTESSAID",
     "domain": null
    },
    {
     "name": "NSNAME",
     "type": "esriFieldTypeString",
     "alias": "NSNAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "NSDESC1",
     "type": "esriFieldTypeString",
     "alias": "NSDESC1",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC2",
     "type": "esriFieldTypeString",
     "alias": "NSDESC2",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC3",
     "type": "esriFieldTypeString",
     "alias": "NSDESC3",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC4",
     "type": "esriFieldTypeString",
     "alias": "NSDESC4",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC5",
     "type": "esriFieldTypeString",
     "alias": "NSDESC5",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC6",
     "type": "esriFieldTypeString",
     "alias": "NSDESC6",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC7",
     "type": "esriFieldTypeString",
     "alias": "NSDESC7",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC8",
     "type": "esriFieldTypeString",
     "alias": "NSDESC8",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSDESC9",
     "type": "esriFieldTypeString",
     "alias": "NSDESC9",
     "length": 250,
     "domain": null
    },
    {
     "name": "NSCOMMENTS",
     "type": "esriFieldTypeString",
     "alias": "NSCOMMENTS",
     "length": 14,
     "domain": null
    },
    {
     "name": "PLAINSID",
     "type": "esriFieldTypeString",
     "alias": "PLAINSID",
     "length": 8,
     "domain": null
    },
    {
     "name": "PL_PRIORIT",
     "type": "esriFieldTypeString",
     "alias": "PL_PRIORIT",
     "length": 9,
     "domain": null
    },
    {
     "name": "PL_SPECIES",
     "type": "esriFieldTypeString",
     "alias": "PL_SPECIES",
     "length": 178,
     "domain": null
    },
    {
     "name": "PL_VEGTYPE",
     "type": "esriFieldTypeString",
     "alias": "PL_VEGTYPE",
     "length": 27,
     "domain": null
    },
    {
     "name": "PL_DOCSHAP",
     "type": "esriFieldTypeString",
     "alias": "PL_DOCSHAP",
     "length": 11,
     "domain": null
    },
    {
     "name": "PL_NATIVEN",
     "type": "esriFieldTypeString",
     "alias": "PL_NATIVEN",
     "length": 12,
     "domain": null
    },
    {
     "name": "PL_REGEN",
     "type": "esriFieldTypeString",
     "alias": "PL_REGEN",
     "length": 7,
     "domain": null
    },
    {
     "name": "PL_DATE",
     "type": "esriFieldTypeDate",
     "alias": "PL_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PL_COMMENT",
     "type": "esriFieldTypeString",
     "alias": "PL_COMMENT",
     "length": 167,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 509,
   "name": "Wetlands of Representive Importance",
   "type": "Feature Layer",
   "description": "WERI (Wetlands of Ecological and Representative Importance), is a computer database which contains records on approximately 3,000 wetlands throughout New Zealand. Originated by the Department of Conservation. The Department holds inventories on wetlands: WERI database (Wetlands of Ecological and Regional Importance), Coastal Resource Inventory (including wetlands such as mangroves) and SSWI (Sites of Special Wildlife Interest). These inventories, particular WERI, form an important basis for the Department's advocacy of appropriate management of wetlands by private landowners. Conservation Management Strategies and Regional Policy Statements have provided Department of Conservation and Regional Councils with the chance to identify and state management goals for wetlands on a regional basis. Information includes size; location; land ownership; classification (hydro class, geomorphic origin, community class, dominant plant species); modifiers and threats; buffer, wildlife and vegetation values; other ecological values; cultural values; significance; and sources of information.",
   "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": "Department of Conservation",
   "parentLayer": {
    "id": 608,
    "name": "Base Layers"
   },
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 32000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       210,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328839.0662000002,
    "ymin": 5021346.3221,
    "xmax": 1638911.7221999997,
    "ymax": 5337757.1084,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WERI_",
     "type": "esriFieldTypeInteger",
     "alias": "WERI_",
     "domain": null
    },
    {
     "name": "WERI_ID",
     "type": "esriFieldTypeInteger",
     "alias": "WERI_ID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": "WS3_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": "WS3_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_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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": 617,
   "name": "Coastline",
   "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": 608,
    "name": "Base Layers"
   },
   "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,
        0,
        0,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1089354.4576000003,
    "ymin": 4747978.9174,
    "xmax": 2092003.9722999996,
    "ymax": 6223163.8216,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NZCOAST_ID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "NZCOAST_ID",
     "type": "esriFieldTypeDouble",
     "alias": "NZCOAST_ID",
     "domain": null
    },
    {
     "name": "GIS_DBO_ST",
     "type": "esriFieldTypeDouble",
     "alias": "GIS_DBO_ST",
     "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": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": []
}