{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Environmental Monitoring Master Sites ",
   "type": "Feature Layer",
   "description": "GIS.DBO.USM_NZTM_SiteMaster",
   "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": "4c7cc1aba773aa089508eb9702dd1dee",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABvElEQVQ4jWNhoBFgIUGtOwMDw0sGBoYL1DOYmWEVnwt/0K+Hvxh/3P5+lOEvgx01DI4HGSoSI8oM4jxrfWr948b3eAYGhoWUGGzAyMpYx2fHBzYUBMRzJJgeFTyY9v/PfwoMZmao4nPmU2CTY0cI8TMz8Lnwc33c8aGfgYGhkByDDThUOAIEfISY0CWEo0UYPu3/mPn/J9jVF0gzmJmhSsBPiBXkQmxAJF6U/fXcV5NwRSQug+NBruXS48JpL68tH8Png5+sftz8gTUisRkswcjKmAZyLU5TYa6OE2V+2vCk7v/v/0QYzMzgyevEZ47PtTAAilRQ5H7c8bGcgYGhE5/BBixCLFOQkxchAIrcT/s+Nfz/9X8nckSiGszMUMVtzMOFnLwIAVDkCgYKcbxb87aK4S9DGDaDDUARBkpKpAIBH0GGbxe+Bvy4+cMA5mqEwcwMk4iJMJyG+wmxvuh9torhH4MassHuHCocVsREGC4A0suhyqEEczXMYAkGRkZGBgoBsyALyAxxZBcv/Hn3R9rbpW+scOU0IsC/b2e+HoeW2Ygw/v/7v/XHHR9AuUiCAkeDMsoLFIORJKgCAHW3fFVA0QGRAAAAAElFTkSuQmCC",
      "contentType": "image/png",
      "width": 16,
      "height": 15,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -616507.8059999999,
    "ymin": 1947495.3681,
    "xmax": 4596644.659499999,
    "ymax": 1.09132912282E7,
    "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": "SiteName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "EcanSiteNumber",
     "type": "esriFieldTypeString",
     "alias": "EcanSiteNumber",
     "length": 8,
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 300,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "WGS84_Longitude",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_Longitude",
     "domain": null
    },
    {
     "name": "WGS84_Latitude",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_Latitude",
     "domain": null
    },
    {
     "name": "LastModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "LastModifiedBy",
     "length": 300,
     "domain": null
    },
    {
     "name": "LastModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "LastModifiedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "ProcessID",
     "length": 50,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_2615",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G107336ID",
     "fields": "ID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "gdb_ct3_2615",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2114_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 0,
     "name": "Sites",
     "relatedTableId": 1,
     "role": "esriRelRoleOrigin",
     "keyField": "ID",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{3CF2781E-6D01-40FA-9232-824F15C10F97}"
    }
   ],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1575495893000
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Environmental Monitoring Sites",
   "type": "Feature Layer",
   "description": "GIS.DBO.USM_NZTM_Site",
   "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": "57aefde7668cf8fedb9c74dee3067595",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAu0lEQVQ4jWNhQAUSUIwPXEDmsEBpAwZW1iQGUZlUBlEZZrzab579x/Dr5waGf38jEAawsiYxpDTnMsSUMxAFJhWGM6yb+orh9+88kAESYJuJ1QwCef0MDIc3pjI8u98GMwC/s7EBkJ5n9yVgYUA2YBk1gGFwhMEFcPIkFbx5BtLzAuICUNoGJU9QCiMGLOlkYHj1aBPCAFDGAKVtUPIklCpBNoM0//4dBvMCBPz+nQdK26DkScD+F1AMBgAXgEL6FdktRwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 12,
      "height": 12,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -616507.8059999999,
    "ymin": 1947495.3681,
    "xmax": 4596644.659499999,
    "ymax": 1.09132912282E7,
    "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": "SiteName",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ID",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "SiteMasterID",
     "type": "esriFieldTypeInteger",
     "alias": "SiteMasterID",
     "domain": null
    },
    {
     "name": "SiteName",
     "type": "esriFieldTypeString",
     "alias": "SiteName",
     "length": 300,
     "domain": null
    },
    {
     "name": "SourceSystem",
     "type": "esriFieldTypeString",
     "alias": "SourceSystem",
     "length": 50,
     "domain": null
    },
    {
     "name": "SourceSystemSiteID",
     "type": "esriFieldTypeString",
     "alias": "SourceSystemSiteID",
     "length": 30,
     "domain": null
    },
    {
     "name": "Feature",
     "type": "esriFieldTypeString",
     "alias": "Feature",
     "length": 50,
     "domain": null
    },
    {
     "name": "MeasurementType",
     "type": "esriFieldTypeString",
     "alias": "MeasurementType",
     "length": 80,
     "domain": null
    },
    {
     "name": "MeasurementTypeGroup",
     "type": "esriFieldTypeString",
     "alias": "MeasurementTypeGroup",
     "length": 80,
     "domain": null
    },
    {
     "name": "CollectionType",
     "type": "esriFieldTypeString",
     "alias": "CollectionType",
     "length": 80,
     "domain": null
    },
    {
     "name": "DataProvider",
     "type": "esriFieldTypeString",
     "alias": "DataProvider",
     "length": 80,
     "domain": null
    },
    {
     "name": "DataCode",
     "type": "esriFieldTypeString",
     "alias": "DataCode",
     "length": 80,
     "domain": null
    },
    {
     "name": "MinValue",
     "type": "esriFieldTypeDouble",
     "alias": "MinValue",
     "domain": null
    },
    {
     "name": "MedianValue",
     "type": "esriFieldTypeDouble",
     "alias": "MedianValue",
     "domain": null
    },
    {
     "name": "MeanValue",
     "type": "esriFieldTypeDouble",
     "alias": "MeanValue",
     "domain": null
    },
    {
     "name": "MaxValue",
     "type": "esriFieldTypeDouble",
     "alias": "MaxValue",
     "domain": null
    },
    {
     "name": "SampleCount",
     "type": "esriFieldTypeInteger",
     "alias": "SampleCount",
     "domain": null
    },
    {
     "name": "FromDate",
     "type": "esriFieldTypeDate",
     "alias": "FromDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "SampleDataModifiedDate",
     "type": "esriFieldTypeString",
     "alias": "SampleDataModifiedDate",
     "length": 200,
     "domain": null
    },
    {
     "name": "Owner",
     "type": "esriFieldTypeString",
     "alias": "Owner",
     "length": 300,
     "domain": null
    },
    {
     "name": "Active",
     "type": "esriFieldTypeInteger",
     "alias": "Active",
     "domain": null
    },
    {
     "name": "Altitude",
     "type": "esriFieldTypeDouble",
     "alias": "Altitude",
     "domain": null
    },
    {
     "name": "AltitudeDatum",
     "type": "esriFieldTypeString",
     "alias": "AltitudeDatum",
     "length": 100,
     "domain": null
    },
    {
     "name": "NZTMX",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMX",
     "domain": null
    },
    {
     "name": "NZTMY",
     "type": "esriFieldTypeInteger",
     "alias": "NZTMY",
     "domain": null
    },
    {
     "name": "WGS84_Longitude",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_Longitude",
     "domain": null
    },
    {
     "name": "WGS84_Latitude",
     "type": "esriFieldTypeDouble",
     "alias": "WGS84_Latitude",
     "domain": null
    },
    {
     "name": "QarCode",
     "type": "esriFieldTypeInteger",
     "alias": "QarCode",
     "domain": null
    },
    {
     "name": "LastModifiedBy",
     "type": "esriFieldTypeString",
     "alias": "LastModifiedBy",
     "length": 300,
     "domain": null
    },
    {
     "name": "LastModifiedDate",
     "type": "esriFieldTypeDate",
     "alias": "LastModifiedDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "ProcessDate",
     "type": "esriFieldTypeDate",
     "alias": "ProcessDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "LocationAccuracy",
     "type": "esriFieldTypeString",
     "alias": "LocationAccuracy",
     "length": 80,
     "domain": null
    },
    {
     "name": "Link",
     "type": "esriFieldTypeString",
     "alias": "Link",
     "length": 200,
     "domain": null
    },
    {
     "name": "ProcessID",
     "type": "esriFieldTypeString",
     "alias": "ProcessID",
     "length": 50,
     "domain": null
    },
    {
     "name": "GlobalID",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "ToDate",
     "type": "esriFieldTypeDate",
     "alias": "ToDate",
     "length": 8,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "UUID_2614",
     "fields": "GlobalID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G107335SiteMaste",
     "fields": "SiteMasterID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "gdb_ct3_2614",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "S2113_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 0,
     "name": "Master Site",
     "relatedTableId": 0,
     "role": "esriRelRoleDestination",
     "keyField": "SiteMasterID",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{3CF2781E-6D01-40FA-9232-824F15C10F97}"
    }
   ],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": true,
    "startArchivingMoment": 1575495839000
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}