{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Canterbury 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.\n\nThese addresses have been supplemented with addtional information supplied by the Local Councils where available.  \n\nThe location where the address point varies with relation to the data source.  LINZ address points will be located near the road, while address points for Waimakariri District Council tend to be located on or near the dwelling in question.\n\nNote that the address details here may not reprensent all known addresses.",
   "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": "Contains data sourced from the LINZ Data Service licensed for reuse under CC BY 4.0,Canterbury Councils",
   "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": [
     {
      "labelExpression": "[Full_Address_Number]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 6,
      "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": 2,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1329312.5939999996,
    "ymin": 4950791.73,
    "xmax": 1687793.5007999996,
    "ymax": 5354730.6605,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Full_Address",
   "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": "Address_Type",
     "type": "esriFieldTypeString",
     "alias": "Address_Type",
     "length": 200,
     "domain": null
    },
    {
     "name": "Full_Address",
     "type": "esriFieldTypeString",
     "alias": "Full_Address",
     "length": 200,
     "domain": null
    },
    {
     "name": "LocalCouncil",
     "type": "esriFieldTypeString",
     "alias": "LocalCouncil",
     "length": 50,
     "domain": null
    },
    {
     "name": "ValuationNo",
     "type": "esriFieldTypeString",
     "alias": "ValuationNo",
     "length": 15,
     "domain": null
    },
    {
     "name": "Full_Address_Number",
     "type": "esriFieldTypeString",
     "alias": "Full_Address_Number",
     "length": 200,
     "domain": null
    },
    {
     "name": "Unit_Value",
     "type": "esriFieldTypeString",
     "alias": "Unit_Value",
     "length": 200,
     "domain": null
    },
    {
     "name": "Address_Number",
     "type": "esriFieldTypeString",
     "alias": "Address_Number",
     "length": 200,
     "domain": null
    },
    {
     "name": "Address_Number_Suffix",
     "type": "esriFieldTypeString",
     "alias": "Address_Number_Suffix",
     "length": 200,
     "domain": null
    },
    {
     "name": "Address_Number_High",
     "type": "esriFieldTypeString",
     "alias": "Address_Number_High",
     "length": 200,
     "domain": null
    },
    {
     "name": "Water_Route_Name",
     "type": "esriFieldTypeString",
     "alias": "Water_Route_Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "Water_Name",
     "type": "esriFieldTypeString",
     "alias": "Water_Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "Suburb_Locality",
     "type": "esriFieldTypeString",
     "alias": "Suburb_Locality",
     "length": 200,
     "domain": null
    },
    {
     "name": "Town_City",
     "type": "esriFieldTypeString",
     "alias": "Town_City",
     "length": 200,
     "domain": null
    },
    {
     "name": "Full_Road_Name",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "Road_Section_Id",
     "type": "esriFieldTypeString",
     "alias": "Road_Section_Id",
     "length": 200,
     "domain": null
    },
    {
     "name": "Water_Route_Name_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Water_Route_Name_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "Water_Name_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Water_Name_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "Full_Address_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Full_Address_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "Full_Road_Name_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Full_Road_Name_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "Suburb_Locality_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Suburb_Locality_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "Town_City_Ascii",
     "type": "esriFieldTypeString",
     "alias": "Town_City_Ascii",
     "length": 200,
     "domain": null
    },
    {
     "name": "TLA",
     "type": "esriFieldTypeString",
     "alias": "TLA",
     "length": 3,
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeString",
     "alias": "PAR_ID",
     "length": 200,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "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": 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": "LINZ_Change_Id",
     "type": "esriFieldTypeString",
     "alias": "LINZ_Change_Id",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINZ_Dataset_Id",
     "type": "esriFieldTypeString",
     "alias": "LINZ_Dataset_Id",
     "length": 200,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R124_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S96_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": 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": "Contains data sourced from the LINZ Data Service licensed for reuse under CC BY 4.0",
   "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": 8,
      "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": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "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": 7,
   "name": "Building Outlines",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 6000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       225,
       225,
       225,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328588.6206999999,
    "ymin": 4949867.1845,
    "xmax": 1688914.6316999998,
    "ymax": 5358323.8337,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "building_id",
     "type": "esriFieldTypeInteger",
     "alias": "building_id",
     "domain": null
    },
    {
     "name": "name",
     "type": "esriFieldTypeString",
     "alias": "name",
     "length": 250,
     "domain": null
    },
    {
     "name": "use_",
     "type": "esriFieldTypeString",
     "alias": "use",
     "length": 250,
     "domain": null
    },
    {
     "name": "suburb_locality",
     "type": "esriFieldTypeString",
     "alias": "suburb_locality",
     "length": 80,
     "domain": null
    },
    {
     "name": "town_city",
     "type": "esriFieldTypeString",
     "alias": "town_city",
     "length": 80,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 100,
     "domain": null
    },
    {
     "name": "capture_method",
     "type": "esriFieldTypeString",
     "alias": "capture_method",
     "length": 40,
     "domain": null
    },
    {
     "name": "capture_source_group",
     "type": "esriFieldTypeString",
     "alias": "capture_source_group",
     "length": 80,
     "domain": null
    },
    {
     "name": "capture_source_id",
     "type": "esriFieldTypeInteger",
     "alias": "capture_source_id",
     "domain": null
    },
    {
     "name": "capture_source_name",
     "type": "esriFieldTypeString",
     "alias": "capture_source_name",
     "length": 100,
     "domain": null
    },
    {
     "name": "capture_source_from",
     "type": "esriFieldTypeString",
     "alias": "capture_source_from",
     "length": 25,
     "domain": null
    },
    {
     "name": "capture_source_to",
     "type": "esriFieldTypeString",
     "alias": "capture_source_to",
     "length": 25,
     "domain": null
    },
    {
     "name": "last_modified",
     "type": "esriFieldTypeString",
     "alias": "last_modified",
     "length": 25,
     "domain": null
    },
    {
     "name": "LINZ_Revision_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Revision_Id",
     "domain": null
    },
    {
     "name": "LINZ_Dataset_Id",
     "type": "esriFieldTypeInteger",
     "alias": "LINZ_Dataset_Id",
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishDate",
     "type": "esriFieldTypeString",
     "alias": "PublishDate",
     "length": 25,
     "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": "R137_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S109_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": 2,
   "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": 4950314.6637,
    "xmax": 1688725.8101000004,
    "ymax": 5366004.7677,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ValuationNo",
   "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": "LocalCouncil",
     "type": "esriFieldTypeString",
     "alias": "LocalCouncil",
     "length": 50,
     "domain": null
    },
    {
     "name": "ValuationNo",
     "type": "esriFieldTypeString",
     "alias": "ValuationNo",
     "length": 15,
     "domain": null
    },
    {
     "name": "DisplayId",
     "type": "esriFieldTypeString",
     "alias": "DisplayId",
     "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": "LegalDescriptions",
     "type": "esriFieldTypeString",
     "alias": "LegalDescriptions",
     "length": 200,
     "domain": null
    },
    {
     "name": "RatingHectares",
     "type": "esriFieldTypeDouble",
     "alias": "RatingHectares",
     "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": "PublicURL",
     "type": "esriFieldTypeString",
     "alias": "PublicURL",
     "length": 200,
     "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": "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": "PublishDate",
     "type": "esriFieldTypeDate",
     "alias": "PublishDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "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": 3,
   "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": "Contains data sourced from the LINZ Data Service licensed for reuse under CC BY 4.0",
   "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": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "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": 4,
   "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": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 5,
   "name": "South Island Pastoral Leases",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       197,
       250,
       202,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1320871.9423999786,
    "ymin": 4986486.060500145,
    "xmax": 1672496.1079001427,
    "ymax": 5368630.351500034,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "lease_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "lease_name",
     "type": "esriFieldTypeString",
     "alias": "lease_name",
     "length": 254,
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 50,
     "domain": null
    },
    {
     "name": "ProcessId",
     "type": "esriFieldTypeString",
     "alias": "ProcessId",
     "length": 50,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "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": "R139_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S111_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": "LINZ Protected Areas",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       198,
       247,
       237,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1270137.7181000002,
    "ymin": 4947530.0273,
    "xmax": 1718262.9989,
    "ymax": 6146485.2208,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 100,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "SpatialAccuracy",
     "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": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "napalis_id",
     "type": "esriFieldTypeString",
     "alias": "napalis_id",
     "length": 200,
     "domain": null
    },
    {
     "name": "start_date",
     "type": "esriFieldTypeString",
     "alias": "start_date",
     "length": 200,
     "domain": null
    },
    {
     "name": "name",
     "type": "esriFieldTypeString",
     "alias": "name",
     "length": 200,
     "domain": null
    },
    {
     "name": "recorded_area",
     "type": "esriFieldTypeString",
     "alias": "recorded_area",
     "length": 200,
     "domain": null
    },
    {
     "name": "overlays",
     "type": "esriFieldTypeString",
     "alias": "overlays",
     "length": 200,
     "domain": null
    },
    {
     "name": "legislation",
     "type": "esriFieldTypeString",
     "alias": "legislation",
     "length": 200,
     "domain": null
    },
    {
     "name": "section",
     "type": "esriFieldTypeString",
     "alias": "section",
     "length": 200,
     "domain": null
    },
    {
     "name": "reserve_purpose",
     "type": "esriFieldTypeString",
     "alias": "reserve_purpose",
     "length": 200,
     "domain": null
    },
    {
     "name": "ctrl_mg_vst",
     "type": "esriFieldTypeString",
     "alias": "ctrl_mg_vst",
     "length": 200,
     "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": "R142_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S114_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": []
}