{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 10,
   "name": "Bollard",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       0,
       153,
       153,
       255
      ],
      "size": 5,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": null
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BollardID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "BollardID",
     "type": "esriFieldTypeOID",
     "alias": "BollardID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "Lockable",
     "type": "esriFieldTypeString",
     "alias": "Lockable",
     "length": 50,
     "domain": null
    },
    {
     "name": "Removable",
     "type": "esriFieldTypeString",
     "alias": "Removable",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurfaceFinish",
     "type": "esriFieldTypeString",
     "alias": "SurfaceFinish",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeSingle",
     "alias": "Height",
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 22,
   "name": "FindChchFeatureData",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       158,
       103,
       0,
       255
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.7
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "drvFindChchFeatureDataID",
     "type": "esriFieldTypeOID",
     "alias": "drvFindChchFeatureDataID",
     "domain": null
    },
    {
     "name": "FindChchFeatureID",
     "type": "esriFieldTypeInteger",
     "alias": "FindChchFeatureID",
     "domain": null
    },
    {
     "name": "Category1",
     "type": "esriFieldTypeString",
     "alias": "Category1",
     "length": 200,
     "domain": null
    },
    {
     "name": "Category2",
     "type": "esriFieldTypeString",
     "alias": "Category2",
     "length": 200,
     "domain": null
    },
    {
     "name": "Category3",
     "type": "esriFieldTypeString",
     "alias": "Category3",
     "length": 200,
     "domain": null
    },
    {
     "name": "Category",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 200,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 600,
     "domain": null
    },
    {
     "name": "AddressHTML",
     "type": "esriFieldTypeString",
     "alias": "AddressHTML",
     "length": 1000,
     "domain": null
    },
    {
     "name": "DescriptionHTML",
     "type": "esriFieldTypeString",
     "alias": "DescriptionHTML",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhoneNumber",
     "type": "esriFieldTypeString",
     "alias": "PhoneNumber",
     "length": 300,
     "domain": null
    },
    {
     "name": "EmailAddress",
     "type": "esriFieldTypeString",
     "alias": "EmailAddress",
     "length": 200,
     "domain": null
    },
    {
     "name": "WebsiteLink",
     "type": "esriFieldTypeString",
     "alias": "WebsiteLink",
     "length": 300,
     "domain": null
    },
    {
     "name": "ImageLink",
     "type": "esriFieldTypeString",
     "alias": "ImageLink",
     "length": 676,
     "domain": null
    },
    {
     "name": "LastUpdateDate",
     "type": "esriFieldTypeDate",
     "alias": "LastUpdateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CCCDownloadDate",
     "type": "esriFieldTypeDate",
     "alias": "CCCDownloadDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 15,
   "name": "RockAnchor",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 7839,
    "latestVcsWkid": 7839,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2016_height",
    "heightUnit": "meter"
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "ee2150463c5fd2a673ac96a666a359e3",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABTElEQVQ4jdXUO0hcQRTG8Z+6IkHCNoJi4bu2XhCtAooJBB+gphHEhQjpIgZsrIUgqxZ2SRmIBDSGoFtZpEghtmrAiGBjFkRDxELUwLIue9d7xcJCv+q85n9mhjkTc0+KPRpQqQYDnulQq9qVS3sOrEnL+H5XUJVBc1K6VYsHMrsGvLFs1Vuc3gYqM2zBR/1KQlo0q/FVUp+YFaPRoISkWS9DIdcqVyql345vflkKB3V6Lq48EEujEm0FsSZxXXqjQTVaAv4nvMrZP4pg9ZoKS4OgMhUB/1+EHVIbBP11iMa8P4KL3NE6i0BHMtGgbT+dSXiS78prN/UnW7seDVo1ad4LE0V3VagrzNj02fto0IEzO4bM+GJMXX5n1zpBypbfenB5+8v+YMM7rabMadbuqdrsiBzbtyvt1LhF58XLwmdtOtt7ODQXoYf3jfwHnVZKMYKLRnUAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 13,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockAnchorID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockAnchorID",
     "type": "esriFieldTypeOID",
     "alias": "RockAnchorID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "CorrosionProtection",
     "type": "esriFieldTypeString",
     "alias": "CorrosionProtection",
     "length": 50,
     "domain": null
    },
    {
     "name": "BondingAgent",
     "type": "esriFieldTypeString",
     "alias": "BondingAgent",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "Diameter",
     "type": "esriFieldTypeString",
     "alias": "Diameter",
     "length": 10,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "AnchorLength",
     "type": "esriFieldTypeDouble",
     "alias": "AnchorLength",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 13,
   "name": "Sign",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "fd772acd7a2f23c9807d28b2b1aeaaee",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABVUlEQVQ4jdXSvUrDUBjG8f8h9Q5Ei2NHBxHaQcXJO1BrcdGlNOkHFMRBNzt2ECdpk5S4OAhVHAri4ugiOIgXIKLQQRDn0NQjB1tINZWDdfEZQs77wi95SGL8YWL/G7Ox03nyZyNjNnZKIHaB0TGBWAOSNWqJIsWHkTAgrS4GRgaoamF16hMGxtKX/aREJnr3Gy7uY3gpkV0fv1Wm7A9gBQovDs44cACMRTx4WiJPQudXgVjvQ99qWliHDs4dcArEf2h0C6yamE+RNUPgtYeXDAjU15uPgI58/GL4jYZiKlmybRf3XCKjMDcKGoqpSOTKwFH9JZ9R8xttzMObCgjmesi+qgYcA6ketqONBQTLwBuwaWFdqJmDsyAQVYncatCYyZG718IEIt6hM1ui9NyfWVgdYNvFvZLIRUAPa9Peq1B5j9qZmJdNmoZ2zWFQPxkyXW3st/kAk51pxQoLR6cAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 14,
      "height": 14,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SignID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SignID",
     "type": "esriFieldTypeOID",
     "alias": "SignID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "AntiGraffitiCoating",
     "type": "esriFieldTypeString",
     "alias": "AntiGraffitiCoating",
     "length": 50,
     "domain": null
    },
    {
     "name": "PanelConstruction",
     "type": "esriFieldTypeString",
     "alias": "PanelConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "PostConstruction",
     "type": "esriFieldTypeString",
     "alias": "PostConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "PostSize",
     "type": "esriFieldTypeString",
     "alias": "PostSize",
     "length": 50,
     "domain": null
    },
    {
     "name": "SecondaryType",
     "type": "esriFieldTypeString",
     "alias": "SecondaryType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Style",
     "type": "esriFieldTypeString",
     "alias": "Style",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "PanelHeight",
     "type": "esriFieldTypeInteger",
     "alias": "PanelHeight",
     "domain": null
    },
    {
     "name": "PanelWidth",
     "type": "esriFieldTypeInteger",
     "alias": "PanelWidth",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 8,
   "name": "TreeCage",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "890a1b425a28c0fc9694f59331025d04",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABAElEQVQ4jdXUsUoDQRSF4X/WYGNhAnkCbUSsBBEsxC6SlGFshZCZnSbWIlpoIShEIWk2JIWtbGFvZeUT+Ag+geXC5koghWFNnDUW8XT3DnycYrgF/jCFf44Zs0e//zo/Zu028EyzucFg8D5vs3tghSC4Ahq/x4ypA/vj6Rjn7oiit/yY1ssodfNlE5Cmo7mWHysWT4D1iZ1SVZw7IIpe/DFry8D5t2/D4S2wC4gfptQlIqtTOu8Qhkf0eo8/Y2G4iYhlVkSu0fqJOE5mYyJtjy+zRqnkgM50zJgKcIhfLmi1Huh2P7KY1ksoNWrlmzJJcgqcZbE4ToGtHFgmi3uCPgFHxzsCCGt58AAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 14,
      "height": 13,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TreeCageID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "TreeCageID",
     "type": "esriFieldTypeOID",
     "alias": "TreeCageID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 9,
   "name": "ViewingPlatform",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "08467624eaeaa1c8cfc5ca6a9e4aad50",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAArklEQVQokbWQMQoCMRBF30DuIHgGLTyBB7Ba77C1Noqlrdho7SFsxNob2HgYtxqRTWANM2FF/E0Ck/eGn8APCX+DFSYC969hhSUwVbgJHHvD2oIIVO+7wsIShAJ4SKcnCCUwxROEDjgHhgJrq0oU7BUqgXO++UrbcSTwMOqMgUF897lZ4KlQAyeFXVcQwRVQCzRmZ0vggVi/nQkuwMwCTTgTbDzQhZMA2HrzItwnL3kPPxXukEglAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 11,
      "height": 11,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ViewingPlatformID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ViewingPlatformID",
     "type": "esriFieldTypeOID",
     "alias": "ViewingPlatformID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "DesignLoading",
     "type": "esriFieldTypeString",
     "alias": "DesignLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionAssessReq",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionAssessReq",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "SupportConstruction",
     "type": "esriFieldTypeString",
     "alias": "SupportConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "Fallheight",
     "type": "esriFieldTypeSingle",
     "alias": "Fallheight",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ViewingPlatformArea",
     "type": "esriFieldTypeSingle",
     "alias": "ViewingPlatformArea",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 2,
   "name": "Fence",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSDash",
      "color": [
       128,
       0,
       128,
       255
      ],
      "width": 0.5
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "FenceID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "FenceID",
     "type": "esriFieldTypeOID",
     "alias": "FenceID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "Electrified",
     "type": "esriFieldTypeString",
     "alias": "Electrified",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionAssessReq",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionAssessReq",
     "length": 50,
     "domain": null
    },
    {
     "name": "Purpose",
     "type": "esriFieldTypeString",
     "alias": "Purpose",
     "length": 50,
     "domain": null
    },
    {
     "name": "Location",
     "type": "esriFieldTypeString",
     "alias": "Location",
     "length": 50,
     "domain": null
    },
    {
     "name": "PostConstruction",
     "type": "esriFieldTypeString",
     "alias": "PostConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurfaceFinish",
     "type": "esriFieldTypeString",
     "alias": "SurfaceFinish",
     "length": 50,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeSingle",
     "alias": "Height",
     "domain": null
    },
    {
     "name": "drvLength",
     "type": "esriFieldTypeDouble",
     "alias": "drvLength",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 4,
   "name": "RetainingWall",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSDash",
      "color": [
       255,
       128,
       64,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RetainingWallID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RetainingWallID",
     "type": "esriFieldTypeOID",
     "alias": "RetainingWallID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerAssessmentRequired",
     "type": "esriFieldTypeString",
     "alias": "EngineerAssessmentRequired",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "ConstructionType",
     "type": "esriFieldTypeString",
     "alias": "ConstructionType",
     "length": 50,
     "domain": null
    },
    {
     "name": "DesignPurpose",
     "type": "esriFieldTypeString",
     "alias": "DesignPurpose",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeSingle",
     "alias": "Height",
     "domain": null
    },
    {
     "name": "Thickness",
     "type": "esriFieldTypeSingle",
     "alias": "Thickness",
     "domain": null
    },
    {
     "name": "drvLength",
     "type": "esriFieldTypeDouble",
     "alias": "drvLength",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 17,
   "name": "RockBarrier",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 7839,
    "latestVcsWkid": 7839,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2016_height",
    "heightUnit": "meter"
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       0,
       0,
       0,
       255
      ],
      "width": 3.4
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockBarrierID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockBarrierID",
     "type": "esriFieldTypeOID",
     "alias": "RockBarrierID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "PostConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "PostConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "BarrierLength",
     "type": "esriFieldTypeDouble",
     "alias": "BarrierLength",
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeDouble",
     "alias": "Height",
     "domain": null
    },
    {
     "name": "CableStayCount",
     "type": "esriFieldTypeInteger",
     "alias": "CableStayCount",
     "domain": null
    },
    {
     "name": "Decelerometer",
     "type": "esriFieldTypeString",
     "alias": "Decelerometer",
     "length": 50,
     "domain": null
    },
    {
     "name": "EnergyAbsorptionRating",
     "type": "esriFieldTypeDouble",
     "alias": "EnergyAbsorptionRating",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 18,
   "name": "RockCable",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       85,
       255,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockCableID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockCableID",
     "type": "esriFieldTypeOID",
     "alias": "RockCableID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "CorrosionProtection",
     "type": "esriFieldTypeString",
     "alias": "CorrosionProtection",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Diameter",
     "type": "esriFieldTypeDouble",
     "alias": "Diameter",
     "domain": null
    },
    {
     "name": "CableLength",
     "type": "esriFieldTypeDouble",
     "alias": "CableLength",
     "domain": null
    },
    {
     "name": "BoltCount",
     "type": "esriFieldTypeInteger",
     "alias": "BoltCount",
     "domain": null
    },
    {
     "name": "ClampCount",
     "type": "esriFieldTypeInteger",
     "alias": "ClampCount",
     "domain": null
    },
    {
     "name": "ShackleCount",
     "type": "esriFieldTypeInteger",
     "alias": "ShackleCount",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 12,
   "name": "Boardwalk",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSHorizontal",
      "color": [
       255,
       0,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        0,
        0,
        255
       ],
       "width": 1.33
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BoardwalkID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "BoardwalkID",
     "type": "esriFieldTypeOID",
     "alias": "BoardwalkID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerAssessmentReq",
     "type": "esriFieldTypeString",
     "alias": "EngineerAssessmentReq",
     "length": 50,
     "domain": null
    },
    {
     "name": "Handrail",
     "type": "esriFieldTypeString",
     "alias": "Handrail",
     "length": 50,
     "domain": null
    },
    {
     "name": "HandrailConstruction",
     "type": "esriFieldTypeString",
     "alias": "HandrailConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "NonSlipSurfaceType",
     "type": "esriFieldTypeString",
     "alias": "NonSlipSurfaceType",
     "length": 50,
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 0,
   "name": "BoatRamp",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSHorizontal",
      "color": [
       0,
       128,
       128,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        128,
        128,
        255
       ],
       "width": 1.33
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BoatRampID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "BoatRampID",
     "type": "esriFieldTypeOID",
     "alias": "BoatRampID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionAssessReq",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionAssessReq",
     "length": 50,
     "domain": null
    },
    {
     "name": "EnvironmentalExposure",
     "type": "esriFieldTypeString",
     "alias": "EnvironmentalExposure",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 101,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSRevisionNumber",
     "type": "esriFieldTypeString",
     "alias": "IDSRevisionNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 1,
   "name": "Bridge",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       128,
       0,
       128,
       89
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        64,
        0,
        64,
        255
       ],
       "width": 2.67
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BridgeID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "BridgeID",
     "type": "esriFieldTypeOID",
     "alias": "BridgeID",
     "domain": null
    },
    {
     "name": "TrafficType",
     "type": "esriFieldTypeString",
     "alias": "TrafficType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "AbutmentConstruction",
     "type": "esriFieldTypeString",
     "alias": "AbutmentConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "BeamConstruction",
     "type": "esriFieldTypeString",
     "alias": "BeamConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "DeckWearingSurface",
     "type": "esriFieldTypeString",
     "alias": "DeckWearingSurface",
     "length": 50,
     "domain": null
    },
    {
     "name": "DesignLoading",
     "type": "esriFieldTypeString",
     "alias": "DesignLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionAssessReq",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionAssessReq",
     "length": 50,
     "domain": null
    },
    {
     "name": "MeetsAccessibilityStandard",
     "type": "esriFieldTypeString",
     "alias": "MeetsAccessibilityStandard",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "SupportConstruction",
     "type": "esriFieldTypeString",
     "alias": "SupportConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "NumberofSpans",
     "type": "esriFieldTypeInteger",
     "alias": "NumberofSpans",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 6,
   "name": "CouncilHousing",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       224,
       224,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CouncilHousingID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "CouncilHousingID",
     "type": "esriFieldTypeOID",
     "alias": "CouncilHousingID",
     "domain": null
    },
    {
     "name": "PropertyName",
     "type": "esriFieldTypeString",
     "alias": "PropertyName",
     "length": 255,
     "domain": null
    },
    {
     "name": "PropertyAddress",
     "type": "esriFieldTypeString",
     "alias": "PropertyAddress",
     "length": 255,
     "domain": null
    },
    {
     "name": "YearBuilt",
     "type": "esriFieldTypeInteger",
     "alias": "YearBuilt",
     "domain": null
    },
    {
     "name": "NumberOfUnits",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfUnits",
     "domain": null
    },
    {
     "name": "BusinessEntityNumber",
     "type": "esriFieldTypeInteger",
     "alias": "BusinessEntityNumber",
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 23,
   "name": "Facility",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       208,
       71,
       249,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        76,
        0,
        115,
        255
       ],
       "width": 0.7
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "FacilityID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "FacilityID",
     "type": "esriFieldTypeOID",
     "alias": "FacilityID",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "FunctionalLocation",
     "type": "esriFieldTypeString",
     "alias": "FunctionalLocation",
     "length": 30,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 11,
   "name": "Jetty",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        128,
        255
       ],
       "width": 1.33
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "JettyID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "JettyID",
     "type": "esriFieldTypeOID",
     "alias": "JettyID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "DesignLoading",
     "type": "esriFieldTypeString",
     "alias": "DesignLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerAssessmentRequired",
     "type": "esriFieldTypeString",
     "alias": "EngineerAssessmentRequired",
     "length": 50,
     "domain": null
    },
    {
     "name": "EnvironmentalExposure",
     "type": "esriFieldTypeString",
     "alias": "EnvironmentalExposure",
     "length": 50,
     "domain": null
    },
    {
     "name": "MooringLaunch",
     "type": "esriFieldTypeString",
     "alias": "MooringLaunch",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "Steps",
     "type": "esriFieldTypeString",
     "alias": "Steps",
     "length": 50,
     "domain": null
    },
    {
     "name": "Pontoon",
     "type": "esriFieldTypeString",
     "alias": "Pontoon",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 101,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 3,
   "name": "Ramp",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       207,
       206,
       206,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        225,
        225,
        225,
        178
       ],
       "width": 0.1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RampID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RampID",
     "type": "esriFieldTypeOID",
     "alias": "RampID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "Handrail",
     "type": "esriFieldTypeString",
     "alias": "Handrail",
     "length": 50,
     "domain": null
    },
    {
     "name": "NonSlipSurfaceType",
     "type": "esriFieldTypeString",
     "alias": "NonSlipSurfaceType",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 16,
   "name": "RockBund",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       225,
       225,
       225,
       178
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockBundID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockBundID",
     "type": "esriFieldTypeOID",
     "alias": "RockBundID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "MechanicallyStabilisedEarth",
     "type": "esriFieldTypeString",
     "alias": "MechanicallyStabilisedEarth",
     "length": 50,
     "domain": null
    },
    {
     "name": "Planted",
     "type": "esriFieldTypeString",
     "alias": "Planted",
     "length": 3,
     "domain": null
    },
    {
     "name": "Drainage",
     "type": "esriFieldTypeString",
     "alias": "Drainage",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "BundLength",
     "type": "esriFieldTypeDouble",
     "alias": "BundLength",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeDouble",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "Height",
     "type": "esriFieldTypeDouble",
     "alias": "Height",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 19,
   "name": "RockCatchBench",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       255,
       42,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockCatchBenchID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockCatchBenchID",
     "type": "esriFieldTypeOID",
     "alias": "RockCatchBenchID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "Drainage",
     "type": "esriFieldTypeString",
     "alias": "Drainage",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurfaceMaterial",
     "type": "esriFieldTypeString",
     "alias": "SurfaceMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CatchBenchLength",
     "type": "esriFieldTypeDouble",
     "alias": "CatchBenchLength",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeDouble",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "CutHeight",
     "type": "esriFieldTypeDouble",
     "alias": "CutHeight",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 20,
   "name": "RockMesh",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 100000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       85,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "RockMeshID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "RockMeshID",
     "type": "esriFieldTypeOID",
     "alias": "RockMeshID",
     "domain": null
    },
    {
     "name": "ConstructionMaterial",
     "type": "esriFieldTypeString",
     "alias": "ConstructionMaterial",
     "length": 50,
     "domain": null
    },
    {
     "name": "CorrosionProtection",
     "type": "esriFieldTypeString",
     "alias": "CorrosionProtection",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerConditionReport",
     "type": "esriFieldTypeString",
     "alias": "EngineerConditionReport",
     "length": 3,
     "domain": null
    },
    {
     "name": "ConditionRating",
     "type": "esriFieldTypeInteger",
     "alias": "ConditionRating",
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 100,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 22,
     "domain": null
    },
    {
     "name": "AssetDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "InstallationDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallationDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "MeshArea",
     "type": "esriFieldTypeDouble",
     "alias": "MeshArea",
     "domain": null
    },
    {
     "name": "BoltCount",
     "type": "esriFieldTypeInteger",
     "alias": "BoltCount",
     "domain": null
    },
    {
     "name": "ShackleCount",
     "type": "esriFieldTypeInteger",
     "alias": "ShackleCount",
     "domain": null
    },
    {
     "name": "PhotoName",
     "type": "esriFieldTypeString",
     "alias": "PhotoName",
     "length": 100,
     "domain": null
    },
    {
     "name": "DocumentName",
     "type": "esriFieldTypeString",
     "alias": "DocumentName",
     "length": 100,
     "domain": null
    },
    {
     "name": "FieldTagNumber",
     "type": "esriFieldTypeString",
     "alias": "FieldTagNumber",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "InstallerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "InstallerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyReference",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerWarrantyReference",
     "length": 32,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyStartDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyStartDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ManufacturerWarrantyEndDate",
     "type": "esriFieldTypeDate",
     "alias": "ManufacturerWarrantyEndDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Manufacturer",
     "type": "esriFieldTypeString",
     "alias": "Manufacturer",
     "length": 50,
     "domain": null
    },
    {
     "name": "ManufacturerStandard",
     "type": "esriFieldTypeString",
     "alias": "ManufacturerStandard",
     "length": 32,
     "domain": null
    },
    {
     "name": "CaptureDate",
     "type": "esriFieldTypeDate",
     "alias": "CaptureDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 21,
   "name": "School",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 500000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Type",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Composite (Year 1-15)",
       "label": "Composite (Year 1-15)"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         170,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          115,
          38,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Contributing",
       "label": "Contributing"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 1
        }
       },
       "value": "Full Primary",
       "label": "Full Primary"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         187,
         239,
         252,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          0,
          38,
          115,
          255
         ],
         "width": 1
        }
       },
       "value": "Intermediate",
       "label": "Intermediate"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          76,
          115,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Secondary (Year 7-15)",
       "label": "Secondary (Year 7-15)"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         163,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          76,
          115,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "Secondary (Year 9-15)",
       "label": "Secondary (Year 9-15)"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         169,
         0,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 1
        }
       },
       "value": "Special School",
       "label": "Special School"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          202,
          229,
          252,
          255
         ],
         "toColor": [
          202,
          229,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          250,
          182,
          255
         ],
         "toColor": [
          252,
          250,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          191,
          255
         ],
         "toColor": [
          252,
          179,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          223,
          182,
          252,
          255
         ],
         "toColor": [
          223,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          252,
          221,
          255
         ],
         "toColor": [
          187,
          252,
          221,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          231,
          212,
          255
         ],
         "toColor": [
          252,
          231,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          179,
          255
         ],
         "toColor": [
          179,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          215,
          249,
          255
         ],
         "toColor": [
          252,
          215,
          249,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          182,
          199,
          252,
          255
         ],
         "toColor": [
          182,
          199,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          232,
          252,
          212,
          255
         ],
         "toColor": [
          232,
          252,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          212,
          252,
          250,
          255
         ],
         "toColor": [
          212,
          252,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          199,
          187,
          255
         ],
         "toColor": [
          252,
          199,
          187,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          207,
          218,
          255
         ],
         "toColor": [
          252,
          207,
          218,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SchoolID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "SchoolID",
     "type": "esriFieldTypeOID",
     "alias": "SchoolID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 40,
     "domain": null
    },
    {
     "name": "Decile",
     "type": "esriFieldTypeString",
     "alias": "Decile",
     "length": 20,
     "domain": null
    },
    {
     "name": "MinistryOfEducationID",
     "type": "esriFieldTypeInteger",
     "alias": "MinistryOfEducationID",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "RollSize",
     "type": "esriFieldTypeInteger",
     "alias": "RollSize",
     "domain": null
    },
    {
     "name": "CreateDate",
     "type": "esriFieldTypeDate",
     "alias": "CreateDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 5,
   "name": "Shelter",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        0,
        255,
        255
       ],
       "width": 2.67
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ShelterID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ShelterID",
     "type": "esriFieldTypeOID",
     "alias": "ShelterID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurfaceFinish",
     "type": "esriFieldTypeString",
     "alias": "SurfaceFinish",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfAssets",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfAssets",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeSingle",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "EngineerAssessmentRequired",
     "type": "esriFieldTypeString",
     "alias": "EngineerAssessmentRequired",
     "length": 50,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 14,
   "name": "Stairs",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSForwardDiagonal",
      "color": [
       0,
       0,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1.3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "StairsID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "StairsID",
     "type": "esriFieldTypeOID",
     "alias": "StairsID",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeString",
     "alias": "Type",
     "length": 50,
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "DesignLoading",
     "type": "esriFieldTypeString",
     "alias": "DesignLoading",
     "length": 50,
     "domain": null
    },
    {
     "name": "EngineerAssessmentRequired",
     "type": "esriFieldTypeString",
     "alias": "EngineerAssessmentRequired",
     "length": 50,
     "domain": null
    },
    {
     "name": "SafetyBarrier",
     "type": "esriFieldTypeString",
     "alias": "SafetyBarrier",
     "length": 50,
     "domain": null
    },
    {
     "name": "StringerConstruction",
     "type": "esriFieldTypeString",
     "alias": "StringerConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "TreadConstruction",
     "type": "esriFieldTypeString",
     "alias": "TreadConstruction",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfSteps",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfSteps",
     "domain": null
    },
    {
     "name": "FallHeight",
     "type": "esriFieldTypeSingle",
     "alias": "FallHeight",
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "RiserHeight",
     "type": "esriFieldTypeSmallInteger",
     "alias": "RiserHeight",
     "domain": null
    },
    {
     "name": "TreadLength",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TreadLength",
     "domain": null
    },
    {
     "name": "drvArea",
     "type": "esriFieldTypeDouble",
     "alias": "drvArea",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  },
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 7,
   "name": "Terrace",
   "type": "Feature Layer",
   "description": "",
   "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": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 1000000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        0,
        128,
        255
       ],
       "width": 2.67
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1548000,
    "ymin": 5139000,
    "xmax": 1611000,
    "ymax": 5196000,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "TerraceID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "TerraceID",
     "type": "esriFieldTypeOID",
     "alias": "TerraceID",
     "domain": null
    },
    {
     "name": "ServiceStatus",
     "type": "esriFieldTypeString",
     "alias": "ServiceStatus",
     "length": 50,
     "domain": null
    },
    {
     "name": "Ownership",
     "type": "esriFieldTypeString",
     "alias": "Ownership",
     "length": 50,
     "domain": null
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeString",
     "alias": "Responsibility",
     "length": 50,
     "domain": null
    },
    {
     "name": "Maintenance",
     "type": "esriFieldTypeString",
     "alias": "Maintenance",
     "length": 50,
     "domain": null
    },
    {
     "name": "LocationCertainty",
     "type": "esriFieldTypeString",
     "alias": "LocationCertainty",
     "length": 50,
     "domain": null
    },
    {
     "name": "InstallationCompany",
     "type": "esriFieldTypeString",
     "alias": "InstallationCompany",
     "length": 50,
     "domain": null
    },
    {
     "name": "OwnerType",
     "type": "esriFieldTypeString",
     "alias": "OwnerType",
     "length": 50,
     "domain": null
    },
    {
     "name": "ContractArea",
     "type": "esriFieldTypeString",
     "alias": "ContractArea",
     "length": 50,
     "domain": null
    },
    {
     "name": "InContract",
     "type": "esriFieldTypeString",
     "alias": "InContract",
     "length": 50,
     "domain": null
    },
    {
     "name": "Artwork",
     "type": "esriFieldTypeString",
     "alias": "Artwork",
     "length": 50,
     "domain": null
    },
    {
     "name": "Construction",
     "type": "esriFieldTypeString",
     "alias": "Construction",
     "length": 50,
     "domain": null
    },
    {
     "name": "Inscribed",
     "type": "esriFieldTypeString",
     "alias": "Inscribed",
     "length": 50,
     "domain": null
    },
    {
     "name": "SurveyDate",
     "type": "esriFieldTypeDate",
     "alias": "SurveyDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "CommissionDate",
     "type": "esriFieldTypeDate",
     "alias": "CommissionDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "DonorName",
     "type": "esriFieldTypeString",
     "alias": "DonorName",
     "length": 30,
     "domain": null
    },
    {
     "name": "NumberOfSteps",
     "type": "esriFieldTypeInteger",
     "alias": "NumberOfSteps",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 100,
     "domain": null
    },
    {
     "name": "Length",
     "type": "esriFieldTypeSingle",
     "alias": "Length",
     "domain": null
    },
    {
     "name": "Width",
     "type": "esriFieldTypeSingle",
     "alias": "Width",
     "domain": null
    },
    {
     "name": "Photo",
     "type": "esriFieldTypeString",
     "alias": "Photo",
     "length": 4000,
     "domain": null
    },
    {
     "name": "PhotographURL",
     "type": "esriFieldTypeString",
     "alias": "PhotographURL",
     "length": 98,
     "domain": null
    },
    {
     "name": "AssetLongDescription",
     "type": "esriFieldTypeString",
     "alias": "AssetLongDescription",
     "length": 70,
     "domain": null
    },
    {
     "name": "Comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 100,
     "domain": null
    },
    {
     "name": "SAPInternalReference",
     "type": "esriFieldTypeString",
     "alias": "SAPInternalReference",
     "length": 50,
     "domain": null
    },
    {
     "name": "IDSAssetUniqueID",
     "type": "esriFieldTypeString",
     "alias": "IDSAssetUniqueID",
     "length": 100,
     "domain": null
    },
    {
     "name": "LastEditDate",
     "type": "esriFieldTypeDate",
     "alias": "LastEditDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STArea()",
     "domain": null
    },
    {
     "name": "SHAPE.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": {
    "timeZone": "New Zealand Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.STArea()",
    "shapeLengthFieldName": "SHAPE.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "303441a61f984023a85cbee1b29bbb82"
  }
 ],
 "tables": []
}