{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 8,
 "name": "MFE - NES Drinking Water Source",
 "type": "Feature Layer",
 "parentLayer": {
  "id": 7,
  "name": "Ministry for the Environment"
 },
 "defaultVisibility": false,
 "minScale": 125000,
 "maxScale": 0,
 "canScaleSymbols": false,
 "geometryType": "esriGeometryPoint",
 "description": "Drinking water source abstraction points obtained from the Ministry of Health's WINZ database",
 "copyrightText": "Ministry for the Environment; Ministry of Health",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": false,
 "relationships": [],
 "isDataVersioned": false,
 "isDataArchived": false,
 "infoInEstimates": [
  "extent",
  "count"
 ],
 "isDataBranchVersioned": false,
 "isDataReplicaTracked": false,
 "isCoGoEnabled": false,
 "supportsRollbackOnFailureParameter": true,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": true,
 "supportsQuantizationEditMode": true,
 "supportsCalculate": true,
 "supportsASyncCalculate": true,
 "supportsDatumTransformation": true,
 "advancedQueryCapabilities": {
  "supportsPagination": true,
  "supportsTrueCurve": true,
  "supportsQueryWithDistance": true,
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsAdvancedQueryRelated": true,
  "supportsQueryRelatedPagination": true,
  "supportsCurrentUserQueries": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": false,
  "supportsSqlExpression": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsQueryAnalytic": true
 },
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": true,
  "supportsPercentileAnalytic": true
 },
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ],
  "supportsAsyncApplyEdits": true,
  "supportsApplyEditsbyUploadID": true,
  "supportedApplyEditsUploadIDFormats": "JSON"
 },
 "hasMetadata": true,
 "extent": {
  "xmin": 1174509.0129000004,
  "ymin": 4794598.1663,
  "xmax": 2082464.9353999998,
  "ymax": 6190164.1198,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -4020900,
   "falseY": 1900,
   "xyUnits": 4.504455473910538E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "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
 },
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriPMS",
    "url": "673065e5122ec8932d261598d3630204",
    "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABCElEQVQYlWNhIAGwYIikzWRleMknwfBR4jnDAcc/uBX7rshlfMnY/P/ff34m/lc/GPxWtv4zut7G0NDwD1Wxz4poZmam5oZ0KzYjLXGG24/ec7TMOl717rwm5z8GhmpUxUwMdenBei+tDaXVQFw9VVGGmjRLzuKe/cUMDvObGQ4k/kAo/s+gqqcq+hTZVapyggx///1nZ+DnEGVgYHiM7OYb+04/eq2mICQDE7h06/VfJibGr/8Mbzxl2IjiQcbaVbtvzWdnZTnubC6nff3+u2/9S85w/Pv3vxrTg5vD1zL4LP+3eOvV9sVbr/IyMDC8Y2BkaGXYHDENe9BtiVzPwMAAwkRGCh4AADzOW+rFt0ABAAAAAElFTkSuQmCC",
    "contentType": "image/png",
    "width": 8,
    "height": 8,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": [
   {
    "labelExpression": "[soSourceNa]",
    "labelPlacement": "esriServerPointLabelPlacementAboveRight",
    "deconflictionStrategy": "dynamic",
    "stackLabel": true,
    "stackAlignment": "dynamic",
    "removeDuplicates": "none",
    "stackRowLength": 24,
    "useCodedValues": true,
    "maxScale": 0,
    "minScale": 20000,
    "name": "Default",
    "priority": 5,
    "symbol": {
     "type": "esriTS",
     "color": [
      0,
      77,
      168,
      255
     ],
     "backgroundColor": null,
     "borderLineColor": null,
     "borderLineSize": null,
     "verticalAlignment": "bottom",
     "horizontalAlignment": "center",
     "rightToLeft": false,
     "angle": 0,
     "xoffset": 0,
     "yoffset": 0,
     "kerning": true,
     "haloColor": [
      255,
      255,
      255,
      255
     ],
     "haloSize": 1,
     "font": {
      "family": "Arial",
      "size": 9,
      "style": "normal",
      "weight": "bold",
      "decoration": "none"
     }
    }
   }
  ]
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": false,
 "allowTrueCurvesUpdates": false,
 "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
 "hasAttachments": false,
 "supportsApplyEditsWithGlobalIds": false,
 "htmlPopupType": "esriServerHTMLPopupTypeNone",
 "objectIdField": "OBJECTID",
 "globalIdField": "",
 "displayField": "soSourceName",
 "typeIdField": "",
 "subtypeField": "",
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "OBJECTID"
  },
  {
   "name": "soSourceCode",
   "type": "esriFieldTypeString",
   "alias": "soSourceCode",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "soSourceCode"
  },
  {
   "name": "soSourceName",
   "type": "esriFieldTypeString",
   "alias": "soSourceName",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "soSourceName"
  },
  {
   "name": "soPlantCod",
   "type": "esriFieldTypeString",
   "alias": "soPlantCod",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "soPlantCod"
  },
  {
   "name": "soEast",
   "type": "esriFieldTypeDouble",
   "alias": "soEast",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "soEast"
  },
  {
   "name": "soNorth",
   "type": "esriFieldTypeDouble",
   "alias": "soNorth",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "soNorth"
  },
  {
   "name": "PlantPop",
   "type": "esriFieldTypeDouble",
   "alias": "PlantPop",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "PlantPop"
  },
  {
   "name": "WZSourceType",
   "type": "esriFieldTypeString",
   "alias": "WZSourceType",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "WZSourceType"
  },
  {
   "name": "GenSourceType",
   "type": "esriFieldTypeString",
   "alias": "GenSourceType",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "GenSourceType"
  },
  {
   "name": "WZSecureGW",
   "type": "esriFieldTypeString",
   "alias": "WZSecureGW",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "WZSecureGW"
  },
  {
   "name": "PlantHasAllSecure",
   "type": "esriFieldTypeString",
   "alias": "PlantHasAllSecure",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 254,
   "defaultValue": null,
   "modelName": "PlantHasAllSecure"
  },
  {
   "name": "NZMGX",
   "type": "esriFieldTypeDouble",
   "alias": "NZMGX",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZMGX"
  },
  {
   "name": "NZMGY",
   "type": "esriFieldTypeDouble",
   "alias": "NZMGY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZMGY"
  },
  {
   "name": "NZMS260",
   "type": "esriFieldTypeString",
   "alias": "NZMS260",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "NZMS260"
  },
  {
   "name": "NZTMX",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMX",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZTMX"
  },
  {
   "name": "NZTMY",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "NZTMY"
  },
  {
   "name": "NZTOPO50",
   "type": "esriFieldTypeString",
   "alias": "NZTOPO50",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "NZTOPO50"
  },
  {
   "name": "SOURCECODE",
   "type": "esriFieldTypeString",
   "alias": "SOURCECODE",
   "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"
   },
   "editable": true,
   "nullable": true,
   "length": 6,
   "defaultValue": null,
   "modelName": "SOURCECODE"
  },
  {
   "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"
   },
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "QARCODE"
  },
  {
   "name": "CREATEDBY",
   "type": "esriFieldTypeString",
   "alias": "CREATEDBY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "CREATEDBY"
  },
  {
   "name": "CREATEDDATE",
   "type": "esriFieldTypeDate",
   "alias": "CREATEDDATE",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "CREATEDDATE"
  },
  {
   "name": "MODIFIEDBY",
   "type": "esriFieldTypeString",
   "alias": "MODIFIEDBY",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 16,
   "defaultValue": null,
   "modelName": "MODIFIEDBY"
  },
  {
   "name": "MODIFIEDDATE",
   "type": "esriFieldTypeDate",
   "alias": "MODIFIEDDATE",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "MODIFIEDDATE"
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape",
  "domain": null,
  "editable": false,
  "nullable": true,
  "defaultValue": null,
  "modelName": "Shape"
 },
 "indexes": [
  {
   "name": "R163_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "S157_idx",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "datesInUnknownTimezone": false,
 "dateFieldsTimeReference": {
  "timeZone": "New Zealand Standard Time",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": null,
 "types": [],
 "templates": [
  {
   "name": "MFE - NES Drinking Water Source",
   "description": "",
   "prototype": {
    "attributes": {
     "MODIFIEDBY": null,
     "MODIFIEDDATE": null,
     "soSourceCode": null,
     "soSourceName": null,
     "soPlantCod": null,
     "soEast": null,
     "soNorth": null,
     "PlantPop": null,
     "WZSourceType": null,
     "GenSourceType": null,
     "WZSecureGW": null,
     "PlantHasAllSecure": null,
     "NZMGX": null,
     "NZMGY": null,
     "NZMS260": null,
     "NZTMX": null,
     "NZTMY": null,
     "NZTOPO50": null,
     "SOURCECODE": null,
     "QARCODE": null,
     "CREATEDBY": null,
     "CREATEDDATE": null
    }
   },
   "drawingTool": "esriFeatureEditToolPoint"
  }
 ],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
 "capabilities": "Query",
 "useStandardizedQueries": true,
 "bigIntegerRestrictedTo53Bits": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "standardMaxRecordCount": 32000,
 "tileMaxRecordCount": 8000,
 "standardMaxRecordCountNoGeometry": 32000,
 "maxRecordCountFactor": 1
}