{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 4,
 "name": "Water Quality Index Grades",
 "type": "Feature Layer",
 "description": "State of the Environment Canterbury River Water Quality Index Monitoring Sites",
 "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": 3000000,
 "maxScale": 0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriPMS",
    "url": "98505675e0ccb878029529452e798c8a",
    "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACIUlEQVQ4jb3UTYhSURQH8HPfc8ZFwrNACmzCXoqm8mhhhDBF0BhTuNFUaiUqRCutRegmEQQ300pXDpguRNzlshYJISgtamELR308EolQCGYR4vcJocTJj1EY+sNdXC73x/08IjjjiP4riIiT8V0AuDYej7coimoCwEdCyK+NQETcbjab3ng8fj+RSLDlcvnyaDSiWZb94fF4+Hq9/kmpVL4mhPw8FUTE84VC4dBmsz1ot9vnZsdqtdqO3+/fCQaDu+l0+gYiviCEHC0FEZGaYCaT6VGv1yPLttXr9bbsdvt+NpsVIeLj2ZWeAAVBeOp2u/dXYbNxOp33VCrVKwB4vhDM5/M2nucl62B/VkpyudxdRJT8vagpiIiXXC6XBjZMJpO57vP5TADw9gQ4GAyuVCqVi5uCjUZj8iK4ObDT6YxpmqY2BWmahm63O+1PQYZheJ1Od1wsFi9sAqrVapRKpZ/nQELIcSwWqwPArU1Ai8XS0Gg07+bASeRy+aHRaLxZKpXW2rpMJgOO494TQoYLQavV+iaVSj0RBGGv1WqtxMRiMUQikYrVavWu/Hp6vf5hOBz+kEwmb5dKpYUYy7IQCASOJBLJHiGkvxI0GAwDALgTjUZfms3mZ9Vq9SrP82Q4HIJCoQCtVvtdLpfnGIbxORyO0b/zl5Yvr9d7AAAHoVBIwXGckaKo7X6//yUQCHxddRSnFthQKPQNACZtrZx5xf4NIA/OpoooJY0AAAAASUVORK5CYII=",
    "contentType": "image/png",
    "width": 15,
    "height": 15,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0
   }
  },
  "scaleSymbols": false,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 1353252.3031000001,
  "ymin": 5023574,
  "xmax": 1676826.0121,
  "ymax": 5330770.3447,
  "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
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "SiteName",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "SiteID",
   "type": "esriFieldTypeString",
   "alias": "SiteID",
   "length": 10,
   "domain": null
  },
  {
   "name": "SiteName",
   "type": "esriFieldTypeString",
   "alias": "SiteName",
   "length": 200,
   "domain": null
  },
  {
   "name": "RiverType",
   "type": "esriFieldTypeString",
   "alias": "RiverType",
   "length": 50,
   "domain": null
  },
  {
   "name": "CurrentGrade",
   "type": "esriFieldTypeString",
   "alias": "CurrentGrade",
   "length": 10,
   "domain": null
  },
  {
   "name": "Year",
   "type": "esriFieldTypeInteger",
   "alias": "Year",
   "domain": null
  },
  {
   "name": "NZTMX",
   "type": "esriFieldTypeInteger",
   "alias": "NZTMX",
   "domain": null
  },
  {
   "name": "NZTMY",
   "type": "esriFieldTypeInteger",
   "alias": "NZTMY",
   "domain": null
  },
  {
   "name": "WGS84_LATITUDE",
   "type": "esriFieldTypeDouble",
   "alias": "WGS84_LATITUDE",
   "domain": null
  },
  {
   "name": "WGS84_LONGITUDE",
   "type": "esriFieldTypeDouble",
   "alias": "WGS84_LONGITUDE",
   "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": "GlobalID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "length": 38,
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "R800_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "UUID_800",
   "fields": "GlobalID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "S784_idx",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "subtypes": [],
 "relationships": [],
 "canModifyLayer": true,
 "canScaleSymbols": false,
 "hasLabels": false,
 "capabilities": "Map,Query,Data",
 "maxRecordCount": 1000,
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "isDataVersioned": false,
 "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
 "useStandardizedQueries": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "advancedQueryCapabilities": {
  "useStandardizedQueries": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsAdvancedQueryRelated": true,
  "supportsQueryRelatedPagination": true,
  "supportsPagination": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsTrueCurve": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsReturningQueryExtent": true,
  "supportsQueryWithDistance": true,
  "supportsSqlExpression": true,
  "supportsTimeRelation": true,
  "supportsSqlFormat": false,
  "supportsQueryAnalytic": true,
  "supportsCurrentUserQueries": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}