{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Street Addresses",
   "type": "Feature Layer",
   "description": "This dataset contains the core components of an address to support simple searching or use of this layer to provide context. This dataset has been sourced from LINZ\u2019s Address Information Management System (AIMS), a centralised database for the management of national addresses, including for electoral purposes.",
   "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": 4000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "507f28742aa5dc4dea13e491cb2b4d71",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhwANYhpQkAA17AB3iDJ3sAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 5,
      "height": 5,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1329312.5939999996,
    "ymin": 4949915.0284,
    "xmax": 1688195.6851000004,
    "ymax": 5355303.9661,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Water_Route_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Address_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Address_Id",
     "domain": null
    },
    {
     "name": "Change_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Change_Id",
     "domain": null
    },
    {
     "name": "Address_Type",
     "type": "esriFieldTypeString",
     "alias": "Address_Type",
     "length": 10,
     "domain": null
    },
    {
     "name": "Unit_Value",
     "type": "esriFieldTypeString",
     "alias": "Unit_Value",
     "length": 10,
     "domain": null
    },
    {
     "name": "Address_Number",
     "type": "esriFieldTypeInteger",
     "alias": "Address_Number",
     "domain": null
    },
    {
     "name": "Address_Number_Suffix",
     "type": "esriFieldTypeString",
     "alias": "Address_Number_Suffix",
     "length": 10,
     "domain": null
    },
    {
     "name": "Address_Number_High",
     "type": "esriFieldTypeInteger",
     "alias": "Address_Number_High",
     "domain": null
    },
    {
     "name": "Water_Route_Name",
     "type": "esriFieldTypeString",
     "alias": "Water_Route_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Water_Name",
     "type": "esriFieldTypeString",
     "alias": "Water_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Suburb_Locality",
     "type": "esriFieldTypeString",
     "alias": "Suburb_Locality",
     "length": 50,
     "domain": null
    },
    {
     "name": "Town_City",
     "type": "esriFieldTypeString",
     "alias": "Town_City",
     "length": 50,
     "domain": null
    },
    {
     "name": "Full_Address_Number",
     "type": "esriFieldTypeString",
     "alias": "Full_Address_Number",
     "length": 10,
     "domain": null
    },
    {
     "name": "Full_Road_Name",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "Full_Address",
     "type": "esriFieldTypeString",
     "alias": "Full_Address",
     "length": 200,
     "domain": null
    },
    {
     "name": "Road_Section_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Road_Section_Id",
     "domain": null
    },
    {
     "name": "Water_Route_Name_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Water_Route_Name_ASCII",
     "length": 50,
     "domain": null
    },
    {
     "name": "Water_Name_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Water_Name_ASCII",
     "length": 50,
     "domain": null
    },
    {
     "name": "Suburb_Locality_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Suburb_Locality_ASCII",
     "length": 50,
     "domain": null
    },
    {
     "name": "Town_City_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Town_City_ASCII",
     "length": 50,
     "domain": null
    },
    {
     "name": "Full_Road_Name_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name_ASCII",
     "length": 50,
     "domain": null
    },
    {
     "name": "Full_Address_ASCII",
     "type": "esriFieldTypeString",
     "alias": "Full_Address_ASCII",
     "length": 200,
     "domain": null
    },
    {
     "name": "Search_Address",
     "type": "esriFieldTypeString",
     "alias": "Search_Address",
     "length": 250,
     "domain": null
    },
    {
     "name": "Search_Address_ASSCI",
     "type": "esriFieldTypeString",
     "alias": "Search_Address_ASSCI",
     "length": 250,
     "domain": null
    },
    {
     "name": "TA_Code",
     "type": "esriFieldTypeString",
     "alias": "TA_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "TA_Name",
     "type": "esriFieldTypeString",
     "alias": "TA_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "domain": null
    },
    {
     "name": "DatasetId",
     "type": "esriFieldTypeInteger",
     "alias": "DatasetId",
     "domain": null
    },
    {
     "name": "RevisionId",
     "type": "esriFieldTypeInteger",
     "alias": "RevisionId",
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeString",
     "alias": "SpatialAccuracy",
     "length": 20,
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R118_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S90_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": 1,
   "name": "Place and Locality Names",
   "type": "Feature Layer",
   "description": "The Place Names Gazetteer contains official and unofficial place names under the jurisdiction of the New Zealand Geographic Board Ngā Pou Taunaha o Aotearoa (NZGB). Official place names are those that have been assigned, altered, adopted, approved, and validated under the NZGB Act 2008 or through other statutes that assign official names, for example, Treaty settlement legislation. Unofficial place names are those that have not been processed under the NZGB Act 2008 or through other relevant statutes.\n\nData is extracted from Land Information New Zealand\u2019s (LINZ) \u2018New Zealand Gazetteer of Official Geographic Names\u2019, which is maintained by the NZGB Secretariat.",
   "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": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "507f28742aa5dc4dea13e491cb2b4d71",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhwANYhpQkAA17AB3iDJ3sAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 5,
      "height": 5,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1077187.5566999996,
    "ymin": 4729055.3142,
    "xmax": 2106735.2994999997,
    "ymax": 6223149.6102,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Name_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Name_Id",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 254,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 254,
     "domain": null
    },
    {
     "name": "Feat_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Feat_Id",
     "domain": null
    },
    {
     "name": "Feat_Type",
     "type": "esriFieldTypeString",
     "alias": "Feat_Type",
     "length": 254,
     "domain": null
    },
    {
     "name": "NZGB_Ref",
     "type": "esriFieldTypeString",
     "alias": "NZGB_Ref",
     "length": 254,
     "domain": null
    },
    {
     "name": "Land_District",
     "type": "esriFieldTypeString",
     "alias": "Land_District",
     "length": 254,
     "domain": null
    },
    {
     "name": "Info_Ref",
     "type": "esriFieldTypeString",
     "alias": "Info_Ref",
     "length": 2000,
     "domain": null
    },
    {
     "name": "Info_Origin",
     "type": "esriFieldTypeString",
     "alias": "Info_Origin",
     "length": 4000,
     "domain": null
    },
    {
     "name": "Info_Description",
     "type": "esriFieldTypeString",
     "alias": "Info_Description",
     "length": 1000,
     "domain": null
    },
    {
     "name": "Info_Note",
     "type": "esriFieldTypeString",
     "alias": "Info_Note",
     "length": 1000,
     "domain": null
    },
    {
     "name": "Feat_Note",
     "type": "esriFieldTypeString",
     "alias": "Feat_Note",
     "length": 200,
     "domain": null
    },
    {
     "name": "Maori_Name",
     "type": "esriFieldTypeString",
     "alias": "Maori_Name",
     "length": 3,
     "domain": null
    },
    {
     "name": "CPA_Legislation",
     "type": "esriFieldTypeString",
     "alias": "CPA_Legislation",
     "length": 500,
     "domain": null
    },
    {
     "name": "Conservancy",
     "type": "esriFieldTypeString",
     "alias": "Conservancy",
     "length": 25,
     "domain": null
    },
    {
     "name": "DOC_Cons_Unit_No",
     "type": "esriFieldTypeString",
     "alias": "DOC_Cons_Unit_No",
     "length": 10,
     "domain": null
    },
    {
     "name": "DOC_Gaz_Ref",
     "type": "esriFieldTypeString",
     "alias": "DOC_Gaz_Ref",
     "length": 50,
     "domain": null
    },
    {
     "name": "Treaty_Legislation",
     "type": "esriFieldTypeString",
     "alias": "Treaty_Legislation",
     "length": 200,
     "domain": null
    },
    {
     "name": "Accuracy",
     "type": "esriFieldTypeString",
     "alias": "Accuracy",
     "length": 10,
     "domain": null
    },
    {
     "name": "Gebco",
     "type": "esriFieldTypeString",
     "alias": "Gebco",
     "length": 3,
     "domain": null
    },
    {
     "name": "Region",
     "type": "esriFieldTypeString",
     "alias": "Region",
     "length": 3,
     "domain": null
    },
    {
     "name": "Scufn",
     "type": "esriFieldTypeString",
     "alias": "Scufn",
     "length": 10,
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeString",
     "alias": "Height",
     "length": 10,
     "domain": null
    },
    {
     "name": "Ant_Pn_Ref",
     "type": "esriFieldTypeString",
     "alias": "Ant_Pn_Ref",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ant_PGaz_Ref",
     "type": "esriFieldTypeString",
     "alias": "Ant_PGaz_Ref",
     "length": 50,
     "domain": null
    },
    {
     "name": "Scar_id",
     "type": "esriFieldTypeString",
     "alias": "Scar_id",
     "length": 50,
     "domain": null
    },
    {
     "name": "Scar_Rec_By",
     "type": "esriFieldTypeString",
     "alias": "Scar_Rec_By",
     "length": 50,
     "domain": null
    },
    {
     "name": "Accuracy_Rating",
     "type": "esriFieldTypeString",
     "alias": "Accuracy_Rating",
     "length": 1,
     "domain": null
    },
    {
     "name": "Desc_Code",
     "type": "esriFieldTypeString",
     "alias": "Desc_Code",
     "length": 10,
     "domain": null
    },
    {
     "name": "Rev_Gaz_Ref",
     "type": "esriFieldTypeString",
     "alias": "Rev_Gaz_Ref",
     "length": 50,
     "domain": null
    },
    {
     "name": "Rev_Treaty_Legislation",
     "type": "esriFieldTypeString",
     "alias": "Rev_Treaty_Legislation",
     "length": 200,
     "domain": null
    },
    {
     "name": "TA_Code",
     "type": "esriFieldTypeString",
     "alias": "TA_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "TA_Name",
     "type": "esriFieldTypeString",
     "alias": "TA_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "REG_Code",
     "type": "esriFieldTypeString",
     "alias": "REG_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "REG_Name",
     "type": "esriFieldTypeString",
     "alias": "REG_Name",
     "length": 50,
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "LINZDatasetId",
     "type": "esriFieldTypeInteger",
     "alias": "LINZDatasetId",
     "domain": null
    },
    {
     "name": "LINZRevisionId",
     "type": "esriFieldTypeInteger",
     "alias": "LINZRevisionId",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R105_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S77_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": 2,
   "name": "Bus Stops",
   "type": "Feature Layer",
   "description": "Metro bus network bus stop locations, listing routes serviced and onsite identifier for linking to next bus available.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -20037700,
    "falseY": -30241100,
    "xyUnits": 10000000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 25000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9a1caf510b1241affca95d5aa215ba97",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAACcAAAAsCAYAAADmZKH2AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE30lEQVRYhd2Yf2hbVRTHT15emjbNuv6SQm27wbYqpYrUP1T2x/5U1nUI/l6nMJ2d4Ni6qgh1KtJSQSlurkzd7GDOVUT/EEYFcRX2x1gFHf4xhistFdpmKXRNO9M0aV4S+Z70hJfXlyZpX2L1C4/7bt5793xy7rnvvnNU2sBSaQNLpf8aXDgcvoR2aWmJ+5qmWW9YjZsuKCjg1uFwtKSF0zQtBhiA4cB5JBKhaDRqGZiiKGS32xkQYwMQdlVVtaWE0zTtC8AEg0EKBAIUCoUYEANYLbvdzlBOp5NcLhcVFhayfVVVD5nCQYAB2NzcHDU0HKZc6+bNvoQ3ZapN4cLhMMPBYwCrqt5KzkIXFTgLLYdaCgUpFAywnfHxfvaiw+FIDYe4kniDcgUG6ceV2DbGdRIcYksO4wBrVSgUIr/fTwsLC4kFgBhzu93kXB7faNcUDlptVcZiMZqZmeHpN75eMCUSM5WVlWSzxRcewB579H7av28nNe9uosEfr9PXA1fp2vCfvBhWs5v2JSyvlNnZWe7b7Qpd/Kqd7qu/l8rL3PzbrM9Pt0amqPWlE9yfmJjgtqysjD0GsMtDf1D7G+doz+4m7g/9cp0qKipWtZ0Wzuv10gONdfTk3ofos774Kt+5q5Oi0RgpStw7OIcC898knjt89Esa/vUW+Xw+9tjRjn76afBdemJPN33S+zK/SizZvn4b/jipf/VKT9pn+k4e5Nbpfo6nsqX5YXq8uYtb9DPZdbLaW12bX6BIJJqIJ7OYlKnXexEx9vyzj1D/mdfpwsUr3C8uLrYWDmA1NTUMJyAi/W+Tk5NJ1xD8l4d+pxdbd9HBQ6cZDKvVUjh5k0Nm3kvlUQQ+Foa+n4myhrPyA8BSOIfDTrdve9Leh5jLO5zfN0D5lEobWGo2N3f3fE8d7S2kqnbaVN6adG1+5kLi/KPeH6jz7afyC5dvqdl4ravnO5ry3KEPu/dTyP/tilV85Ng5Pj/b/zMpNoWOdz6dezhNi9CbHXvJOz1H773zDE8rtiW97njP04neAwlQ3B8MLuUeLr7JK4n9EjJ6Tq/Tp9rWDZYx3PH3B6j7g318PjrmpfHxadP7tmy5h9v6HdXk9wd5YeQUrrS0lE6eGqServjqfLDpGO+xso2JsK/KJxQ2fVzHc3g+Z3AlJSWcick3G1RbW7tiHwWcxzPF53fvBrgFIJ63DM7oEZHxvWYm+QNVNa8wrPEP7Gh4i1LJzG4SHL5O5ZD0DUlOXV0dpZPNZmOPppKMoR8L45vZNYWTxFbqF8groVzmrRDswa7Re6oxg5ISATLxVBl/VfVW2rS5nDLV3/OzNO35y/Qa7MBe2qRa/gXySgiZuL5WIt9yjY1HuM0EUMBu3PiU++IdY61EZislHIoomqa1oaiCQZarP4kqkyS+IyOfU339a2kBBQz36+NKX2WCDZlWfRHH1HMoQ6EcJQ9j1enhpFwxOnqGtm9vSwkoYLhPpg3j6eGwiDCVaI3lL1M4ATT7HdAAW1xcZANjY2dp27ZXVwAKGK5jFnAUFRUJoHmiYcaR6Y0CDUDSSe9BkXhsPWBZw5kBRqPRpBiE0MdUrgdsTXBGQEVROG4mJs4nrqMPOF2sZQ22ZjgIBlHYBpysbBGCHWDLi2pFITovn+kOkwq4lfp/5BD0L+gf949Dj0OL/DwAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 29,
      "height": 33,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1453258.5576444967,
    "ymin": 5080380.923802501,
    "xmax": 1581433.7366054445,
    "ymax": 5207284.973812918,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ProjectName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ProjectID",
     "type": "esriFieldTypeString",
     "alias": "ProjectID",
     "length": 50,
     "domain": null
    },
    {
     "name": "ProjectName",
     "type": "esriFieldTypeString",
     "alias": "ProjectName",
     "length": 100,
     "domain": null
    },
    {
     "name": "PlatformTag",
     "type": "esriFieldTypeDouble",
     "alias": "PlatformTag",
     "domain": null
    },
    {
     "name": "PlatformNo",
     "type": "esriFieldTypeDouble",
     "alias": "PlatformNo",
     "domain": null
    },
    {
     "name": "PlatformName",
     "type": "esriFieldTypeString",
     "alias": "PlatformName",
     "length": 150,
     "domain": null
    },
    {
     "name": "RoadName",
     "type": "esriFieldTypeString",
     "alias": "RoadName",
     "length": 150,
     "domain": null
    },
    {
     "name": "BearingToRoad",
     "type": "esriFieldTypeDouble",
     "alias": "BearingToRoad",
     "domain": null
    },
    {
     "name": "RouteNos",
     "type": "esriFieldTypeString",
     "alias": "RouteNos",
     "length": 250,
     "domain": null
    },
    {
     "name": "RouteTags",
     "type": "esriFieldTypeString",
     "alias": "RouteTags",
     "length": 500,
     "domain": null
    },
    {
     "name": "Routes",
     "type": "esriFieldTypeString",
     "alias": "Routes",
     "length": 750,
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeInteger",
     "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
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "River Gauging Sites",
   "type": "Feature Layer",
   "description": "Locations where river level gaugings have been undertaken, listing the time period over which readings are available, the number of readings that have been undertaken, whether the site has a telemetered recorder, wther its used for minimum flow processes, etc.",
   "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": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "291b9f4a1769a3c64ff898b73f2b50ac",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAo0lEQVQokWNhwA6kGBgYnmGTYMEiZszAwLCZgYFBkoGBwYSBgeEsPg1gxcYMrpLvGV4y3GO4dAZdEws2xWUMC8EClQweGJpYcCkGgXaGHRiaWKAexFCMQ5M0CzQ0wG7GBQQZxEEUipNMQCaATAKZiAy6GOIZzjLsBiluBBkO0wASwNCEphgU1CihhKIJ5Ax0xdjiAa4JykZRjE0DTJM0lI2RPADVzkYrXI5ceAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 32000,
      "name": "Default",
      "priority": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        169,
        0,
        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": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITENUMBER",
   "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": "FLOW_OR_STAGE",
     "type": "esriFieldTypeString",
     "alias": "FLOW_OR_STAGE",
     "length": 1,
     "domain": null
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "length": 1,
     "domain": null
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "MINIMUM",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM",
     "domain": null
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 4,
   "name": "Rainfall Monitoring Sites",
   "type": "Feature Layer",
   "description": "Locations where rainfall monitoring has been undertaken, listing the time period over which readings are available, the number of readings that have been undertaken, whether the site has a telemetered recorder, and summaries of last week's recorded daily rainfall amounts if the site is telemetered.",
   "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": "842121f3a4dd1ed9cc023660c83ed836",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAsklEQVQokWNhIBOw4JHbDKV9SdG4WUZRw+fJ/Rsg9hkGBgYTYjSCNbmFpDLwCYowTKiKN8ammQWXJi0jG7BAQdtCrJpZ8GkCARlFDayaWfBpwqEZFGi+cBtBAQHyEz7AJyjC8On9m2cgNgtSkJ8BmQgyGWQDMgAZOq+7GKRpCwMDQzq6H02waX6Cqgkep+ihiqIZBLBpwqYRRTPUTxiacGmEad4MDQiwn4jVCAJY0ygMAAAgfVdnLJuT6AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER] CONCAT \" - \" CONCAT [SITE]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 32000,
      "name": "Default",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        253,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "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": 64,
     "domain": null
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "length": 118,
     "domain": null
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "length": 1,
     "domain": null
    },
    {
     "name": "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": "LAST_SAMPLE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_HOUR",
     "type": "esriFieldTypeDouble",
     "alias": "LAST_HOUR",
     "domain": null
    },
    {
     "name": "RAIN_TODAY",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_TODAY",
     "domain": null
    },
    {
     "name": "RAIN_1_DAY_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_1_DAY_AGO",
     "domain": null
    },
    {
     "name": "RAIN_2_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_2_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_3_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_3_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_4_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_4_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_5_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_5_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_6_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_6_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_7_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_7_DAYS_AGO",
     "domain": null
    },
    {
     "name": "TOTAL_RAINFALL",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_RAINFALL",
     "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": 5,
   "name": "Roads",
   "type": "Feature Layer",
   "description": "Labels for road and street names in Canterbury.  Taken from the LINZ CRS system representaion of Streets and Roads.  Updated regularly.",
   "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": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSNull",
      "color": [
       240,
       240,
       240,
       0
      ],
      "width": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1239707.2141000004,
    "ymin": 4827346.2536,
    "xmax": 1871144.5017999997,
    "ymax": 6190213.6001,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Road_Name_Class",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Road_Id",
     "type": "esriFieldTypeInteger",
     "alias": "Road_Id",
     "domain": null
    },
    {
     "name": "Geometry_Class",
     "type": "esriFieldTypeString",
     "alias": "Geometry_Class",
     "length": 40,
     "domain": null
    },
    {
     "name": "Road_Type",
     "type": "esriFieldTypeString",
     "alias": "Road_Type",
     "length": 40,
     "domain": null
    },
    {
     "name": "Road_Name_Class",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Class",
     "length": 40,
     "domain": null
    },
    {
     "name": "Full_Road_Name",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name",
     "length": 250,
     "domain": null
    },
    {
     "name": "Road_Name_Label",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Label",
     "length": 250,
     "domain": null
    },
    {
     "name": "Road_Name_Prefix",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Prefix",
     "length": 40,
     "domain": null
    },
    {
     "name": "Road_Name_Body",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Body",
     "length": 100,
     "domain": null
    },
    {
     "name": "Road_Name_Type",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Type",
     "length": 40,
     "domain": null
    },
    {
     "name": "Road_Name_Suffix",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Suffix",
     "length": 40,
     "domain": null
    },
    {
     "name": "Route_Name_Body",
     "type": "esriFieldTypeString",
     "alias": "Route_Name_Body",
     "length": 100,
     "domain": null
    },
    {
     "name": "Route_Name_Number",
     "type": "esriFieldTypeInteger",
     "alias": "Route_Name_Number",
     "domain": null
    },
    {
     "name": "Route_Name_Alpha",
     "type": "esriFieldTypeString",
     "alias": "Route_Name_Alpha",
     "length": 1,
     "domain": null
    },
    {
     "name": "Route_Name_Suffix",
     "type": "esriFieldTypeString",
     "alias": "Route_Name_Suffix",
     "length": 40,
     "domain": null
    },
    {
     "name": "Full_Road_Name_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name_Ascii",
     "length": 250,
     "domain": null
    },
    {
     "name": "Road_Name_Label_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Label_Ascii",
     "length": 250,
     "domain": null
    },
    {
     "name": "Road_Name_Body_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Road_Name_Body_Ascii",
     "length": 100,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINZ_Dataset_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Dataset_Id",
     "domain": null
    },
    {
     "name": "LINZ_Revision_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Revision_Id",
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "domain": {
      "type": "codedValue",
      "name": "WS3_QA_SpatialAccuracy",
      "description": "Indication of spatail accuracy for data use pruposes.",
      "codedValues": [
       {
        "name": "Unknown",
        "code": 0
       },
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey",
        "code": 1
       },
       {
        "name": "Handheld GPS (Mobile Device GPS)",
        "code": 2
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 3
       },
       {
        "name": "Digitised using ortho imagery",
        "code": 4
       },
       {
        "name": "Topo Grid Reference ±100m, location not checked",
        "code": 5
       },
       {
        "name": "Estimated location, should be within 50m of final location",
        "code": 6
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "NZTM_X",
     "type": "esriFieldTypeInteger",
     "alias": "NZTM_X",
     "domain": null
    },
    {
     "name": "NZTM_Y",
     "type": "esriFieldTypeInteger",
     "alias": "NZTM_Y",
     "domain": null
    },
    {
     "name": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "CreatedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "ModifiedBy",
     "length": 100,
     "domain": null
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "ModifiedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R127_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "IX_Road_Id",
     "fields": "Road_Id",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "IX_Road_name",
     "fields": "Full_Road_Name",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S99_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 7,
   "name": "School Enrolment Zones",
   "type": "Feature Layer",
   "description": "An Enrolment Scheme Home Zone is a means of limiting the roll to prevent overcrowding at a school, and enables the Ministry of Education to make best use of the current accommodation at schools in the surrounding area.  Each enrolment scheme must contain a home zone with clearly defined boundaries.  Students who live in the home zone have an absolute right to enrol at the school.  The enrolment scheme boundaries (School Enrolment Home Zones) are available in map. The written descriptions are not yet available.  Where there is conflict between these two forms, the written description should take precedence.  For the avoidance of doubt enrolment enquiries should be made directly to the school.More information about enrolment schemes can be found on the Ministry of Education website.",
   "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": "Sourced from http://www.educationcounts.govt.nz/data-services/collecting-information/code_sets/school-enrolment-zones",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "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": [
        85,
        255,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.0864000004,
    "ymin": 4701317.1806,
    "xmax": 2079904.6744999997,
    "ymax": 6131234.2882,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SCHOOL_ID",
     "type": "esriFieldTypeDouble",
     "alias": "SCHOOL_ID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 255,
     "domain": null
    },
    {
     "name": "TELEPHONE",
     "type": "esriFieldTypeString",
     "alias": "TELEPHONE",
     "length": 255,
     "domain": null
    },
    {
     "name": "FAX",
     "type": "esriFieldTypeString",
     "alias": "FAX",
     "length": 255,
     "domain": null
    },
    {
     "name": "EMAIL",
     "type": "esriFieldTypeString",
     "alias": "EMAIL",
     "length": 255,
     "domain": null
    },
    {
     "name": "PRINCIPAL",
     "type": "esriFieldTypeString",
     "alias": "PRINCIPAL",
     "length": 255,
     "domain": null
    },
    {
     "name": "SCHOOL_WEBSITE",
     "type": "esriFieldTypeString",
     "alias": "SCHOOL_WEBSITE",
     "length": 255,
     "domain": null
    },
    {
     "name": "STREET",
     "type": "esriFieldTypeString",
     "alias": "STREET",
     "length": 255,
     "domain": null
    },
    {
     "name": "SUBURB",
     "type": "esriFieldTypeString",
     "alias": "SUBURB",
     "length": 255,
     "domain": null
    },
    {
     "name": "CITY",
     "type": "esriFieldTypeString",
     "alias": "CITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "POSTAL_ADDRESS_1",
     "type": "esriFieldTypeString",
     "alias": "POSTAL_ADDRESS_1",
     "length": 255,
     "domain": null
    },
    {
     "name": "POSTAL_ADDRESS_2",
     "type": "esriFieldTypeString",
     "alias": "POSTAL_ADDRESS_2",
     "length": 255,
     "domain": null
    },
    {
     "name": "POSTAL_ADDRESS_3",
     "type": "esriFieldTypeString",
     "alias": "POSTAL_ADDRESS_3",
     "length": 255,
     "domain": null
    },
    {
     "name": "POSTAL_CODE",
     "type": "esriFieldTypeDouble",
     "alias": "POSTAL_CODE",
     "domain": null
    },
    {
     "name": "URBAN_AREA",
     "type": "esriFieldTypeString",
     "alias": "URBAN_AREA",
     "length": 255,
     "domain": null
    },
    {
     "name": "SCHOOL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SCHOOL_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "DEFINITION",
     "type": "esriFieldTypeString",
     "alias": "DEFINITION",
     "length": 255,
     "domain": null
    },
    {
     "name": "AUTHORITY",
     "type": "esriFieldTypeString",
     "alias": "AUTHORITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "GENDER_OF_STUDENTS",
     "type": "esriFieldTypeString",
     "alias": "GENDER_OF_STUDENTS",
     "length": 255,
     "domain": null
    },
    {
     "name": "TERRITORIAL_AUTHORITY",
     "type": "esriFieldTypeString",
     "alias": "TERRITORIAL_AUTHORITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "REGIONAL_COUNCIL",
     "type": "esriFieldTypeString",
     "alias": "REGIONAL_COUNCIL",
     "length": 255,
     "domain": null
    },
    {
     "name": "MINISTRY_OF_EDUCATION_LOCAL_23",
     "type": "esriFieldTypeString",
     "alias": "MINISTRY_OF_EDUCATION_LOCAL_OFFICE",
     "length": 255,
     "domain": null
    },
    {
     "name": "EDUCATION_REGION",
     "type": "esriFieldTypeString",
     "alias": "EDUCATION_REGION",
     "length": 255,
     "domain": null
    },
    {
     "name": "GENERAL_ELECTORATE",
     "type": "esriFieldTypeString",
     "alias": "GENERAL_ELECTORATE",
     "length": 255,
     "domain": null
    },
    {
     "name": "MAORI_ELECTORATE",
     "type": "esriFieldTypeString",
     "alias": "MAORI_ELECTORATE",
     "length": 255,
     "domain": null
    },
    {
     "name": "CENSUS_AREA_UNIT",
     "type": "esriFieldTypeString",
     "alias": "CENSUS_AREA_UNIT",
     "length": 255,
     "domain": null
    },
    {
     "name": "WARD",
     "type": "esriFieldTypeString",
     "alias": "WARD",
     "length": 255,
     "domain": null
    },
    {
     "name": "DECILE",
     "type": "esriFieldTypeDouble",
     "alias": "DECILE",
     "domain": null
    },
    {
     "name": "TOTAL_SCHOOL_ROLL",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_SCHOOL_ROLL",
     "domain": null
    },
    {
     "name": "EUROPEAN_PAKEHA",
     "type": "esriFieldTypeDouble",
     "alias": "EUROPEAN_PAKEHA",
     "domain": null
    },
    {
     "name": "MAORI",
     "type": "esriFieldTypeDouble",
     "alias": "MAORI",
     "domain": null
    },
    {
     "name": "PASIFICA",
     "type": "esriFieldTypeDouble",
     "alias": "PASIFICA",
     "domain": null
    },
    {
     "name": "MELAA",
     "type": "esriFieldTypeDouble",
     "alias": "MELAA",
     "domain": null
    },
    {
     "name": "OTHER",
     "type": "esriFieldTypeDouble",
     "alias": "OTHER",
     "domain": null
    },
    {
     "name": "INTERNATIONAL_STUDENTS",
     "type": "esriFieldTypeDouble",
     "alias": "INTERNATIONAL_STUDENTS",
     "domain": null
    },
    {
     "name": "APPROVAL_DATE",
     "type": "esriFieldTypeDate",
     "alias": "APPROVAL_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "EFFECTIVE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EFFECTIVE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ASIAN",
     "type": "esriFieldTypeDouble",
     "alias": "ASIAN",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS4_QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "WS4_QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "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": "R263_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S250_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": 8,
   "name": "MBIE Technical Classes",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA). Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 5000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "DBH_TC",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "TC1",
         "description": "TC1",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           156,
           156,
           156,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            156,
            156,
            156,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "TC1"
          ]
         ]
        },
        {
         "label": "TC2",
         "description": "TC2",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           115,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "TC2"
          ]
         ]
        },
        {
         "label": "TC3",
         "description": "TC3",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           190,
           232,
           255,
           255
          ],
          "outline": null
         },
         "values": [
          [
           "TC3"
          ]
         ]
        },
        {
         "label": "N/A - Port Hills and Banks Peninsula",
         "description": "N/A - Port Hills and Banks Peninsula",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           189,
           162,
           117,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            189,
            162,
            117,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "N/A - Port Hills & Banks Peninsula"
          ]
         ]
        },
        {
         "label": "N/A - Rural and Unmapped",
         "description": "N/A - Rural and Unmapped",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           227,
           202,
           161,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            227,
            202,
            161,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "N/A - Rural & Unmapped"
          ]
         ]
        },
        {
         "label": "N/A - Urban Nonresidential",
         "description": "N/A - Urban Nonresidential",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           227,
           202,
           161,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            227,
            202,
            161,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "N/A - Urban Nonresidential"
          ]
         ]
        },
        {
         "label": "Red Zone",
         "description": "Red Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           127,
           127,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            127,
            127,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "Red Zone"
          ],
          [
           "Red Zone Waimakariri"
          ],
          [
           "Red Zone Christchurch"
          ],
          [
           "Red Zone Port Hills"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         156,
         156,
         156,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          156,
          156,
          156,
          255
         ],
         "width": 0.4
        }
       },
       "value": "TC1",
       "label": "TC1"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         115,
         255
        ],
        "outline": null
       },
       "value": "TC2",
       "label": "TC2"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         190,
         232,
         255,
         255
        ],
        "outline": null
       },
       "value": "TC3",
       "label": "TC3"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         189,
         162,
         117,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          189,
          162,
          117,
          255
         ],
         "width": 0.4
        }
       },
       "value": "N/A - Port Hills & Banks Peninsula",
       "label": "N/A - Port Hills and Banks Peninsula"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         227,
         202,
         161,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          227,
          202,
          161,
          255
         ],
         "width": 0.4
        }
       },
       "value": "N/A - Rural & Unmapped",
       "label": "N/A - Rural and Unmapped"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         227,
         202,
         161,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          227,
          202,
          161,
          255
         ],
         "width": 0.4
        }
       },
       "value": "N/A - Urban Nonresidential",
       "label": "N/A - Urban Nonresidential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         127,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          127,
          127,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Red Zone",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         127,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          127,
          127,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Red Zone Waimakariri",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         127,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          127,
          127,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Red Zone Christchurch",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         127,
         127,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          127,
          127,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Red Zone Port Hills",
       "label": "Red Zone"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        245,
        208,
        24,
        255
       ],
       "toColor": [
        90,
        10,
        250,
        255
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "DBH_TC",
     "length": 254,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "WS4_QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "WS4_QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SHAPE",
     "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": "R318_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S302_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": 6,
   "name": "Land Parcels",
   "type": "Feature Layer",
   "description": "Land parcel boundaries taken from the LINZ CRS system.  Updated regularly.",
   "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": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Parcel_Intent",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Land Parcel Boundary",
         "description": "Land Parcel Boundary",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            0,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "DCDB"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          0,
          255
         ],
         "width": 0.4
        }
       },
       "value": "DCDB",
       "label": "Land Parcel Boundary"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        245,
        208,
        24,
        255
       ],
       "toColor": [
        90,
        10,
        250,
        255
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1310078.7567999996,
    "ymin": 4914782.1261,
    "xmax": 1728114.0643999996,
    "ymax": 5407890.3925,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "PAR_ID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeInteger",
     "alias": "PAR_ID",
     "domain": null
    },
    {
     "name": "Legal_Description",
     "type": "esriFieldTypeString",
     "alias": "Legal_Description",
     "length": 400,
     "domain": null
    },
    {
     "name": "Affected_Surveys",
     "type": "esriFieldTypeString",
     "alias": "Affected_Surveys",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "Parcel_Intent",
     "type": "esriFieldTypeString",
     "alias": "Parcel_Intent",
     "length": 200,
     "domain": null
    },
    {
     "name": "Topology_Type",
     "type": "esriFieldTypeString",
     "alias": "Topology_Type",
     "length": 20,
     "domain": null
    },
    {
     "name": "Statutory_Actions",
     "type": "esriFieldTypeString",
     "alias": "Statutory_Actions",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "Land_District",
     "type": "esriFieldTypeString",
     "alias": "Land_District",
     "length": 40,
     "domain": null
    },
    {
     "name": "Titles",
     "type": "esriFieldTypeString",
     "alias": "Titles",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "Survey_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Survey_Area",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINZ_Dataset_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Dataset_Id",
     "domain": null
    },
    {
     "name": "LINZ_Revision_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Revision_Id",
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "domain": {
      "type": "codedValue",
      "name": "WS3_QA_SpatialAccuracy",
      "description": "Indication of spatail accuracy for data use pruposes.",
      "codedValues": [
       {
        "name": "Unknown",
        "code": 0
       },
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey",
        "code": 1
       },
       {
        "name": "Handheld GPS (Mobile Device GPS)",
        "code": 2
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 3
       },
       {
        "name": "Digitised using ortho imagery",
        "code": 4
       },
       {
        "name": "Topo Grid Reference ±100m, location not checked",
        "code": 5
       },
       {
        "name": "Estimated location, should be within 50m of final location",
        "code": 6
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "NZTM_X",
     "type": "esriFieldTypeInteger",
     "alias": "NZTM_X",
     "domain": null
    },
    {
     "name": "NZTM_Y",
     "type": "esriFieldTypeInteger",
     "alias": "NZTM_Y",
     "domain": null
    },
    {
     "name": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "CreatedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "ModifiedBy",
     "length": 100,
     "domain": null
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "ModifiedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "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": "R126_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "IX_PAR_ID",
     "fields": "PAR_ID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "IX_LEGAL_DESCRIP",
     "fields": "Legal_Description",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S98_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 14,
   "name": "Rating Units",
   "type": "Feature Layer",
   "description": "Areas maintained and used for rating purposes by district and city councils.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Canterbury Local Councils",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "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": [
        52,
        52,
        52,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1321657.9411000004,
    "ymin": 4953873.872,
    "xmax": 1688725.8096000003,
    "ymax": 5366004.7672,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "LocalityName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TLA",
     "type": "esriFieldTypeString",
     "alias": "TLA",
     "length": 3,
     "domain": null
    },
    {
     "name": "ValuationNo",
     "type": "esriFieldTypeString",
     "alias": "ValuationNo",
     "length": 15,
     "domain": null
    },
    {
     "name": "InternalId",
     "type": "esriFieldTypeString",
     "alias": "InternalId",
     "length": 200,
     "domain": null
    },
    {
     "name": "DisplayId",
     "type": "esriFieldTypeString",
     "alias": "DisplayId",
     "length": 200,
     "domain": null
    },
    {
     "name": "PublicURL",
     "type": "esriFieldTypeString",
     "alias": "PublicURL",
     "length": 200,
     "domain": null
    },
    {
     "name": "StreetAddress",
     "type": "esriFieldTypeString",
     "alias": "StreetAddress",
     "length": 150,
     "domain": null
    },
    {
     "name": "LocalityName",
     "type": "esriFieldTypeString",
     "alias": "LocalityName",
     "length": 50,
     "domain": null
    },
    {
     "name": "LegalDescription",
     "type": "esriFieldTypeString",
     "alias": "LegalDescription",
     "length": 200,
     "domain": null
    },
    {
     "name": "RatingHectares",
     "type": "esriFieldTypeString",
     "alias": "RatingHectares",
     "length": 10,
     "domain": null
    },
    {
     "name": "CapitalValue",
     "type": "esriFieldTypeInteger",
     "alias": "CapitalValue",
     "domain": null
    },
    {
     "name": "LandValue",
     "type": "esriFieldTypeInteger",
     "alias": "LandValue",
     "domain": null
    },
    {
     "name": "ImprovementsValue",
     "type": "esriFieldTypeInteger",
     "alias": "ImprovementsValue",
     "domain": null
    },
    {
     "name": "Improvements",
     "type": "esriFieldTypeString",
     "alias": "Improvements",
     "length": 100,
     "domain": null
    },
    {
     "name": "LandUse",
     "type": "esriFieldTypeString",
     "alias": "LandUse",
     "length": 5,
     "domain": null
    },
    {
     "name": "Category",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 10,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 200,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "domain": {
      "type": "codedValue",
      "name": "WS3_QA_SpatialAccuracy",
      "description": "Indication of spatail accuracy for data use pruposes.",
      "codedValues": [
       {
        "name": "Unknown",
        "code": 0
       },
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey",
        "code": 1
       },
       {
        "name": "Handheld GPS (Mobile Device GPS)",
        "code": 2
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 3
       },
       {
        "name": "Digitised using ortho imagery",
        "code": 4
       },
       {
        "name": "Topo Grid Reference ±100m, location not checked",
        "code": 5
       },
       {
        "name": "Estimated location, should be within 50m of final location",
        "code": 6
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "domain": null
    },
    {
     "name": "TerritorialAuthority",
     "type": "esriFieldTypeString",
     "alias": "TerritorialAuthority",
     "length": 50,
     "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": "R112_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S84_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": 15,
   "name": "Property Titles",
   "type": "Feature Layer",
   "description": "This layer provides title information (excluding ownership) where there is a data link to one or more primary parcels.\n\nA title is a record of all estates, encumbrances and easements that affect a piece of land. These are now known as Computer Registers incorporating Computer Freehold Registers, Composite Computer Registers, Computer Unit Title Registers and Computer Interest Registers.",
   "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": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       245,
       245,
       245,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        130,
        130,
        130,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1244248.2052999996,
    "ymin": 4846150.7362,
    "xmax": 1761221.3826000001,
    "ymax": 5438132.9339,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TitleNo",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "TitleNo",
     "type": "esriFieldTypeString",
     "alias": "TitleNo",
     "length": 20,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 4,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "LandDistrict",
     "type": "esriFieldTypeString",
     "alias": "LandDistrict",
     "length": 100,
     "domain": null
    },
    {
     "name": "IssueDate",
     "type": "esriFieldTypeDate",
     "alias": "IssueDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "GuaranteeStatus",
     "type": "esriFieldTypeString",
     "alias": "GuaranteeStatus",
     "length": 100,
     "domain": null
    },
    {
     "name": "EstateDescription",
     "type": "esriFieldTypeString",
     "alias": "EstateDescription",
     "length": 2000,
     "domain": null
    },
    {
     "name": "NumberOwners",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOwners",
     "domain": null
    },
    {
     "name": "SpatialExtentsShared",
     "type": "esriFieldTypeString",
     "alias": "SpatialExtentsShared",
     "length": 1,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "domain": {
      "type": "codedValue",
      "name": "WS3_QA_SpatialAccuracy",
      "description": "Indication of spatail accuracy for data use pruposes.",
      "codedValues": [
       {
        "name": "Unknown",
        "code": 0
       },
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey",
        "code": 1
       },
       {
        "name": "Handheld GPS (Mobile Device GPS)",
        "code": 2
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 3
       },
       {
        "name": "Digitised using ortho imagery",
        "code": 4
       },
       {
        "name": "Topo Grid Reference ±100m, location not checked",
        "code": 5
       },
       {
        "name": "Estimated location, should be within 50m of final location",
        "code": 6
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "LINZDatasetId",
     "type": "esriFieldTypeInteger",
     "alias": "LINZDatasetId",
     "domain": null
    },
    {
     "name": "LINZRevisionId",
     "type": "esriFieldTypeInteger",
     "alias": "LINZRevisionId",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "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": "R106_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S78_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": 9,
   "name": "Soils",
   "type": "Feature Layer",
   "description": "Soil information sourced from S-Map with supplemental information synthesized from NZLRI for those areas where S-Map is not available.  Prepared by Landcare Research.\n\nS-map's primary map layer is soil classes, i.e. delineated areas that are\n  labelled with the soil family name. Each soil family is defined as a unique\n  combination of attributes (NZSC classification, parent material, rock type,\n  dominant texture and permeability class). Soil classes are further characterised\n  as siblings according to their depth to rock class, stoniness, land type,\n  drainage, texture (more detailed), functional horizons and miscellaneous variant\n  information. The uncertainty of each of these family and sibling attribute\n  classes is specified.   Associated with the soil class layer will be additional\n  map layers of fundamental and derived soil properties. The fundamental soil\n  properties are depth (diggability), depth to slowly permeable layer, rooting\n  depth, rooting barrier, horizon thickness, stoniness, clay and sand content.\n  They are developed from sample information and expert knowledge. The derived\n  soil layers are each based on a model (or pedo-transfer function). Some models\n  are simple lookup tables that depend only on the soil class. Others combine\n  various soil, land use, vegetation, climate or topographic attributes in a\n  mathematical formula. Derived layers will include available water (mm),\n  macroporosity, water retention, bulk density, total carbon, total nitrogen,\n  phosphorus, calcium, cation exchange capacity, pH, and phosphorus retention.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Landcare Research",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 10000,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        104,
        104,
        104,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1326709.5982,
    "ymin": 5004834.5163,
    "xmax": 1687865.8284999998,
    "ymax": 5388472.7277,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SmapName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SMU",
     "type": "esriFieldTypeString",
     "alias": "SMU",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 5,
     "domain": null
    },
    {
     "name": "SmapName",
     "type": "esriFieldTypeString",
     "alias": "SmapName",
     "length": 15,
     "domain": null
    },
    {
     "name": "SiblingProportion",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingProportion",
     "domain": null
    },
    {
     "name": "SiblingRankOrder",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingRankOrder",
     "domain": null
    },
    {
     "name": "SiblingConfidence",
     "type": "esriFieldTypeString",
     "alias": "SiblingConfidence",
     "length": 2,
     "domain": null
    },
    {
     "name": "LongSoilName",
     "type": "esriFieldTypeString",
     "alias": "LongSoilName",
     "length": 100,
     "domain": null
    },
    {
     "name": "NZSCDescription",
     "type": "esriFieldTypeString",
     "alias": "NZSCDescription",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZSC",
     "type": "esriFieldTypeString",
     "alias": "NZSC",
     "length": 5,
     "domain": null
    },
    {
     "name": "PermeabilityCode",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode",
     "length": 4,
     "domain": null
    },
    {
     "name": "PermeabilityCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDepthCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDepthCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingTexture",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture",
     "length": 4,
     "domain": null
    },
    {
     "name": "SiblingTexture_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "RootBarrierCode",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode",
     "length": 2,
     "domain": null
    },
    {
     "name": "RootBarrierCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode_Desc",
     "length": 70,
     "domain": null
    },
    {
     "name": "Slope",
     "type": "esriFieldTypeString",
     "alias": "Slope",
     "length": 3,
     "domain": null
    },
    {
     "name": "EcanNLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanNLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "EcanPLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanPLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativeRunnoffPotential",
     "type": "esriFieldTypeString",
     "alias": "RelativeRunnoffPotential",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativePLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativePLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "SepticTankWastewaterSoakage",
     "type": "esriFieldTypeString",
     "alias": "SepticTankWastewaterSoakage",
     "length": 3,
     "domain": null
    },
    {
     "name": "AWmm30",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm30",
     "domain": null
    },
    {
     "name": "AWmm60",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm60",
     "domain": null
    },
    {
     "name": "PAWmm",
     "type": "esriFieldTypeDouble",
     "alias": "PAWmm",
     "domain": null
    },
    {
     "name": "PRetentionTopsoil",
     "type": "esriFieldTypeDouble",
     "alias": "PRetentionTopsoil",
     "domain": null
    },
    {
     "name": "RelativeBypassFlow",
     "type": "esriFieldTypeString",
     "alias": "RelativeBypassFlow",
     "length": 15,
     "domain": null
    },
    {
     "name": "RelativeNLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativeNLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "EffluentClass",
     "type": "esriFieldTypeString",
     "alias": "EffluentClass",
     "length": 2,
     "domain": null
    },
    {
     "name": "oldLUTcode",
     "type": "esriFieldTypeString",
     "alias": "oldLUTcode",
     "length": 4,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SMU_INDEX",
     "fields": "SMU",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "DataSource_INDEX",
     "fields": "DataSource",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SmapName_INDEX",
     "fields": "SmapName",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SiblingRankOrder_INDEX",
     "fields": "SiblingRankOrder",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "LongSoilName_INDEX",
     "fields": "LongSoilName",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 10,
   "name": "Urban Areas",
   "type": "Feature Layer",
   "description": "Areas defined as Urban \n(District Planning zones Business and Residential with reticulation services, holes in areas removed)",
   "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": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       240,
       240,
       240,
       0
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1348090.2315999996,
    "ymin": 4959882.25,
    "xmax": 1657973.8318999996,
    "ymax": 5308309.1307,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "District",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "District",
     "type": "esriFieldTypeString",
     "alias": "District",
     "length": 50,
     "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": "R111_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S83_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": 12,
   "name": "Regional Council Boundaries",
   "type": "Feature Layer",
   "description": "Regional council boundaries.  Constructed from Census Meshblock dataset.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Statistics New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 5000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        38,
        115,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.1999000004,
    "ymin": 4701317.1817,
    "xmax": 2523319.4486,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "REGC_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "REGC_Code",
     "type": "esriFieldTypeString",
     "alias": "REGC_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "REGC_Name",
     "type": "esriFieldTypeString",
     "alias": "REGC_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "DatasetVersion",
     "type": "esriFieldTypeString",
     "alias": "DatasetVersion",
     "length": 10,
     "domain": null
    },
    {
     "name": "LAND_AREA_SQ_KM",
     "type": "esriFieldTypeDouble",
     "alias": "LAND_AREA_SQ_KM",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "DatasetId",
     "type": "esriFieldTypeInteger",
     "alias": "DatasetId",
     "domain": null
    },
    {
     "name": "RevisionId",
     "type": "esriFieldTypeInteger",
     "alias": "RevisionId",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "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": "R132_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S104_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 11,
   "name": "Territorial Authority Boundaries",
   "type": "Feature Layer",
   "description": "City and district council boundaries.  Constructed from Census Meshblock dataset.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Statistics New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 5000000,
   "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": [
        132,
        0,
        168,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.1999000004,
    "ymin": 4701317.1817,
    "xmax": 2523319.4486,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TA_Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TA_Code",
     "type": "esriFieldTypeString",
     "alias": "TA_Code",
     "length": 3,
     "domain": null
    },
    {
     "name": "TA_Name",
     "type": "esriFieldTypeString",
     "alias": "TA_Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "DatasetVersion",
     "type": "esriFieldTypeString",
     "alias": "DatasetVersion",
     "length": 10,
     "domain": null
    },
    {
     "name": "LAND_AREA_SQ_KM",
     "type": "esriFieldTypeDouble",
     "alias": "LAND_AREA_SQ_KM",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "LENGTH_M",
     "type": "esriFieldTypeDouble",
     "alias": "LENGTH_M",
     "domain": null
    },
    {
     "name": "DatasetId",
     "type": "esriFieldTypeInteger",
     "alias": "DatasetId",
     "domain": null
    },
    {
     "name": "RevisionId",
     "type": "esriFieldTypeInteger",
     "alias": "RevisionId",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "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": "R131_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S103_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": []
}