{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "High Naturalness Water Bodies- Damming full flow prohibited",
   "type": "Feature Layer",
   "description": "Rivers where damming the full flow is prohibited.",
   "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",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "width": 1.7
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1443949.0936000003,
    "ymin": 5133556.4825,
    "xmax": 1537466.7063999996,
    "ymax": 5217596.5576,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUB_REGIONAL_CHAPTER_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "RESTRICTIONS",
     "type": "esriFieldTypeString",
     "alias": "RESTRICTIONS",
     "length": 30,
     "domain": null
    },
    {
     "name": "HIGH_NATURALNESS",
     "type": "esriFieldTypeString",
     "alias": "HIGH_NATURALNESS",
     "length": 3,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "Shape_STLength__",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLength__",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R550_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S541_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "High Naturalness Water Bodies - Rivers including tributaries",
   "type": "Feature Layer",
   "description": "High naturalness rivers, including tributaries as defined in the Land and Water Regional Plan",
   "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",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1334830.5857999995,
    "ymin": 5047951.8965,
    "xmax": 1679305.6874000002,
    "ymax": 5359674.8716,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SUB_REGIONAL_CHAPTER_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "RESTRICTIONS",
     "type": "esriFieldTypeString",
     "alias": "RESTRICTIONS",
     "length": 30,
     "domain": null
    },
    {
     "name": "HIGH_NATURALNESS",
     "type": "esriFieldTypeString",
     "alias": "HIGH_NATURALNESS",
     "length": 3,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R105_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S99_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 2,
   "name": "High Naturalness Water Bodies - Areas of high naturalness rivers, including tributaries",
   "type": "Feature Layer",
   "description": "Areas of high naturalness rivers, including tributaries",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSDiagonalCross",
      "color": [
       38,
       115,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        38,
        115,
        0,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[AREA_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": 21,
      "symbol": {
       "type": "esriTS",
       "color": [
        38,
        115,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1426887.9648000002,
    "ymin": 5047464.7402,
    "xmax": 1679743.8509,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_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": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R107_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S101_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "Lawfully established water level recorders",
   "type": "Feature Layer",
   "description": "Locations where river flow or stage measurements have been recorded. These locations are derived from Environment Canterbury's Gaugings Database.  Each record summarises the date of the first and most recent survey, the number of surveys recorded for the site, whether the site is monitored for a specific reason (such as for compliance or low flow monitoring purposes) and lists the minimum and maximum surveyed flows recorded.",
   "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": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "73470eac03fa02a233cfc2832779e2bf",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAq0lEQVQokWNhIBOw4JHbDKV9SdG4mYFfyYfh4z0Q+wwDA4MJMRohmtRDGBg4BBgYDlUZY9PMglOTuBFExK4Nq2YWvJpAgF8Jq2YWvJqwawYFmi/CRlBAgPyED3AIMjD8eP8MxGRBCvIzYBNBJoNsQAYgQ091gzRtYWBgSEf3owlWzR9RNMHjFD1UUTWDABZN2DSiaob4CUMTLo0wzZuhAQH2E7EaQQBrGoUBAJutQmkSkv+xAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Site]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 20,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "length": 104,
     "domain": null
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "length": 1,
     "domain": null
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "length": 1,
     "domain": null
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "length": 1,
     "domain": null
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "MINIMUM_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM_FLOW",
     "domain": null
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 4,
   "name": "Resource Consents  - Intake (surface)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a 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, expired, replaced, 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": null,
   "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": 23,
      "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": false,
   "extent": {
    "xmin": 1337829.5235808133,
    "ymin": 5020272.2598,
    "xmax": 1685350.2580174275,
    "ymax": 5353907.676248084,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 5,
   "name": "Resource Consents  - Intake (ground)",
   "type": "Feature Layer",
   "description": "Records showing a summary of a 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, expired, replaced, 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": null,
   "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": 16,
      "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": false,
   "extent": {
    "xmin": 1353063.7292999998,
    "ymin": 5020664.4601,
    "xmax": 1682854.0860000001,
    "ymax": 5350793.0967,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 6,
   "name": "Transpower Lines",
   "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": "Transpower",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       65,
       0,
       130,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1335423.0723,
    "ymin": 5018210.61,
    "xmax": 1655001.0702,
    "ymax": 5330780.9135,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "ASSET_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ASSET_ID",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ASSET_ID",
     "domain": null
    },
    {
     "name": "ASSET_NAME",
     "type": "esriFieldTypeString",
     "alias": "ASSET_NAME",
     "length": 10,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "LINE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "LINE_TYPE",
     "length": 5,
     "domain": null
    },
    {
     "name": "LENGTH",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH",
     "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": "WS2_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": "WS2_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.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R92_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S86_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 7,
   "name": "Transpower Structures",
   "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": "Transpower",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 32000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "TYPE",
     "uniqueValueGroups": [
      {
       "heading": "TYPE",
       "classes": [
        {
         "label": "gantry",
         "description": "gantry",
         "symbol": {
          "type": "esriPMS",
          "url": "efe72298ca504830f67b27361c066d29",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABqUlEQVQ4jdVUr6vCUBT+Dmg2ysRgEZNpawaDaNJlEREs7i+wDIOvWLQafMVi0CgDk8FgVJuIYBJ/JcViEu7jzgm+caePwXs8D4zL2b5997vnnu948Evh+VNixpgMIABgR0TTF5gpEe1eErPbD1UAaSvXiOhTgDEASFau2AWIFGdms1k6l8shn8+jUqlUGWN21S3DMKRyuQxd11EoFFoAFEdidlNSulwuWC6XOBwOsFRN7Lufz2cTczweeSozxkqPJ7MrbrXbbalWq5lJr9fDeDwWHAo4nU7mWq/Xsd1u+cpVOxLvQ6EQFEXBarVCMBhEIpEQEi8WC6zXa0QiEUSjUf7KucZElGGMTbxer9ztdhGLxdBoNITEnU4Hg8EAqqryGu8BqI7EVvCdea2x2WwwHA4hivl8/pju7C331CD9ft983MRT4lQqhWKxKPzGL7XZbLojDofDyGaze8sMj5G5Xq+Sa+J7EJFm6/fA3Zn/Ywi9H7HP50M8Hjcvj/eoCOP3+00Mdyd37EtiItL4MBqNRrJllg8BxnRoMpm8Y7QfKSaibyPQDeb9Lu8LjOinX+D97ngAAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 16,
          "height": 16,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "gantry"
          ]
         ]
        },
        {
         "label": "pole",
         "description": "pole",
         "symbol": {
          "type": "esriPMS",
          "url": "fa990108253ed2c418fe259dd093fe16",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAASCAYAAACEnoQPAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1klEQVQ4jd2TPQ6CQBCF3yR7BhJsuAIJ4RiEkppGOiqK7cSOhgPoKYjxAnQ0XgOOMWZwMcZVwaiNr9ns7H7zszuj8IHU12BmDgCsXtzviehkwcwcATjMRWPmjIj295E3RVGgaZqnYF3XiOO4BGDBxzAMA6Uupq7r0LYt0jSF4zijzfM8Wey0iahkZiRJInUHVVW5Aud5Dt/3BRhMzZkFTw5MXTsA65ujgYjkTX70Ve9KvU38L7zVWkdaa9c0xdhRi2Ai6mVAzKDI/tpVSyJPTh5Ci+A5nQHy8Dv/KJijDQAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 11,
          "height": 13,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "pole"
          ]
         ]
        },
        {
         "label": "tower",
         "description": "tower",
         "symbol": {
          "type": "esriPMS",
          "url": "22abb8dd96955c250de2c84d0ebaa74c",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB60lEQVQ4jb2Usa8hURTGvxuvIFEo2Q2VKDV3C5VOI4ZmCpGZTIe/QCWxLxKF0CjECBMROlGspZ5OFP4BtG93Eo1GoZC7OWKSx/PWk33Z29y55575ne/Md+c+4RPH03+FCSG+0MwY+/VPMCEEB6AD4EKI3wC+/Q16T5mu6zqfTCaoVCq+cDj8g4APw0jV8Xjk5XIZ+/0erVYLzWaTFHLG2PJRZdJsNsN2u0W1WkWpVEK9XofL5coCyD0KS3S7XcRiMWiahkKhgNFoBFVVH4MJIbKWZfHpdIrhcAiPx4N4PA6Cq6p62meMtT+qLNvr9eB2u5FMJk8BRVEgyzI2mw2CwSCpuw87HwduGAbS6TScTieFc4lEQieFhmGQszeNuKVMMk0T6/Ua/X6f1ktqiVqTZZmTYnLY4XBQ0buwRKfTQSgUQiQSofXPc3ypKAqnPXJZkqTv161ewIQQ0m634+PxGMVi0Q5PzvNzNBrNBgKBkxGSJPkonzE2eU9ZdjAY4HA4nFyjyvZ3od9ICLHMZDK8VqvBsix4vd7Sq2JvYL7VaoV8Pg+/3/+6RXu0NU3T5/M5FosFUqnUxeY1LNloNF7sF1+3cFbXJhdN06SjQePi8F7Azq18tZ+vCtk5OSHE862cN25+5N56L+dTb9o/CYfPUU2ufqYAAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 14,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "tower"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "efe72298ca504830f67b27361c066d29",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABqUlEQVQ4jdVUr6vCUBT+Dmg2ysRgEZNpawaDaNJlEREs7i+wDIOvWLQafMVi0CgDk8FgVJuIYBJ/JcViEu7jzgm+caePwXs8D4zL2b5997vnnu948Evh+VNixpgMIABgR0TTF5gpEe1eErPbD1UAaSvXiOhTgDEASFau2AWIFGdms1k6l8shn8+jUqlUGWN21S3DMKRyuQxd11EoFFoAFEdidlNSulwuWC6XOBwOsFRN7Lufz2cTczweeSozxkqPJ7MrbrXbbalWq5lJr9fDeDwWHAo4nU7mWq/Xsd1u+cpVOxLvQ6EQFEXBarVCMBhEIpEQEi8WC6zXa0QiEUSjUf7KucZElGGMTbxer9ztdhGLxdBoNITEnU4Hg8EAqqryGu8BqI7EVvCdea2x2WwwHA4hivl8/pju7C331CD9ft983MRT4lQqhWKxKPzGL7XZbLojDofDyGaze8sMj5G5Xq+Sa+J7EJFm6/fA3Zn/Ywi9H7HP50M8Hjcvj/eoCOP3+00Mdyd37EtiItL4MBqNRrJllg8BxnRoMpm8Y7QfKSaibyPQDeb9Lu8LjOinX+D97ngAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 16,
        "height": 16,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "gantry",
       "label": "gantry"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "fa990108253ed2c418fe259dd093fe16",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAASCAYAAACEnoQPAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1klEQVQ4jd2TPQ6CQBCF3yR7BhJsuAIJ4RiEkppGOiqK7cSOhgPoKYjxAnQ0XgOOMWZwMcZVwaiNr9ns7H7zszuj8IHU12BmDgCsXtzviehkwcwcATjMRWPmjIj295E3RVGgaZqnYF3XiOO4BGDBxzAMA6Uupq7r0LYt0jSF4zijzfM8Wey0iahkZiRJInUHVVW5Aud5Dt/3BRhMzZkFTw5MXTsA65ujgYjkTX70Ve9KvU38L7zVWkdaa9c0xdhRi2Ai6mVAzKDI/tpVSyJPTh5Ci+A5nQHy8Dv/KJijDQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 11,
        "height": 13,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "pole",
       "label": "pole"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "22abb8dd96955c250de2c84d0ebaa74c",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB60lEQVQ4jb2Usa8hURTGvxuvIFEo2Q2VKDV3C5VOI4ZmCpGZTIe/QCWxLxKF0CjECBMROlGspZ5OFP4BtG93Eo1GoZC7OWKSx/PWk33Z29y55575ne/Md+c+4RPH03+FCSG+0MwY+/VPMCEEB6AD4EKI3wC+/Q16T5mu6zqfTCaoVCq+cDj8g4APw0jV8Xjk5XIZ+/0erVYLzWaTFHLG2PJRZdJsNsN2u0W1WkWpVEK9XofL5coCyD0KS3S7XcRiMWiahkKhgNFoBFVVH4MJIbKWZfHpdIrhcAiPx4N4PA6Cq6p62meMtT+qLNvr9eB2u5FMJk8BRVEgyzI2mw2CwSCpuw87HwduGAbS6TScTieFc4lEQieFhmGQszeNuKVMMk0T6/Ua/X6f1ktqiVqTZZmTYnLY4XBQ0buwRKfTQSgUQiQSofXPc3ypKAqnPXJZkqTv161ewIQQ0m634+PxGMVi0Q5PzvNzNBrNBgKBkxGSJPkonzE2eU9ZdjAY4HA4nFyjyvZ3od9ICLHMZDK8VqvBsix4vd7Sq2JvYL7VaoV8Pg+/3/+6RXu0NU3T5/M5FosFUqnUxeY1LNloNF7sF1+3cFbXJhdN06SjQePi8F7Azq18tZ+vCtk5OSHE862cN25+5N56L+dTb9o/CYfPUU2ufqYAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 14,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "tower",
       "label": "tower"
      }
     ],
     "fieldDelimiter": ","
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1335446.0499999998,
    "ymin": 5018210.6099,
    "xmax": 1655001.0700000003,
    "ymax": 5330777,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "LINE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "LINE",
     "type": "esriFieldTypeString",
     "alias": "LINE",
     "length": 12,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 9,
     "domain": null
    },
    {
     "name": "NUM",
     "type": "esriFieldTypeString",
     "alias": "NUM",
     "length": 9,
     "domain": null
    },
    {
     "name": "STRUCT_NO",
     "type": "esriFieldTypeString",
     "alias": "STRUCT_NO",
     "length": 40,
     "domain": null
    },
    {
     "name": "HEIGHT",
     "type": "esriFieldTypeDouble",
     "alias": "HEIGHT",
     "domain": null
    },
    {
     "name": "ASSET_NO",
     "type": "esriFieldTypeString",
     "alias": "ASSET_NO",
     "length": 20,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "X_WGS84",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Y_WGS84",
     "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": "WS2_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": "WS2_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
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R93_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S87_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 8,
   "name": "Inanga Spawning Site (Sch 17)",
   "type": "Feature Layer",
   "description": "When inanga spawn they do so in mass over a very small area. The largest known physical area of inanga spawning in Canterbury is less than 60 m2(National Inanga Spawning Database: trends and implications for spawning sites and management; Taylor; M.J. 2002). Most sites are less than 10 m2. Extent based on the LINZ Top50 dataset where applicable.",
   "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",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       169,
       0,
       230,
       255
      ],
      "width": 1.7
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1538723.8162000002,
    "ymin": 5140098.8243,
    "xmax": 1607360.1019000001,
    "ymax": 5160455.3852,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "River_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "River_Catchment",
     "type": "esriFieldTypeString",
     "alias": "River_Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "River_Name",
     "type": "esriFieldTypeString",
     "alias": "River_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Upstream_Location",
     "type": "esriFieldTypeString",
     "alias": "Upstream_Location",
     "length": 250,
     "domain": null
    },
    {
     "name": "Downstream_Location",
     "type": "esriFieldTypeString",
     "alias": "Downstream_Location",
     "length": 250,
     "domain": null
    },
    {
     "name": "Downstream_Grid_Reference",
     "type": "esriFieldTypeString",
     "alias": "Downstream Grid Ref",
     "length": 25,
     "domain": null
    },
    {
     "name": "Upstream_Grid_Reference",
     "type": "esriFieldTypeString",
     "alias": "Upstream Grid Ref",
     "length": 50,
     "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_STLength__",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_STLength__",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R58_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S43_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 9,
   "name": "Salmon Spawning Areas (Sch 17)",
   "type": "Feature Layer",
   "description": "This layer shows lengths of Canterbury Rivers that are deamed as a significant spawning sites for salmon. Based from Schedule WQN14 Chapter 5 of the NRRP.Grid References were converted to NZTM2000 to make upstream and downstream extent markers. LINZ NZTopo50 River data was used as a basis to create this feature class.As a number of sites do not have an upstream map reference and instead have a contour that indicates the upper extent of the spawning area. The reason for this is that these streams generally include several tributaries and all are significant. The reference to the contour is intended to capture all tributaries feeding into the stream above its lower reference point.",
   "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",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 1.2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1347709.972,
    "ymin": 5022903.4276,
    "xmax": 1572178.4276,
    "ymax": 5328136.7737,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "River_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "River_Catchment",
     "type": "esriFieldTypeString",
     "alias": "River_Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "River_Name",
     "type": "esriFieldTypeString",
     "alias": "River_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Upstream_Location",
     "type": "esriFieldTypeString",
     "alias": "Upstream_Location",
     "length": 250,
     "domain": null
    },
    {
     "name": "Downstream_Location",
     "type": "esriFieldTypeString",
     "alias": "Downstream_Location",
     "length": 250,
     "domain": null
    },
    {
     "name": "Downstream_Grid_Reference",
     "type": "esriFieldTypeString",
     "alias": "Downstream Grid Ref",
     "length": 25,
     "domain": null
    },
    {
     "name": "Upstream_Grid_Reference",
     "type": "esriFieldTypeString",
     "alias": "Upstream Grid Ref",
     "length": 50,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R98_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S92_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 10,
   "name": "Statutory Acknowledgement 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; Te Runanga O Ngai Tahu",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       245,
       202,
       122,
       178
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        178
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1345602.3915,
    "ymin": 5021386.4292,
    "xmax": 1672225.1469,
    "ymax": 5353226.1573,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "MAORI",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "MAORI",
     "type": "esriFieldTypeString",
     "alias": "MAORI",
     "length": 25,
     "domain": null
    },
    {
     "name": "ENGLISH",
     "type": "esriFieldTypeString",
     "alias": "ENGLISH",
     "length": 25,
     "domain": null
    },
    {
     "name": "REF_NUM1",
     "type": "esriFieldTypeString",
     "alias": "REF_NUM1",
     "length": 8,
     "domain": null
    },
    {
     "name": "REF_NUM2",
     "type": "esriFieldTypeString",
     "alias": "REF_NUM2",
     "length": 10,
     "domain": null
    },
    {
     "name": "SUR_AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SUR_AREA",
     "domain": null
    },
    {
     "name": "LEGAL_DESC",
     "type": "esriFieldTypeString",
     "alias": "LEGAL_DESC",
     "length": 60,
     "domain": null
    },
    {
     "name": "NOTES",
     "type": "esriFieldTypeString",
     "alias": "NOTES",
     "length": 50,
     "domain": null
    },
    {
     "name": "TITLE",
     "type": "esriFieldTypeString",
     "alias": "TITLE",
     "length": 75,
     "domain": null
    },
    {
     "name": "TLA",
     "type": "esriFieldTypeString",
     "alias": "TLA",
     "length": 20,
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 20,
     "domain": null
    },
    {
     "name": "SETTLEMENT",
     "type": "esriFieldTypeString",
     "alias": "SETTLEMENT",
     "length": 30,
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 45,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SECTION",
     "type": "esriFieldTypeString",
     "alias": "SECTION",
     "length": 16,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R408_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S354_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 11,
   "name": "Ngai Tahu Silent Files 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; Te Runanga O Ngai Tahu",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 8000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       178
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        178
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1447289.3224,
    "ymin": 5022204.9125,
    "xmax": 1598371.7361000003,
    "ymax": 5206566.9797,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "INSIDE",
     "type": "esriFieldTypeInteger",
     "alias": "INSIDE",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "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": 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": "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": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 250,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1687_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1396_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 12,
   "name": "Gravel Excavation",
   "type": "Feature Layer",
   "description": "Records showing a summary of a 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, expired, replaced, 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": null,
   "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": 15,
      "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": 1329121.6184999999,
    "ymin": 5021048.6301,
    "xmax": 1687027.8006999996,
    "ymax": 1.47643236567E7,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 13,
   "name": "Gravel Excavation - Area",
   "type": "Feature Layer",
   "description": "Records showing a summary of a 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, expired, replaced, 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": null,
   "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": 28,
      "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": 1349955.9968999997,
    "ymin": 5022014.0598,
    "xmax": 1682747.0392000005,
    "ymax": 5351241.5386,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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
    }
   ],
   "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": 14,
   "name": "Gravel Authorisation Point",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Status",
     "uniqueValueGroups": [
      {
       "heading": "Status",
       "classes": [
        {
         "label": "Current",
         "description": "Current",
         "symbol": {
          "type": "esriPMS",
          "url": "18053e4a8fec72c07bf60774c405075b",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAjklEQVQ4jc3RMQ4BQRSA4S+xjaBT6hyDKCWi1CoknEm5nSvYViKUqj2L6FYiCoVdwyzxV6+ZLy9vEjWV/Dk0sTNwDnp5UMhMn0MzfUu9IGgtl5VtFFHyO2iLNkYx0Abz+7zH8FPo8jC/+MtqaIECLYxjoAZW1UAY9EZfgo6at3uEdNIph1JdaR0bRVQbdAVWlhJpFWBRuwAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 13,
          "height": 13,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "OPEN"
          ]
         ]
        },
        {
         "label": "In Progress",
         "description": "In Progress",
         "symbol": {
          "type": "esriPMS",
          "url": "7076af31620a218e61340e370519f48a",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAo0lEQVQ4jWNhoBJgGdwGeRoyHLBWZ/hGjMajNxn+bz/P4I3VoGAzBuVkZwYZYgyatpPhyvbzOFxECWChm0HbzjMw8HAwMNhpUmDQ0sMMDDGTIezDTQwMNhpkGvTjN4L97ScFLkpwYGD4/5+BgZuDgcFNnwKDmJkYGFKc8RtAlEGkABaaGHTsNgMnKDyIAefuM/DiNGjePgaRefuo4CJKANUMAgDkyyBXjpOP0QAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 13,
          "height": 13,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "PENDING"
          ]
         ]
        },
        {
         "label": "Expired",
         "description": "Expired",
         "symbol": {
          "type": "esriPMS",
          "url": "4dc5793708c35e2f463104c2787bd579",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAjklEQVQ4jc3RMQ4BQRSA4S8xjaBT6hyDKCWi1CoknEm5nSvQSoRS5SyiW5EoFNYOs8RfvWa+vLwJKir8NzRi2+Mc83BPvmH8FJrQndOJgZacNkUbpRR+Bq3RxCAFWmF6n3fofwpdHuayr3wJzZCjgWEKVMOiBIiC3il8BTpQv90jpiOtQiijnVWxUUqVQVdkeRJpcilurwAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 13,
          "height": 13,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "CLOSED"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "18053e4a8fec72c07bf60774c405075b",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAjklEQVQ4jc3RMQ4BQRSA4S+xjaBT6hyDKCWi1CoknEm5nSvYViKUqj2L6FYiCoVdwyzxV6+ZLy9vEjWV/Dk0sTNwDnp5UMhMn0MzfUu9IGgtl5VtFFHyO2iLNkYx0Abz+7zH8FPo8jC/+MtqaIECLYxjoAZW1UAY9EZfgo6at3uEdNIph1JdaR0bRVQbdAVWlhJpFWBRuwAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 13,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "OPEN",
       "label": "Current"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "7076af31620a218e61340e370519f48a",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAo0lEQVQ4jWNhoBJgGdwGeRoyHLBWZ/hGjMajNxn+bz/P4I3VoGAzBuVkZwYZYgyatpPhyvbzOFxECWChm0HbzjMw8HAwMNhpUmDQ0sMMDDGTIezDTQwMNhpkGvTjN4L97ScFLkpwYGD4/5+BgZuDgcFNnwKDmJkYGFKc8RtAlEGkABaaGHTsNgMnKDyIAefuM/DiNGjePgaRefuo4CJKANUMAgDkyyBXjpOP0QAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 13,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "PENDING",
       "label": "In Progress"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "4dc5793708c35e2f463104c2787bd579",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAjklEQVQ4jc3RMQ4BQRSA4S8xjaBT6hyDKCWi1CoknEm5nSvQSoRS5SyiW5EoFNYOs8RfvWa+vLwJKir8NzRi2+Mc83BPvmH8FJrQndOJgZacNkUbpRR+Bq3RxCAFWmF6n3fofwpdHuayr3wJzZCjgWEKVMOiBIiC3il8BTpQv90jpiOtQiijnVWxUUqVQVdkeRJpcilurwAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 13,
        "height": 13,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "CLOSED",
       "label": "Expired"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          248,
          252,
          184,
          255
         ],
         "toColor": [
          248,
          252,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          179,
          252,
          255
         ],
         "toColor": [
          227,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          240,
          252,
          255
         ],
         "toColor": [
          184,
          240,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          187,
          187,
          255
         ],
         "toColor": [
          252,
          187,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          192,
          252,
          215,
          255
         ],
         "toColor": [
          192,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          202,
          252,
          255
         ],
         "toColor": [
          187,
          202,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          231,
          215,
          255
         ],
         "toColor": [
          252,
          231,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          199,
          237,
          255
         ],
         "toColor": [
          252,
          199,
          237,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          252,
          182,
          255
         ],
         "toColor": [
          188,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          239,
          252,
          215,
          255
         ],
         "toColor": [
          239,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          179,
          252,
          255
         ],
         "toColor": [
          182,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          252,
          244,
          255
         ],
         "toColor": [
          199,
          252,
          244,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          212,
          220,
          255
         ],
         "toColor": [
          252,
          212,
          220,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1425022.6155000003,
    "ymin": 5043999.4148,
    "xmax": 1654497.2556999996,
    "ymax": 5313367.85,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "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": "MaxxVoumeOverConsentLife",
     "type": "esriFieldTypeDouble",
     "alias": "MaxxVoumeOverConsentLife",
     "domain": null
    },
    {
     "name": "CeaseExcavationDate",
     "type": "esriFieldTypeDate",
     "alias": "CeaseExcavationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Comments",
     "type": "esriFieldTypeString",
     "alias": "Comments",
     "length": 4000,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 30,
     "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": 15,
   "name": "Gravel Authorisation Area",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Status",
     "uniqueValueGroups": [
      {
       "heading": "Status",
       "classes": [
        {
         "label": "Current",
         "description": "Current",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSForwardDiagonal",
          "color": [
           56,
           168,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            38,
            115,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "OPEN"
          ]
         ]
        },
        {
         "label": "In Progress",
         "description": "In Progress",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSForwardDiagonal",
          "color": [
           255,
           170,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            168,
            112,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "PENDING"
          ]
         ]
        },
        {
         "label": "Expired",
         "description": "Expired",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSForwardDiagonal",
          "color": [
           255,
           0,
           0,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            168,
            0,
            0,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "CLOSED"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSForwardDiagonal",
        "color": [
         56,
         168,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          38,
          115,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "OPEN",
       "label": "Current"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSForwardDiagonal",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          168,
          112,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "PENDING",
       "label": "In Progress"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSForwardDiagonal",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          168,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "CLOSED",
       "label": "Expired"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          248,
          252,
          184,
          255
         ],
         "toColor": [
          248,
          252,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          179,
          252,
          255
         ],
         "toColor": [
          227,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          240,
          252,
          255
         ],
         "toColor": [
          184,
          240,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          187,
          187,
          255
         ],
         "toColor": [
          252,
          187,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          192,
          252,
          215,
          255
         ],
         "toColor": [
          192,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          202,
          252,
          255
         ],
         "toColor": [
          187,
          202,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          231,
          215,
          255
         ],
         "toColor": [
          252,
          231,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          199,
          237,
          255
         ],
         "toColor": [
          252,
          199,
          237,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          188,
          252,
          182,
          255
         ],
         "toColor": [
          188,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          239,
          252,
          215,
          255
         ],
         "toColor": [
          239,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          179,
          252,
          255
         ],
         "toColor": [
          182,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          199,
          252,
          244,
          255
         ],
         "toColor": [
          199,
          252,
          244,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          212,
          220,
          255
         ],
         "toColor": [
          252,
          212,
          220,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1361286.9255,
    "ymin": 5023415.9445,
    "xmax": 1676442.2422000002,
    "ymax": 5331689.8898,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "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": "MaxxVoumeOverConsentLife",
     "type": "esriFieldTypeDouble",
     "alias": "MaxxVoumeOverConsentLife",
     "domain": null
    },
    {
     "name": "CeaseExcavationDate",
     "type": "esriFieldTypeDate",
     "alias": "CeaseExcavationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Comments",
     "type": "esriFieldTypeString",
     "alias": "Comments",
     "length": 4000,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 30,
     "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
    }
   ],
   "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": 55,
   "name": "Drains and watercourses (Flood Protection and Drainage Bylaw 2013)",
   "type": "Feature Layer",
   "description": "This dataset has been created from the a georeferenced plans and Engineering knowledge of the drains that the Regional Council manages and maintains through out the region. Note equipment used by the regional council needs at most 7.5m strip alongside the drain. Buffering of 10m has been added so as to alleviate any errors in drawing of the drains, therefore consider the two outer lines as advisory only. Attribute fields: Feature Name: Type (Canals, Rivers, Waterway ie Creeks; and Drains. No definitions on the differences were given on original map) Grid: Grid number given on map Given Length: Length of Drain given on map 2 Name: Name of Drain Asset Number: ECan asset number ID: ECan ID number",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 7500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "MACHINE_ACCESS",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Drains and small watercourses",
         "description": "Drains and small watercourses",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           10,
           147,
           252,
           255
          ],
          "width": 3
         },
         "values": [
          [
           "Both Sides"
          ]
         ]
        },
        {
         "label": "Drains (normal access left looking downstream)",
         "description": "Drains (normal access left looking downstream)",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           197,
           0,
           255,
           255
          ],
          "width": 4
         },
         "values": [
          [
           "True Left"
          ]
         ]
        },
        {
         "label": "Drains (normal access right looking downstream)",
         "description": "Drains (normal access right looking downstream)",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           56,
           168,
           0,
           255
          ],
          "width": 4
         },
         "values": [
          [
           "True Right"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         10,
         147,
         252,
         255
        ],
        "width": 3
       },
       "value": "Both Sides",
       "label": "Drains and small watercourses"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         197,
         0,
         255,
         255
        ],
        "width": 4
       },
       "value": "True Left",
       "label": "Drains (normal access left looking downstream)"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "width": 4
       },
       "value": "True Right",
       "label": "Drains (normal access right looking downstream)"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          147,
          150,
          101,
          255
         ],
         "toColor": [
          147,
          150,
          101,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          96,
          86,
          227,
          255
         ],
         "toColor": [
          96,
          86,
          227,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          88,
          156,
          255
         ],
         "toColor": [
          224,
          88,
          156,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          129,
          247,
          87,
          255
         ],
         "toColor": [
          129,
          247,
          87,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          137,
          192,
          240,
          255
         ],
         "toColor": [
          137,
          192,
          240,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          133,
          55,
          48,
          255
         ],
         "toColor": [
          133,
          55,
          48,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          116,
          237,
          207,
          255
         ],
         "toColor": [
          116,
          237,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          101,
          69,
          130,
          255
         ],
         "toColor": [
          101,
          69,
          130,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          157,
          93,
          255
         ],
         "toColor": [
          240,
          157,
          93,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          215,
          219,
          77,
          255
         ],
         "toColor": [
          215,
          219,
          77,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          224,
          92,
          247,
          255
         ],
         "toColor": [
          224,
          92,
          247,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          161,
          61,
          255
         ],
         "toColor": [
          58,
          161,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          203,
          138,
          227,
          255
         ],
         "toColor": [
          203,
          138,
          227,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1366084.1272,
    "ymin": 5038990.973,
    "xmax": 1657542.5821000002,
    "ymax": 5315191.0562,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "ASSET_NO",
     "type": "esriFieldTypeString",
     "alias": "ASSET_NO",
     "length": 10,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "PLAN_",
     "type": "esriFieldTypeString",
     "alias": "PLAN",
     "length": 150,
     "domain": null
    },
    {
     "name": "DIGITISED_BY",
     "type": "esriFieldTypeString",
     "alias": "DIGITISED_BY",
     "length": 50,
     "domain": null
    },
    {
     "name": "VALIDATED_BY",
     "type": "esriFieldTypeString",
     "alias": "VALIDATED_BY",
     "length": 50,
     "domain": null
    },
    {
     "name": "GIVEN_LENGTH",
     "type": "esriFieldTypeDouble",
     "alias": "GIVEN_LENGTH",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS2_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": "WS2_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": "MACHINE_ACCESS",
     "type": "esriFieldTypeString",
     "alias": "MACHINE_ACCESS",
     "length": 25,
     "domain": {
      "type": "codedValue",
      "name": "WS2_ENGINEERING_Machine_Use",
      "description": "Side of Water course that machinery can use for access",
      "codedValues": [
       {
        "name": "True Left",
        "code": "True Left"
       },
       {
        "name": "True Right",
        "code": "True Right"
       },
       {
        "name": "Both Sides",
        "code": "Both Sides"
       },
       {
        "name": "Neither Side",
        "code": "Neither Side"
       },
       {
        "name": "Not Specified",
        "code": "Not Specified"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 250,
     "domain": null
    },
    {
     "name": "SCHEME",
     "type": "esriFieldTypeString",
     "alias": "SCHEME",
     "length": 100,
     "domain": null
    },
    {
     "name": "CLEANING",
     "type": "esriFieldTypeString",
     "alias": "CLEANING",
     "length": 50,
     "domain": {
      "type": "codedValue",
      "name": "WS2_ENGINEERING_Drain_Cleaning",
      "description": "Drain Cleaning Types",
      "codedValues": [
       {
        "name": "Spray",
        "code": "Spray"
       },
       {
        "name": "Mechanical",
        "code": "Mechanical"
       },
       {
        "name": "Hand",
        "code": "Hand"
       },
       {
        "name": "Other",
        "code": "Other"
       },
       {
        "name": "Not Specified",
        "code": "Not Specified"
       },
       {
        "name": "Mechanical & Mulch",
        "code": "Mechanical & Mulch"
       },
       {
        "name": "Mechanical & Spray (Feb-Mar)",
        "code": "Mechanical & Spray (Feb-Mar)"
       },
       {
        "name": "Mulch",
        "code": "Mulch"
       },
       {
        "name": "Spray (Feb-Mar)",
        "code": "Spray (Feb-Mar)"
       },
       {
        "name": "Spray (Feb-Mar) & Mulch",
        "code": "Spray (Feb-Mar) & Mulch"
       },
       {
        "name": "Spray & Mulch",
        "code": "Spray & Mulch"
       },
       {
        "name": "Mechanical & Spray (Feb-Mar) & Mulch",
        "code": "Mechanical & Spray (Feb-Mar) & Mulch"
       },
       {
        "name": "Mechanical & Spray & Mulch",
        "code": "Mechanical & Spray & Mulch"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "RANGI_ASSETTUID",
     "type": "esriFieldTypeString",
     "alias": "RANGI_ASSETTUID",
     "length": 20,
     "domain": null
    },
    {
     "name": "RANGI_ASSETNO",
     "type": "esriFieldTypeString",
     "alias": "RANGI_ASSETNO",
     "length": 50,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "CATEGORY",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 5,
     "domain": {
      "type": "codedValue",
      "name": "WS2_ENGINEERING_ABC",
      "description": "A B C Values",
      "codedValues": [
       {
        "name": "A",
        "code": "A"
       },
       {
        "name": "B",
        "code": "B"
       },
       {
        "name": "C",
        "code": "C"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R868_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "UUID_868",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S850_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 56,
   "name": "Defences against water - Stopbanks (Flood Protection and Drainage Bylaw 2013)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 7500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       230,
       230,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1358117.2255999995,
    "ymin": 5022008.744,
    "xmax": 1655061.7499000002,
    "ymax": 5313683.3575,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TYPE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SCHEME",
     "type": "esriFieldTypeString",
     "alias": "SCHEME",
     "length": 100,
     "domain": null
    },
    {
     "name": "ROCK_HEIGHT_m",
     "type": "esriFieldTypeDouble",
     "alias": "ROCK_HEIGHT_m",
     "domain": null
    },
    {
     "name": "ROCK_WEIGHT_m",
     "type": "esriFieldTypeDouble",
     "alias": "ROCK_WEIGHT_m",
     "domain": null
    },
    {
     "name": "GROYNE_ID",
     "type": "esriFieldTypeDouble",
     "alias": "GROYNE_ID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "YEAR_BUILT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "YEAR_BUILT",
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 150,
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R865_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S847_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 57,
   "name": "Defences against water - Stopbanks - 20m exclusion (Flood Protection and Drainage Bylaw 2013)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 7500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1358117.2255999995,
    "ymin": 5022008.744,
    "xmax": 1655061.7499000002,
    "ymax": 5313683.3575,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TYPE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "SCHEME",
     "type": "esriFieldTypeString",
     "alias": "SCHEME",
     "length": 100,
     "domain": null
    },
    {
     "name": "ROCK_HEIGHT_m",
     "type": "esriFieldTypeDouble",
     "alias": "ROCK_HEIGHT_m",
     "domain": null
    },
    {
     "name": "ROCK_WEIGHT_m",
     "type": "esriFieldTypeDouble",
     "alias": "ROCK_WEIGHT_m",
     "domain": null
    },
    {
     "name": "GROYNE_ID",
     "type": "esriFieldTypeDouble",
     "alias": "GROYNE_ID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "YEAR_BUILT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "YEAR_BUILT",
     "domain": null
    },
    {
     "name": "COMMENTS",
     "type": "esriFieldTypeString",
     "alias": "COMMENTS",
     "length": 150,
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R865_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S847_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 58,
   "name": "Defences against water - Flood protection vegetation boundary (Flood Protection and Drainage Bylaw 2013)",
   "type": "Feature Layer",
   "description": "A draft boundary line shows areas of vegetation retained under the Soil Conservation and Rivers Control Act (1941).A desired boundaryline showsareas where it would be beneficial to increase the vegetated buffer width to the land side so that a consistent protective buffer can be achieved. In some cases, on the river side, the actual buffer width will depend on whether or not the vegetated buffer can be made to fill the area to the desired fairway edge in a reasonable time or not. On the landward side, any areas for new planting will need to be agreed with the landowner (and in general terms at least by the rating district).",
   "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": "Mathew Surman",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 7500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       127,
       127,
       255
      ],
      "width": 2.5
     },
     "description": "Flood Protection Vegetation Boundary"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1355964.1758000003,
    "ymin": 5021698.6515,
    "xmax": 1655319.8564999998,
    "ymax": 5313688.5787,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "STATUS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "STATUS",
     "type": "esriFieldTypeString",
     "alias": "STATUS",
     "length": 50,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R866_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S848_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 59,
   "name": "Floodways (Flood Protection and Drainage Bylaw 2013)",
   "type": "Feature Layer",
   "description": "See RMA definition of riverbed and NRRP guidance 6.2 2 2. Generally, a river bed line shows the outside toe of the stopbank where there are stopbanks (provided the stopbank is of a sufficient standard), a terrace, or, where there are no well-defined terraces or stopbanks, a pragmatic boundary such as a ridge, the edge of a channel or a road. Where a \"draft river bed\" line is shown, a\"alternativeriver bed line\"is less preferred. Where there are multiple \"alternative\" lines shown, there is less certainty about which line is most reasonable. Where there is only one \"alternative\" line and no \"draft\"line, this is an area where there is little evidence and least confidence in the line.",
   "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": "Matt Surman (rating district rivers)\nHilary Fraser (some southern rating districts)\nJohn Trevena (outside rating districts)",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 7500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       85,
       255,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1398486.7992000002,
    "ymin": 5021370.6559,
    "xmax": 1656663.5459000003,
    "ymax": 5311955.1898,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "STATUS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "STATUS",
     "type": "esriFieldTypeString",
     "alias": "STATUS",
     "length": 50,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R867_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S849_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 21,
   "name": "Coastal Marine Area Boundary",
   "type": "Feature Layer",
   "description": "Coastal Marine Area boundary and the landward boundaries of Hazard Zones 1 and 2 within the Canterbury Region as shown in the Canterbury Regional Coastal Environment Plan 2005.\n\nThe Coastal Marine Area Boundary (CMA) along the line of Mean High Water Springs (MHWS) is indicative only. \n\nEnvironment Canterbury has defined Hazard Zones along the Region\u2019s coast. Two zones are defined:\nHazard Zone 1 - This is a zone delimited by a line approximately parallel with the\nshoreline, set inland from mean high water mark springs, which contains the current active beach system and land that is at risk from coastal erosion within 50 years of this Plan being produced.\nHazard Zone 2 - This is inland from Hazard Zone 1, and marks land that is at risk from coastal erosion in the period 50 to 100 years of this Plan being produced.",
   "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",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSDash",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 0.75
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[LABEL_FLD]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "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": 22,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1452888.3938999996,
    "ymin": 5021575.3715,
    "xmax": 1686919.9682,
    "ymax": 5353352.0534,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODE",
     "type": "esriFieldTypeString",
     "alias": "CODE",
     "length": 15,
     "domain": null
    },
    {
     "name": "LABEL_FLD",
     "type": "esriFieldTypeString",
     "alias": "LABEL_FLD",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R97_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S91_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 22,
   "name": "Natural State Water Quality Areas",
   "type": "Feature Layer",
   "description": "Public Conservation Land (\"DOC Estate\") for the South Island.  Supplied by DOC Canterbury March 2009.\n\nNational Conservation Unit dataset.  Nationally compiled dataset containing geospatial definitions of DOC management units (conservation units) defined by various acts of parliament and legislation.\n\nThe national conservation unit featureclass is integrated with the Department's national land register to provide textual descriptions of land administered by the Department.\n\nGeospatial definition of Land administered by the Department of Conservation under legislation, and/or Land of interest to the Department.",
   "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": null,
   "subLayers": [],
   "minScale": 6000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       255,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        168,
        168,
        0,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323824.5268,
    "ymin": 5004684.3275,
    "xmax": 1671699.6162,
    "ymax": 5352876.4639,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "AREA_HA",
   "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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R104_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S98_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 33,
   "name": "DOC - Wetland Points",
   "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": "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;Department of Conservation",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 50000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       35,
       161,
       0,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1327517.2767000003,
    "ymin": 5007544.0714,
    "xmax": 1683777.7736999998,
    "ymax": 5349313.3006,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "WERINAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SOURCE",
     "type": "esriFieldTypeString",
     "alias": "SOURCE",
     "length": 25,
     "domain": null
    },
    {
     "name": "LOCATONCHK",
     "type": "esriFieldTypeString",
     "alias": "LOCATONCHK",
     "length": 30,
     "domain": null
    },
    {
     "name": "INDCODE",
     "type": "esriFieldTypeString",
     "alias": "INDCODE",
     "length": 8,
     "domain": null
    },
    {
     "name": "INDSITENAM",
     "type": "esriFieldTypeString",
     "alias": "INDSITENAM",
     "length": 44,
     "domain": null
    },
    {
     "name": "INDDATABAS",
     "type": "esriFieldTypeString",
     "alias": "INDDATABAS",
     "length": 14,
     "domain": null
    },
    {
     "name": "INDDESCRIP",
     "type": "esriFieldTypeString",
     "alias": "INDDESCRIP",
     "length": 250,
     "domain": null
    },
    {
     "name": "PLAINS_ID",
     "type": "esriFieldTypeString",
     "alias": "PLAINS_ID",
     "length": 8,
     "domain": null
    },
    {
     "name": "PLCOMMENTS",
     "type": "esriFieldTypeString",
     "alias": "PLCOMMENTS",
     "length": 219,
     "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_PRIORIT",
     "type": "esriFieldTypeString",
     "alias": "PL_PRIORIT",
     "length": 9,
     "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": "PNACARDNO",
     "type": "esriFieldTypeString",
     "alias": "PNACARDNO",
     "length": 16,
     "domain": null
    },
    {
     "name": "PNAPLANTS",
     "type": "esriFieldTypeString",
     "alias": "PNAPLANTS",
     "length": 78,
     "domain": null
    },
    {
     "name": "PNAANIMALS",
     "type": "esriFieldTypeString",
     "alias": "PNAANIMALS",
     "length": 9,
     "domain": null
    },
    {
     "name": "PNANATURAL",
     "type": "esriFieldTypeString",
     "alias": "PNANATURAL",
     "length": 16,
     "domain": null
    },
    {
     "name": "PNATHREATS",
     "type": "esriFieldTypeString",
     "alias": "PNATHREATS",
     "length": 73,
     "domain": null
    },
    {
     "name": "PNACOMMENT",
     "type": "esriFieldTypeString",
     "alias": "PNACOMMENT",
     "length": 134,
     "domain": null
    },
    {
     "name": "WERICARD",
     "type": "esriFieldTypeDouble",
     "alias": "WERICARD",
     "domain": null
    },
    {
     "name": "WERINAME",
     "type": "esriFieldTypeString",
     "alias": "WERINAME",
     "length": 33,
     "domain": null
    },
    {
     "name": "WERIAREA",
     "type": "esriFieldTypeDouble",
     "alias": "WERIAREA",
     "domain": null
    },
    {
     "name": "CH_SITE_NO",
     "type": "esriFieldTypeDouble",
     "alias": "CH_SITE_NO",
     "domain": null
    },
    {
     "name": "CHVEGLANDF",
     "type": "esriFieldTypeString",
     "alias": "CHVEGLANDF",
     "length": 60,
     "domain": null
    },
    {
     "name": "CH_ECOL_1",
     "type": "esriFieldTypeString",
     "alias": "CH_ECOL_1",
     "length": 50,
     "domain": null
    },
    {
     "name": "CH_ECOL_2",
     "type": "esriFieldTypeString",
     "alias": "CH_ECOL_2",
     "length": 50,
     "domain": null
    },
    {
     "name": "CH_ECOL_3",
     "type": "esriFieldTypeString",
     "alias": "CH_ECOL_3",
     "length": 35,
     "domain": null
    },
    {
     "name": "CH_ECOL_4",
     "type": "esriFieldTypeString",
     "alias": "CH_ECOL_4",
     "length": 35,
     "domain": null
    },
    {
     "name": "CHLOCATION",
     "type": "esriFieldTypeString",
     "alias": "CHLOCATION",
     "length": 45,
     "domain": null
    },
    {
     "name": "CH_AREA",
     "type": "esriFieldTypeDouble",
     "alias": "CH_AREA",
     "domain": null
    },
    {
     "name": "CH_THREATS",
     "type": "esriFieldTypeString",
     "alias": "CH_THREATS",
     "length": 34,
     "domain": null
    },
    {
     "name": "CHBIODIVER",
     "type": "esriFieldTypeDouble",
     "alias": "CHBIODIVER",
     "domain": null
    },
    {
     "name": "CHREPRESEN",
     "type": "esriFieldTypeDouble",
     "alias": "CHREPRESEN",
     "domain": null
    },
    {
     "name": "CH_RARITY",
     "type": "esriFieldTypeDouble",
     "alias": "CH_RARITY",
     "domain": null
    },
    {
     "name": "CHNATURALN",
     "type": "esriFieldTypeDouble",
     "alias": "CHNATURALN",
     "domain": null
    },
    {
     "name": "CHEVALUATN",
     "type": "esriFieldTypeString",
     "alias": "CHEVALUATN",
     "length": 1,
     "domain": null
    },
    {
     "name": "CHMANAGMNT",
     "type": "esriFieldTypeString",
     "alias": "CHMANAGMNT",
     "length": 50,
     "domain": null
    },
    {
     "name": "WMKSITENO",
     "type": "esriFieldTypeString",
     "alias": "WMKSITENO",
     "length": 5,
     "domain": null
    },
    {
     "name": "WMKNAME",
     "type": "esriFieldTypeString",
     "alias": "WMKNAME",
     "length": 57,
     "domain": null
    },
    {
     "name": "WMKDESCRIP",
     "type": "esriFieldTypeString",
     "alias": "WMKDESCRIP",
     "length": 58,
     "domain": null
    },
    {
     "name": "WMKAREA_HA",
     "type": "esriFieldTypeString",
     "alias": "WMKAREA_HA",
     "length": 26,
     "domain": null
    },
    {
     "name": "FFCARD",
     "type": "esriFieldTypeDouble",
     "alias": "FFCARD",
     "domain": null
    },
    {
     "name": "FFSPECIES",
     "type": "esriFieldTypeString",
     "alias": "FFSPECIES",
     "length": 35,
     "domain": null
    },
    {
     "name": "FFLOCALITY",
     "type": "esriFieldTypeString",
     "alias": "FFLOCALITY",
     "length": 38,
     "domain": null
    },
    {
     "name": "FFFLOWTYPE",
     "type": "esriFieldTypeString",
     "alias": "FFFLOWTYPE",
     "length": 3,
     "domain": null
    },
    {
     "name": "FFTIDAL",
     "type": "esriFieldTypeString",
     "alias": "FFTIDAL",
     "length": 1,
     "domain": null
    },
    {
     "name": "FFWATERTYP",
     "type": "esriFieldTypeString",
     "alias": "FFWATERTYP",
     "length": 6,
     "domain": null
    },
    {
     "name": "FFABUND",
     "type": "esriFieldTypeString",
     "alias": "FFABUND",
     "length": 8,
     "domain": null
    },
    {
     "name": "FFDATE",
     "type": "esriFieldTypeDouble",
     "alias": "FFDATE",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "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": "WS2_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": "WS2_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
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R76_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S71_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 34,
   "name": "DOC - 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": "Environment Canterbury;Department of Conservation",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 50000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       115,
       255,
       223,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        92,
        230,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "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": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R77_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S72_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 35,
   "name": "DOC - Native Bird Habitat",
   "type": "Feature Layer",
   "description": "GIS layer showing river and open water habitats for indigenous birds in Canterbury. Prepared to accompany Environment Canterbury Unpublished Report U00/37 - The significance of river and open water habitats for indigenous birds in Canterbury, New Zealand (June 2000). Report by Dr Colin F. J. O'Donnell, Science & Research Unit, Department of Conservation.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 1000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       232,
       255,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        76,
        0,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITE_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 1000,
      "minScale": 250000,
      "name": "Default",
      "priority": 33,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        38,
        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,
        153
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328829.9280000003,
    "ymin": 5020764.2021,
    "xmax": 1677568.7055000002,
    "ymax": 5351752.7507,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "HAB_NO",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HAB_NO",
     "domain": null
    },
    {
     "name": "HAB_NO2",
     "type": "esriFieldTypeInteger",
     "alias": "HAB_NO2",
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 113,
     "domain": null
    },
    {
     "name": "WATER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WATER_TYPE",
     "length": 11,
     "domain": null
    },
    {
     "name": "OWD_PRIME",
     "type": "esriFieldTypeString",
     "alias": "OWD_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "OWD_MICRO",
     "type": "esriFieldTypeString",
     "alias": "OWD_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "DWW_PRIME",
     "type": "esriFieldTypeString",
     "alias": "DWW_PRIME",
     "length": 12,
     "domain": null
    },
    {
     "name": "DWW_MICRO",
     "type": "esriFieldTypeString",
     "alias": "DWW_MICRO",
     "length": 14,
     "domain": null
    },
    {
     "name": "SWW_PRIME",
     "type": "esriFieldTypeString",
     "alias": "SWW_PRIME",
     "length": 12,
     "domain": null
    },
    {
     "name": "SWW_MICRO",
     "type": "esriFieldTypeString",
     "alias": "SWW_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "WAF_PRIME",
     "type": "esriFieldTypeString",
     "alias": "WAF_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "WAF_MICRO",
     "type": "esriFieldTypeString",
     "alias": "WAF_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "GAT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "GAT_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "GAT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "GAT_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "SWR_PRIME",
     "type": "esriFieldTypeString",
     "alias": "SWR_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "SWR_MICRO",
     "type": "esriFieldTypeString",
     "alias": "SWR_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "RIP_PRIME",
     "type": "esriFieldTypeString",
     "alias": "RIP_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "RIP_MICRO",
     "type": "esriFieldTypeString",
     "alias": "RIP_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "BLD_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BLD_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLD_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BLD_MICRO",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLS_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BLS_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLS_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BLS_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "WRY_PRIME",
     "type": "esriFieldTypeString",
     "alias": "WRY_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "WRY_MICOR",
     "type": "esriFieldTypeString",
     "alias": "WRY_MICOR",
     "length": 11,
     "domain": null
    },
    {
     "name": "BDO_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BDO_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "BDO_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BDO_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "BFT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BFT_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BFT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BFT_MICRO",
     "length": 14,
     "domain": null
    },
    {
     "name": "BIT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BIT_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BIT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BIT_MICRO",
     "length": 10,
     "domain": null
    },
    {
     "name": "CRG_PRIME",
     "type": "esriFieldTypeString",
     "alias": "CRG_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "CRG_MICRO",
     "type": "esriFieldTypeString",
     "alias": "CRG_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "SSWI_RATE",
     "type": "esriFieldTypeString",
     "alias": "SSWI_RATE",
     "length": 13,
     "domain": null
    },
    {
     "name": "TS_RANK",
     "type": "esriFieldTypeString",
     "alias": "TS_RANK",
     "length": 8,
     "domain": null
    },
    {
     "name": "HAB_RANK",
     "type": "esriFieldTypeString",
     "alias": "HAB_RANK",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_REP1",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP1",
     "domain": null
    },
    {
     "name": "HS_REP2",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP2",
     "domain": null
    },
    {
     "name": "HS_REP3",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP3",
     "domain": null
    },
    {
     "name": "HS_LIFE1",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE1",
     "domain": null
    },
    {
     "name": "HS_LIFE2",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE2",
     "domain": null
    },
    {
     "name": "HS_LIFE3",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE3",
     "domain": null
    },
    {
     "name": "HS_LIFE4",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE4",
     "domain": null
    },
    {
     "name": "HS_LIFE5",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE5",
     "domain": null
    },
    {
     "name": "HS_NATDIV1",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV1",
     "domain": null
    },
    {
     "name": "HS_NATDIV2",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV2",
     "domain": null
    },
    {
     "name": "HS_NATDIV3",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV3",
     "domain": null
    },
    {
     "name": "HS_DIST1",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST1",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST2",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST2",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST3",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST3",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST4",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST4",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST5",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST5",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST6",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST6",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST7",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST7",
     "length": 9,
     "domain": null
    },
    {
     "name": "INTACT",
     "type": "esriFieldTypeInteger",
     "alias": "INTACT",
     "domain": null
    },
    {
     "name": "VIABLE",
     "type": "esriFieldTypeInteger",
     "alias": "VIABLE",
     "domain": null
    },
    {
     "name": "ACT_THREAT",
     "type": "esriFieldTypeString",
     "alias": "ACT_THREAT",
     "length": 28,
     "domain": null
    },
    {
     "name": "POT_THREAT",
     "type": "esriFieldTypeString",
     "alias": "POT_THREAT",
     "length": 30,
     "domain": null
    },
    {
     "name": "INFOSOURCE",
     "type": "esriFieldTypeString",
     "alias": "INFOSOURCE",
     "length": 118,
     "domain": null
    },
    {
     "name": "QUALITY",
     "type": "esriFieldTypeString",
     "alias": "QUALITY",
     "length": 27,
     "domain": null
    },
    {
     "name": "COMMENT",
     "type": "esriFieldTypeString",
     "alias": "COMMENT",
     "length": 209,
     "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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R411_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S357_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 36,
   "name": "DOC - Recommended Areas of Protection",
   "type": "Feature Layer",
   "description": "Recommended Area and Protection under the DOC Protected Natural Areas Programme, which is a process of surveying the whole of New Zealand for areas meriting protection, and of negotiating with landowners to buy or provide other legal protection for the land in question.",
   "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": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 32000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       127,
       127,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        230,
        0,
        0,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1326460.3113000002,
    "ymin": 5056417.159,
    "xmax": 1610748.0913000004,
    "ymax": 5338876.7131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "RAP_",
     "type": "esriFieldTypeInteger",
     "alias": "RAP_",
     "domain": null
    },
    {
     "name": "RAP_ID",
     "type": "esriFieldTypeInteger",
     "alias": "RAP_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": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R78_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S73_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 37,
   "name": "DOC - Sites of Special Wildlife Significance",
   "type": "Feature Layer",
   "description": "The Sites of Special Wildlife Interest (SSWI) wildlife habitat ranking system was\ndeveloped by the Fauna Survey Unit of the former New Zealand Wildlife Service. The Fauna Survey Unit surveyed the whole of New Zealand between 1977 and 1985 on a region by region basis to identify all \"sites of special wildlife interest\". All natural or semi-natural areas important as habitat for one or more species of wildlife were evaluated and each site ranked, according to a set of standard criteria, into five groups on the basis of their value to wildlife, ie, outstanding, high, moderate-high, moderate and potential. SSWI ranking system is officially recognised and continues to be used by the Department of Conservation.",
   "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": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 32000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       215,
       194,
       158,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        38,
        0,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328285.9967,
    "ymin": 5021355.3977,
    "xmax": 1642865.8641999997,
    "ymax": 5329478.5939,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "SSWI_",
     "type": "esriFieldTypeInteger",
     "alias": "SSWI_",
     "domain": null
    },
    {
     "name": "SSWI_ID",
     "type": "esriFieldTypeInteger",
     "alias": "SSWI_ID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R79_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S74_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 38,
   "name": "DOC - Land of National Significance",
   "type": "Feature Layer",
   "description": "Dataset developed and and maintained by DOC (Canterbury) showing areas of natural significance with a brief description of those features.",
   "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": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 32000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       232,
       190,
       255,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        76,
        0,
        115,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1326460.3113000002,
    "ymin": 4951307.0672,
    "xmax": 1639900.1149000004,
    "ymax": 5338876.7131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "P_LABEL",
     "type": "esriFieldTypeString",
     "alias": "P_LABEL",
     "length": 7,
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeString",
     "alias": "ID",
     "length": 4,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "MAP",
     "type": "esriFieldTypeString",
     "alias": "MAP",
     "length": 11,
     "domain": null
    },
    {
     "name": "EAST",
     "type": "esriFieldTypeDouble",
     "alias": "EAST",
     "domain": null
    },
    {
     "name": "NORTH",
     "type": "esriFieldTypeDouble",
     "alias": "NORTH",
     "domain": null
    },
    {
     "name": "DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "DISTRICT",
     "length": 15,
     "domain": null
    },
    {
     "name": "DESCRIPTION1",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION1",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION2",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION2",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION3",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION3",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION4",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION4",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION5",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION5",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION6",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION6",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION7",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION7",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION8",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION8",
     "length": 250,
     "domain": null
    },
    {
     "name": "DESCRIPTION9",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION9",
     "length": 250,
     "domain": null
    },
    {
     "name": "COMBODIST",
     "type": "esriFieldTypeString",
     "alias": "COMBODIST",
     "length": 11,
     "domain": null
    },
    {
     "name": "COMBO_NO",
     "type": "esriFieldTypeString",
     "alias": "COMBO_NO",
     "length": 11,
     "domain": null
    },
    {
     "name": "DISTRICT2",
     "type": "esriFieldTypeString",
     "alias": "DISTRICT2",
     "length": 15,
     "domain": null
    },
    {
     "name": "DISTRICT3",
     "type": "esriFieldTypeString",
     "alias": "DISTRICT3",
     "length": 15,
     "domain": null
    },
    {
     "name": "NATSIG_ID",
     "type": "esriFieldTypeDouble",
     "alias": "NATSIG_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": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R85_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S79_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 39,
   "name": "DOC - 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": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 32000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       190,
       210,
       255,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "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": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R80_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S75_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 40,
   "name": "Canterbury Regional Wetlands",
   "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": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 8000,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       122,
       182,
       245,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        255,
        153
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[AREA_NAME]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "multiPart": "labelLargest",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 8000,
      "minScale": 500000,
      "name": "Default",
      "priority": 35,
      "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,
        153
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328910.0193999996,
    "ymin": 5022693.5435,
    "xmax": 1687421.5999999996,
    "ymax": 5353985.6192,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "AREA_NAME",
     "type": "esriFieldTypeString",
     "alias": "AREA_NAME",
     "length": 150,
     "domain": null
    },
    {
     "name": "SIGNIFICANCE",
     "type": "esriFieldTypeString",
     "alias": "SIGNIFICANCE",
     "length": 15,
     "domain": null
    },
    {
     "name": "CONDITION_INDEX",
     "type": "esriFieldTypeDouble",
     "alias": "CONDITION_INDEX",
     "domain": null
    },
    {
     "name": "THREAT",
     "type": "esriFieldTypeString",
     "alias": "THREAT",
     "length": 15,
     "domain": null
    },
    {
     "name": "DOMINANT_HYDROSYSTEM",
     "type": "esriFieldTypeString",
     "alias": "DOMINANT_HYDROSYSTEM",
     "length": 250,
     "domain": null
    },
    {
     "name": "SECONDARY_HYDROSYSTEM",
     "type": "esriFieldTypeString",
     "alias": "SECONDARY_HYDROSYSTEM",
     "length": 250,
     "domain": null
    },
    {
     "name": "SURVEY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SURVEY_TYPE",
     "length": 15,
     "domain": null
    },
    {
     "name": "SURVEY_DATE",
     "type": "esriFieldTypeString",
     "alias": "SURVEY_DATE",
     "length": 15,
     "domain": null
    },
    {
     "name": "DOCUMENT",
     "type": "esriFieldTypeString",
     "alias": "DOCUMENT",
     "length": 150,
     "domain": null
    },
    {
     "name": "LAND_TENURE",
     "type": "esriFieldTypeString",
     "alias": "LAND_TENURE",
     "length": 250,
     "domain": null
    },
    {
     "name": "LAND_MANAGEMENT",
     "type": "esriFieldTypeString",
     "alias": "LAND_MANAGEMENT",
     "length": 250,
     "domain": null
    },
    {
     "name": "FENZ_ID",
     "type": "esriFieldTypeInteger",
     "alias": "FENZ_ID",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R250_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S241_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 41,
   "name": "Environment Canterbury Land",
   "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": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       3,
       88,
       132,
       153
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        85,
        255,
        0,
        153
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1358828.1062000003,
    "ymin": 5037933.8698,
    "xmax": 1655996.2198,
    "ymax": 5313897.8093,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "TENURE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TENURE",
     "type": "esriFieldTypeString",
     "alias": "TENURE",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCATION",
     "type": "esriFieldTypeString",
     "alias": "LOCATION",
     "length": 50,
     "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": "WS2_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": "WS2_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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R86_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S80_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 44,
   "name": "Cultural/Heritage Sites",
   "type": "Feature Layer",
   "description": "Cultural and/or Heritage sites identified by Canterbury Maps partners.",
   "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": "Canterbury Maps Partners (http://canterburymaps.govt.nz/partners)",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "eff17f219edc13e61ec934c4c150a604",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACYUlEQVQ4jb2UP2gaYRjGH63YGs4QkyEqCDq0pOLQqSlVaioIDioSxFlqMzWbOISCnFvBPyB1qGjBQoJDERcHT7EiJYR0McYDoSCIlA6SIKmiOSpYviuRSq+2gZIHjvve97jf977P90eC/yjJTcJuAXgAQAXgG4A6gMF1YXdMJtNLs9n8xOl0qnU6HXV2dtbP5/OdbDZ7zLLsWwBf/grTarVKi8XyPh6PGymKEpHcwcEB1tfXlXq9/n6z2bQGAgF9JBKJAvi0CCayWCy5VCr1WCwWz5IXFxcEBplMxv8TDoc90+kU0WjU/2uFczC32x2gaXoOxHEc6vU6vF4vlpaWZvlwOLzNMEyLZVlaEGYwGLY1Gs0sHo/HcLlcKJVKaLVaKBQKWFlZ+dmCSCTxeDybLMuSGUa/wZRK5b2r8Wg0gtPpRKVS4ePDw0NsbW2BYRi+ZSKHw6ELBoOGK+/mYFKpVE7ew+EQdrsdtVptztBGowGTyYRyuUwWCmtra6TMZcE2OY4j5S4Tc9PpNJLJJCKRyOw7TdPw+XygKIqPO53OEMBXQVi73e4WCgXD+fk5VldXec82NjZIBej3++j1ejg5OeHHCoUC2WyWbOSWIEylUiXkcvmby8tLWK1WfisQn9xuN28+ad9ms6FYLMJoNE5jsVgewFQQ5vf7k6FQ6JlCoXiIBZpMJtjb2/tYrVZfLTwBOzs7TzOZzIejo6NNIVC320UulztuNBouAN8XwtRqNVmER4lE4nmv13sxGAzuchx3+/T0dAzgM8Mw7/b3918LTfTHW2N3dzcNgDz/rBu9z66lH9/k5qF5rEL0AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 14,
      "height": 14,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1400885.5406999998,
    "ymin": 5028939.7024,
    "xmax": 1640680.6628,
    "ymax": 5326736,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "COMMON_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "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": 3,
     "domain": {
      "type": "codedValue",
      "name": "WS2_CLAGG_SOURCE",
      "description": "Code representing which organisation supplied this information. Based on the Territorial Authority and Regional Council codes that are part of the Statistics New Zealand datasets.",
      "codedValues": [
       {
        "name": "Kaikoura DC",
        "code": "054"
       },
       {
        "name": "Hurunui DC",
        "code": "058"
       },
       {
        "name": "Waimakariri DC",
        "code": "059"
       },
       {
        "name": "Christchurch City Council",
        "code": "060"
       },
       {
        "name": "Ashburton DC",
        "code": "063"
       },
       {
        "name": "Timaru DC",
        "code": "064"
       },
       {
        "name": "Mackenzie DC",
        "code": "065"
       },
       {
        "name": "Waimate DC",
        "code": "066"
       },
       {
        "name": "Waitaki DC",
        "code": "068"
       },
       {
        "name": "Environment Canterbury RC",
        "code": "13"
       },
       {
        "name": "Selwyn DC",
        "code": "062"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "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": {
      "type": "codedValue",
      "name": "WS2_CLAGG_FEATURE_ACCURACY",
      "description": "Feature accuracy classes.",
      "codedValues": [
       {
        "name": "+/- 1m (1:1,000)",
        "code": "+/- 1m (1:1,000)"
       },
       {
        "name": "+/- 10m (1:10,000)",
        "code": "+/- 10m (1:10,000)"
       },
       {
        "name": "+/- 25m (1:25,000)",
        "code": "+/- 25m (1:25,000)"
       },
       {
        "name": "+/- 50m (1:50,000)",
        "code": "+/- 50m (1:50,000)"
       },
       {
        "name": "+/- 100m (1:100,000)",
        "code": "+/- 100m (1:100,000)"
       },
       {
        "name": "+/- 250m (1:250,000)",
        "code": "+/- 250m (1:250,000)"
       },
       {
        "name": "+/- 500m (1:500,000)",
        "code": "+/- 500m (1:500,000)"
       },
       {
        "name": "+/- 1000m (1:1,000,000)",
        "code": "+/- 1000m (1:1,000,000)"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R461_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S451_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 45,
   "name": "The New Zealand Heritage List Rārangi Kōrero",
   "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": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "8969eace3668d5cc851c36a550fbe708",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACGElEQVQ4jb2UQUgUYRTHf0uDO7S7mopiq5cOpZuDBkqzFCSJ3UPWTooYsR46Rh7cg+IpVjvVoaCQ9CIs0cXFi+RhVXAOG+uK4p52hwxEJNjJTXeRjZlRtqlpSwj/MMz7vpn5zXv/9/gE/qOE84RdAG4Al4Es8AnQzgoTfT5CLS3c6ezEW1+PW9P4qiikV1dZU1XeAp//Cquro0GSiAwOclsUceh7y8tQVUVDYyO+cJh7s7Ncj0Z5DijlYA5J4n0wyC2HgTGVyxkwKirMbwYGeKAH0ShPfs7QAvP7eRoIWEGFAqTT0NUFTmdpv7+f3mSSLVVl3BbW1ERvbW1pnc/D1BSsr8PODoyMgMt1UoIDQZaRVZWLevK/waqruXYaHx3B5CRsbJjr7W2YmIDRUbNkXR0dXIlEkE69s8AEAY9+PzyEcBg2N62GZjIwNgahkNEoPB4uAZW2ZebzRrqVxSIEg7C4CPPzpeeBAHR3l7zb2+Mb8MUWtruLGo8jaRq43aZnXq+RAQcHkM2azdBj3buVFWOQt2xhNTW8FEVe6R1sazNHobUVZBnicbP89nZIJKC5meLCAh+Aoi1sZobXfX08dLm4SRkdH8PcHLFkkmcWz399saeHu0tLfEylkO1A+/ugKKxlMtzXx7AsbHjYaIJ/aIhHmsbjXI6rhQJOVeU7kEokeBeL8cLuR388NaaneQPG9c861/PsTPoBMgKnSbaBV6IAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 14,
      "height": 14,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1098136.8360000001,
    "ymin": 4170795.389,
    "xmax": 2461023.335,
    "ymax": 6191714.561,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 1073741822,
     "domain": null
    },
    {
     "name": "Address",
     "type": "esriFieldTypeString",
     "alias": "Address",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "LocalAuthorityName",
     "type": "esriFieldTypeString",
     "alias": "LocalAuthorityName",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "RegionalCouncilName",
     "type": "esriFieldTypeString",
     "alias": "RegionalCouncilName",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "ListEntryStatus",
     "type": "esriFieldTypeString",
     "alias": "ListEntryStatus",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "ListEntryType",
     "type": "esriFieldTypeString",
     "alias": "ListEntryType",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "ListNumber",
     "type": "esriFieldTypeInteger",
     "alias": "ListNumber",
     "domain": null
    },
    {
     "name": "DateEntered",
     "type": "esriFieldTypeDate",
     "alias": "DateEntered",
     "length": 8,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "X",
     "type": "esriFieldTypeDouble",
     "alias": "X",
     "domain": null
    },
    {
     "name": "Y",
     "type": "esriFieldTypeDouble",
     "alias": "Y",
     "domain": null
    },
    {
     "name": "Longitude",
     "type": "esriFieldTypeDouble",
     "alias": "Longitude",
     "domain": null
    },
    {
     "name": "Latitude",
     "type": "esriFieldTypeDouble",
     "alias": "Latitude",
     "domain": null
    },
    {
     "name": "NZAAReferences",
     "type": "esriFieldTypeString",
     "alias": "NZAAReferences",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ListedLegalDescription",
     "type": "esriFieldTypeString",
     "alias": "ListedLegalDescription",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "ExtentofListEntry",
     "type": "esriFieldTypeString",
     "alias": "ExtentofListEntry",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 50,
     "domain": null
    },
    {
     "name": "Date_Supplied",
     "type": "esriFieldTypeDate",
     "alias": "Date_Supplied",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R892_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S874_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 46,
   "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,
       178
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        78,
        78,
        78,
        178
       ],
       "width": 0.8
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1168135.2424999997,
    "ymin": 4792502.6324,
    "xmax": 2065672.1437999997,
    "ymax": 6156531.0016,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "R1014_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S842_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 47,
   "name": "Mudfish Habitat",
   "type": "Feature Layer",
   "description": "Mudfish(Refer Chapter 5: Rule WQN20The Department of Conservation\u2019s New Zealand mudfish (Neochanna spp.) recovery plan 2003-13, has identified the Canterbury mudfish (Neochanna burrowsius) as acutely threatened. Mudfish are characteristically hard to find. The adults are nocturnal, and the species' ability to aestivate (burrow into mud for periods of several weeks) adds to the difficulty of identifying their presence.The places indicated on the planning maps have all been verified since 2000, but even recent observations can be difficult to replicate, and new discoveries are still being made. For mapping purposes, information recorded for a site has been extrapolated in the light of known mudfish behaviour to include areas of the same waterbody beyond the actual record site.",
   "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 2011",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       132,
       168,
       255
      ],
      "width": 3.4
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1438954.4414999997,
    "ymin": 5029446.7099,
    "xmax": 1576654.2370999996,
    "ymax": 5206687.1688,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 25,
     "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.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R431_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S377_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 49,
   "name": "Native Bird River and Open Water Habitat ",
   "type": "Feature Layer",
   "description": "GIS layer showing river and open water habitats for indigenous birds in Canterbury.\n\n  Prepared to acommpany Emvironment Canterbury Unpublished Report U00/37 - The significance of river and open water habitats for indigenous birds in Canterbury, New Zealand (June 2000). Report by Dr Colin F. J. O'Donnell, Science & Research Unit, Department of Conservation.",
   "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 2011",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSVertical",
      "color": [
       245,
       122,
       122,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        205,
        102,
        102,
        255
       ],
       "width": 1.3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328829.9280000003,
    "ymin": 5020764.2021,
    "xmax": 1677568.7055000002,
    "ymax": 5351752.7507,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": -244572.3328350006,
     "xyUnits": 4.449609768237317E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITE_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "HAB_NO",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HAB_NO",
     "domain": null
    },
    {
     "name": "HAB_NO2",
     "type": "esriFieldTypeInteger",
     "alias": "HAB_NO2",
     "domain": null
    },
    {
     "name": "SITE_NAME",
     "type": "esriFieldTypeString",
     "alias": "SITE_NAME",
     "length": 113,
     "domain": null
    },
    {
     "name": "WATER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WATER_TYPE",
     "length": 11,
     "domain": null
    },
    {
     "name": "OWD_PRIME",
     "type": "esriFieldTypeString",
     "alias": "OWD_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "OWD_MICRO",
     "type": "esriFieldTypeString",
     "alias": "OWD_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "DWW_PRIME",
     "type": "esriFieldTypeString",
     "alias": "DWW_PRIME",
     "length": 12,
     "domain": null
    },
    {
     "name": "DWW_MICRO",
     "type": "esriFieldTypeString",
     "alias": "DWW_MICRO",
     "length": 14,
     "domain": null
    },
    {
     "name": "SWW_PRIME",
     "type": "esriFieldTypeString",
     "alias": "SWW_PRIME",
     "length": 12,
     "domain": null
    },
    {
     "name": "SWW_MICRO",
     "type": "esriFieldTypeString",
     "alias": "SWW_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "WAF_PRIME",
     "type": "esriFieldTypeString",
     "alias": "WAF_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "WAF_MICRO",
     "type": "esriFieldTypeString",
     "alias": "WAF_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "GAT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "GAT_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "GAT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "GAT_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "SWR_PRIME",
     "type": "esriFieldTypeString",
     "alias": "SWR_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "SWR_MICRO",
     "type": "esriFieldTypeString",
     "alias": "SWR_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "RIP_PRIME",
     "type": "esriFieldTypeString",
     "alias": "RIP_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "RIP_MICRO",
     "type": "esriFieldTypeString",
     "alias": "RIP_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "BLD_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BLD_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLD_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BLD_MICRO",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLS_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BLS_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BLS_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BLS_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "WRY_PRIME",
     "type": "esriFieldTypeString",
     "alias": "WRY_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "WRY_MICOR",
     "type": "esriFieldTypeString",
     "alias": "WRY_MICOR",
     "length": 11,
     "domain": null
    },
    {
     "name": "BDO_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BDO_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "BDO_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BDO_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "BFT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BFT_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BFT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BFT_MICRO",
     "length": 14,
     "domain": null
    },
    {
     "name": "BIT_PRIME",
     "type": "esriFieldTypeString",
     "alias": "BIT_PRIME",
     "length": 10,
     "domain": null
    },
    {
     "name": "BIT_MICRO",
     "type": "esriFieldTypeString",
     "alias": "BIT_MICRO",
     "length": 10,
     "domain": null
    },
    {
     "name": "CRG_PRIME",
     "type": "esriFieldTypeString",
     "alias": "CRG_PRIME",
     "length": 11,
     "domain": null
    },
    {
     "name": "CRG_MICRO",
     "type": "esriFieldTypeString",
     "alias": "CRG_MICRO",
     "length": 11,
     "domain": null
    },
    {
     "name": "SSWI_RATE",
     "type": "esriFieldTypeString",
     "alias": "SSWI_RATE",
     "length": 13,
     "domain": null
    },
    {
     "name": "TS_RANK",
     "type": "esriFieldTypeString",
     "alias": "TS_RANK",
     "length": 8,
     "domain": null
    },
    {
     "name": "HAB_RANK",
     "type": "esriFieldTypeString",
     "alias": "HAB_RANK",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_REP1",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP1",
     "domain": null
    },
    {
     "name": "HS_REP2",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP2",
     "domain": null
    },
    {
     "name": "HS_REP3",
     "type": "esriFieldTypeInteger",
     "alias": "HS_REP3",
     "domain": null
    },
    {
     "name": "HS_LIFE1",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE1",
     "domain": null
    },
    {
     "name": "HS_LIFE2",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE2",
     "domain": null
    },
    {
     "name": "HS_LIFE3",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE3",
     "domain": null
    },
    {
     "name": "HS_LIFE4",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE4",
     "domain": null
    },
    {
     "name": "HS_LIFE5",
     "type": "esriFieldTypeInteger",
     "alias": "HS_LIFE5",
     "domain": null
    },
    {
     "name": "HS_NATDIV1",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV1",
     "domain": null
    },
    {
     "name": "HS_NATDIV2",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV2",
     "domain": null
    },
    {
     "name": "HS_NATDIV3",
     "type": "esriFieldTypeDouble",
     "alias": "HS_NATDIV3",
     "domain": null
    },
    {
     "name": "HS_DIST1",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST1",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST2",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST2",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST3",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST3",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST4",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST4",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST5",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST5",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST6",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST6",
     "length": 9,
     "domain": null
    },
    {
     "name": "HS_DIST7",
     "type": "esriFieldTypeString",
     "alias": "HS_DIST7",
     "length": 9,
     "domain": null
    },
    {
     "name": "INTACT",
     "type": "esriFieldTypeInteger",
     "alias": "INTACT",
     "domain": null
    },
    {
     "name": "VIABLE",
     "type": "esriFieldTypeInteger",
     "alias": "VIABLE",
     "domain": null
    },
    {
     "name": "ACT_THREAT",
     "type": "esriFieldTypeString",
     "alias": "ACT_THREAT",
     "length": 28,
     "domain": null
    },
    {
     "name": "POT_THREAT",
     "type": "esriFieldTypeString",
     "alias": "POT_THREAT",
     "length": 30,
     "domain": null
    },
    {
     "name": "INFOSOURCE",
     "type": "esriFieldTypeString",
     "alias": "INFOSOURCE",
     "length": 118,
     "domain": null
    },
    {
     "name": "QUALITY",
     "type": "esriFieldTypeString",
     "alias": "QUALITY",
     "length": 27,
     "domain": null
    },
    {
     "name": "COMMENT",
     "type": "esriFieldTypeString",
     "alias": "COMMENT",
     "length": 209,
     "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.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R411_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S357_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}