{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 25,
   "name": "Rūnanga Sensitive Areas (ground disturbance)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       232,
       190,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        197,
        0,
        255,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1414434.0998999998,
    "ymin": 5022204.9125,
    "xmax": 1706077.563,
    "ymax": 5399261.982,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": "Name of area",
     "length": 500,
     "domain": null
    },
    {
     "name": "Area_Type",
     "type": "esriFieldTypeString",
     "alias": "Type of area",
     "length": 200,
     "domain": null
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source of data",
     "length": 200,
     "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": "R2052_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1663_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": 27,
   "name": "Environmental Advisory Entities (Ngāi Tahu) ",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "GISPUBLIC_DBO_NGAI_TAHU_NZTM_En",
     "uniqueValueGroups": [
      {
       "heading": "Entity",
       "classes": [
        {
         "label": "AEC (Aoraki Environmental Consultancy) ",
         "description": "AEC (Aoraki Environmental Consultancy) ",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           79,
           178,
           214,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "AEC (Aoraki Environmental Consultancy) "
          ]
         ]
        },
        {
         "label": "Aukaha",
         "description": "Aukaha",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           133,
           158,
           56,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Aukaha"
          ]
         ]
        },
        {
         "label": "Aukaha / AEC",
         "description": "Aukaha / AEC",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           149,
           219,
           183,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Aukaha / AEC"
          ]
         ]
        },
        {
         "label": "Kaikōura Rūnanga",
         "description": "Kaikōura Rūnanga",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           155,
           141,
           184,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "Kaikōura Rūnanga"
          ]
         ]
        },
        {
         "label": "MKT (Mahaanui Kurataiao)",
         "description": "MKT (Mahaanui Kurataiao)",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           224,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "MKT (Mahaanui Kurataiao)"
          ]
         ]
        },
        {
         "label": "MKT / AEC  ",
         "description": "MKT / AEC  ",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           102,
           140,
           205,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "MKT / AEC  "
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         79,
         178,
         214,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "AEC (Aoraki Environmental Consultancy) ",
       "label": "AEC (Aoraki Environmental Consultancy) "
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         133,
         158,
         56,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Aukaha",
       "label": "Aukaha"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         149,
         219,
         183,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Aukaha / AEC",
       "label": "Aukaha / AEC"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         155,
         141,
         184,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "Kaikōura Rūnanga",
       "label": "Kaikōura Rūnanga"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         224,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "MKT (Mahaanui Kurataiao)",
       "label": "MKT (Mahaanui Kurataiao)"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         102,
         140,
         205,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "MKT / AEC  ",
       "label": "MKT / AEC  "
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          176,
          53,
          164,
          255
         ],
         "toColor": [
          176,
          53,
          164,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          163,
          46,
          255
         ],
         "toColor": [
          59,
          163,
          46,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          156,
          69,
          34,
          255
         ],
         "toColor": [
          156,
          69,
          34,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          48,
          133,
          161,
          255
         ],
         "toColor": [
          48,
          133,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          31,
          61,
          143,
          255
         ],
         "toColor": [
          31,
          61,
          143,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          176,
          165,
          83,
          255
         ],
         "toColor": [
          176,
          165,
          83,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          130,
          52,
          77,
          255
         ],
         "toColor": [
          130,
          52,
          77,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          43,
          143,
          101,
          255
         ],
         "toColor": [
          43,
          143,
          101,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          64,
          43,
          171,
          255
         ],
         "toColor": [
          64,
          43,
          171,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          130,
          94,
          61,
          255
         ],
         "toColor": [
          130,
          94,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          93,
          133,
          58,
          255
         ],
         "toColor": [
          93,
          133,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          100,
          61,
          128,
          255
         ],
         "toColor": [
          100,
          61,
          128,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          71,
          96,
          145,
          255
         ],
         "toColor": [
          71,
          96,
          145,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 40,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323824.5268,
    "ymin": 5004684.3275,
    "xmax": 1688160.0990000004,
    "ymax": 5360266.7197,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "GISPUBLIC_DBO_NGAI_TAHU_NZTM_En",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Contact_Phone",
     "type": "esriFieldTypeString",
     "alias": "Entity Phone",
     "length": 255,
     "domain": null
    },
    {
     "name": "Contact_Email",
     "type": "esriFieldTypeString",
     "alias": "Entity Email",
     "length": 255,
     "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
    },
    {
     "name": "GISPUBLIC_DBO_NGAI_TAHU_NZTM_En",
     "type": "esriFieldTypeString",
     "alias": "Entity",
     "length": 40,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R959_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S941_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": 53,
   "name": "Rock Art Management Area ",
   "type": "Feature Layer",
   "description": "The QMAP project completed the last of 21 new 1:250 000 geological maps in 2012. The maps cover all of New Zealand and their accompanying texts describe each area\u2019s geomorphology, stratigraphy, tectonic history, geological resources, geological hazards and engineering geology in general terms.This dataset is a subset of into a seamless national geological databasethat is accessible to the New Zealand public in vector and raster formats, and will be maintained and updated as a Nationally Significant Database.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Institute of Geological and Nuclear Sciences Ltd",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1412279.6690999996,
    "ymin": 5068794.1415,
    "xmax": 1450806.8210000005,
    "ymax": 5139687.2352,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Catchment",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "BUFF_DIST",
     "type": "esriFieldTypeDouble",
     "alias": "BUFF_DIST",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape.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": "R885_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S867_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,
   "hasZ": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": "Stopbanks",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       230,
       230,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1358117.2255999995,
    "ymin": 5022008.744,
    "xmax": 1655061.7499000002,
    "ymax": 5313683.3575,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 4,
   "name": "Stopbanks - 20m exclusion",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1358117.2255999995,
    "ymin": 5022008.744,
    "xmax": 1655061.7499000002,
    "ymax": 5313683.3575,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 2,
   "name": "Drains and watercourses",
   "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": 0,
   "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": [
          171,
          91,
          163,
          255
         ],
         "toColor": [
          171,
          91,
          163,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          123,
          209,
          77,
          255
         ],
         "toColor": [
          123,
          209,
          77,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          77,
          180,
          191,
          255
         ],
         "toColor": [
          77,
          180,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          153,
          97,
          255
         ],
         "toColor": [
          250,
          153,
          97,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          85,
          80,
          222,
          255
         ],
         "toColor": [
          85,
          80,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          107,
          128,
          82,
          255
         ],
         "toColor": [
          107,
          128,
          82,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          238,
          166,
          255
         ],
         "toColor": [
          247,
          238,
          166,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          77,
          124,
          201,
          255
         ],
         "toColor": [
          77,
          124,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          86,
          240,
          183,
          255
         ],
         "toColor": [
          86,
          240,
          183,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          158,
          76,
          74,
          255
         ],
         "toColor": [
          158,
          76,
          74,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          85,
          230,
          255
         ],
         "toColor": [
          191,
          85,
          230,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          217,
          160,
          143,
          255
         ],
         "toColor": [
          217,
          160,
          143,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          74,
          61,
          128,
          255
         ],
         "toColor": [
          74,
          61,
          128,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1366084.1272,
    "ymin": 5038990.973,
    "xmax": 1657542.5821000002,
    "ymax": 5315191.0562,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 5,
   "name": "Flood protection vegetation boundary",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       127,
       127,
       255
      ],
      "width": 2.5
     },
     "description": "Flood Protection Vegetation Boundary"
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1355964.1758000003,
    "ymin": 5021698.6515,
    "xmax": 1655319.8564999998,
    "ymax": 5313688.5787,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 6,
   "name": "Floodways",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250001,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       85,
       255,
       0,
       255
      ],
      "width": 2.5
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1398486.7992000002,
    "ymin": 5021370.6559,
    "xmax": 1656663.5459000003,
    "ymax": 5311955.1898,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 14,
   "name": "Lakes, Ponds and River Labels",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 250,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "87bab53f01d8472eaa053df783121e3e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQYlWNhIABYRoYCABOYACEvhpUDAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 6,
      "height": 6,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS =  1",
      "useCodedValues": true,
      "maxScale": 500000,
      "minScale": 0,
      "name": "Major",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS IN (1, 2)",
      "useCodedValues": true,
      "maxScale": 125000,
      "minScale": 499999,
      "name": "Minor",
      "priority": 15,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "DISPLAYCLASS IN (1, 2, 0)",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 124999,
      "name": "All",
      "priority": 19,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1090244.5153,
    "ymin": 4748042.4276,
    "xmax": 2470299.3586,
    "ymax": 6223148.4429,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": {
      "type": "codedValue",
      "name": "WS2_Layer_DisplayClass",
      "description": "Classes for breaking down when features should be displayed at different scales.",
      "codedValues": [
       {
        "name": "All scales",
        "code": 0
       },
       {
        "name": "Major features",
        "code": 1
       },
       {
        "name": "Minor features",
        "code": 2
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 50,
     "domain": null
    },
    {
     "name": "TACODE",
     "type": "esriFieldTypeString",
     "alias": "TACODE",
     "length": 3,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R71_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "I80DISPLAYCLASS",
     "fields": "DISPLAYCLASS",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I80FEATURE_TYPE",
     "fields": "FEATURE_TYPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I80PLACENAME",
     "fields": "PLACENAME",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "I80REGION",
     "fields": "REGION",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S66_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,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 18,
   "name": "Lakes, Ponds and Rivers - 1:50,000",
   "type": "Feature Layer",
   "description": "Water features as show on the 1:50,000 Topo Map Series.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FEATURE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Rivers and Streams",
         "description": "Rivers and Streams",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            115,
            178,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "RIVER"
          ],
          [
           "RAPID"
          ]
         ]
        },
        {
         "label": "Lakes, Ponds and Reservoirs",
         "description": "Lakes, Ponds and Reservoirs",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           222,
           244,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            190,
            232,
            255,
            255
           ],
           "width": 1
          }
         },
         "values": [
          [
           "LAGOON"
          ],
          [
           "LAKE"
          ],
          [
           "POND"
          ],
          [
           "RESERVOIR"
          ]
         ]
        },
        {
         "label": "Canals and Water Races",
         "description": "Canals and Water Races",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           112,
           255,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            0,
            112,
            255,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "CANAL"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          178,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "RIVER",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          178,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "RAPID",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "LAGOON",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "LAKE",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "POND",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         222,
         244,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          190,
          232,
          255,
          255
         ],
         "width": 1
        }
       },
       "value": "RESERVOIR",
       "label": "Lakes, Ponds and Reservoirs"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          112,
          255,
          255
         ],
         "width": 0.4
        }
       },
       "value": "CANAL",
       "label": "Canals and Water Races"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          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": false,
   "extent": {
    "xmin": 1090143.3318999996,
    "ymin": 4749800.3351,
    "xmax": 2466098.1902,
    "ymax": 6191027.6469,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeDouble",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 42,
     "domain": null
    },
    {
     "name": "FEATURE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE",
     "length": 50,
     "domain": null
    },
    {
     "name": "LAKE_GROUP",
     "type": "esriFieldTypeString",
     "alias": "LAKE_GROUP",
     "length": 26,
     "domain": null
    },
    {
     "name": "LAKE_USE",
     "type": "esriFieldTypeString",
     "alias": "LAKE_USE",
     "length": 14,
     "domain": null
    },
    {
     "name": "LAKE_PEREN",
     "type": "esriFieldTypeString",
     "alias": "LAKE_PEREN",
     "length": 8,
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "POND_USE",
     "type": "esriFieldTypeString",
     "alias": "POND_USE",
     "length": 16,
     "domain": null
    },
    {
     "name": "DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "DISPLAY",
     "domain": null
    },
    {
     "name": "RESERVOIR",
     "type": "esriFieldTypeString",
     "alias": "RESERVOIR",
     "length": 7,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 50,
     "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": "R74_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S69_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": 17,
   "name": "Rivers and Streams - 1:50,000",
   "type": "Feature Layer",
   "description": "River, stream and canal features from the LINZ 1:50,000 scale Topomaps.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FEATURE_TYPE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Rivers and Streams",
         "description": "Rivers and Streams",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 1
         },
         "values": [
          [
           "Rapid"
          ],
          [
           "River"
          ],
          [
           "Waterfall"
          ]
         ]
        },
        {
         "label": "Canals and Water Races",
         "description": "Canals and Water Races",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           112,
           255,
           255
          ],
          "width": 1.25
         },
         "values": [
          [
           "Canal"
          ],
          [
           "Water Race"
          ]
         ]
        },
        {
         "label": "Drains",
         "description": "Drains",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 0.7
         },
         "values": [
          [
           "Drain"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "Rapid",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "River",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 1
       },
       "value": "Waterfall",
       "label": "Rivers and Streams"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 1.25
       },
       "value": "Canal",
       "label": "Canals and Water Races"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 1.25
       },
       "value": "Water Race",
       "label": "Canals and Water Races"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.7
       },
       "value": "Drain",
       "label": "Drains"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          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": false,
   "extent": {
    "xmin": 1090206.6173,
    "ymin": 4748880.5362,
    "xmax": 2467017.0634000003,
    "ymax": 6221332.9618,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeDouble",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 42,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 12,
     "domain": null
    },
    {
     "name": "RIVER_DEFINITION",
     "type": "esriFieldTypeString",
     "alias": "RIVER_DEFINITION",
     "length": 10,
     "domain": null
    },
    {
     "name": "WATER_RACE",
     "type": "esriFieldTypeString",
     "alias": "WATER_RACE",
     "length": 7,
     "domain": null
    },
    {
     "name": "WATERFALL",
     "type": "esriFieldTypeDouble",
     "alias": "WATERFALL",
     "domain": null
    },
    {
     "name": "X_OFFSET",
     "type": "esriFieldTypeDouble",
     "alias": "X_OFFSET",
     "domain": null
    },
    {
     "name": "Y_OFFSET",
     "type": "esriFieldTypeDouble",
     "alias": "Y_OFFSET",
     "domain": null
    },
    {
     "name": "DISPLAY",
     "type": "esriFieldTypeInteger",
     "alias": "DISPLAY",
     "domain": null
    },
    {
     "name": "REGION",
     "type": "esriFieldTypeString",
     "alias": "REGION",
     "length": 15,
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R75_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S70_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": 15,
   "name": "Rivers and Streams - 1:250,000",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 125001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "HIERARCHY",
     "uniqueValueGroups": [
      {
       "heading": "Rivers and Streams",
       "classes": [
        {
         "label": "All Rivers",
         "description": "All Rivers",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           115,
           178,
           255,
           255
          ],
          "width": 0.6
         },
         "values": [
          [
           "0"
          ],
          [
           "1"
          ],
          [
           "2"
          ]
         ]
        },
        {
         "label": "Main Rivers",
         "description": "Main Rivers",
         "symbol": {
          "type": "esriSLS",
          "style": "esriSLSSolid",
          "color": [
           0,
           92,
           230,
           255
          ],
          "width": 1
         },
         "values": [
          [
           "3"
          ],
          [
           "4"
          ],
          [
           "5"
          ],
          [
           "6"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "0",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "1",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         115,
         178,
         255,
         255
        ],
        "width": 0.6
       },
       "value": "2",
       "label": "All Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "3",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "4",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "5",
       "label": "Main Rivers"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 1
       },
       "value": "6",
       "label": "Main Rivers"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          180,
          189,
          62,
          255
         ],
         "toColor": [
          180,
          189,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          44,
          44,
          156,
          255
         ],
         "toColor": [
          44,
          44,
          156,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          153,
          32,
          58,
          255
         ],
         "toColor": [
          153,
          32,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          63,
          161,
          181,
          255
         ],
         "toColor": [
          63,
          161,
          181,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          196,
          53,
          180,
          255
         ],
         "toColor": [
          196,
          53,
          180,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          46,
          201,
          106,
          255
         ],
         "toColor": [
          46,
          201,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          122,
          41,
          255
         ],
         "toColor": [
          194,
          122,
          41,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          55,
          100,
          163,
          255
         ],
         "toColor": [
          55,
          100,
          163,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          168,
          52,
          118,
          255
         ],
         "toColor": [
          168,
          52,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          163,
          255
         ],
         "toColor": [
          58,
          201,
          163,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          92,
          166,
          36,
          255
         ],
         "toColor": [
          92,
          166,
          36,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          134,
          61,
          184,
          255
         ],
         "toColor": [
          134,
          61,
          184,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          176,
          43,
          39,
          255
         ],
         "toColor": [
          176,
          43,
          39,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1324523.9845000003,
    "ymin": 5005369.8834,
    "xmax": 1691877.6246999996,
    "ymax": 5359553.7188,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "FC",
     "type": "esriFieldTypeString",
     "alias": "FC",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 16,
     "domain": null
    },
    {
     "name": "GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "GROUP_NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "HIERARCHY",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HIERARCHY",
     "domain": null
    },
    {
     "name": "HLENGTH",
     "type": "esriFieldTypeDouble",
     "alias": "HLENGTH",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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": "R73_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S68_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": 16,
   "name": "Lakes and Ponds - 1:250,000",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 250001,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       222,
       244,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        190,
        232,
        255,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1331317.4241000004,
    "ymin": 5020412.1096,
    "xmax": 1648934.3881,
    "ymax": 5336393.3075,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "FC",
     "type": "esriFieldTypeString",
     "alias": "FC",
     "length": 3,
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "TYPE",
     "type": "esriFieldTypeString",
     "alias": "TYPE",
     "length": 16,
     "domain": null
    },
    {
     "name": "GROUP_NAME",
     "type": "esriFieldTypeString",
     "alias": "GROUP_NAME",
     "length": 36,
     "domain": null
    },
    {
     "name": "HIERARCHY",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HIERARCHY",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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": "R72_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S67_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": 13,
   "name": "River Flow and Stage Monitoring Sites",
   "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": 23,
      "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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": 22,
   "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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": 23,
   "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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": 0,
   "name": "Discharge to Land Consented Activities",
   "type": "Feature Layer",
   "description": "Records showing a summary of a consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as points for actvities such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the  Discharge to Land Consented Activities Areas and Discharge to Land Consented Activities Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, 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 contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "fa02d9e8d620031be069db99fcf525fa",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA/klEQVQ4jWNhoBJgGdwGFfkwrGNkZNAjRiMjA8Ouns0MWVgNYmRgcGP4z8BNjEH/GRiccLqIWCAipcrw9uUDRgaG3+QZJKdmxmDtk8NwcH0vw/+/v/+T5SIz12QGM9dEhnnNfgzfPr/DkMdpEDsnL4OZWzLD4Y0TGMzdUxmcgssZJpdaYjUEr0H2gcUMbpH1DAoaVgwaJp4Mk4rMGb58fI3TxTgN2re6nUFJ25ZB3yaUYfPcYoaXj6/hNASvQX9+/2SY3+zPEJAxmeHwpol4DcFrEAj8/PGFYeWERIKGEDSIFMCCxr/DwMCgT5RORrBa7Ab1bmEwoJaLyAZUMwgAVXI/wzv6hKoAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 10000,
      "name": "Default",
      "priority": 5,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1329018.3890000004,
    "ymin": 5017484.8338,
    "xmax": 1683921.5417999998,
    "ymax": 5357911.3748,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeString",
     "alias": "NZTMX",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeString",
     "alias": "NZTMY",
     "length": 20,
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 45,
   "name": "Discharge to Land Consented Activities Area",
   "type": "Feature Layer",
   "description": "Records showing a summary of a consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as ares less than 10,000ha in size for actvities such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Discharge to Land Consented Activities and Discharge to Land Consented Activities Global layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location point may be associated with a single consent.  The feature type property indicates the nature of the recorded activity.   \n\nThe layer includes details on: The type of permit (land use consent, discharge permit, etc.), the section of the RMA underwhich the activity was permitted, the current status of the permit (active, 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 contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       193,
       236,
       245,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "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": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1341507.4614000004,
    "ymin": 5018194.6345,
    "xmax": 1683315.9819,
    "ymax": 5349574.4807,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "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": 46,
   "name": "Discharge to Land Consented Activities Global",
   "type": "Feature Layer",
   "description": "Records showing a summary of a consented activity related to the discharge or contaminants to land as recorded within Environment Canterbury's Resource Management Act Database. This layer contains discharge to land features that are represented as ares less greater than 10,000ha in size or for activities than can be undertaken region wide in Canterbury such as the discharge of effluent or stormwater to land, etc.\n\nNote: Prior to 2013 all actvivties were recorded as point features.  Subsequent to this activities may have been captured as line or area features.  This layer should be used in conjuction with the Discharge to Land Consented Activities and Discharge to Land Consented Activities Area layers to get a full representation of all consented activity features. \n\nDepending on the nature and conditions of the consent, more than location 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 contaminant type, volumes and application rates are also included if relavent to the type of discharge.  \n\nThe layer also contains several sumary fields related to spatially defined regions the location lies with including: which territorial local authority(s); the Land and Water Regional Plan groundwater & surface water allocation zones and nutrient management zone; the Canterbury Water Management Strategy (CWMS) zone; the Ngai Tahu Runanga area of interest for Resource Consenting purposes; and the clean air zone.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       115,
       76,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        76,
        0,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000000,
      "name": "Default",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        76,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1704528.0576999998,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ConsentNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ConsentNo",
     "type": "esriFieldTypeString",
     "alias": "ConsentNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentType",
     "type": "esriFieldTypeString",
     "alias": "ConsentType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentSource",
     "type": "esriFieldTypeString",
     "alias": "ConsentSource",
     "length": 30,
     "domain": null
    },
    {
     "name": "ConsentStatus",
     "type": "esriFieldTypeString",
     "alias": "ConsentStatus",
     "length": 30,
     "domain": null
    },
    {
     "name": "PermitType",
     "type": "esriFieldTypeString",
     "alias": "PermitType",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 70,
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 70,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 70,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 70,
     "domain": null
    },
    {
     "name": "ContaminantType",
     "type": "esriFieldTypeString",
     "alias": "ContaminantType",
     "length": 200,
     "domain": null
    },
    {
     "name": "TreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "TreatmentMethod",
     "length": 1000,
     "domain": null
    },
    {
     "name": "SWTreatmentMethod",
     "type": "esriFieldTypeString",
     "alias": "SWTreatmentMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "DisposalMethod",
     "type": "esriFieldTypeString",
     "alias": "DisposalMethod",
     "length": 100,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxVolume",
     "type": "esriFieldTypeDouble",
     "alias": "MaxVolume",
     "domain": null
    },
    {
     "name": "DischargeVolume",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeVolume",
     "domain": null
    },
    {
     "name": "DischargeArea",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeArea",
     "domain": null
    },
    {
     "name": "DischargeRate",
     "type": "esriFieldTypeDouble",
     "alias": "DischargeRate",
     "domain": null
    },
    {
     "name": "Duration",
     "type": "esriFieldTypeString",
     "alias": "Duration",
     "length": 50,
     "domain": null
    },
    {
     "name": "ApplicationRate",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationRate",
     "domain": null
    },
    {
     "name": "ApplicationDensity",
     "type": "esriFieldTypeDouble",
     "alias": "ApplicationDensity",
     "domain": null
    },
    {
     "name": "StormwaterCollectionArea",
     "type": "esriFieldTypeDouble",
     "alias": "StormwaterCollectionArea",
     "domain": null
    },
    {
     "name": "StormwaterSource1",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource1",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource2",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource2",
     "length": 100,
     "domain": null
    },
    {
     "name": "StormwaterSource3",
     "type": "esriFieldTypeString",
     "alias": "StormwaterSource3",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstimatedGWDepth",
     "type": "esriFieldTypeDouble",
     "alias": "EstimatedGWDepth",
     "domain": null
    },
    {
     "name": "EstimatedGWPermeability",
     "type": "esriFieldTypeString",
     "alias": "EstimatedGWPermeability",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWConfined",
     "type": "esriFieldTypeString",
     "alias": "GWConfined",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstGWDownstreamUse",
     "type": "esriFieldTypeString",
     "alias": "EstGWDownstreamUse",
     "length": 100,
     "domain": null
    },
    {
     "name": "DistanceToSurfaceWater",
     "type": "esriFieldTypeDouble",
     "alias": "DistanceToSurfaceWater",
     "domain": null
    },
    {
     "name": "EstSWInstreamValues",
     "type": "esriFieldTypeString",
     "alias": "EstSWInstreamValues",
     "length": 100,
     "domain": null
    },
    {
     "name": "AnimalNumbers",
     "type": "esriFieldTypeDouble",
     "alias": "AnimalNumbers",
     "domain": null
    },
    {
     "name": "ConsentedAnimalNumbers",
     "type": "esriFieldTypeString",
     "alias": "ConsentedAnimalNumbers",
     "length": 10,
     "domain": null
    },
    {
     "name": "LLUR",
     "type": "esriFieldTypeString",
     "alias": "LLUR",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "GIS_TerritorialAuthority",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Catchment",
     "type": "esriFieldTypeString",
     "alias": "GIS_Catchment",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CWMSZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CWMSZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_Runanga",
     "type": "esriFieldTypeString",
     "alias": "GIS_Runanga",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_GWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_GWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_SWAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_SWAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationClass",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationClass",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_NutrientAllocationZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_NutrientAllocationZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "GIS_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "FEATURE_ACCURACY",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_ACCURACY",
     "length": 70,
     "domain": null
    },
    {
     "name": "FEATURE_NAME",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_NOTE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_NOTE",
     "length": 500,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 500,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeInteger",
     "alias": "FTID",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "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": 11,
   "name": "Piezometric Contours",
   "type": "Feature Layer",
   "description": "Gives the average height of ground water above sea level. This layer was created from a combination of shallow and deep aquifer ground water levels derived from averages of all available data in 2003 (approximately 20 years).",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ZLEVEL]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 250000,
      "name": "Default",
      "priority": 26,
      "symbol": {
       "type": "esriTS",
       "color": [
        115,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1459319.0795,
    "ymin": 5098681.5623,
    "xmax": 1577058.9688999997,
    "ymax": 5216831.9301,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "ZLEVEL",
     "type": "esriFieldTypeDouble",
     "alias": "ZLEVEL",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "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
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R319_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S265_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": 51,
   "name": "Piezometric Contours - Regional",
   "type": "Feature Layer",
   "description": "Gives the average height of ground water above sea level. This layer was created from a combination of shallow and deep aquifer ground water levels derived from averages of all available data in 2003 (approximately 20 years).",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       171,
       94,
       255
      ],
      "width": 1
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1459319.0795,
    "ymin": 5098681.5623,
    "xmax": 1577058.9688999997,
    "ymax": 5216831.9301,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SOURCECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ZLEVEL",
     "type": "esriFieldTypeDouble",
     "alias": "ZLEVEL",
     "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": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R771_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S758_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": "Spring Locations",
   "type": "Feature Layer",
   "description": "Location of springs information as recorded in Environment Canterbury's Wells database.\nLocation accuracy is given by the QAR_CODE field:\n1 = 1-2 metres\n2 = 2-15 metres\n3 = 10-50 metres\n4 = 50-300 metres",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "03b1c5f88f83adcc94b7c1bfbb982e04",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA50lEQVQokZWRP0tCYRTGf2+9ZVJLGOkXuNCWS6vkZ0jUKQgaXEWCIIlXUqipvSUSyj8fwK9QcDfXRpdWByG913sCMfS164UeOMM5PL/DeTiaf0qHTt/MAaJ3+fQHGBOsB17vHDbVE3A664/0F+1GmeJN+y/QNIdsqHcgsbQiBdKiU49RqL7YwJauoSzzQsIjz6bDhfleAIpMRNZ94joNfCxn8CIAQE3sk0R6KHW8xj0g6fVtwNtpsD3OAc6K2Qe5JGt8Gzi/GtG9PyGYPoCcAXsgLkiF4q37a7P/kL8eAqV5hSr80xH6AZNgOGFAnOyXAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SPRING_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 31,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        115,
        76,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1331958.412060831,
    "ymin": 5018939.38602121,
    "xmax": 1683006.092960121,
    "ymax": 5350793.203715862,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SPRING_NO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SPRING_NO",
     "type": "esriFieldTypeString",
     "alias": "SPRING_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "SPRING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SPRING_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "SPRING_CHARACTER",
     "type": "esriFieldTypeString",
     "alias": "SPRING_CHARACTER",
     "length": 20,
     "domain": null
    },
    {
     "name": "MORPHOLOGY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "MORPHOLOGY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "VARIABILITY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "VARIABILITY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "GEOLOGY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GEOLOGY_TYPE",
     "length": 20,
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_3",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_3",
     "length": 2,
     "domain": null
    },
    {
     "name": "QUALARC_SITE_NO",
     "type": "esriFieldTypeString",
     "alias": "QUALARC_SITE_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "ISOTOPE_DATA",
     "type": "esriFieldTypeString",
     "alias": "ISOTOPE_DATA",
     "length": 1,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "ALTITUDE_MEAS_REP",
     "type": "esriFieldTypeString",
     "alias": "ALTITUDE_MEAS_REP",
     "length": 1,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_3_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_3_DESC",
     "length": 50,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": 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": 8,
   "name": "Wells",
   "type": "Feature Layer",
   "description": "Wells and Bores as recorded in the Environment Canterbury Wells Database.  Note that this may include proposed bores and test bores that have been subsequently filled in.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury Regional Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "48da74f196318335ca63140688864f95",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1UlEQVQokWNhIBGwUKqBi8ExpJhBWtGegYmZleHNszMMB9b0MHz79hybBlaGwPSVDMaOPnARNQM7BgkFO4aN8wIY3j55iqrBzj+fwcgBoRgGlLRMGKxcqxk2z89C1SCjZMnAyIjd4cJS1phO+s+AQzUDA8P//0yYGt48O8Lw53cgAwsrpob3L45hati9so+BR9CDQd/aFa7p/38GhmunrjI8vViGqQEE1s9wY/j1vY5BWMKZgYGRheH9q7MMbz6XM5w9+x27BhDYurCJgYEBhLECkmMaAKRYOQ/PF0E6AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WELL_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 15000,
      "name": "Default",
      "priority": 7,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        132,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        240,
        240,
        240,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1331958.412060831,
    "ymin": 5018939.38602121,
    "xmax": 1683006.092960121,
    "ymax": 5350793.203715862,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WELL_NO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_STATUS",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS",
     "length": 2,
     "domain": null
    },
    {
     "name": "WELL_STATUS_DESC",
     "type": "esriFieldTypeString",
     "alias": "WELL_STATUS_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "LOCALITY",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 70,
     "domain": null
    },
    {
     "name": "ROAD_OR_STREET",
     "type": "esriFieldTypeString",
     "alias": "ROAD_OR_STREET",
     "length": 50,
     "domain": null
    },
    {
     "name": "WELL_OWNER",
     "type": "esriFieldTypeString",
     "alias": "WELL_OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "DIAMETER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DIAMETER",
     "domain": null
    },
    {
     "name": "DATE_DRILLED",
     "type": "esriFieldTypeDate",
     "alias": "DATE_DRILLED",
     "length": 8,
     "domain": null
    },
    {
     "name": "USE_CODE_1",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_1_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_1_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "USE_CODE_2",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2",
     "length": 2,
     "domain": null
    },
    {
     "name": "USE_CODE_2_DESC",
     "type": "esriFieldTypeString",
     "alias": "USE_CODE_2_DESC",
     "length": 50,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "GW_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "GW_MONITORING_TYPE_DESC",
     "length": 25,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE",
     "length": 6,
     "domain": null
    },
    {
     "name": "WQ_MONITORING_TYPE_DESC",
     "type": "esriFieldTypeString",
     "alias": "WQ_MONITORING_TYPE_DESC",
     "length": 30,
     "domain": null
    },
    {
     "name": "WQ_SAMPLE_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WQ_SAMPLE_COUNT",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_1",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_2",
     "domain": null
    },
    {
     "name": "TOP_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN_3",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_1",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_1",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_2",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_2",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN_3",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN_3",
     "domain": null
    },
    {
     "name": "READING_COUNT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "READING_COUNT",
     "domain": null
    },
    {
     "name": "REFERENCE_RL",
     "type": "esriFieldTypeSingle",
     "alias": "REFERENCE_RL",
     "domain": null
    },
    {
     "name": "GROUND_RL",
     "type": "esriFieldTypeSingle",
     "alias": "GROUND_RL",
     "domain": null
    },
    {
     "name": "HIGHEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "LOWEST_WATER_LEVEL",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_WATER_LEVEL",
     "domain": null
    },
    {
     "name": "INITIAL_SWL",
     "type": "esriFieldTypeSingle",
     "alias": "INITIAL_SWL",
     "domain": null
    },
    {
     "name": "START_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "START_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "END_READINGS",
     "type": "esriFieldTypeDate",
     "alias": "END_READINGS",
     "length": 8,
     "domain": null
    },
    {
     "name": "CALC_MIN",
     "type": "esriFieldTypeSingle",
     "alias": "CALC_MIN",
     "domain": null
    },
    {
     "name": "MAX_YIELD",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_YIELD",
     "domain": null
    },
    {
     "name": "MAX_DRAW_DOWN",
     "type": "esriFieldTypeSingle",
     "alias": "MAX_DRAW_DOWN",
     "domain": null
    },
    {
     "name": "STRATA",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STRATA",
     "domain": null
    },
    {
     "name": "SPECIFIC_CAPACITY",
     "type": "esriFieldTypeSingle",
     "alias": "SPECIFIC_CAPACITY",
     "domain": null
    },
    {
     "name": "ISOTOPE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ISOTOPE",
     "domain": null
    },
    {
     "name": "WATER_USE",
     "type": "esriFieldTypeInteger",
     "alias": "WATER_USE",
     "domain": null
    },
    {
     "name": "AQUIFER_TESTS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "AQUIFER_TESTS",
     "domain": null
    },
    {
     "name": "STEP_TEST_STEPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "STEP_TEST_STEPS",
     "domain": null
    },
    {
     "name": "RECORDNO",
     "type": "esriFieldTypeString",
     "alias": "RECORDNO",
     "length": 60,
     "domain": null
    },
    {
     "name": "ALLOCATEDRATE",
     "type": "esriFieldTypeDouble",
     "alias": "ALLOCATEDRATE",
     "domain": null
    },
    {
     "name": "MAXRATE",
     "type": "esriFieldTypeDouble",
     "alias": "MAXRATE",
     "domain": null
    },
    {
     "name": "EXPIRYDATE",
     "type": "esriFieldTypeDate",
     "alias": "EXPIRYDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "INALLOCATION",
     "type": "esriFieldTypeString",
     "alias": "INALLOCATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "ESTMETHOD",
     "type": "esriFieldTypeString",
     "alias": "ESTMETHOD",
     "length": 255,
     "domain": null
    },
    {
     "name": "QAR_CODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QAR_CODE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 15,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 15,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 66,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "RECORDSTATUS",
     "type": "esriFieldTypeString",
     "alias": "RECORDSTATUS",
     "length": 30,
     "domain": null
    },
    {
     "name": "MAXVOLUME",
     "type": "esriFieldTypeDouble",
     "alias": "MAXVOLUME",
     "domain": null
    },
    {
     "name": "CONSECDAYS",
     "type": "esriFieldTypeDouble",
     "alias": "CONSECDAYS",
     "domain": null
    },
    {
     "name": "CONSENTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "CONSENTALLOCATION",
     "domain": null
    },
    {
     "name": "ESTALLOCATION",
     "type": "esriFieldTypeDouble",
     "alias": "ESTALLOCATION",
     "domain": null
    },
    {
     "name": "ESTDATE",
     "type": "esriFieldTypeInteger",
     "alias": "ESTDATE",
     "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": 10,
   "name": "Community Supply Wells",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 32000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9bd485df07b71493dbddc47a6e9d5b4b",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABpklEQVQ4jbWTT0hTcRzAP++9EautQ4EHKy/y2pDUg4HQqSgvGWpF21E6eI6sKXkQPUgajY0gjFqHdQuE3bzYoR08jGAdWlEbTwj6JyUOHbP0tfeNhz5He00F6Qs/+P77fX7f75fvz8M+xfN/APrwCTTrGhYBkA1QXmH6U3wc/7U7IHB7ECp3EbwojlPgQOkT+q0wRixTHxCM3EQkVqfaJlTlBS2RM7yPvnUDgsPHkMqkY/acX+BKl8H35UM8eNbBtx8+2+3H4iFwzg0Q6yrgtdWBUI7ExNx2qP/yO1ovXWd5xQsiZwkMHqcQ/1IDEN3p+Ub/679qb2woE7pY4PHz9k2HhQ7UABR+OqqmimsAmmpVDbWa66kClAyyefHpTBuxkfR2yC49NXdyK0/WKJNzAxr9s3wt5e1xxpOnKa566btgsFQ8yL1EJ4tLPuf5aT5H/1FBevw3wUgYkZfA0WTqFPapkXnW/aP19yAffYM+1IlmxRG67da3IiWER5iHx2q30b2Jxv0FoJe2O0cwzWawNvCVP5B9Yrpyd/xMuakikK0b3xWwR/kD8IyJSqQDP5QAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[WELL_NO]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "priority": 29,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        77,
        168,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        190,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1344525.4336094907,
    "ymin": 5020724.359485511,
    "xmax": 1674414.1505882826,
    "ymax": 5332685.292353704,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "OBJECTID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "WELL_NO",
     "type": "esriFieldTypeString",
     "alias": "WELL_NO",
     "length": 9,
     "domain": null
    },
    {
     "name": "DEPTH",
     "type": "esriFieldTypeSingle",
     "alias": "DEPTH",
     "domain": null
    },
    {
     "name": "WELL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "WELL_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SUPPLY_NAME",
     "type": "esriFieldTypeString",
     "alias": "SUPPLY_NAME",
     "length": 254,
     "domain": null
    },
    {
     "name": "OWNER",
     "type": "esriFieldTypeString",
     "alias": "OWNER",
     "length": 50,
     "domain": null
    },
    {
     "name": "MOH_SOURCE_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SOURCE_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "MOH_SUPPLY_NUMBER",
     "type": "esriFieldTypeString",
     "alias": "MOH_SUPPLY_NUMBER",
     "length": 16,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_CLASSIFICATION",
     "length": 255,
     "domain": null
    },
    {
     "name": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "type": "esriFieldTypeString",
     "alias": "COMMUNITY_SUPPLY_AQUIFER_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "GROUNDWATER_BEARING",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BEARING",
     "domain": null
    },
    {
     "name": "GROUNDWATER_OFFSET",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_OFFSET",
     "domain": null
    },
    {
     "name": "GROUNDWATER_BARRIER",
     "type": "esriFieldTypeSmallInteger",
     "alias": "GROUNDWATER_BARRIER",
     "domain": null
    },
    {
     "name": "TOP_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "TOP_SCREEN",
     "domain": null
    },
    {
     "name": "BOTTOM_SCREEN",
     "type": "esriFieldTypeSingle",
     "alias": "BOTTOM_SCREEN",
     "domain": null
    },
    {
     "name": "NUMBER_OF_SCREENS",
     "type": "esriFieldTypeInteger",
     "alias": "NUMBER_OF_SCREENS",
     "domain": null
    },
    {
     "name": "VERIFIED_BY",
     "type": "esriFieldTypeString",
     "alias": "VERIFIED_BY",
     "length": 20,
     "domain": null
    },
    {
     "name": "VERIFIED_DATE",
     "type": "esriFieldTypeDate",
     "alias": "VERIFIED_DATE",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": 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": 1,
   "name": "Well Installation Consented Activities",
   "type": "Feature Layer",
   "description": "Records showing a summary of a consented activity related to the installation of a well as recorded within Environment Canterbury's Resource Management Act Database.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 25001,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "df782a43c44af67e9554e443371aba62",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA70lEQVQ4jWNhoBJgGdwGzVt1fR0Dw389IvXuSgrTysLlIjcGBkZuIg1ywukiYgEfDxvDl2+/GMk2SFSIg0FTRZDhyq13DP/+MfwnyyA1RQEGVQV+hj1HnzD8/PUXQx6nQawsTGDNV2+/Y1BTEmDQUxdm2LLvAVZD8Bqkoy7EYKAlwiAmwskgLcHNsGXvQ4YfP7EbgtegS9ffMoiLcDEoyPAynLr4iuHDp584DcFr0N9//xn2Hn3CYG4oznDt9ju8huA1CAR+//nHcOT0c4KGEDSIFMCCxr/DwMCgT4xGRoha7AYlhWkaUMtFZAOqGQQAA3o+4vvJQJ0AAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[ConsentNo]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 17,
      "symbol": {
       "type": "esriTS",
       "color": [
        68,
        79,
        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.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HolderName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "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": "ActivityNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordType",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordType",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityRecordNo",
     "type": "esriFieldTypeString",
     "alias": "ActivityRecordNo",
     "length": 30,
     "domain": null
    },
    {
     "name": "FeatureType",
     "type": "esriFieldTypeString",
     "alias": "FeatureType",
     "length": 4000,
     "domain": null
    },
    {
     "name": "FeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FeatureID",
     "domain": null
    },
    {
     "name": "RMASection",
     "type": "esriFieldTypeString",
     "alias": "RMASection",
     "length": 30,
     "domain": null
    },
    {
     "name": "ActivityText",
     "type": "esriFieldTypeString",
     "alias": "ActivityText",
     "length": 30,
     "domain": null
    },
    {
     "name": "FileNo",
     "type": "esriFieldTypeString",
     "alias": "FileNo",
     "length": 255,
     "domain": null
    },
    {
     "name": "HolderName",
     "type": "esriFieldTypeString",
     "alias": "HolderName",
     "length": 160,
     "domain": null
    },
    {
     "name": "ECNumber",
     "type": "esriFieldTypeString",
     "alias": "ECNumber",
     "length": 100,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 255,
     "domain": null
    },
    {
     "name": "fmDate",
     "type": "esriFieldTypeDate",
     "alias": "fmDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "fmDateText",
     "type": "esriFieldTypeString",
     "alias": "fmDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "toDate",
     "type": "esriFieldTypeDate",
     "alias": "toDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "toDateText",
     "type": "esriFieldTypeString",
     "alias": "toDateText",
     "length": 150,
     "domain": null
    },
    {
     "name": "Lapses",
     "type": "esriFieldTypeDate",
     "alias": "Lapses",
     "length": 8,
     "domain": null
    },
    {
     "name": "GivenEffectTo",
     "type": "esriFieldTypeDate",
     "alias": "GivenEffectTo",
     "length": 8,
     "domain": null
    },
    {
     "name": "Expires",
     "type": "esriFieldTypeDate",
     "alias": "Expires",
     "length": 8,
     "domain": null
    },
    {
     "name": "WellNo",
     "type": "esriFieldTypeString",
     "alias": "WellNo",
     "length": 16,
     "domain": null
    },
    {
     "name": "WellActivity",
     "type": "esriFieldTypeString",
     "alias": "WellActivity",
     "length": 255,
     "domain": null
    },
    {
     "name": "WellLocation",
     "type": "esriFieldTypeString",
     "alias": "WellLocation",
     "length": 255,
     "domain": null
    },
    {
     "name": "Depth",
     "type": "esriFieldTypeDouble",
     "alias": "Depth",
     "domain": null
    },
    {
     "name": "Diameter",
     "type": "esriFieldTypeDouble",
     "alias": "Diameter",
     "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_CleanAirZone",
     "type": "esriFieldTypeString",
     "alias": "GIS_CleanAirZone",
     "length": 200,
     "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": "CaptureScale",
     "type": "esriFieldTypeInteger",
     "alias": "CaptureScale",
     "domain": null
    },
    {
     "name": "SharedLocation",
     "type": "esriFieldTypeString",
     "alias": "SharedLocation",
     "length": 3,
     "domain": null
    },
    {
     "name": "SpecialLocationType",
     "type": "esriFieldTypeString",
     "alias": "SpecialLocationType",
     "length": 250,
     "domain": null
    },
    {
     "name": "CAP",
     "type": "esriFieldTypeString",
     "alias": "CAP",
     "length": 17,
     "domain": null
    },
    {
     "name": "LINK",
     "type": "esriFieldTypeString",
     "alias": "LINK",
     "length": 117,
     "domain": null
    },
    {
     "name": "FTID",
     "type": "esriFieldTypeOID",
     "alias": "FTID",
     "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": 7,
   "name": "Groundwater Take Consented Activities",
   "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": 9,
      "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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 12,
   "name": "Groundwater Allocation Zones",
   "type": "Feature Layer",
   "description": "Intended UseThe Groundwater Allocation Zones layer collates zones for regulating groundwater use as defined in the Canterbury Land and Water Regional Plan (LWRP) and various regional plans. This includes groundwater allocation zones, groundwater management zones, and combined surface water and groundwater zones. Layers were digitised to cadastral accuracy (1:10,000 scale), but recommended use is at the 1:50,000 scale or smaller.For further information on plans and associated planning boundaries, please visit https://www.ecan.govt.nz/your-region/plans-strategies-and-bylaws/ and https://eplan.ecan.govt.nz/eplan/#/Property/0Attribute InformationSpatial IDs: ObjectID, GeoPK, GeoCat, GeoIDZone Names: Zone Name, LabelPlan Name:LWRP - Canterbury Land and Water Regional PlanHWRRP - Hurunui and Waiau River Regional PlanPCEFWARP - Pareora Catchment Environmental Flow and Water Allocation Regional PlanWCEFWARP - Waipara Catchment Environmental Flow and Water Allocation Regional PlanWCWARP - Waitaki Catchment Water Allocation Regional PlanZone Status: Operative - operative plan holding legal bearingProposed-Notified - publicly notified proposed planProposed-Decision - hearing decision version of the proposed planZone Type:Groundwater Allocation Zone - plan applies groundwater allocation limitsGroundwater Management Zone - plan applies allocation and quality limits to Christchurch Groundwater Protection ZoneCombined Allocation Zone - plan applies allocation limits to both surface water and groundwaterNo Groundwater Allocation Zone - aggregate of areas not yet assigned groundwater allocation zonesGIS Metadata Fields: Sourcecode, QARCode, CreatedBy, CreatedDate, ModifiedBy, ModifiedDateGIS Shape Fields: Perimeter_M, Area_M2, Area_HA, Shape, Shape.STArea(), Shape.STLength()",
   "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": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        38,
        0,
        255
       ],
       "width": 1.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004746.2036,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ZoneName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "length": 255,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "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
    },
    {
     "name": "SpatialUnitID",
     "type": "esriFieldTypeString",
     "alias": "SpatialUnitID",
     "length": 8,
     "domain": null
    },
    {
     "name": "ZoneName",
     "type": "esriFieldTypeString",
     "alias": "Zone Name",
     "length": 255,
     "domain": null
    },
    {
     "name": "PLAN_",
     "type": "esriFieldTypeString",
     "alias": "Plan",
     "length": 50,
     "domain": null
    },
    {
     "name": "ZoneStatus",
     "type": "esriFieldTypeString",
     "alias": "Plan Status",
     "length": 25,
     "domain": null
    },
    {
     "name": "ZoneType",
     "type": "esriFieldTypeString",
     "alias": "Zone Type",
     "length": 255,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R2745_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "UUID_2745",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2198_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": 19,
   "name": "Wetland Areas",
   "type": "Feature Layer",
   "description": "Features identified as part of a desktop study related to recorded wetlands within the Canterbury Region.  Information collated from various sources, including aerial imagery and the New Zealand NZMS250 series topo maps.\n\nNote: Information in this layer has not been field verified.  The location of a feature in this layer does not necessarily indicate the actual presence of a wetland at that location.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Department of Conservation",
   "parentLayer": 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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": 20,
   "name": "Wetlands of Representive Importance",
   "type": "Feature Layer",
   "description": "WERI (Wetlands of Ecological and Representative Importance), is a computer database which contains records on approximately 3,000 wetlands throughout New Zealand. Originated by the Department of Conservation. The Department holds inventories on wetlands: WERI database (Wetlands of Ecological and Regional Importance), Coastal Resource Inventory (including wetlands such as mangroves) and SSWI (Sites of Special Wildlife Interest). These inventories, particular WERI, form an important basis for the Department's advocacy of appropriate management of wetlands by private landowners. Conservation Management Strategies and Regional Policy Statements have provided Department of Conservation and Regional Councils with the chance to identify and state management goals for wetlands on a regional basis. Information includes size; location; land ownership; classification (hydro class, geomorphic origin, community class, dominant plant species); modifiers and threats; buffer, wildlife and vegetation values; other ecological values; cultural values; significance; and sources of information.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Department of Conservation",
   "parentLayer": 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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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": 24,
   "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": 28,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        38,
        115,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "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": 21,
   "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": 1.0E-4,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "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
  }
 ],
 "tables": []
}