{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 169,
 "name": "Stormwater Drain",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPolyline",
 "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": {
  "id": 138,
  "name": "Stormwater"
 },
 "subLayers": [],
 "minScale": 10000,
 "maxScale": 10,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "LEGACY_FUNCTION_TYPE",
   "field2": "OWN",
   "uniqueValueGroups": [
    {
     "heading": "",
     "classes": [
      {
       "label": "Drain (Private)",
       "description": "Drain (Private)",
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         115,
         223,
         255
        ],
        "width": 1
       },
       "values": [
        [
         "Dish",
         "TCC-PVT"
        ],
        [
         "Open Concrete",
         "TCC-NZTA"
        ],
        [
         "Open Drain",
         "TCC-BOPRC"
        ],
        [
         "Open Drain",
         "TCC-NZTA"
        ],
        [
         "Open Drain",
         "TCC-PVT"
        ],
        [
         "Slot Drain",
         "TCC-PVT"
        ],
        [
         "Stream",
         "TCC-BOPRC"
        ],
        [
         "Stream",
         "TCC-CROWN"
        ],
        [
         "Stream",
         "TCC-PVT"
        ]
       ]
      },
      {
       "label": "Overland Flow Path (Private)",
       "description": "Overland Flow Path (Private)",
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         115,
         223,
         255
        ],
        "width": 10
       },
       "values": [
        [
         "Overland Flow Path",
         "TCC-PVT"
        ]
       ]
      },
      {
       "label": "Drain (TCC)",
       "description": "Drain (TCC)",
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         255,
         0,
         255
        ],
        "width": 1
       },
       "values": [
        [
         "Dish",
         "TCC"
        ],
        [
         "Open Concrete",
         "TCC"
        ],
        [
         "Open Drain",
         "TCC"
        ],
        [
         "Slot Drain",
         "TCC"
        ],
        [
         "Stop Bank",
         "TCC"
        ],
        [
         "Stream",
         "TCC"
        ],
        [
         "Swale Drain",
         "TCC"
        ]
       ]
      },
      {
       "label": "Overland Flow Path (TCC)",
       "description": "Overland Flow Path (TCC)",
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "width": 10
       },
       "values": [
        [
         "Overland Flow Path",
         "TCC"
        ]
       ]
      }
     ]
    }
   ],
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Dish,TCC-PVT",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Open Concrete,TCC-NZTA",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Open Drain,TCC-BOPRC",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Open Drain,TCC-NZTA",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Open Drain,TCC-PVT",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Slot Drain,TCC-PVT",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Stream,TCC-BOPRC",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Stream,TCC-CROWN",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 1
     },
     "value": "Stream,TCC-PVT",
     "label": "Drain (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       115,
       223,
       255
      ],
      "width": 10
     },
     "value": "Overland Flow Path,TCC-PVT",
     "label": "Overland Flow Path (Private)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Dish,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Open Concrete,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Open Drain,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Slot Drain,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Stop Bank,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Stream,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       255,
       0,
       255
      ],
      "width": 1
     },
     "value": "Swale Drain,TCC",
     "label": "Drain (TCC)"
    },
    {
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       163,
       255,
       115,
       255
      ],
      "width": 10
     },
     "value": "Overland Flow Path,TCC",
     "label": "Overland Flow Path (TCC)"
    }
   ],
   "fieldDelimiter": ",",
   "authoringInfo": {
    "colorRamp": {
     "type": "multipart",
     "colorRamps": [
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        242,
        189,
        255
       ],
       "toColor": [
        252,
        242,
        189,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        225,
        182,
        252,
        255
       ],
       "toColor": [
        225,
        182,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        184,
        232,
        252,
        255
       ],
       "toColor": [
        184,
        232,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        179,
        185,
        255
       ],
       "toColor": [
        252,
        179,
        185,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        189,
        252,
        190,
        255
       ],
       "toColor": [
        189,
        252,
        190,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        179,
        252,
        233,
        255
       ],
       "toColor": [
        179,
        252,
        233,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        242,
        215,
        252,
        255
       ],
       "toColor": [
        242,
        215,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        179,
        196,
        252,
        255
       ],
       "toColor": [
        179,
        196,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        217,
        194,
        255
       ],
       "toColor": [
        252,
        217,
        194,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        179,
        222,
        255
       ],
       "toColor": [
        252,
        179,
        222,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        218,
        252,
        215,
        255
       ],
       "toColor": [
        218,
        252,
        215,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        210,
        222,
        255
       ],
       "toColor": [
        252,
        210,
        222,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        230,
        252,
        179,
        255
       ],
       "toColor": [
        230,
        252,
        179,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": 1857258.1743,
  "ymin": 5808978.0371,
  "xmax": 1910716.4529,
  "ymax": 5857231.608,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -4582839.59449512,
   "falseY": -997760.3372299771,
   "xyUnits": 4.0950152478998494E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "COMPKEY",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "COMPKEY",
   "type": "esriFieldTypeInteger",
   "alias": "COMPKEY",
   "domain": null
  },
  {
   "name": "UNITTYPE",
   "type": "esriFieldTypeString",
   "alias": "UNITTYPE",
   "length": 10,
   "domain": null
  },
  {
   "name": "UNITID",
   "type": "esriFieldTypeString",
   "alias": "UNITID",
   "length": 50,
   "domain": null
  },
  {
   "name": "UNITID2",
   "type": "esriFieldTypeString",
   "alias": "UNITID2",
   "length": 50,
   "domain": null
  },
  {
   "name": "STATUS",
   "type": "esriFieldTypeString",
   "alias": "STATUS",
   "length": 10,
   "domain": null
  },
  {
   "name": "MATERIAL",
   "type": "esriFieldTypeString",
   "alias": "MATERIAL",
   "length": 10,
   "domain": null
  },
  {
   "name": "NOM_DIA_MM",
   "type": "esriFieldTypeDouble",
   "alias": "NOM_DIA_MM",
   "domain": null
  },
  {
   "name": "LENGTH",
   "type": "esriFieldTypeDouble",
   "alias": "LENGTH",
   "domain": null
  },
  {
   "name": "INSTALLED",
   "type": "esriFieldTypeDate",
   "alias": "INSTALLED",
   "length": 8,
   "domain": null
  },
  {
   "name": "ACCURACY",
   "type": "esriFieldTypeString",
   "alias": "ACCURACY",
   "length": 5,
   "domain": null
  },
  {
   "name": "COMMENTS",
   "type": "esriFieldTypeString",
   "alias": "COMMENTS",
   "length": 300,
   "domain": null
  },
  {
   "name": "GlobalID",
   "type": "esriFieldTypeString",
   "alias": "GlobalID",
   "length": 2048,
   "domain": null
  },
  {
   "name": "OWN",
   "type": "esriFieldTypeString",
   "alias": "OWN",
   "length": 10,
   "domain": null
  },
  {
   "name": "CRITICALITYTEXT",
   "type": "esriFieldTypeString",
   "alias": "CRITICALITYTEXT",
   "length": 15,
   "domain": null
  },
  {
   "name": "SURFACETYPE",
   "type": "esriFieldTypeString",
   "alias": "SURFACETYPE",
   "length": 20,
   "domain": null
  },
  {
   "name": "LOCATIONTYPE",
   "type": "esriFieldTypeString",
   "alias": "LOCATIONTYPE",
   "length": 25,
   "domain": null
  },
  {
   "name": "LEGACY_FUNCTION_TYPE",
   "type": "esriFieldTypeString",
   "alias": "LEGACY_FUNCTION_TYPE",
   "length": 100,
   "domain": null
  },
  {
   "name": "UPSTREAM_LID_LEVEL",
   "type": "esriFieldTypeDouble",
   "alias": "UPSTREAM_LID_LEVEL",
   "domain": null
  },
  {
   "name": "US_INV",
   "type": "esriFieldTypeDouble",
   "alias": "US_INV",
   "domain": null
  },
  {
   "name": "UPSTREAMDEPTH",
   "type": "esriFieldTypeDouble",
   "alias": "UPSTREAMDEPTH",
   "domain": null
  },
  {
   "name": "DOWNSTREAMLIDLEVEL",
   "type": "esriFieldTypeDouble",
   "alias": "DOWNSTREAMLIDLEVEL",
   "domain": null
  },
  {
   "name": "DS_INV",
   "type": "esriFieldTypeDouble",
   "alias": "DS_INV",
   "domain": null
  },
  {
   "name": "DOWNSTREAMDEPTH",
   "type": "esriFieldTypeDouble",
   "alias": "DOWNSTREAMDEPTH",
   "domain": null
  },
  {
   "name": "GlobalID_1",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID_1",
   "length": 38,
   "domain": null
  },
  {
   "name": "SHAPE",
   "type": "esriFieldTypeGeometry",
   "alias": "SHAPE",
   "domain": null
  },
  {
   "name": "SHAPE.STLength()",
   "type": "esriFieldTypeDouble",
   "alias": "SHAPE.STLength()",
   "domain": null
  },
  {
   "name": "DATUM",
   "type": "esriFieldTypeString",
   "alias": "DATUM",
   "length": 255,
   "domain": null
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE"
 },
 "indexes": [
  {
   "name": "R83_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "UUID_83",
   "fields": "GlobalID_1",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "S71_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,
  "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": {
  "timeZone": "New Zealand Standard Time",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": {
  "timeZone": "New Zealand Standard Time",
  "respectsDaylightSaving": false
 },
 "datesInUnknownTimezone": false,
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "SHAPE.STLength()",
  "units": "esriMeters",
  "mapUnits": {"uwkid": 9001}
 },
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true,
 "serviceItemId": "85ab63b56867479d875735ae9003d631"
}