{
 "layers": [
  {
   "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
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "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,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "CurrentGrade",
     "uniqueValueGroups": [
      {
       "heading": "Current Grade",
       "classes": [
        {
         "label": "Poor",
         "description": "Poor",
         "symbol": {
          "type": "esriPMS",
          "url": "ab2b53d013ebca400c0202d09470f3ea",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB7UlEQVQ4jb3UX0iTURjH8e/eve80C8U0t8hlLpkTQgoKmc3IsjCvBAVNvAkhIkEt6iYYSFeK3Yh3goJXFhOnEGRERBdiK7aLlbjhGP4bS9SYOQr/7DWSiKnzbS9IPzhw4PB8OM+B84gccsT/DYqADTgrCEiyzDzwHoiqBXXGbFqqLnCzqRxTcR65WgFt8CvhvncEhj/hCoR5BqwkA2aWWegdesStnHSOxh+YT2HsbMT4tA5bYw/nhz7wAPApgcJv7I2dmhQJzUFtpUhIjodU1ncjvhinPv6mu0BTDnf7m6lUwuIzcJ/r02HsniBtCcFr56gt0HMsGezPTTXVF7nqCe7URPeChssWLKhMg42i7lfcWFnDuQuUJE4X5aJXC+adQGfMongfmCYhx2QEtWBMhtS4Pv9uV38QmJwjUmrmuBrQH2Y78hP3PhCIeOeZBkrUgM6PzPpCjCUCCX2jd8LPJWthcq0vfQfvLK+BrYSg00V/+hFumwxU6DOUsfVNeDLI1LCLFsWv92WNKvtz3t4pp8xqTowFF6FjFF9UoALYUATdbjbdcCVV4vFLD/cKT5JfYEAjamFmCaYWCC0sM7KaTavDQWxv/YHjq2eMLqCrvZoz3jmssoxOJ+LpHOWz0lP8c8C2jzADOyupHPrE/gUwzI3M/nM/lgAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 15,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Poor"
          ]
         ]
        },
        {
         "label": "Fair",
         "description": "Fair",
         "symbol": {
          "type": "esriPMS",
          "url": "8607d6dab93826ce2ee538f82ac2856d",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB4klEQVQ4jb3UP0gbURzA8W+Syx9sEeygDqa216BmCV2KnBop1habSWiHVFxEKJ2sHboIgeBk0EXcBAOOkpDr4NAiHTpJh7vhqiSSECIaOkgggSza3lkaSo0azxyIP3jD4/H78H7vz0/ghkO4bVAAhoBHdjtOw+AA+AZUrYIur5eZUIgX09OIgQBdDgeOfJ6fa2vkUim+53IsAaVmwLZgkNVkkpft7dypX+jpwRuL4Z2fZ2hyksfJJB+AjBlo/4ttbfHK7cZ2VVluN85EgrFwGGFjg3D9Ts+BosjbeJwxM6w+1td5ls0SUVVmG4IjI7z2+bjbDPZvp7bxcZ6qai2nehHsHBykD4sxMYF/eZnnpRLyOdDp5L7fT4dVsLu79iICl8CWFgxdx24V1HXweM7m/8FKhdzuLuWBAe5ZAff2OC2XUS6BQFnTyAL9VkBZZj+T4XMjkGKR1e1tnkhSc6UfHYGm8QX43RCUZeKtrbwRRUY7rrme42OYmyOdSjFj+vV2dghFInydmiIoSY2xfB4WFshUq4wCJ6agovBLURj2ePi4ucm73l4e+nzYBAEKBUinKR4e8qlS4X0igX4x/8r2tbLCIrAYjfJA05AMA5fLhRqL8cPsKK5tsNEoBaiNpuLGO/YfAPKQQn/cVE8AAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 15,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Fair"
          ]
         ]
        },
        {
         "label": "Good",
         "description": "Good",
         "symbol": {
          "type": "esriPMS",
          "url": "ce986a0dba5a42def733c8fe4add8464",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABlklEQVQ4jb3UO2hTYRgG4CdpkhYVQQd1MF5iUbsUlyLRVkSr1E6CDlVcRBCnqoOLUCidLHURt4IFR2lpHBwUcXASh2SISiMNRdHiIIUUsnhpFI9DG5ukOVB84Qw/5/wP3/kvX8w6J/a/wRi6sU9UXMUnvEQ5LJiQNKjfaVekdNqpRYs5XzxQNO21ortYaAbcose4KWdss7HqzX5Jo5JGdLvkkCk3UWgERgPsuXNaReouRKu4SX0GxDwysLLSajDlqgl9DbGVeeikWUNybtQGTziv3aamsL+VRpx1XC6YU/4X3OGog8Lmog73nLIgUw3G7dJhe2hwd3AiOleDG1QsiYYGl9C2PFwGFxW9U3LE1lDge7+UZFeDlOTN4nAoMOOjgqe1QOaNe6VLuslf/4q8Z/hZG8yYsNkFKb1rbs833DZj2mDjq/dWvyEvXNYjXQebwx0FZb343hjM+iHrmDa3PHHNAXu1iwRffsCMeZ89tui6yWCPq1K/fd03hjHD9shLq0hIyBn1ptFKrN1gh4O6/jxNZd079m+coV9YhqInuwAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 15,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Good"
          ]
         ]
        },
        {
         "label": "Very Good",
         "description": "Very Good",
         "symbol": {
          "type": "esriPMS",
          "url": "a6193c710c4c5caa3d7ea660fa29ab02",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB50lEQVQ4jb3UT0iTYRzA8e+7990cy1wmWTPnnyWlBuIlauYkzNSsQ1QHlS4RRCfLgxdBkE6KXaKbkNAxFNdB1IgOHqIiNnRqznxbRonImO5VSUy3hYo2db7uBfEHz+Hh4fnwPL/f8/wkDjikwwYloBg4Azo9hH8BA8CiVtDAUWsdWVXlnH9g40RBOoIoovimGXkpI3d/RpGfAYF4wGROO9q50XUdU+qR7StnrTharRQ9LabvXiFyVz3gVQN169jtd3cQE4Q9EyEm6LnZWUlvtcS319XRJ90Omm0PKe+oVMWio+LVVZSJJmbcT2KD6aV3MeckxoVtnFQg+9YVZtyJm4WKBk+RdjkXrZFbm8fQ82ssBZw7QH0GKXknNYNJmWsvomA3aDKFiYR0msFICHTGrel/8I8iExgNYik6rgmcG4+wHHTtBiGI3zMBXNQEys6fzHn7Y4GwMNXO9McLWOzxXX3JD37PW2A1NuhzdmBMqsFsK8O0T31Cy/ChcYzv3XXqX+/rSBVi03vy7zuw2GNjig++tHhZWSwD/qqDuFYYdpUgGhv40fOIY+eySc4RECSYn4TZsSkWfr9hVHkMnaGdu/duX4Mv2oA2LjVnMeuxsxo2IBrcuFqH1TKxf4P91DwJrI244sA79j+6Xo0Ft0PnBQAAAABJRU5ErkJggg==",
          "contentType": "image/png",
          "width": 15,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Very Good"
          ]
         ]
        },
        {
         "label": "N/A",
         "description": "N/A",
         "symbol": {
          "type": "esriPMS",
          "url": "89d40749c36cc3e87c284cf9c91ce466",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACGElEQVQ4jb3UQYgSURgA4F8dncEWoQ7aIbOmQfMiXZYYXSNsi82TUAcTLyJEp207dBGEwZPDdhFvCwoeZYaZDh4K6dBJOswcJsURZTBSOojggBermUKoxW3dWQeWfniHx+N9vP/97/0IXHAg/xtEAGAHAG5ZrVa7rutfAeAjAMzNgg6v17sfj8cfZbNZPBQKXbPZbDZFUb5VKpUBx3GfBoPBGwCYbgJejkajRyzLPna73ZdWF/x+v5emaW+hUNhJp9N3WJZ9BQCyEWhdYs1m8wmKopaz0kJR1M4wzF4ymUTq9Xpy9aQnQBzHn1er1T0jbDVqtdqDfr+fF0XxYC0Yi8WeEgSxtQn256SWRCJxXxTFrb+FWgWvRiKR22AyUqlUsFQqPZxOp/wJ0G63Xw8Ggx6zoM/nW76I0CnQ6XTqmqZZzYKapgGGYcfzY1BV1UGn05mFw+ErZsBer/drNpsJp0AAmEmS1AeAu2ZAnue/yLL8bh0I4/H4qNVqbZMkuVHqk8kEJEl6DwA/14I8z1ddLtczHMd3PR7j+iwWC8jlcl2O4/YNv1673Y7n8/kPmUwmSpLkWkxRFCgWi/J8Pt8FgO+GoCAIPwRBuIdh2OtGo/EiEAjcJAjCgiAIDIdD6Ha749Fo9FZV1ZcMw2j/7j+zfZXL5UMAOKQo6oYkSaSu6w6HwyHSNP3Z6CrObbAURQ0BYDk2igvv2L8BA2DBLHCCCUsAAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 15,
          "height": 15,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "N/A"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ab2b53d013ebca400c0202d09470f3ea",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB7UlEQVQ4jb3UX0iTURjH8e/eve80C8U0t8hlLpkTQgoKmc3IsjCvBAVNvAkhIkEt6iYYSFeK3Yh3goJXFhOnEGRERBdiK7aLlbjhGP4bS9SYOQr/7DWSiKnzbS9IPzhw4PB8OM+B84gccsT/DYqADTgrCEiyzDzwHoiqBXXGbFqqLnCzqRxTcR65WgFt8CvhvncEhj/hCoR5BqwkA2aWWegdesStnHSOxh+YT2HsbMT4tA5bYw/nhz7wAPApgcJv7I2dmhQJzUFtpUhIjodU1ncjvhinPv6mu0BTDnf7m6lUwuIzcJ/r02HsniBtCcFr56gt0HMsGezPTTXVF7nqCe7URPeChssWLKhMg42i7lfcWFnDuQuUJE4X5aJXC+adQGfMongfmCYhx2QEtWBMhtS4Pv9uV38QmJwjUmrmuBrQH2Y78hP3PhCIeOeZBkrUgM6PzPpCjCUCCX2jd8LPJWthcq0vfQfvLK+BrYSg00V/+hFumwxU6DOUsfVNeDLI1LCLFsWv92WNKvtz3t4pp8xqTowFF6FjFF9UoALYUATdbjbdcCVV4vFLD/cKT5JfYEAjamFmCaYWCC0sM7KaTavDQWxv/YHjq2eMLqCrvZoz3jmssoxOJ+LpHOWz0lP8c8C2jzADOyupHPrE/gUwzI3M/nM/lgAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 15,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Poor",
       "label": "Poor"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "8607d6dab93826ce2ee538f82ac2856d",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB4klEQVQ4jb3UP0gbURzA8W+Syx9sEeygDqa216BmCV2KnBop1habSWiHVFxEKJ2sHboIgeBk0EXcBAOOkpDr4NAiHTpJh7vhqiSSECIaOkgggSza3lkaSo0azxyIP3jD4/H78H7vz0/ghkO4bVAAhoBHdjtOw+AA+AZUrYIur5eZUIgX09OIgQBdDgeOfJ6fa2vkUim+53IsAaVmwLZgkNVkkpft7dypX+jpwRuL4Z2fZ2hyksfJJB+AjBlo/4ttbfHK7cZ2VVluN85EgrFwGGFjg3D9Ts+BosjbeJwxM6w+1td5ls0SUVVmG4IjI7z2+bjbDPZvp7bxcZ6qai2nehHsHBykD4sxMYF/eZnnpRLyOdDp5L7fT4dVsLu79iICl8CWFgxdx24V1HXweM7m/8FKhdzuLuWBAe5ZAff2OC2XUS6BQFnTyAL9VkBZZj+T4XMjkGKR1e1tnkhSc6UfHYGm8QX43RCUZeKtrbwRRUY7rrme42OYmyOdSjFj+vV2dghFInydmiIoSY2xfB4WFshUq4wCJ6agovBLURj2ePi4ucm73l4e+nzYBAEKBUinKR4e8qlS4X0igX4x/8r2tbLCIrAYjfJA05AMA5fLhRqL8cPsKK5tsNEoBaiNpuLGO/YfAPKQQn/cVE8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 15,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Fair",
       "label": "Fair"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ce986a0dba5a42def733c8fe4add8464",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABlklEQVQ4jb3UO2hTYRgG4CdpkhYVQQd1MF5iUbsUlyLRVkSr1E6CDlVcRBCnqoOLUCidLHURt4IFR2lpHBwUcXASh2SISiMNRdHiIIUUsnhpFI9DG5ukOVB84Qw/5/wP3/kvX8w6J/a/wRi6sU9UXMUnvEQ5LJiQNKjfaVekdNqpRYs5XzxQNO21ortYaAbcose4KWdss7HqzX5Jo5JGdLvkkCk3UWgERgPsuXNaReouRKu4SX0GxDwysLLSajDlqgl9DbGVeeikWUNybtQGTziv3aamsL+VRpx1XC6YU/4X3OGog8Lmog73nLIgUw3G7dJhe2hwd3AiOleDG1QsiYYGl9C2PFwGFxW9U3LE1lDge7+UZFeDlOTN4nAoMOOjgqe1QOaNe6VLuslf/4q8Z/hZG8yYsNkFKb1rbs833DZj2mDjq/dWvyEvXNYjXQebwx0FZb343hjM+iHrmDa3PHHNAXu1iwRffsCMeZ89tui6yWCPq1K/fd03hjHD9shLq0hIyBn1ptFKrN1gh4O6/jxNZd079m+coV9YhqInuwAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 15,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Good",
       "label": "Good"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "a6193c710c4c5caa3d7ea660fa29ab02",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB50lEQVQ4jb3UT0iTYRzA8e+7990cy1wmWTPnnyWlBuIlauYkzNSsQ1QHlS4RRCfLgxdBkE6KXaKbkNAxFNdB1IgOHqIiNnRqznxbRonImO5VSUy3hYo2db7uBfEHz+Hh4fnwPL/f8/wkDjikwwYloBg4Azo9hH8BA8CiVtDAUWsdWVXlnH9g40RBOoIoovimGXkpI3d/RpGfAYF4wGROO9q50XUdU+qR7StnrTharRQ9LabvXiFyVz3gVQN169jtd3cQE4Q9EyEm6LnZWUlvtcS319XRJ90Omm0PKe+oVMWio+LVVZSJJmbcT2KD6aV3MeckxoVtnFQg+9YVZtyJm4WKBk+RdjkXrZFbm8fQ82ssBZw7QH0GKXknNYNJmWsvomA3aDKFiYR0msFICHTGrel/8I8iExgNYik6rgmcG4+wHHTtBiGI3zMBXNQEys6fzHn7Y4GwMNXO9McLWOzxXX3JD37PW2A1NuhzdmBMqsFsK8O0T31Cy/ChcYzv3XXqX+/rSBVi03vy7zuw2GNjig++tHhZWSwD/qqDuFYYdpUgGhv40fOIY+eySc4RECSYn4TZsSkWfr9hVHkMnaGdu/duX4Mv2oA2LjVnMeuxsxo2IBrcuFqH1TKxf4P91DwJrI244sA79j+6Xo0Ft0PnBQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 15,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Very Good",
       "label": "Very Good"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "89d40749c36cc3e87c284cf9c91ce466",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACGElEQVQ4jb3UQYgSURgA4F8dncEWoQ7aIbOmQfMiXZYYXSNsi82TUAcTLyJEp207dBGEwZPDdhFvCwoeZYaZDh4K6dBJOswcJsURZTBSOojggBermUKoxW3dWQeWfniHx+N9vP/97/0IXHAg/xtEAGAHAG5ZrVa7rutfAeAjAMzNgg6v17sfj8cfZbNZPBQKXbPZbDZFUb5VKpUBx3GfBoPBGwCYbgJejkajRyzLPna73ZdWF/x+v5emaW+hUNhJp9N3WJZ9BQCyEWhdYs1m8wmKopaz0kJR1M4wzF4ymUTq9Xpy9aQnQBzHn1er1T0jbDVqtdqDfr+fF0XxYC0Yi8WeEgSxtQn256SWRCJxXxTFrb+FWgWvRiKR22AyUqlUsFQqPZxOp/wJ0G63Xw8Ggx6zoM/nW76I0CnQ6XTqmqZZzYKapgGGYcfzY1BV1UGn05mFw+ErZsBer/drNpsJp0AAmEmS1AeAu2ZAnue/yLL8bh0I4/H4qNVqbZMkuVHqk8kEJEl6DwA/14I8z1ddLtczHMd3PR7j+iwWC8jlcl2O4/YNv1673Y7n8/kPmUwmSpLkWkxRFCgWi/J8Pt8FgO+GoCAIPwRBuIdh2OtGo/EiEAjcJAjCgiAIDIdD6Ha749Fo9FZV1ZcMw2j/7j+zfZXL5UMAOKQo6oYkSaSu6w6HwyHSNP3Z6CrObbAURQ0BYDk2igvv2L8BA2DBLHCCCUsAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 15,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "N/A",
       "label": "N/A"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        245,
        208,
        24,
        255
       ],
       "toColor": [
        90,
        10,
        250,
        255
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 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
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "Trophic Level Index Grades",
   "type": "Feature Layer",
   "description": "Lakes where the Trophic Level Index (TLI) is monitored and reported on as part of the State of the Environment monitoring process by Environment Canterbury.\n\nThe Trophic Level Index (TLI) provides information on water quality in lakes. The TLI is determined by measuring:\n- total nitrogen\n- total phosphorus\n- visual clarity\n- algal biomass.\n\nLakes are classified:\nTrophic Level 0-1 = Ultra-microtrophic\nTrophic Level 1-2 = Microtrophic\nTrophic Level 2-3 = Oligotrophic\nTrophic Level 3-4 = Mesotrophic\nTrophic Level 4-5 = Eutrophic\nTrophic Level 5-6 = Supertrophic\nTrophic Level 6-7 = Hypertrophic\n\nThe main trophic states determined by these indicators are:\n- Oligotrophic lakes are clear and blue, with very low levels of nutrients and algae.\n- Mesotrophic lakes have moderate levels of nutrients and algae.\n- Eutrophic lakes are green and murky, with higher amounts of nutrients and algae.\n- Supertrophic lakes are fertile and saturated in phosphorus and nitrogen, often associated with poor water clarity. Excessive phytoplankton growth can occur in ideal conditions - when there's a calm, hot and sunny period of a few weeks.\n- Hypertrophic lakes are highly fertile and supersaturated in phosphorus and nitrogen. They have excessive phytoplankton growth which contributes to poor water clarity, poor suitability for recreational uses, and restricts the habitat for desirable fish.",
   "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,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9a11c99323729acf13fbc0a96e4444ba",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABqUlEQVQ4jc3VPWjCQBQH8JcPqOLiUiVLF6VDwa9WuuhSQYeMQiF0EDMJdhAURHBoXCwSFAW7u1hMO2YuUshiaIYWxKEqBCoFl7gJoqZkFIxNMUj/cNvxfsd73B0OBw7+b8ByuXxGEETBbrefoih6ZKSYqqqr2Wz2OZlM7ovF4odhsN1u806nk6zX66gkSTCfz42dHsfB4/Fc0DR9zXHc62AwiDIMs94Jchz3IstyJJFIwGq1gr+m2+1qC6MoKkJR1BsAnOuClUolarVar/L5POybTqcDXq830Gg0bjOZzMNW0OVy3VWrVQRMCsuyGpwDgO0gQRBuURTN8kBRFFgsFse7Zois1xsz3jsIgiC64HQ6lf1+v6PX65mC2Ww2sFgsM11wPB6z6XT6ySwwlUrBcDh81AVzudwzz/PvyWTS12q19sLC4TCQJPktCEJBF9QiSdJlPB4XQ6GQr9lsQr/fh+VyaQjRxuV2u4GmaQgGg1+CIAR+vfgMwywAwF+r1W5KpVLW4XCcYBhm6M1VVVVVFGU6Go1asVissm2PbqFsNqv1fqP/ZuTgv8UP/ZaetWnIR/kAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 21,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1348529.5017999997,
    "ymin": 5048432.5746,
    "xmax": 1648014,
    "ymax": 5304801,
    "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": "Lake",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Lake",
     "type": "esriFieldTypeString",
     "alias": "Lake",
     "length": 100,
     "domain": null
    },
    {
     "name": "SiteID",
     "type": "esriFieldTypeString",
     "alias": "SiteID",
     "length": 10,
     "domain": null
    },
    {
     "name": "Category",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 100,
     "domain": null
    },
    {
     "name": "Maximum_depth",
     "type": "esriFieldTypeDouble",
     "alias": "Maximum_depth",
     "domain": null
    },
    {
     "name": "TLIObjective",
     "type": "esriFieldTypeDouble",
     "alias": "TLIObjective",
     "domain": null
    },
    {
     "name": "CurrentTLI",
     "type": "esriFieldTypeDouble",
     "alias": "CurrentTLI",
     "domain": null
    },
    {
     "name": "Year",
     "type": "esriFieldTypeInteger",
     "alias": "Year",
     "domain": null
    },
    {
     "name": "ThumbnailTLI",
     "type": "esriFieldTypeString",
     "alias": "ThumbnailTLI",
     "length": 200,
     "domain": null
    },
    {
     "name": "ThumbnailTimeSeries",
     "type": "esriFieldTypeString",
     "alias": "ThumbnailTimeSeries",
     "length": 200,
     "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": "R799_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "UUID_799",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S783_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Trophic Level Index Grades",
   "type": "Feature Layer",
   "description": "Lakes where the Trophic Level Index (TLI) is monitored and reported on as part of the State of the Environment monitoring process by Environment Canterbury.\n\nThe Trophic Level Index (TLI) provides information on water quality in lakes. The TLI is determined by measuring:\n- total nitrogen\n- total phosphorus\n- visual clarity\n- algal biomass.\n\nLakes are classified:\nTrophic Level 0-1 = Ultra-microtrophic\nTrophic Level 1-2 = Microtrophic\nTrophic Level 2-3 = Oligotrophic\nTrophic Level 3-4 = Mesotrophic\nTrophic Level 4-5 = Eutrophic\nTrophic Level 5-6 = Supertrophic\nTrophic Level 6-7 = Hypertrophic\n\nThe main trophic states determined by these indicators are:\n- Oligotrophic lakes are clear and blue, with very low levels of nutrients and algae.\n- Mesotrophic lakes have moderate levels of nutrients and algae.\n- Eutrophic lakes are green and murky, with higher amounts of nutrients and algae.\n- Supertrophic lakes are fertile and saturated in phosphorus and nitrogen, often associated with poor water clarity. Excessive phytoplankton growth can occur in ideal conditions - when there's a calm, hot and sunny period of a few weeks.\n- Hypertrophic lakes are highly fertile and supersaturated in phosphorus and nitrogen. They have excessive phytoplankton growth which contributes to poor water clarity, poor suitability for recreational uses, and restricts the habitat for desirable fish.",
   "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,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          244,
          252,
          146,
          255
         ],
         "toColor": [
          240,
          181,
          65,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          240,
          181,
          65,
          255
         ],
         "toColor": [
          128,
          10,
          1,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "CurrentTLI",
     "classificationMethod": "esriClassifyManual",
     "minValue": 1,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "0581a88876826bddef4f41a7f76e167e",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABtElEQVQ4jWNhoDNgGTQWavcs0WJ7/7aC9edXNYa//9iJMo2J8e9vdu7b37gF229Wx18i2kKjip7N7A9veN0z8WP6KKnC8JeFjSj7GP/9ZeB7/dBY7vLeUOPSroNnub+5MjQ0/MNroXFp197vPMJO530KGf4zMjGQCt7I6YIws/T1w06m1w+dOc3AYITTQs3W+a7Mb546XnNMYKAUPNW0ZeB79cBQt3l29uXa1KlYLeR+/6L+rpk/IwOVwB3zQAbjjd3FDAwM2C3k+PZB5YOUGrXsY/jNwcPwn4lFFHcc/v/P+J+Rah6EAEZUA1Es/MUt8JD/1X2x95LU8SXz7x8MTH9/fsBp4RdesW6Fs9tWvfehjoUKF3YyfBWQWobTwmv1KavNi5ovyl7eq/9Y15kiy4SeXGMQv3vm+TFhlgqcFoLAFz51M8lbx08JPbmuf9/Ym+GziBzDfyZm4mz5/5+B+/1zBrnLexkEXtx58kZey5ChJAp/xr/aEPaLgYHBQLtpTpTGkeVF7N8+yjH+/0dUmfv/P8P/3xw8r74KSSw4PqmpE5sanAZdrUsBhT1K+FMD0L22AAC6oZi3gkajzwAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 2,
       "label": "Microtrophic"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "5fc9e708c809e782feacdb9ae8fee970",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABt0lEQVQ4jWNhoDNgGTQW9mww1/rykavi73c2tf//mNiJMYyRkeEvM+fP26yCX9ur/U9eItrC+rnOm9/e5/KSdb7ExCv3moGZ7S9Rrv//l5Hh6zNh42fH1EPrZ7seZHy627WhgeEfXgtrZ7vuZRf47KSVsI+Bkek/A6lAQO0pCDO/PKPi9OqPxxkGhh1GOC1sXWfu+u0Fs6NK0AkGSoG4yR2Gr0+FDVtX2mRXhx+ZitXCH2/46+VdLjEyUAnIuV5guDrXtZiBgQG7hb8+cKnwKbyiln0MLFw/GRiZ/4qiiKGpYWRgJD3e8IH//xkYcVrIxvvj4efHwmL8itTx5d+fLAz//7B8wGkhu8jH7qeHdFbxK+6jioVPD2sxsIt8WIbTwprQ46trpnldfH5cXV/S8iZFln24I8Hw9or8c/aPmytwWggWEHlo9vqC4qkPdyX0ZR2uMHBLvWdgZELJuzjB//8MDN9f8zO8OK7B8PGh6BNhlWeGJb4EMn5D2NVfDAxXDVpXWUbd32JW9OsThxzDfyaiytz/jP//s3L9fMUl8nFBe/6WTmxqcBpUHXYcFPYo4U8NQPfaAgCPnplRjD2KtwAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 3,
       "label": "Oligotrophic"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "da78cd603d9fb9de861e07e940d5583a",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABt0lEQVQ4jWNhoDNgGTQWbthgrvXxI1fF9+9sav/+MbETYxgjI8NfTs6ftwUFv7b7+5+8RLSFc+c6b75/n8vL2fkSk5zcawY2tr9Euf7vX0aGZ8+EjY8dUw+dPdv14NOnu10bGhj+4bVw9mzXvQICn50SEvYxMDH9ZyAVqKk9BWHmM2dUnP788TjDwLDDCKeF69aZu754wewYFHSCgVJgYnKH4elTYcOVK22yw8OPTMVq4Zs3/PUuLpcYGagEXF0vMMyd61rMwMCA3cIPH7hUFBReUcs+Bi6unwzMzH9F8cUhIyMj6fGGD/z/z8CI00Je3h8PHz8WFlNUpI4vf/5kYfjzh+UDTgtFRD52Hzqks0pRcR9VLDx8WItBROTDMpwWhoYeXz1tmtfF48fV9S0tb1Jk2Z07EgxXrsg///hxcwVOC0FAROSh2YULiqfu3pXQd3C4wiAl9Z6BiQkl7+IE//8zMLx+zc9w/LgGw8OHok9UVJ4Z+voSyPhhYVd/MTBcNVi1yjJqyxazok+fOOT+/2ciqsxlZPz/n4vr5ysRkY8L8vO3dGJTg9OgsLDjoLBHCX9qALrXFgCRn5tORg0grAAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 4,
       "label": "Mesotrophic"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ea00c8619d397b88456b05a2bc783567",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABtUlEQVQ4jWNhoDNgGTQWLjE31/rMxVXxk41N7T8TEzsxhjEyMPxl//nzNv/Xr+1RJ09eItrCKc7Om59wcXlZXLrEJPn6NQPb379Euf4vIyPDK2Fh4wvq6qGTXV0Pvt2927WBgeEfXgsnu7ru5fv82Slg3z4Gpv//GUgFCk+fgjDzVRUVp6seHmcYduwwwmnhfHNz1/fMzI4uJ04wUAq079xheCksbLjAxiY74ciRqVgt/MjPX2956RIjA5WA1YULDGtdXYsZGBiwW/iVi0tF+tUratnHwPHzJwPz37+iyGIoFv5nYGBkJCPe8IF/4MSLw0KeHz8ePhcWFpOhki9/sbAw/Gdh+YDTQv6PH7vP6Oisktm3jyoWntXSYuD78GEZTgsTjx9f3efldfGCurq+wc2bFFn2SEKC4ba8/PMfmzdX4LQQBGQePjS7oah46rGEhL7ZlSsMou/fMzD9Q8m7OAEo9t/z8zNc0NBgeCYq+kTu2TPDKEIZP+zq1V8MV68azLe0jDpoZlb0hYND7j8TE3Fl7v///zl//nwl8PHjgrItWzqxKcFpUOLx46CwRwl/agC61xYA8eWbwslPlaMAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 5,
       "label": "Eutrophic"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "e93be781d1fce1ba36c2703bb2f2f128",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABkklEQVQ4jc2VPUjDQBTHX+M16QddSk06FGlDcHCpVXC30MXdxaENtLSDmy7dzCbi7BJacCgOdnR2cBUXXaUBQSqEa7E0JSS9GLmx0mhKQ/EPtxyP9+P/Pu4QrFjo3wAbjcbWdDptEkI2AYDzmc9BCL0yDHPearVefAMrlcqdYRgHgiAw8XgcGIbxRXNdF0zT3MUYH8qy/JDNZkuKonz9CpRl+Z5l2aIoihAKhWBRJRIJetaGw2FR07QnANjxBNZqtZJlWfuZTAaWVTKZpG4L9Xr9WFXVq7lA27bP0un04rY8JAgCaJp2CgDzgYQQifYsKCGEaFvWZ+5+xATmzivnDDAcDr+ZpskH5dJxHDq5n55AjuMudV2/zeVygQAxxsCy7I0nUFXVbrlcfsYY51Op1FKw8XgMo9HoQ5KkpieQShTFvV6v92gYRp7neYhGo773kS6+ZVkwGAxgMpm8x2Kxwp+LryiKDQDb1Wr1qN/vnxBCNvy+ua7rugghPRKJXHc6nYt5MZ6J2u02rf1M/YPQyn+Lb3Ggj9C8ABqZAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 6,
       "label": "Supertrophic"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "6a74725ad9f837d99c342b0d96f79efa",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABpklEQVQ4jc2Vv0vDQBTHv7mcbc3SoVQyWYRipAj+ghbBRUugdHfxX2hU0MXNUcRJqc5ODjq2gyAKglArDjXYQXQpmIp1sEEEo7mcZCw0GjGIH7jteJ937927o/hj6L8RzmcyKUjSCg+FBjkhYT/BCMC4Zd2Kr69rm9Wq7ltYyGZLjiTle3SdkKcnCIz5yp4LAngsNvGhKLOaqp4Wj45UAM6XQk1Vj4WXl5nQyQnAOX6C4C7DQNgwRDuZnNFyucvi4eG4p3Axk1FtUZwOn5/jt9C7O/e0YwtTU4Wts7PtrkIWja6GdN1NNBBorYZ3VV0G0F3IJSlJWq2gfBAsC5yxeEcSHUK3DT/smx8vvITi21uDxWJ9YkCn5JQClLY9hdw0N+zh4X3RvaEBYKdSQLu95yksVioHWj5/ZSvKCL25+ZWMyTLsROJhp1Ra8RS6PDYa6b6BgQsmyyM919cgz8+A0zG7X+JEo2BDQ2Dx+H1vszn27eAf1OvvqNdHtcnJOTudXnIikX4Q4u/N5ZzDslrENHe3y+X1bls8AxUrFbf2HfUPgj//LT4BAHaYGzePAnMAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 21,
        "height": 12,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "classMaxValue": 9,
       "label": "Hypertrophic"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1348529.5017999997,
    "ymin": 5048432.5746,
    "xmax": 1648014,
    "ymax": 5304801,
    "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": "Lake",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Lake",
     "type": "esriFieldTypeString",
     "alias": "Lake",
     "length": 100,
     "domain": null
    },
    {
     "name": "SiteID",
     "type": "esriFieldTypeString",
     "alias": "SiteID",
     "length": 10,
     "domain": null
    },
    {
     "name": "Category",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 100,
     "domain": null
    },
    {
     "name": "Maximum_depth",
     "type": "esriFieldTypeDouble",
     "alias": "Maximum_depth",
     "domain": null
    },
    {
     "name": "TLIObjective",
     "type": "esriFieldTypeDouble",
     "alias": "TLIObjective",
     "domain": null
    },
    {
     "name": "CurrentTLI",
     "type": "esriFieldTypeDouble",
     "alias": "CurrentTLI",
     "domain": null
    },
    {
     "name": "Year",
     "type": "esriFieldTypeInteger",
     "alias": "Year",
     "domain": null
    },
    {
     "name": "ThumbnailTLI",
     "type": "esriFieldTypeString",
     "alias": "ThumbnailTLI",
     "length": 200,
     "domain": null
    },
    {
     "name": "ThumbnailTimeSeries",
     "type": "esriFieldTypeString",
     "alias": "ThumbnailTimeSeries",
     "length": 200,
     "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": "R799_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "UUID_799",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S783_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
  }
 ],
 "tables": []
}