{
 "layers": [
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 0,
   "name": "Distance Measuring Point",
   "type": "Feature Layer",
   "description": "Shows a point from which a distance is measured for a change in speed designation.Used as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 40000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       0,
       0,
       0,
       255
      ],
      "size": 6,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerPointLabelPlacementAboveRight",
      "deconflictionStrategy": "dynamic",
      "allowOverlapOfFeatureInterior": "exclude",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 7,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1674999.2104000002,
    "ymin": 5380138.9633,
    "xmax": 1700012.8499999996,
    "ymax": 5434585.4194,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4717_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3921_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 1,
   "name": "Distance Measurements (right)",
   "type": "Feature Layer",
   "description": "Shows distances from defined points to a change in speed designation.Used as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 40000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 20
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Distance]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "perpendicular",
      "textOrientation": "direction",
      "deconflictionStrategy": "dynamicNeverRemove",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "minimizeLabels",
      "allowOverlapOfFeatureInterior": "avoid",
      "offsetDistance": 4.818897637795276,
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfLabel": "allow",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 8,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        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.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1650216.8236999996,
    "ymin": 5368709.0326,
    "xmax": 1703483.6354,
    "ymax": 5450632.1407,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Label",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Distance",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Distance",
     "domain": null
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "length": 50,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 15,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4719_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3923_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 2,
   "name": "Distance Measurements (left)",
   "type": "Feature Layer",
   "description": "Shows distances from defined points to a change in speed designation.Used as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 40000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       92,
       230,
       255
      ],
      "width": 20
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Distance]",
      "labelPlacement": "esriServerLinePlacementBelowAlong",
      "textLayout": "perpendicular",
      "textOrientation": "direction",
      "deconflictionStrategy": "dynamicNeverRemove",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "minimizeLabels",
      "allowOverlapOfFeatureInterior": "avoid",
      "offsetDistance": 4.818897637795276,
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfLabel": "allow",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 9,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        92,
        230,
        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.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1650216.8236999996,
    "ymin": 5368709.0326,
    "xmax": 1703483.6354,
    "ymax": 5450632.1407,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Label",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Distance",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Distance",
     "domain": null
    },
    {
     "name": "Label",
     "type": "esriFieldTypeString",
     "alias": "Label",
     "length": 50,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 15,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4719_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3923_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 3,
   "name": "Variable Speed Limits",
   "type": "Feature Layer",
   "description": "Shows roads with defined speed limits, as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       197,
       0,
       255,
       255
      ],
      "width": 6
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Notes]",
      "labelPlacement": "esriServerLinePlacementBelowAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "minimizeLabels",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 1000,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Fairhall",
      "priority": 14,
      "symbol": {
       "type": "esriTS",
       "color": [
        197,
        0,
        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.5,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1592737.6034000004,
    "ymin": 5340380.8202,
    "xmax": 1706133.0943,
    "ymax": 5488530.2358,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpeedLimit",
     "type": "esriFieldTypeString",
     "alias": "SpeedLimit",
     "length": 15,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 10,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4715_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3919_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 4,
   "name": "State Highway Number Labels",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "LINZ",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       0
      ],
      "width": 6
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"1\"",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Name_Primary = 'STATE HIGHWAY 1' OR Name_Secondary = 'STATE HIGHWAY 1'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "SH1",
      "priority": 10,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "\"6\"",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Name_Primary = 'STATE HIGHWAY 6' OR Name_Secondary = 'STATE HIGHWAY 6'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "SH6",
      "priority": 11,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "\"62\"",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Name_Primary = 'STATE HIGHWAY 62' OR Name_Secondary = 'STATE HIGHWAY 62'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "SH62",
      "priority": 12,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "\"63\"",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Name_Primary = 'STATE HIGHWAY 63' OR Name_Secondary = 'STATE HIGHWAY 63'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "SH63",
      "priority": 13,
      "symbol": {
       "type": "esriTS",
       "color": [
        255,
        255,
        255,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1579775.2374999998,
    "ymin": 5275571.626,
    "xmax": 1712602.3224,
    "ymax": 5498123.2494,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME_PRIMARY",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID",
     "type": "esriFieldTypeDouble",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "NAME_PRIMARY",
     "type": "esriFieldTypeString",
     "alias": "NAME_PRIMARY",
     "length": 102,
     "domain": null
    },
    {
     "name": "NAME_SECONDARY",
     "type": "esriFieldTypeString",
     "alias": "NAME_SECONDARY",
     "length": 102,
     "domain": null
    },
    {
     "name": "NAME_TERTIARY",
     "type": "esriFieldTypeString",
     "alias": "NAME_TERTIARY",
     "length": 102,
     "domain": null
    },
    {
     "name": "STATUS",
     "type": "esriFieldTypeString",
     "alias": "STATUS",
     "length": 13,
     "domain": null
    },
    {
     "name": "LOCATION",
     "type": "esriFieldTypeString",
     "alias": "LOCATION",
     "length": 60,
     "domain": null
    },
    {
     "name": "LOW_EVEN",
     "type": "esriFieldTypeInteger",
     "alias": "LOW_EVEN",
     "domain": null
    },
    {
     "name": "HIGH_EVEN",
     "type": "esriFieldTypeInteger",
     "alias": "HIGH_EVEN",
     "domain": null
    },
    {
     "name": "LOW_ODD",
     "type": "esriFieldTypeInteger",
     "alias": "LOW_ODD",
     "domain": null
    },
    {
     "name": "HIGH_ODD",
     "type": "esriFieldTypeInteger",
     "alias": "HIGH_ODD",
     "domain": null
    },
    {
     "name": "NON_CAD_RD",
     "type": "esriFieldTypeString",
     "alias": "NON_CAD_RD",
     "length": 1,
     "domain": null
    },
    {
     "name": "NAME_PRIM",
     "type": "esriFieldTypeString",
     "alias": "NAME_PRIM",
     "length": 102,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.len",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1598_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a1563_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 5,
   "name": "Road Speed Limits",
   "type": "Feature Layer",
   "description": "Shows roads with defined speed limits, as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "SpeedLimit",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         0,
         197,
         255
        ],
        "width": 6
       },
       "value": "20",
       "label": "20"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "width": 6
       },
       "value": "30",
       "label": "30"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         190,
         190,
         255
        ],
        "width": 6
       },
       "value": "40",
       "label": "40"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         230,
         0,
         255
        ],
        "width": 6
       },
       "value": "50",
       "label": "50"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         85,
         255,
         0,
         255
        ],
        "width": 6
       },
       "value": "60",
       "label": "60"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         56,
         168,
         0,
         255
        ],
        "width": 6
       },
       "value": "70",
       "label": "70"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         197,
         255,
         255
        ],
        "width": 6
       },
       "value": "80",
       "label": "80"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "width": 6
       },
       "value": "90",
       "label": "90"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 6
       },
       "value": "100",
       "label": "100"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          207,
          198,
          72,
          255
         ],
         "toColor": [
          207,
          198,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          173,
          140,
          255
         ],
         "toColor": [
          184,
          173,
          140,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          239,
          170,
          255
         ],
         "toColor": [
          250,
          239,
          170,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          142,
          46,
          255
         ],
         "toColor": [
          184,
          142,
          46,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          173,
          105,
          255
         ],
         "toColor": [
          184,
          173,
          105,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          245,
          190,
          51,
          255
         ],
         "toColor": [
          245,
          190,
          51,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          245,
          221,
          66,
          255
         ],
         "toColor": [
          245,
          221,
          66,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          232,
          198,
          118,
          255
         ],
         "toColor": [
          232,
          198,
          118,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          168,
          70,
          255
         ],
         "toColor": [
          179,
          168,
          70,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          250,
          236,
          127,
          255
         ],
         "toColor": [
          250,
          236,
          127,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          219,
          182,
          255
         ],
         "toColor": [
          227,
          219,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          222,
          182,
          80,
          255
         ],
         "toColor": [
          222,
          182,
          80,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          207,
          199,
          143,
          255
         ],
         "toColor": [
          207,
          199,
          143,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SpeedLimit]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 141.73228346456693,
      "where": "SpeedLimit <> 'Variable'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 85000,
      "name": "Standard",
      "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": 1,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "\"30km/h speed limit applies only between 20 December and 31 January. Otherwise, speed limit of 50km/h applies\"",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": true,
      "repeatLabelDistance": 170.07874015748033,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "allowOverlapOfLabel": "allow",
      "where": "(Name = 'Okiwi Bay' OR Name = 'Momorangi Bay' OR Name = 'Ngakuta Bay') AND SpeedLimit = '30'",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Sounds Bays",
      "priority": 15,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": [
        255,
        170,
        0,
        255
       ],
       "borderLineColor": [
        0,
        0,
        0,
        255
       ],
       "borderLineSize": 1,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 1,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1592737.6034000004,
    "ymin": 5340380.8202,
    "xmax": 1706133.0943,
    "ymax": 5488530.2358,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpeedLimit",
     "type": "esriFieldTypeString",
     "alias": "SpeedLimit",
     "length": 15,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 10,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4715_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3919_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 6,
   "name": "Road Name Label",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "LINZ",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 120000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSNull",
      "color": [
       212,
       208,
       200,
       0
      ],
      "width": 0
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "offsetDistance": 2,
      "stackLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Shape.len > 750",
      "useCodedValues": true,
      "maxScale": 40000,
      "minScale": 200000,
      "name": ">750",
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "offsetDistance": 2,
      "stackLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Shape.len > 300",
      "useCodedValues": true,
      "maxScale": 20000,
      "minScale": 39999,
      "name": ">300",
      "priority": 20,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "offsetDistance": 2,
      "stackLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Shape.len > 175",
      "useCodedValues": true,
      "maxScale": 8500,
      "minScale": 19999,
      "name": ">175",
      "priority": 21,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "offsetDistance": 2,
      "stackLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "where": "Shape.len > 150",
      "useCodedValues": true,
      "maxScale": 4000,
      "minScale": 8499,
      "name": ">150",
      "priority": 22,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     },
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "followFeature",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": true,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "offsetDistance": 2,
      "stackLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 283.46456692913387,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 3999,
      "name": "All",
      "priority": 23,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1592737.6034000004,
    "ymin": 5340380.8202,
    "xmax": 1706133.0943,
    "ymax": 5488530.2358,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "Status",
     "type": "esriFieldTypeString",
     "alias": "STATUS",
     "length": 10,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.len",
     "domain": null
    },
    {
     "name": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpeedLimit",
     "type": "esriFieldTypeString",
     "alias": "SpeedLimit",
     "length": 15,
     "domain": null
    },
    {
     "name": "created_by",
     "type": "esriFieldTypeString",
     "alias": "created_by",
     "length": 50,
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "modified_by",
     "type": "esriFieldTypeString",
     "alias": "modified_by",
     "length": 50,
     "domain": null
    },
    {
     "name": "modified_date",
     "type": "esriFieldTypeDate",
     "alias": "modified_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R4715_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3919_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 7,
   "name": "Undefined Urban Roads (50kph)",
   "type": "Feature Layer",
   "description": "Shows roads with defined speed limits, as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 400000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       230,
       230,
       0,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SpeedLimit]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerPart",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 425.1968503937008,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "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": 1,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 9,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1592737.6034000004,
    "ymin": 5340380.8202,
    "xmax": 1706133.0943,
    "ymax": 5488530.2358,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpeedLimit",
     "type": "esriFieldTypeString",
     "alias": "SpeedLimit",
     "length": 15,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 10,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4715_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3919_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 8,
   "name": "Undefined Roads (100kph)",
   "type": "Feature Layer",
   "description": "Shows roads with defined speed limits, as part of Marlborough District Council Speed Limit Bylaw",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       52,
       52,
       52,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[SpeedLimit]",
      "labelPlacement": "esriServerLinePlacementCenterAlong",
      "textLayout": "horizontal",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "lineConnection": "none",
      "multiPart": "labelPerFeature",
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 425.1968503937008,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 20000,
      "name": "Default",
      "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": 1,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1592737.6034000004,
    "ymin": 5340380.8202,
    "xmax": 1706133.0943,
    "ymax": 5488530.2358,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": "Id",
     "type": "esriFieldTypeInteger",
     "alias": "Id",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "SpeedLimit",
     "type": "esriFieldTypeString",
     "alias": "SpeedLimit",
     "length": 15,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 10,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4715_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3919_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 21,
   "name": "Schools",
   "type": "Feature Layer",
   "description": "Shows locations and area of schools in Marlborough. Roll numbers are also recorded. Data updated from http://nzschools.tki.org.nz/.This dataset was reprojected to account for land movement from the 2016 Kaikoura Earthquake on 4th March 2018 using a LINZ deformation model.",
   "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": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 200000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       204,
       204,
       204,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        104,
        104,
        104,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "[Name]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": false,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 1,
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1.5,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1643923.1393,
    "ymin": 5368817.8398,
    "xmax": 1694765.5822,
    "ymax": 5443268.2341,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 250,
     "domain": null
    },
    {
     "name": "Notes",
     "type": "esriFieldTypeString",
     "alias": "Notes",
     "length": 250,
     "domain": null
    },
    {
     "name": "EnrolmentZone",
     "type": "esriFieldTypeString",
     "alias": "EnrolmentZone",
     "length": 5,
     "domain": null
    },
    {
     "name": "Decile",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Decile",
     "domain": null
    },
    {
     "name": "Roll",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Roll",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "created_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "last_edited_user",
     "length": 255,
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE.area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.area",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R2220_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a2104_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.area",
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 9,
   "name": "Urban Traffic Areas",
   "type": "Feature Layer",
   "description": "Shows areas defined as Urban Traffic Areas as part of Marlborough District Council Speed Limits Bylaw",
   "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": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       225,
       225,
       225,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": false,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1663429.5928999996,
    "ymin": 5385565.5861,
    "xmax": 1689945.7226999998,
    "ymax": 5431909.7067,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "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": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.area",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4713_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3917_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.area",
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 11,
   "name": "Property Boundaries",
   "type": "Feature Layer",
   "description": "This layer is created by MDC, using property information from the rating database and features from the Land Parcels layer. A property can be made up of one or more land parcels. If a property contains more than one land parcel, the land parcels are combined into one property feature. If a land parcel contains multiple properties (e.g. cross lease), there will be overlapping property records covering the entire land parcel. In these cases, the property boundaries may not be entirely accurate. Further checks should be done in CI when multiple properties exist on a parcel.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.002,
    "mTolerance": 0.002,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 120000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       204,
       204,
       204,
       255
      ],
      "width": 0.4
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1558851.8152,
    "ymin": 5287095.6503,
    "xmax": 1721500.0886000004,
    "ymax": 5498123.2497,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SHAPE.len",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "LEFT_FID",
     "type": "esriFieldTypeInteger",
     "alias": "LEFT_FID",
     "domain": null
    },
    {
     "name": "RIGHT_FID",
     "type": "esriFieldTypeInteger",
     "alias": "RIGHT_FID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.len",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1290_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a1277_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "Shape.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 14,
   "name": "River Beds",
   "type": "Feature Layer",
   "description": "This dataset was reprojected to account for land movement from the 2016 Kaikoura Earthquake on 4th March 2018 using a LINZ deformation model.",
   "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": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 120000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 75,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1577320.9170000004,
    "ymin": 5302366.0269,
    "xmax": 1710169.2572999997,
    "ymax": 5488960.3707,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TributaryName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "WaterBodyLabel",
     "type": "esriFieldTypeString",
     "alias": "WaterBodyLabel",
     "length": 100,
     "domain": null
    },
    {
     "name": "RMP",
     "type": "esriFieldTypeString",
     "alias": "RMP",
     "length": 20,
     "domain": null
    },
    {
     "name": "Status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 10,
     "domain": null
    },
    {
     "name": "Created_By",
     "type": "esriFieldTypeString",
     "alias": "Created_By",
     "length": 50,
     "domain": null
    },
    {
     "name": "Created_Date",
     "type": "esriFieldTypeDate",
     "alias": "Created_Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "Modified_By",
     "type": "esriFieldTypeString",
     "alias": "Modified_By",
     "length": 50,
     "domain": null
    },
    {
     "name": "Modified_Date",
     "type": "esriFieldTypeDate",
     "alias": "Modified_Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "GISResponsibility",
     "type": "esriFieldTypeString",
     "alias": "GISResponsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "TributaryName",
     "type": "esriFieldTypeString",
     "alias": "TributaryName",
     "length": 100,
     "domain": null
    },
    {
     "name": "CatchmentName",
     "type": "esriFieldTypeString",
     "alias": "CatchmentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.area",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R693_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a626_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.area",
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 10,
   "name": "Sea Area",
   "type": "Feature Layer",
   "description": "Coastal Marine Zone Types",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.002,
    "mTolerance": 0.002,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "MDC",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 120000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       115,
       178,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        178,
        255,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 75,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1582160.2984999996,
    "ymin": 5305202.8679,
    "xmax": 1746343.2813,
    "ymax": 5520322.9193,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ZONECD",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "FID_HYDROS",
     "type": "esriFieldTypeInteger",
     "alias": "FID_HYDROS",
     "domain": null
    },
    {
     "name": "ZONECD",
     "type": "esriFieldTypeString",
     "alias": "ZONECD",
     "length": 10,
     "domain": null
    },
    {
     "name": "created_by",
     "type": "esriFieldTypeString",
     "alias": "created_by",
     "length": 50,
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "created_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "modified_by",
     "type": "esriFieldTypeString",
     "alias": "modified_by",
     "length": 50,
     "domain": null
    },
    {
     "name": "modified_date",
     "type": "esriFieldTypeDate",
     "alias": "modified_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.area",
     "domain": null
    },
    {
     "name": "Shape.len",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R4834_SDE_ROWID_UK",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a4035_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.area",
    "shapeLengthFieldName": "Shape.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 12,
   "name": "Marlborough Boundary",
   "type": "Feature Layer",
   "description": "Marlborough District Council regional authority boundary polygon.Last updated with the 2016 boundary in May 2016.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.002,
    "mTolerance": 0.002,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Statistics New Zealand",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       255,
       255,
       255
      ],
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "\"PROPOSED\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelPerPart",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "stackLabel": true,
      "stackRowLength": 24,
      "stackAlignment": "dynamic",
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 200,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 3,
      "symbol": {
       "type": "esriTS",
       "color": [
        178,
        178,
        178,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Verdana",
        "size": 11,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1576734.0675,
    "ymin": 5296023.3939,
    "xmax": 1735069.4154000003,
    "ymax": 5520622.9742,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "REGNAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "REGCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "REGCODE",
     "domain": null
    },
    {
     "name": "REGNAME",
     "type": "esriFieldTypeString",
     "alias": "REGNAME",
     "length": 16,
     "domain": null
    },
    {
     "name": "CODENAME",
     "type": "esriFieldTypeString",
     "alias": "CODENAME",
     "length": 25,
     "domain": null
    },
    {
     "name": "CODE",
     "type": "esriFieldTypeString",
     "alias": "CODE",
     "length": 2,
     "domain": null
    },
    {
     "name": "SUM_AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SUM_AREA",
     "domain": null
    },
    {
     "name": "SUM_PERIME",
     "type": "esriFieldTypeDouble",
     "alias": "SUM_PERIME",
     "domain": null
    },
    {
     "name": "hyperlink",
     "type": "esriFieldTypeString",
     "alias": "hyperlink",
     "length": 100,
     "domain": null
    },
    {
     "name": "gis_url",
     "type": "esriFieldTypeString",
     "alias": "gis_url",
     "length": 100,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.area",
     "domain": null
    },
    {
     "name": "Shape.len",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R986_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a973_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.area",
    "shapeLengthFieldName": "Shape.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 19,
   "name": "Road Surface Type",
   "type": "Feature Layer",
   "description": "Shows the physical road network in Marlborough.Altered from LINZ Land Cadastre May 2017.Roundabouts and minor corrections made for purposes of cartographic display.This dataset was reprojected to account for land movement from the 2016 Kaikoura Earthquake on 4th March 2018 using a LINZ deformation model.",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "Marlborough District Council",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Surface",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 4
       },
       "value": "Sealed",
       "label": "Sealed"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 3.5
       },
       "value": "Unsealed",
       "label": "Unsealed"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "algorithmic",
       "algorithm": "esriHSVAlgorithm",
       "fromColor": [
        255,
        235,
        214,
        255
       ],
       "toColor": [
        196,
        10,
        10,
        255
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 1592850.2181000002,
    "ymin": 5339937.8122,
    "xmax": 1701734.6541999998,
    "ymax": 5488496.3935,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NamePrimary",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NamePrimary",
     "type": "esriFieldTypeString",
     "alias": "Name Primary",
     "length": 102,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 60,
     "domain": null
    },
    {
     "name": "StateHighway",
     "type": "esriFieldTypeSmallInteger",
     "alias": "StateHighway",
     "domain": null
    },
    {
     "name": "Direction",
     "type": "esriFieldTypeString",
     "alias": "Direction",
     "length": 10,
     "domain": null
    },
    {
     "name": "Surface",
     "type": "esriFieldTypeString",
     "alias": "Surface",
     "length": 25,
     "domain": {
      "type": "codedValue",
      "name": "WS2_TransportRoadSurface",
      "description": "Transport Road Surface",
      "codedValues": [
       {
        "name": "Sealed",
        "code": "Sealed"
       },
       {
        "name": "Unsealed",
        "code": "Unsealed"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 25,
     "domain": {
      "type": "codedValue",
      "name": "WS2_TransportRoadType",
      "description": "Transport Road Type",
      "codedValues": [
       {
        "name": "Bridge",
        "code": "Bridge"
       },
       {
        "name": "Ford",
        "code": "Ford"
       },
       {
        "name": "Roundabout",
        "code": "Roundabout"
       },
       {
        "name": "Tunnel",
        "code": "Tunnel"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "UrbanRural",
     "type": "esriFieldTypeString",
     "alias": "UrbanRural",
     "length": 10,
     "domain": {
      "type": "codedValue",
      "name": "WS2_UrbanRural",
      "description": "Urban or Rural",
      "codedValues": [
       {
        "name": "Urban",
        "code": "Urban"
       },
       {
        "name": "Rural",
        "code": "Rural"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Classification",
     "type": "esriFieldTypeString",
     "alias": "Classification",
     "length": 25,
     "domain": {
      "type": "codedValue",
      "name": "WS2_TransportRoadClass",
      "description": "Transport Road Classification",
      "codedValues": [
       {
        "name": "National",
        "code": "National"
       },
       {
        "name": "Regional",
        "code": "Regional"
       },
       {
        "name": "Arterial",
        "code": "Arterial"
       },
       {
        "name": "Primary Collector",
        "code": "Primary Collector"
       },
       {
        "name": "Secondary Collector",
        "code": "Secondary Collector"
       },
       {
        "name": "Access",
        "code": "Access"
       },
       {
        "name": "Low Volume",
        "code": "Low Volume"
       },
       {
        "name": "Unclassified",
        "code": "Unclassified"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Source",
     "type": "esriFieldTypeString",
     "alias": "Source",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.len",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.len",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R4721_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a3925_ix1",
     "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.len",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "85813f99261946ad8fc7533dbcfa4403"
  }
 ],
 "tables": []
}