{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Addresses",
   "type": "Feature Layer",
   "description": "Land parcels street address points originally sourced from Land Information New Zealand (please note these do not represent deliverable address points)",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[house_number]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000,
      "name": "< 1:2,000",
      "priority": 21,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[HOUSE_NUMBER]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 2001,
      "minScale": 4001,
      "name": "1:2,001 to 1:4,000",
      "priority": 20,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        112,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 7.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1329312.5939998627,
    "ymin": 4945339.816699982,
    "xmax": 2466056.5879001617,
    "ymax": 5362357.0342001915,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "road_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "house_number",
     "type": "esriFieldTypeString",
     "alias": "HOUSE_NUMBER",
     "length": 25,
     "domain": null
    },
    {
     "name": "locality",
     "type": "esriFieldTypeString",
     "alias": "LOCALITY",
     "length": 30,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeInteger",
     "alias": "PAR_ID",
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "rna_id",
     "type": "esriFieldTypeInteger",
     "alias": "rna_id",
     "domain": null
    },
    {
     "name": "address",
     "type": "esriFieldTypeString",
     "alias": "address",
     "length": 126,
     "domain": null
    },
    {
     "name": "road_name",
     "type": "esriFieldTypeString",
     "alias": "road_name",
     "length": 100,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 255,
     "domain": null
    },
    {
     "name": "rcl_id",
     "type": "esriFieldTypeInteger",
     "alias": "rcl_id",
     "domain": null
    },
    {
     "name": "range_low",
     "type": "esriFieldTypeInteger",
     "alias": "range_low",
     "domain": null
    },
    {
     "name": "range_high",
     "type": "esriFieldTypeInteger",
     "alias": "range_high",
     "domain": null
    },
    {
     "name": "EXTRACT_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EXTRACT_DATE",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R192_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S185_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "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": "Towns",
   "type": "Feature Layer",
   "description": "Gazetter of placenames in Canterbury including; main centres, towns, populated areas & significant local land marks sourced from LINZ.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "3d4fea18e1764bc46eac56c84c383b0e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAD0lEQVQImWNhQAMspAsAAALsABGvxex8AAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 3,
      "height": 3,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE =  'SUBURB'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 100000,
      "name": "Suburbs <100,000",
      "priority": 8,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        56,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE In ( 'METR' ) OR PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 1000000,
      "name": "Metropolitan Areas <1,000,000",
      "priority": 5,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "(FEATURE_TYPE In ( 'TOWN') OR PLACENAME IN ( 'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine' )) AND NOT PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 4000000,
      "name": "Towns And Regional centres",
      "priority": 12,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "FEATURE_TYPE In ( 'METR' ) OR PLACENAME IN ( 'ASHBURTON' , 'TIMARU' )",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 4000000,
      "name": "Metropolitan Areas >1,000,000",
      "priority": 7,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "NOT PLACENAME IN (  'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine','ASHBURTON' , 'TIMARU' ) AND FEATURE_TYPE IN (  'POPULATED PLACE')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 250000,
      "name": "Population Centres < 250,000",
      "priority": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[PLACENAME]",
      "labelPlacement": "esriServerPointLabelPlacementCenterCenter",
      "deconflictionStrategy": "static",
      "removeDuplicates": "none",
      "stackLabel": false,
      "where": "NOT PLACENAME IN (  'Amberley', 'Waiau', 'Hanmer Springs', 'Rangiora', 'Kurow', 'Twizel', 'Fairlie', 'Geraldine','ASHBURTON' , 'TIMARU' ) AND FEATURE_TYPE IN ( 'LOCALITY')",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Localities <50,000",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        168,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PLACENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "PLACENAME",
     "type": "esriFieldTypeString",
     "alias": "PLACENAME",
     "length": 80,
     "domain": null
    },
    {
     "name": "FEATURE_TYPE",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_TYPE",
     "length": 50,
     "domain": null
    },
    {
     "name": "FEATURE_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "FEATURE_DESCRIPTION",
     "length": 100,
     "domain": null
    },
    {
     "name": "LAND_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "LAND_DISTRICT",
     "length": 50,
     "domain": null
    },
    {
     "name": "DISPLAYCLASS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "DISPLAYCLASS",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "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": 2,
   "name": "Bus Stops",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -20037700,
    "falseY": -30241100,
    "xyUnits": 10000000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 25000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "9a1caf510b1241affca95d5aa215ba97",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAACcAAAAsCAYAAADmZKH2AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE30lEQVRYhd2Yf2hbVRTHT15emjbNuv6SQm27wbYqpYrUP1T2x/5U1nUI/l6nMJ2d4Ni6qgh1KtJSQSlurkzd7GDOVUT/EEYFcRX2x1gFHf4xhistFdpmKXRNO9M0aV4S+Z70hJfXlyZpX2L1C4/7bt5793xy7rnvvnNU2sBSaQNLpf8aXDgcvoR2aWmJ+5qmWW9YjZsuKCjg1uFwtKSF0zQtBhiA4cB5JBKhaDRqGZiiKGS32xkQYwMQdlVVtaWE0zTtC8AEg0EKBAIUCoUYEANYLbvdzlBOp5NcLhcVFhayfVVVD5nCQYAB2NzcHDU0HKZc6+bNvoQ3ZapN4cLhMMPBYwCrqt5KzkIXFTgLLYdaCgUpFAywnfHxfvaiw+FIDYe4kniDcgUG6ceV2DbGdRIcYksO4wBrVSgUIr/fTwsLC4kFgBhzu93kXB7faNcUDlptVcZiMZqZmeHpN75eMCUSM5WVlWSzxRcewB579H7av28nNe9uosEfr9PXA1fp2vCfvBhWs5v2JSyvlNnZWe7b7Qpd/Kqd7qu/l8rL3PzbrM9Pt0amqPWlE9yfmJjgtqysjD0GsMtDf1D7G+doz+4m7g/9cp0qKipWtZ0Wzuv10gONdfTk3ofos774Kt+5q5Oi0RgpStw7OIcC898knjt89Esa/vUW+Xw+9tjRjn76afBdemJPN33S+zK/SizZvn4b/jipf/VKT9pn+k4e5Nbpfo6nsqX5YXq8uYtb9DPZdbLaW12bX6BIJJqIJ7OYlKnXexEx9vyzj1D/mdfpwsUr3C8uLrYWDmA1NTUMJyAi/W+Tk5NJ1xD8l4d+pxdbd9HBQ6cZDKvVUjh5k0Nm3kvlUQQ+Foa+n4myhrPyA8BSOIfDTrdve9Leh5jLO5zfN0D5lEobWGo2N3f3fE8d7S2kqnbaVN6adG1+5kLi/KPeH6jz7afyC5dvqdl4ravnO5ry3KEPu/dTyP/tilV85Ng5Pj/b/zMpNoWOdz6dezhNi9CbHXvJOz1H773zDE8rtiW97njP04neAwlQ3B8MLuUeLr7JK4n9EjJ6Tq/Tp9rWDZYx3PH3B6j7g318PjrmpfHxadP7tmy5h9v6HdXk9wd5YeQUrrS0lE6eGqServjqfLDpGO+xso2JsK/KJxQ2fVzHc3g+Z3AlJSWcick3G1RbW7tiHwWcxzPF53fvBrgFIJ63DM7oEZHxvWYm+QNVNa8wrPEP7Gh4i1LJzG4SHL5O5ZD0DUlOXV0dpZPNZmOPppKMoR8L45vZNYWTxFbqF8groVzmrRDswa7Re6oxg5ISATLxVBl/VfVW2rS5nDLV3/OzNO35y/Qa7MBe2qRa/gXySgiZuL5WIt9yjY1HuM0EUMBu3PiU++IdY61EZislHIoomqa1oaiCQZarP4kqkyS+IyOfU339a2kBBQz36+NKX2WCDZlWfRHH1HMoQ6EcJQ9j1enhpFwxOnqGtm9vSwkoYLhPpg3j6eGwiDCVaI3lL1M4ATT7HdAAW1xcZANjY2dp27ZXVwAKGK5jFnAUFRUJoHmiYcaR6Y0CDUDSSe9BkXhsPWBZw5kBRqPRpBiE0MdUrgdsTXBGQEVROG4mJs4nrqMPOF2sZQ22ZjgIBlHYBpysbBGCHWDLi2pFITovn+kOkwq4lfp/5BD0L+gf949Dj0OL/DwAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 29,
      "height": 33,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1453258.5576444967,
    "ymin": 5080380.923802501,
    "xmax": 1581433.7366054445,
    "ymax": 5207284.973812918,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ProjectName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ProjectID",
     "type": "esriFieldTypeString",
     "alias": "ProjectID",
     "length": 50,
     "domain": null
    },
    {
     "name": "ProjectName",
     "type": "esriFieldTypeString",
     "alias": "ProjectName",
     "length": 100,
     "domain": null
    },
    {
     "name": "PlatformTag",
     "type": "esriFieldTypeDouble",
     "alias": "PlatformTag",
     "domain": null
    },
    {
     "name": "PlatformNo",
     "type": "esriFieldTypeDouble",
     "alias": "PlatformNo",
     "domain": null
    },
    {
     "name": "PlatformName",
     "type": "esriFieldTypeString",
     "alias": "PlatformName",
     "length": 150,
     "domain": null
    },
    {
     "name": "RoadName",
     "type": "esriFieldTypeString",
     "alias": "RoadName",
     "length": 150,
     "domain": null
    },
    {
     "name": "BearingToRoad",
     "type": "esriFieldTypeDouble",
     "alias": "BearingToRoad",
     "domain": null
    },
    {
     "name": "RouteNos",
     "type": "esriFieldTypeString",
     "alias": "RouteNos",
     "length": 250,
     "domain": null
    },
    {
     "name": "RouteTags",
     "type": "esriFieldTypeString",
     "alias": "RouteTags",
     "length": 500,
     "domain": null
    },
    {
     "name": "Routes",
     "type": "esriFieldTypeString",
     "alias": "Routes",
     "length": 750,
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeDouble",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeDouble",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "WGS84_LONGITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LONGITUDE",
     "domain": null
    },
    {
     "name": "WGS84_LATITUDE",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_LATITUDE",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": null
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeInteger",
     "alias": "QARCODE",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": 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": "River Gaugings",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 125000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "291b9f4a1769a3c64ff898b73f2b50ac",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAo0lEQVQokWNhwA6kGBgYnmGTYMEiZszAwLCZgYFBkoGBwYSBgeEsPg1gxcYMrpLvGV4y3GO4dAZdEws2xWUMC8EClQweGJpYcCkGgXaGHRiaWKAexFCMQ5M0CzQ0wG7GBQQZxEEUipNMQCaATAKZiAy6GOIZzjLsBiluBBkO0wASwNCEphgU1CihhKIJ5Ax0xdjiAa4JykZRjE0DTJM0lI2RPADVzkYrXI5ceAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 9,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 32000,
      "name": "Default",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        169,
        0,
        230,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITENUMBER",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "length": 104,
     "domain": null
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOW_OR_STAGE",
     "type": "esriFieldTypeString",
     "alias": "FLOW_OR_STAGE",
     "length": 1,
     "domain": null
    },
    {
     "name": "RECORDER_SITE",
     "type": "esriFieldTypeString",
     "alias": "RECORDER_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "length": 1,
     "domain": null
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NO_OF_GAUGINGS",
     "type": "esriFieldTypeInteger",
     "alias": "NO_OF_GAUGINGS",
     "domain": null
    },
    {
     "name": "FIRST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "FIRST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_GAUGING",
     "type": "esriFieldTypeDate",
     "alias": "LAST_GAUGING",
     "length": 8,
     "domain": null
    },
    {
     "name": "MINIMUM_FLOW_SITE",
     "type": "esriFieldTypeString",
     "alias": "MINIMUM_FLOW_SITE",
     "length": 1,
     "domain": null
    },
    {
     "name": "MINIMUM",
     "type": "esriFieldTypeSingle",
     "alias": "MINIMUM",
     "domain": null
    },
    {
     "name": "LOWEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "LOWEST_FLOW",
     "domain": null
    },
    {
     "name": "HIGHEST_FLOW",
     "type": "esriFieldTypeSingle",
     "alias": "HIGHEST_FLOW",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "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": 4,
   "name": "Rainfall Monitoring Sites",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "842121f3a4dd1ed9cc023660c83ed836",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAsklEQVQokWNhIBOw4JHbDKV9SdG4WUZRw+fJ/Rsg9hkGBgYTYjSCNbmFpDLwCYowTKiKN8ammQWXJi0jG7BAQdtCrJpZ8GkCARlFDayaWfBpwqEZFGi+cBtBAQHyEz7AJyjC8On9m2cgNgtSkJ8BmQgyGWQDMgAZOq+7GKRpCwMDQzq6H02waX6Cqgkep+ihiqIZBLBpwqYRRTPUTxiacGmEad4MDQiwn4jVCAJY0ygMAAAgfVdnLJuT6AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 10,
      "height": 10,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SITENUMBER] CONCAT \" - \" CONCAT [SITE]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 32000,
      "name": "Default",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        253,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061,
    "ymin": 470137,
    "xmax": 2523320,
    "ymax": 6242131,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITENAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SITENUMBER",
     "type": "esriFieldTypeInteger",
     "alias": "SITENUMBER",
     "domain": null
    },
    {
     "name": "RIVER",
     "type": "esriFieldTypeString",
     "alias": "RIVER",
     "length": 50,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 64,
     "domain": null
    },
    {
     "name": "SITE",
     "type": "esriFieldTypeString",
     "alias": "SITE",
     "length": 118,
     "domain": null
    },
    {
     "name": "TIM_CHCH",
     "type": "esriFieldTypeString",
     "alias": "TIM_CHCH",
     "length": 1,
     "domain": null
    },
    {
     "name": "TELEMETERED",
     "type": "esriFieldTypeString",
     "alias": "TELEMETERED",
     "length": 1,
     "domain": null
    },
    {
     "name": "COMPLIANCE_MONITORING",
     "type": "esriFieldTypeString",
     "alias": "COMPLIANCE_MONITORING",
     "length": 1,
     "domain": null
    },
    {
     "name": "FLOOD_CONTROL",
     "type": "esriFieldTypeString",
     "alias": "FLOOD_CONTROL",
     "length": 1,
     "domain": null
    },
    {
     "name": "LAST_SAMPLE",
     "type": "esriFieldTypeDate",
     "alias": "LAST_SAMPLE",
     "length": 8,
     "domain": null
    },
    {
     "name": "LAST_HOUR",
     "type": "esriFieldTypeDouble",
     "alias": "LAST_HOUR",
     "domain": null
    },
    {
     "name": "RAIN_TODAY",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_TODAY",
     "domain": null
    },
    {
     "name": "RAIN_1_DAY_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_1_DAY_AGO",
     "domain": null
    },
    {
     "name": "RAIN_2_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_2_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_3_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_3_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_4_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_4_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_5_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_5_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_6_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_6_DAYS_AGO",
     "domain": null
    },
    {
     "name": "RAIN_7_DAYS_AGO",
     "type": "esriFieldTypeDouble",
     "alias": "RAIN_7_DAYS_AGO",
     "domain": null
    },
    {
     "name": "TOTAL_RAINFALL",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_RAINFALL",
     "domain": null
    },
    {
     "name": "ALTITUDE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ALTITUDE",
     "domain": null
    },
    {
     "name": "NZMGX",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGX",
     "domain": null
    },
    {
     "name": "NZMGY",
     "type": "esriFieldTypeInteger",
     "alias": "NZMGY",
     "domain": null
    },
    {
     "name": "NZMS260",
     "type": "esriFieldTypeString",
     "alias": "NZMS260",
     "length": 16,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "NZTOPO50",
     "type": "esriFieldTypeString",
     "alias": "NZTOPO50",
     "length": 16,
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "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": 5,
   "name": "Roads",
   "type": "Feature Layer",
   "description": "Labels for road and street names in Canterbury.  Taken from the LINZ CRS system representaion of Streets and Roads.  Updated monthly.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 1.0E-4,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -2147483647,
    "falseY": -2147483647,
    "xyUnits": 20000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       236,
       233,
       216,
       0
      ],
      "width": 4
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 4001,
      "minScale": 15000,
      "name": "Level 2 - 1:4,001 to 1:15,000",
      "priority": 17,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 15001,
      "minScale": 25000,
      "name": "Level 1 - 1:15,000 to 1:25,000",
      "priority": 16,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 2001,
      "minScale": 4000,
      "name": "Level 3 - 1:2,001 to 1:4,000",
      "priority": 18,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[name]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": false,
      "where": "name <> 'ACCESSWAY'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 2000,
      "name": "Level 4 - <= 1:2,000",
      "priority": 19,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[other_names]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 216,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "lineOrientation": "unconstrained",
      "allowOverlapOfFeatureInterior": "avoid",
      "stackLabel": false,
      "where": "other_names LIKE  'SH%'",
      "useCodedValues": true,
      "maxScale": 25001,
      "minScale": 250000,
      "name": "Level 0 - 1:25,001 to 1:250,000",
      "priority": 15,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        245,
        245,
        245,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8.5,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1301818.7651000023,
    "ymin": 4944825.082099915,
    "xmax": 2467495.465300083,
    "ymax": 5362938.070400238,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "name",
   "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": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    },
    {
     "name": "name",
     "type": "esriFieldTypeString",
     "alias": "name",
     "length": 100,
     "domain": null
    },
    {
     "name": "territorial_authority",
     "type": "esriFieldTypeString",
     "alias": "territorial_authority",
     "length": 255,
     "domain": null
    },
    {
     "name": "other_names",
     "type": "esriFieldTypeString",
     "alias": "other_names",
     "length": 255,
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "id",
     "domain": null
    },
    {
     "name": "EXTRACT_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EXTRACT_DATE",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R194_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S187_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "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,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 6,
   "name": "Land Parcels",
   "type": "Feature Layer",
   "description": "Land parcel boundaries taken from the LINZ CRS system.  Updated monthly.",
   "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": "Land Information New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 50000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FEATCODE",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "Land Parcel Boundary",
         "description": "Land Parcel Boundary",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           0,
           0,
           0,
           0
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            0,
            255
           ],
           "width": 0.4
          }
         },
         "values": [
          [
           "parcel"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         0,
         0
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          0,
          255
         ],
         "width": 0.4
        }
       },
       "value": "parcel",
       "label": "Land Parcel Boundary"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          211,
          252,
          187,
          255
         ],
         "toColor": [
          211,
          252,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          252,
          255
         ],
         "toColor": [
          252,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          225,
          252,
          255
         ],
         "toColor": [
          184,
          225,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          194,
          179,
          255
         ],
         "toColor": [
          252,
          194,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          197,
          189,
          252,
          255
         ],
         "toColor": [
          197,
          189,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          215,
          252,
          237,
          255
         ],
         "toColor": [
          215,
          252,
          237,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          210,
          239,
          255
         ],
         "toColor": [
          252,
          210,
          239,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          239,
          197,
          255
         ],
         "toColor": [
          252,
          239,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          244,
          252,
          255
         ],
         "toColor": [
          182,
          244,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          218,
          215,
          252,
          255
         ],
         "toColor": [
          218,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          216,
          255
         ],
         "toColor": [
          252,
          215,
          216,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          230,
          252,
          212,
          255
         ],
         "toColor": [
          230,
          252,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          187,
          198,
          255
         ],
         "toColor": [
          252,
          187,
          198,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1302753.2495,
    "ymin": 4926630.8875,
    "xmax": 2523319.5003000004,
    "ymax": 5407890.0437,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "VALUATION_NO",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "VALUATION_NO",
     "type": "esriFieldTypeString",
     "alias": "VALUATION_NO",
     "length": 12,
     "domain": null
    },
    {
     "name": "LEGAL_DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "LEGAL_DESCRIPTION",
     "length": 150,
     "domain": null
    },
    {
     "name": "PAR_ID",
     "type": "esriFieldTypeInteger",
     "alias": "PAR_ID",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeInteger",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TITLES",
     "type": "esriFieldTypeString",
     "alias": "TITLES",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "CT",
     "type": "esriFieldTypeString",
     "alias": "CT",
     "length": 500,
     "domain": null
    },
    {
     "name": "LAND_VALUE",
     "type": "esriFieldTypeInteger",
     "alias": "LAND_VALUE",
     "domain": null
    },
    {
     "name": "CAPITAL_VALUE",
     "type": "esriFieldTypeInteger",
     "alias": "CAPITAL_VALUE",
     "domain": null
    },
    {
     "name": "IMPROV_VALUE",
     "type": "esriFieldTypeInteger",
     "alias": "IMPROV_VALUE",
     "domain": null
    },
    {
     "name": "VALUATION_TLA",
     "type": "esriFieldTypeString",
     "alias": "VALUATION_TLA",
     "length": 3,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "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,
   "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.3,
   "cimVersion": "3.3.0",
   "id": 7,
   "name": "School Enrolment Zones",
   "type": "Feature Layer",
   "description": "An Enrolment Scheme Home Zone is a means of limiting the roll to prevent overcrowding at a school, and enables the Ministry of Education to make best use of the current accommodation at schools in the surrounding area.  Each enrolment scheme must contain a home zone with clearly defined boundaries.  Students who live in the home zone have an absolute right to enrol at the school.  The enrolment scheme boundaries (School Enrolment Home Zones) are available in map. The written descriptions are not yet available.  Where there is conflict between these two forms, the written description should take precedence.  For the avoidance of doubt enrolment enquiries should be made directly to the school.More information about enrolment schemes can be found on the Ministry of Education website.",
   "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": "Sourced from http://www.educationcounts.govt.nz/data-services/collecting-information/code_sets/school-enrolment-zones",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 4000000,
   "maxScale": 500,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        76,
        230,
        0,
        255
       ],
       "width": 1.2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.0864000004,
    "ymin": 4701317.1806,
    "xmax": 2079904.6744999997,
    "ymax": 6131234.2882,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 255,
     "domain": null
    },
    {
     "name": "SCHOOL_WEBSITE",
     "type": "esriFieldTypeString",
     "alias": "SCHOOL_WEBSITE",
     "length": 255,
     "domain": null
    },
    {
     "name": "STREET",
     "type": "esriFieldTypeString",
     "alias": "STREET",
     "length": 255,
     "domain": null
    },
    {
     "name": "SUBURB",
     "type": "esriFieldTypeString",
     "alias": "SUBURB",
     "length": 255,
     "domain": null
    },
    {
     "name": "CITY",
     "type": "esriFieldTypeString",
     "alias": "CITY",
     "length": 255,
     "domain": null
    },
    {
     "name": "SCHOOL_TYPE",
     "type": "esriFieldTypeString",
     "alias": "SCHOOL_TYPE",
     "length": 255,
     "domain": null
    },
    {
     "name": "GENDER_OF_STUDENTS",
     "type": "esriFieldTypeString",
     "alias": "GENDER_OF_STUDENTS",
     "length": 255,
     "domain": null
    },
    {
     "name": "DECILE",
     "type": "esriFieldTypeDouble",
     "alias": "DECILE",
     "domain": null
    },
    {
     "name": "TOTAL_SCHOOL_ROLL",
     "type": "esriFieldTypeDouble",
     "alias": "TOTAL_SCHOOL_ROLL",
     "domain": null
    },
    {
     "name": "EUROPEAN_PAKEHA",
     "type": "esriFieldTypeDouble",
     "alias": "EUROPEAN_PAKEHA",
     "domain": null
    },
    {
     "name": "MAORI",
     "type": "esriFieldTypeDouble",
     "alias": "MAORI",
     "domain": null
    },
    {
     "name": "PASIFICA",
     "type": "esriFieldTypeDouble",
     "alias": "PASIFICA",
     "domain": null
    },
    {
     "name": "MELAA",
     "type": "esriFieldTypeDouble",
     "alias": "MELAA",
     "domain": null
    },
    {
     "name": "OTHER",
     "type": "esriFieldTypeDouble",
     "alias": "OTHER",
     "domain": null
    },
    {
     "name": "INTERNATIONAL_STUDENTS",
     "type": "esriFieldTypeDouble",
     "alias": "INTERNATIONAL_STUDENTS",
     "domain": null
    },
    {
     "name": "APPROVAL_DATE",
     "type": "esriFieldTypeDate",
     "alias": "APPROVAL_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "EFFECTIVE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "EFFECTIVE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "ASIAN",
     "type": "esriFieldTypeDouble",
     "alias": "ASIAN",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 30,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R263_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S250_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,
   "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.3,
   "cimVersion": "3.3.0",
   "id": 8,
   "name": "MBIE Technical Categories",
   "type": "Feature Layer",
   "description": "MBIE technical classes supplied by Canterbury Earthquake Recovery Authority (CERA).Published in the gazetted Land Use Recovery Plan 6/12/2013 http://cera.govt.nz/recovery-strategy/built-environment/land-use-recovery-plan",
   "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": "Canterbury Earthquake Recovery Authority (CERA)",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 5000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "DBH_TC",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "TC1",
         "description": "TC1",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           130,
           130,
           130,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "TC1"
          ]
         ]
        },
        {
         "label": "TC2",
         "description": "TC2",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           255,
           116,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "TC2"
          ]
         ]
        },
        {
         "label": "TC3",
         "description": "TC3",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           151,
           220,
           242,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "TC3"
          ]
         ]
        },
        {
         "label": "N/A - Port Hills & Banks Peninsula",
         "description": "N/A - Port Hills & Banks Peninsula",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           189,
           162,
           117,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "N/A - Port Hills & Banks Peninsula"
          ]
         ]
        },
        {
         "label": "N/A - Rural & Unmapped",
         "description": "N/A - Rural & Unmapped",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           227,
           202,
           161,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "N/A - Rural & Unmapped"
          ]
         ]
        },
        {
         "label": "N/A - Urban Nonresidential",
         "description": "N/A - Urban Nonresidential",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           227,
           202,
           161,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "N/A - Urban Nonresidential"
          ]
         ]
        },
        {
         "label": "Red Zone",
         "description": "Red Zone",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           0,
           0,
           178
          ],
          "outline": null
         },
         "values": [
          [
           "Red Zone"
          ],
          [
           "Red Zone Christchurch"
          ],
          [
           "Red Zone Waimakariri"
          ],
          [
           "Red Zone Port Hills"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         130,
         130,
         130,
         178
        ],
        "outline": null
       },
       "value": "TC1",
       "label": "TC1"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         116,
         178
        ],
        "outline": null
       },
       "value": "TC2",
       "label": "TC2"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         151,
         220,
         242,
         178
        ],
        "outline": null
       },
       "value": "TC3",
       "label": "TC3"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         189,
         162,
         117,
         178
        ],
        "outline": null
       },
       "value": "N/A - Port Hills & Banks Peninsula",
       "label": "N/A - Port Hills & Banks Peninsula"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         227,
         202,
         161,
         178
        ],
        "outline": null
       },
       "value": "N/A - Rural & Unmapped",
       "label": "N/A - Rural & Unmapped"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         227,
         202,
         161,
         178
        ],
        "outline": null
       },
       "value": "N/A - Urban Nonresidential",
       "label": "N/A - Urban Nonresidential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         178
        ],
        "outline": null
       },
       "value": "Red Zone",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         178
        ],
        "outline": null
       },
       "value": "Red Zone Christchurch",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         178
        ],
        "outline": null
       },
       "value": "Red Zone Waimakariri",
       "label": "Red Zone"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         178
        ],
        "outline": null
       },
       "value": "Red Zone Port Hills",
       "label": "Red Zone"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          108,
          176,
          69,
          255
         ],
         "toColor": [
          108,
          176,
          69,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          125,
          66,
          153,
          255
         ],
         "toColor": [
          125,
          66,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          135,
          54,
          30,
          255
         ],
         "toColor": [
          135,
          54,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          149,
          173,
          255
         ],
         "toColor": [
          59,
          149,
          173,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          133,
          32,
          70,
          255
         ],
         "toColor": [
          133,
          32,
          70,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          176,
          145,
          77,
          255
         ],
         "toColor": [
          176,
          145,
          77,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          75,
          171,
          133,
          255
         ],
         "toColor": [
          75,
          171,
          133,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          37,
          39,
          176,
          255
         ],
         "toColor": [
          37,
          39,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          70,
          109,
          176,
          255
         ],
         "toColor": [
          70,
          109,
          176,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          150,
          97,
          74,
          255
         ],
         "toColor": [
          150,
          97,
          74,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          166,
          38,
          138,
          255
         ],
         "toColor": [
          166,
          38,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          43,
          55,
          138,
          255
         ],
         "toColor": [
          43,
          55,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          163,
          157,
          39,
          255
         ],
         "toColor": [
          163,
          157,
          39,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1446533.9574999996,
    "ymin": 5138382.4757,
    "xmax": 1610704.9162999997,
    "ymax": 5267389.7794,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DBH_TC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DBH_TC",
     "type": "esriFieldTypeString",
     "alias": "Technical Category",
     "length": 254,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R318_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S302_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,
   "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.3,
   "cimVersion": "3.3.0",
   "id": 9,
   "name": "Soils",
   "type": "Feature Layer",
   "description": "Soil information sourced from S-Map with supplemental information synthesized from NZLRI for those areas where S-Map is not available.  Prepared by Landcare Research.\n\nS-map's primary map layer is soil classes, i.e. delineated areas that are\n  labelled with the soil family name. Each soil family is defined as a unique\n  combination of attributes (NZSC classification, parent material, rock type,\n  dominant texture and permeability class). Soil classes are further characterised\n  as siblings according to their depth to rock class, stoniness, land type,\n  drainage, texture (more detailed), functional horizons and miscellaneous variant\n  information. The uncertainty of each of these family and sibling attribute\n  classes is specified.   Associated with the soil class layer will be additional\n  map layers of fundamental and derived soil properties. The fundamental soil\n  properties are depth (diggability), depth to slowly permeable layer, rooting\n  depth, rooting barrier, horizon thickness, stoniness, clay and sand content.\n  They are developed from sample information and expert knowledge. The derived\n  soil layers are each based on a model (or pedo-transfer function). Some models\n  are simple lookup tables that depend only on the soil class. Others combine\n  various soil, land use, vegetation, climate or topographic attributes in a\n  mathematical formula. Derived layers will include available water (mm),\n  macroporosity, water retention, bulk density, total carbon, total nitrogen,\n  phosphorus, calcium, cation exchange capacity, pH, and phosphorus retention.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Landcare Research",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 250000,
   "maxScale": 10000,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        104,
        104,
        104,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1326709.5982,
    "ymin": 5004834.5163,
    "xmax": 1687865.8284999998,
    "ymax": 5388472.7277,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SmapName",
   "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": "SMU",
     "type": "esriFieldTypeString",
     "alias": "SMU",
     "length": 50,
     "domain": null
    },
    {
     "name": "DataSource",
     "type": "esriFieldTypeString",
     "alias": "DataSource",
     "length": 5,
     "domain": null
    },
    {
     "name": "SmapName",
     "type": "esriFieldTypeString",
     "alias": "SmapName",
     "length": 15,
     "domain": null
    },
    {
     "name": "SiblingProportion",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingProportion",
     "domain": null
    },
    {
     "name": "SiblingRankOrder",
     "type": "esriFieldTypeInteger",
     "alias": "SiblingRankOrder",
     "domain": null
    },
    {
     "name": "SiblingConfidence",
     "type": "esriFieldTypeString",
     "alias": "SiblingConfidence",
     "length": 2,
     "domain": null
    },
    {
     "name": "LongSoilName",
     "type": "esriFieldTypeString",
     "alias": "LongSoilName",
     "length": 100,
     "domain": null
    },
    {
     "name": "NZSCDescription",
     "type": "esriFieldTypeString",
     "alias": "NZSCDescription",
     "length": 50,
     "domain": null
    },
    {
     "name": "NZSC",
     "type": "esriFieldTypeString",
     "alias": "NZSC",
     "length": 5,
     "domain": null
    },
    {
     "name": "PermeabilityCode",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode",
     "length": 4,
     "domain": null
    },
    {
     "name": "PermeabilityCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "PermeabilityCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDepthCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDepthCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDepthCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode",
     "length": 3,
     "domain": null
    },
    {
     "name": "SiblingDrainageCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingDrainageCode_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiblingTexture",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture",
     "length": 4,
     "domain": null
    },
    {
     "name": "SiblingTexture_Desc",
     "type": "esriFieldTypeString",
     "alias": "SiblingTexture_Desc",
     "length": 50,
     "domain": null
    },
    {
     "name": "RootBarrierCode",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode",
     "length": 2,
     "domain": null
    },
    {
     "name": "RootBarrierCode_Desc",
     "type": "esriFieldTypeString",
     "alias": "RootBarrierCode_Desc",
     "length": 70,
     "domain": null
    },
    {
     "name": "Slope",
     "type": "esriFieldTypeString",
     "alias": "Slope",
     "length": 3,
     "domain": null
    },
    {
     "name": "EcanNLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanNLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "EcanPLossMGMCategory",
     "type": "esriFieldTypeString",
     "alias": "EcanPLossMGMCategory",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativeRunnoffPotential",
     "type": "esriFieldTypeString",
     "alias": "RelativeRunnoffPotential",
     "length": 10,
     "domain": null
    },
    {
     "name": "RelativePLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativePLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "SepticTankWastewaterSoakage",
     "type": "esriFieldTypeString",
     "alias": "SepticTankWastewaterSoakage",
     "length": 3,
     "domain": null
    },
    {
     "name": "AWmm30",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm30",
     "domain": null
    },
    {
     "name": "AWmm60",
     "type": "esriFieldTypeDouble",
     "alias": "AWmm60",
     "domain": null
    },
    {
     "name": "PAWmm",
     "type": "esriFieldTypeDouble",
     "alias": "PAWmm",
     "domain": null
    },
    {
     "name": "PRetentionTopsoil",
     "type": "esriFieldTypeDouble",
     "alias": "PRetentionTopsoil",
     "domain": null
    },
    {
     "name": "RelativeBypassFlow",
     "type": "esriFieldTypeString",
     "alias": "RelativeBypassFlow",
     "length": 15,
     "domain": null
    },
    {
     "name": "RelativeNLeachRisk",
     "type": "esriFieldTypeString",
     "alias": "RelativeNLeachRisk",
     "length": 3,
     "domain": null
    },
    {
     "name": "EffluentClass",
     "type": "esriFieldTypeString",
     "alias": "EffluentClass",
     "length": 2,
     "domain": null
    },
    {
     "name": "oldLUTcode",
     "type": "esriFieldTypeString",
     "alias": "oldLUTcode",
     "length": 4,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 20,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SMU_INDEX",
     "fields": "SMU",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "DataSource_INDEX",
     "fields": "DataSource",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SmapName_INDEX",
     "fields": "SmapName",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "SiblingRankOrder_INDEX",
     "fields": "SiblingRankOrder",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "LongSoilName_INDEX",
     "fields": "LongSoilName",
     "isAscending": true,
     "isUnique": false,
     "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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": 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": 10,
   "name": "Urban Areas",
   "type": "Feature Layer",
   "description": "Areas defined as Urban \n(District Planning zones Business and Residential with reticulation services, holes in areas removed)",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Environment Canterbury",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       240,
       240,
       240,
       0
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1348090.2315999996,
    "ymin": 4959882.25,
    "xmax": 1657973.8318999996,
    "ymax": 5308309.1307,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "District",
   "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": "District",
     "type": "esriFieldTypeString",
     "alias": "District",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": 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": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 11,
   "name": "Territorial Authority Boundaries",
   "type": "Feature Layer",
   "description": "City and district council boundaries.  Constructed from Census Meshblock dataset.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 105792,
    "latestVcsWkid": 4440,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2009_height",
    "heightUnit": "meter"
   },
   "copyrightText": "Statistics New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        132,
        0,
        168,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1067061.1996,
    "ymin": 4701317.1813,
    "xmax": 2523319.5022,
    "ymax": 6242140.2959,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TA2013_NAM",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "TA2013_NAM",
     "type": "esriFieldTypeString",
     "alias": "Territorial Authority Name",
     "length": 254,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R805_pk",
     "fields": "OBJECTID",
     "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,
   "hasZ": 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,
   "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": []
}