{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 0,
   "name": "ResourceConsentReferenceDataWaterTakes",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       140,
       16,
       0,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1337369.3384999996,
    "ymin": 5020664.4601,
    "xmax": 1686739.0190000003,
    "ymax": 5353871.1231,
    "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": "ResourceConsentID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ResourceConsentID",
     "type": "esriFieldTypeString",
     "alias": "ResourceConsentID",
     "length": 50,
     "domain": null
    },
    {
     "name": "PrimarySource",
     "type": "esriFieldTypeString",
     "alias": "PrimarySource",
     "length": 50,
     "domain": null
    },
    {
     "name": "CommencementDate",
     "type": "esriFieldTypeString",
     "alias": "CommencementDate",
     "length": 10,
     "domain": null
    },
    {
     "name": "ExpiryDate",
     "type": "esriFieldTypeString",
     "alias": "ExpiryDate",
     "length": 10,
     "domain": null
    },
    {
     "name": "PrimaryUse",
     "type": "esriFieldTypeString",
     "alias": "PrimaryUse",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRate",
     "type": "esriFieldTypeDouble",
     "alias": "MaxRate",
     "domain": null
    },
    {
     "name": "MaxAnnual",
     "type": "esriFieldTypeDouble",
     "alias": "MaxAnnual",
     "domain": null
    },
    {
     "name": "WaterUseConsentedMonthly",
     "type": "esriFieldTypeDouble",
     "alias": "WaterUseConsentedMonthly",
     "domain": null
    },
    {
     "name": "WaterManagementZone",
     "type": "esriFieldTypeSmallInteger",
     "alias": "WaterManagementZone",
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 250,
     "domain": null
    },
    {
     "name": "WaterUseDetail",
     "type": "esriFieldTypeString",
     "alias": "WaterUseDetail",
     "length": 150,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "Data Souce",
     "length": 150,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Spatial Accuracy",
     "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": "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": "Longitude (WGS84)",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Latitude (WGS84)",
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "Created By",
     "length": 50,
     "domain": null
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "Created Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "Modified By",
     "length": 50,
     "domain": null
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "Modified Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishedDate",
     "type": "esriFieldTypeDate",
     "alias": "Published Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "Process Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "Process ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R802_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S786_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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.1,
   "cimVersion": "3.1.0",
   "id": 1,
   "name": "MonitoringSiteReferenceData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       0,
       6,
       176,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1328668,
    "ymin": 5017606,
    "xmax": 2465065,
    "ymax": 5337964,
    "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": "SiteID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SiteID",
     "type": "esriFieldTypeString",
     "alias": "SiteID",
     "length": 100,
     "domain": null
    },
    {
     "name": "Elevation",
     "type": "esriFieldTypeDouble",
     "alias": "Elevation",
     "domain": null
    },
    {
     "name": "CouncilSiteID",
     "type": "esriFieldTypeString",
     "alias": "CouncilSiteID",
     "length": 80,
     "domain": null
    },
    {
     "name": "LawaSiteID",
     "type": "esriFieldTypeString",
     "alias": "LawaSiteID",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataLicensingAttribute",
     "type": "esriFieldTypeString",
     "alias": "DataLicensingAttribute",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWManagementZone",
     "type": "esriFieldTypeString",
     "alias": "SWManagementZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWManagementZone",
     "type": "esriFieldTypeString",
     "alias": "GWManagementZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "Catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZReach",
     "type": "esriFieldTypeInteger",
     "alias": "NZReach",
     "domain": null
    },
    {
     "name": "NZSegment",
     "type": "esriFieldTypeInteger",
     "alias": "NZSegment",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photograph",
     "type": "esriFieldTypeString",
     "alias": "Photograph",
     "length": 50,
     "domain": null
    },
    {
     "name": "SWQuality",
     "type": "esriFieldTypeString",
     "alias": "SWQuality",
     "length": 3,
     "domain": null
    },
    {
     "name": "SWQualityStart",
     "type": "esriFieldTypeDate",
     "alias": "SWQualityStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "SWQFrequencyAll",
     "type": "esriFieldTypeString",
     "alias": "SWQFrequencyAll",
     "length": 10,
     "domain": null
    },
    {
     "name": "SWQFrequencyLast5",
     "type": "esriFieldTypeString",
     "alias": "SWQFrequencyLast5",
     "length": 10,
     "domain": null
    },
    {
     "name": "SWQAltitude",
     "type": "esriFieldTypeString",
     "alias": "SWQAltitude",
     "length": 10,
     "domain": null
    },
    {
     "name": "SWQLanduse",
     "type": "esriFieldTypeString",
     "alias": "SWQLanduse",
     "length": 10,
     "domain": null
    },
    {
     "name": "RWQuality",
     "type": "esriFieldTypeString",
     "alias": "RWQuality",
     "length": 3,
     "domain": null
    },
    {
     "name": "RWQualityStart",
     "type": "esriFieldTypeDate",
     "alias": "RWQualityStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "LWQuality",
     "type": "esriFieldTypeString",
     "alias": "LWQuality",
     "length": 3,
     "domain": null
    },
    {
     "name": "LWQualityStart",
     "type": "esriFieldTypeDate",
     "alias": "LWQualityStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "LType",
     "type": "esriFieldTypeString",
     "alias": "LType",
     "length": 10,
     "domain": null
    },
    {
     "name": "LFENZID",
     "type": "esriFieldTypeInteger",
     "alias": "LFENZID",
     "domain": null
    },
    {
     "name": "Macro",
     "type": "esriFieldTypeString",
     "alias": "Macro",
     "length": 3,
     "domain": null
    },
    {
     "name": "MacroStart",
     "type": "esriFieldTypeDate",
     "alias": "MacroStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "SWQuantity",
     "type": "esriFieldTypeString",
     "alias": "SWQuantity",
     "length": 3,
     "domain": null
    },
    {
     "name": "SWQuantityStart",
     "type": "esriFieldTypeDate",
     "alias": "SWQuantityStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "Rainfall",
     "type": "esriFieldTypeString",
     "alias": "Rainfall",
     "length": 3,
     "domain": null
    },
    {
     "name": "RainfallStart",
     "type": "esriFieldTypeDate",
     "alias": "RainfallStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "GWLevel",
     "type": "esriFieldTypeString",
     "alias": "GWLevel",
     "length": 3,
     "domain": null
    },
    {
     "name": "GWLevelStart",
     "type": "esriFieldTypeDate",
     "alias": "GWLevelStart",
     "length": 8,
     "domain": null
    },
    {
     "name": "GWQualityStatus",
     "type": "esriFieldTypeString",
     "alias": "GWQualityStatus",
     "length": 3,
     "domain": null
    },
    {
     "name": "GroundwaterQualityZone",
     "type": "esriFieldTypeString",
     "alias": "GroundwaterQualityZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "CatchmentArea",
     "type": "esriFieldTypeDouble",
     "alias": "CatchmentArea",
     "domain": null
    },
    {
     "name": "MeanAnnualFlow",
     "type": "esriFieldTypeString",
     "alias": "MeanAnnualFlow",
     "length": 50,
     "domain": null
    },
    {
     "name": "MedianAnnualFlow",
     "type": "esriFieldTypeString",
     "alias": "MedianAnnualFlow",
     "length": 50,
     "domain": null
    },
    {
     "name": "MALF1d",
     "type": "esriFieldTypeString",
     "alias": "MALF1d",
     "length": 50,
     "domain": null
    },
    {
     "name": "MALF7d",
     "type": "esriFieldTypeString",
     "alias": "MALF7d",
     "length": 50,
     "domain": null
    },
    {
     "name": "MALF",
     "type": "esriFieldTypeString",
     "alias": "MALF",
     "length": 50,
     "domain": null
    },
    {
     "name": "MinRecordedFlow",
     "type": "esriFieldTypeString",
     "alias": "MinRecordedFlow",
     "length": 50,
     "domain": null
    },
    {
     "name": "MaxRecordedFlow",
     "type": "esriFieldTypeString",
     "alias": "MaxRecordedFlow",
     "length": 50,
     "domain": null
    },
    {
     "name": "MeanAnnualFloodFlow",
     "type": "esriFieldTypeString",
     "alias": "MeanAnnualFloodFlow",
     "length": 50,
     "domain": null
    },
    {
     "name": "FlowAEP1in5yr",
     "type": "esriFieldTypeString",
     "alias": "FlowAEP1in5yr",
     "length": 50,
     "domain": null
    },
    {
     "name": "FlowAEP1in10yr",
     "type": "esriFieldTypeString",
     "alias": "FlowAEP1in10yr",
     "length": 50,
     "domain": null
    },
    {
     "name": "FlowAEP1in20yr",
     "type": "esriFieldTypeString",
     "alias": "FlowAEP1in20yr",
     "length": 50,
     "domain": null
    },
    {
     "name": "FlowAEP1in50yr",
     "type": "esriFieldTypeString",
     "alias": "FlowAEP1in50yr",
     "length": 50,
     "domain": null
    },
    {
     "name": "DateMinRecordedFlow",
     "type": "esriFieldTypeDate",
     "alias": "DateMinRecordedFlow",
     "length": 8,
     "domain": null
    },
    {
     "name": "DateMaxRecordedFlow",
     "type": "esriFieldTypeDate",
     "alias": "DateMaxRecordedFlow",
     "length": 8,
     "domain": null
    },
    {
     "name": "ConsentControlSite",
     "type": "esriFieldTypeString",
     "alias": "ConsentControlSite",
     "length": 3,
     "domain": null
    },
    {
     "name": "AirQuality",
     "type": "esriFieldTypeString",
     "alias": "AirQuality",
     "length": 3,
     "domain": null
    },
    {
     "name": "AirQSiteType",
     "type": "esriFieldTypeString",
     "alias": "AirQSiteType",
     "length": 11,
     "domain": null
    },
    {
     "name": "AirQNES",
     "type": "esriFieldTypeString",
     "alias": "AirQNES",
     "length": 3,
     "domain": null
    },
    {
     "name": "AirSiteCurrent",
     "type": "esriFieldTypeString",
     "alias": "AirSiteCurrent",
     "length": 3,
     "domain": null
    },
    {
     "name": "AirTown",
     "type": "esriFieldTypeString",
     "alias": "AirTown",
     "length": 50,
     "domain": null
    },
    {
     "name": "Region",
     "type": "esriFieldTypeString",
     "alias": "Region",
     "length": 50,
     "domain": null
    },
    {
     "name": "Agency",
     "type": "esriFieldTypeString",
     "alias": "Agency",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 150,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Spatial Accuracy",
     "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": "Longitude (WGS84)",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Latitude (WGS84)",
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "Created By",
     "length": 50,
     "domain": null
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "Created Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "Modified By",
     "length": 50,
     "domain": null
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "Modified Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishedDate",
     "type": "esriFieldTypeDate",
     "alias": "Published Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "Process Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "Process ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "GeomorphicLtype",
     "type": "esriFieldTypeString",
     "alias": "GeomorphicLtype",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "BoreId",
     "type": "esriFieldTypeString",
     "alias": "BoreId",
     "length": 9,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R989_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S971_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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.1,
   "cimVersion": "3.1.0",
   "id": 3,
   "name": "BoreReferenceData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       0,
       176,
       155,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1331269.7951999996,
    "ymin": 5020628.4056,
    "xmax": 1683006.0592999998,
    "ymax": 5350069.2514,
    "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": "BoreID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "BoreID",
     "type": "esriFieldTypeString",
     "alias": "BoreID",
     "length": 9,
     "domain": null
    },
    {
     "name": "LandUse",
     "type": "esriFieldTypeString",
     "alias": "LandUse",
     "length": 10,
     "domain": null
    },
    {
     "name": "BoreDepth",
     "type": "esriFieldTypeDouble",
     "alias": "BoreDepth",
     "domain": null
    },
    {
     "name": "BoreDiameter",
     "type": "esriFieldTypeSmallInteger",
     "alias": "BoreDiameter",
     "domain": null
    },
    {
     "name": "BoreTopOfScreen",
     "type": "esriFieldTypeDouble",
     "alias": "BoreTopOfScreen",
     "domain": null
    },
    {
     "name": "BoreBottomOfScreen",
     "type": "esriFieldTypeDouble",
     "alias": "BoreBottomOfScreen",
     "domain": null
    },
    {
     "name": "TopOfCollar",
     "type": "esriFieldTypeDouble",
     "alias": "TopOfCollar",
     "domain": null
    },
    {
     "name": "StaticWaterLevel",
     "type": "esriFieldTypeDouble",
     "alias": "StaticWaterLevel",
     "domain": null
    },
    {
     "name": "StaticWaterLevelDate",
     "type": "esriFieldTypeDate",
     "alias": "StaticWaterLevelDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "BoreDrillDate",
     "type": "esriFieldTypeDate",
     "alias": "BoreDrillDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "Data Source",
     "length": 150,
     "domain": null
    },
    {
     "name": "SpatialAccuracy",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Spatial Accuracy",
     "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": "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": "Longitude (WGS84)",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "Latitude (WGS84)",
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "Created By",
     "length": 50,
     "domain": null
    },
    {
     "name": "CreatedDate",
     "type": "esriFieldTypeDate",
     "alias": "Created Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "Modified By",
     "length": 50,
     "domain": null
    },
    {
     "name": "ModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "Modified Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "PublishedDate",
     "type": "esriFieldTypeDate",
     "alias": "Published Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "Process Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "Process ID",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOEBore",
     "type": "esriFieldTypeString",
     "alias": "SOEBore",
     "length": 20,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "DWSupplyBores",
     "type": "esriFieldTypeString",
     "alias": "DWSupplyBores",
     "length": 50,
     "domain": null
    },
    {
     "name": "ConsentID",
     "type": "esriFieldTypeString",
     "alias": "ConsentID",
     "length": 50,
     "domain": null
    },
    {
     "name": "GroundwaterQuantityZone",
     "type": "esriFieldTypeString",
     "alias": "GroundwaterQuantityZone",
     "length": 255,
     "domain": null
    },
    {
     "name": "GroundwaterQualityZone",
     "type": "esriFieldTypeString",
     "alias": "GroundwaterQualityZone",
     "length": 255,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R801_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S785_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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.1,
   "cimVersion": "3.1.0",
   "id": 2,
   "name": "WaterManagementZoneReferenceData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       247,
       236,
       203,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1704528.0576999998,
    "ymax": 5360238.95,
    "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": "WaterManagementZoneID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WaterManagementZoneID",
     "type": "esriFieldTypeString",
     "alias": "WaterManagementZoneID",
     "length": 255,
     "domain": null
    },
    {
     "name": "AllocationLimit",
     "type": "esriFieldTypeInteger",
     "alias": "AllocationLimit",
     "domain": null
    },
    {
     "name": "AllocationUnit",
     "type": "esriFieldTypeString",
     "alias": "AllocationUnit",
     "length": 20,
     "domain": null
    },
    {
     "name": "ManagementZoneTS",
     "type": "esriFieldTypeString",
     "alias": "ManagementZoneTS",
     "length": 255,
     "domain": null
    },
    {
     "name": "ZoneType",
     "type": "esriFieldTypeString",
     "alias": "ZoneType",
     "length": 15,
     "domain": null
    },
    {
     "name": "ParentZone",
     "type": "esriFieldTypeString",
     "alias": "ParentZone",
     "length": 255,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R564_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S555_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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.1,
   "cimVersion": "3.1.0",
   "id": 4,
   "name": "AirManagementZoneReferenceData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       226,
       252,
       199,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1704528.0576999998,
    "ymax": 5360238.95,
    "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": "AirManagementZoneName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ManagementZoneID",
     "type": "esriFieldTypeString",
     "alias": "ManagementZoneID",
     "length": 50,
     "domain": null
    },
    {
     "name": "AirManagementZoneName",
     "type": "esriFieldTypeString",
     "alias": "AirManagementZoneName",
     "length": 50,
     "domain": null
    },
    {
     "name": "ParentZone",
     "type": "esriFieldTypeString",
     "alias": "ParentZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "EstPopulation",
     "type": "esriFieldTypeInteger",
     "alias": "EstPopulation",
     "domain": null
    },
    {
     "name": "Region",
     "type": "esriFieldTypeString",
     "alias": "Region",
     "length": 50,
     "domain": null
    },
    {
     "name": "Agency",
     "type": "esriFieldTypeString",
     "alias": "Agency",
     "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": "R688_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S679_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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.1,
   "cimVersion": "3.1.0",
   "id": 9,
   "name": "GroundwaterQualityZoneReferenceData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       221,
       193,
       247,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1323813.1798999999,
    "ymin": 5004764.9257,
    "xmax": 1688157.0305000003,
    "ymax": 5360238.95,
    "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": "AquiferName",
   "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": "AquiferUnitID",
     "type": "esriFieldTypeString",
     "alias": "AquiferUnitID",
     "length": 50,
     "domain": null
    },
    {
     "name": "AquiferZone",
     "type": "esriFieldTypeString",
     "alias": "AquiferZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWAquiferGeology",
     "type": "esriFieldTypeString",
     "alias": "GWAquiferGeology",
     "length": 50,
     "domain": null
    },
    {
     "name": "AquiferName",
     "type": "esriFieldTypeString",
     "alias": "AquiferName",
     "length": 50,
     "domain": null
    },
    {
     "name": "AquiferDescription",
     "type": "esriFieldTypeString",
     "alias": "AquiferDescription",
     "length": 255,
     "domain": null
    },
    {
     "name": "AquiferUnitBoundaryMethod",
     "type": "esriFieldTypeString",
     "alias": "AquiferUnitBoundaryMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "AquiferType",
     "type": "esriFieldTypeString",
     "alias": "AquiferType",
     "length": 50,
     "domain": null
    },
    {
     "name": "HydroGeoBasement",
     "type": "esriFieldTypeString",
     "alias": "HydroGeoBasement",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWAquiferConfinement",
     "type": "esriFieldTypeString",
     "alias": "GWAquiferConfinement",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWAquiferConfinementMethod",
     "type": "esriFieldTypeString",
     "alias": "GWAquiferConfinementMethod",
     "length": 50,
     "domain": null
    },
    {
     "name": "GWQualityZone",
     "type": "esriFieldTypeString",
     "alias": "GWQualityZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "ParentZone",
     "type": "esriFieldTypeString",
     "alias": "ParentZone",
     "length": 50,
     "domain": null
    },
    {
     "name": "SOEMonitoring",
     "type": "esriFieldTypeString",
     "alias": "SOEMonitoring",
     "length": 200,
     "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": "R893_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S875_idx",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": []
}