{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 157,
 "name": " Residential discharge",
 "type": "Feature Layer",
 "description": "Features tied to an activity consented under the Resource Management Act by Environment Canterbury.  \n\nThis layer contains a summary for all recorded features.",
 "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": 250000,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriPMS",
    "url": "dee5977ea6059c4cba4ad871af9d4784",
    "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABz0lEQVQ4jdXUvWtUURDG4eeswa9ewdZUCWn8KwKaoEV2s2rsgmKQNFrY2FoqBjGIioWg2XuDIBEbQQyC+EG0iRGLCNbpLAwW7si9rmu+Nkaw0IEDB97hx5mZ90yXvxxd/y8wMnuEcckg9iNhUZiRTKSapS0DIzOESdxTccoX86WwW59vjmMhMqdTzfRvgS1YJpxNwy6vkV8WJ3KfhCwytbXQrnVlck1yEhcjM59qHq/KyQ0I5yVnhMnIzK4sf/ULf/Tsbqq6GbkPwv3IDKeaJ6XccES4ITmcqp5HrlfTOC5sDCwGUDFaXqueRa4q5K02FK+f1DSY6l608u9IrncG0m2HhTa/6mnk6sVL0cShVPeqnV0Ma6fuTYeyLpr2SqJ1r2yQEZsBFy3rwVyZmTmGK+iX7FMxE9MG0lA5bbbrxcfOwMK0ldJnc9Ewgkua+lPdm1LOjWp6GFMOprrXZW6Y6QxMJoR30fBZMqaiP9W8bctVDyK3TcWjaDiHo5K+jsDCT5EZk2QYSUO/YCughZV6JLcpjb206VAK5xc/AFcjd0CYssv7UvyqVzghyt6u+yUdp9yCzpamTW5Zblvj53Lo/aPloFV+y7Bt024l/v0F+x1AMqsvXV4AagAAAABJRU5ErkJggg==",
    "contentType": "image/png",
    "width": 15,
    "height": 15,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 1329018.3624196327,
  "ymin": 5016282.784674342,
  "xmax": 1688996.6617799327,
  "ymax": 5357911.481958228,
  "spatialReference": {
   "wkid": 2193,
   "latestWkid": 2193,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -4020900,
   "falseY": 1900,
   "xyUnits": 4.504455473910538E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "HolderName",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "SHAPE",
   "type": "esriFieldTypeGeometry",
   "alias": "SHAPE",
   "domain": null
  },
  {
   "name": "ConsentNo",
   "type": "esriFieldTypeString",
   "alias": "ConsentNo",
   "length": 30,
   "domain": null
  },
  {
   "name": "ConsentType",
   "type": "esriFieldTypeString",
   "alias": "ConsentType",
   "length": 30,
   "domain": null
  },
  {
   "name": "PermitType",
   "type": "esriFieldTypeString",
   "alias": "PermitType",
   "length": 30,
   "domain": null
  },
  {
   "name": "FeatureType",
   "type": "esriFieldTypeString",
   "alias": "FeatureType",
   "length": 70,
   "domain": null
  },
  {
   "name": "RMASection",
   "type": "esriFieldTypeString",
   "alias": "RMASection",
   "length": 70,
   "domain": null
  },
  {
   "name": "ActivityText",
   "type": "esriFieldTypeString",
   "alias": "ActivityText",
   "length": 70,
   "domain": null
  },
  {
   "name": "HolderName",
   "type": "esriFieldTypeString",
   "alias": "HolderName",
   "length": 160,
   "domain": null
  },
  {
   "name": "ECNumber",
   "type": "esriFieldTypeString",
   "alias": "ECNumber",
   "length": 100,
   "domain": null
  },
  {
   "name": "fmDate",
   "type": "esriFieldTypeDate",
   "alias": "fmDate",
   "length": 8,
   "domain": null
  },
  {
   "name": "fmDateText",
   "type": "esriFieldTypeString",
   "alias": "fmDateText",
   "length": 150,
   "domain": null
  },
  {
   "name": "toDate",
   "type": "esriFieldTypeDate",
   "alias": "toDate",
   "length": 8,
   "domain": null
  },
  {
   "name": "toDateText",
   "type": "esriFieldTypeString",
   "alias": "toDateText",
   "length": 150,
   "domain": null
  },
  {
   "name": "Lapses",
   "type": "esriFieldTypeDate",
   "alias": "Lapses",
   "length": 8,
   "domain": null
  },
  {
   "name": "GivenEffectTo",
   "type": "esriFieldTypeDate",
   "alias": "GivenEffectTo",
   "length": 8,
   "domain": null
  },
  {
   "name": "Expires",
   "type": "esriFieldTypeDate",
   "alias": "Expires",
   "length": 8,
   "domain": null
  },
  {
   "name": "NZTMX",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMX",
   "domain": null
  },
  {
   "name": "NZTMY",
   "type": "esriFieldTypeDouble",
   "alias": "NZTMY",
   "domain": null
  },
  {
   "name": "NZTOPO50",
   "type": "esriFieldTypeString",
   "alias": "NZTOPO50",
   "length": 16,
   "domain": null
  },
  {
   "name": "CAP",
   "type": "esriFieldTypeString",
   "alias": "CAP",
   "length": 17,
   "domain": null
  },
  {
   "name": "ConsentSource",
   "type": "esriFieldTypeString",
   "alias": "ConsentSource",
   "length": 30,
   "domain": null
  },
  {
   "name": "ConsentStatus",
   "type": "esriFieldTypeString",
   "alias": "ConsentStatus",
   "length": 30,
   "domain": null
  },
  {
   "name": "FileNo",
   "type": "esriFieldTypeString",
   "alias": "FileNo",
   "length": 255,
   "domain": null
  },
  {
   "name": "Location",
   "type": "esriFieldTypeString",
   "alias": "Location",
   "length": 255,
   "domain": null
  },
  {
   "name": "GIS_TerritorialAuthority",
   "type": "esriFieldTypeString",
   "alias": "GIS_TerritorialAuthority",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_Catchment",
   "type": "esriFieldTypeString",
   "alias": "GIS_Catchment",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_CWMSZone",
   "type": "esriFieldTypeString",
   "alias": "GIS_CWMSZone",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_Runanga",
   "type": "esriFieldTypeString",
   "alias": "GIS_Runanga",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_GWAllocationZone",
   "type": "esriFieldTypeString",
   "alias": "GIS_GWAllocationZone",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_SWAllocationZone",
   "type": "esriFieldTypeString",
   "alias": "GIS_SWAllocationZone",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_CleanAirZone",
   "type": "esriFieldTypeString",
   "alias": "GIS_CleanAirZone",
   "length": 200,
   "domain": null
  },
  {
   "name": "LINK",
   "type": "esriFieldTypeString",
   "alias": "LINK",
   "length": 500,
   "domain": null
  },
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "FTID",
   "domain": null
  },
  {
   "name": "GIS_NutrientAllocationClass",
   "type": "esriFieldTypeString",
   "alias": "GIS_NutrientAllocationClass",
   "length": 200,
   "domain": null
  },
  {
   "name": "GIS_NutrientAllocationZone",
   "type": "esriFieldTypeString",
   "alias": "GIS_NutrientAllocationZone",
   "length": 200,
   "domain": null
  },
  {
   "name": "FEATURE_ACCURACY",
   "type": "esriFieldTypeString",
   "alias": "FEATURE_ACCURACY",
   "length": 70,
   "domain": null
  },
  {
   "name": "FEATURE_NOTE",
   "type": "esriFieldTypeString",
   "alias": "FEATURE_NOTE",
   "length": 500,
   "domain": null
  },
  {
   "name": "FEATURE_NAME",
   "type": "esriFieldTypeString",
   "alias": "FEATURE_NAME",
   "length": 50,
   "domain": null
  },
  {
   "name": "FTID",
   "type": "esriFieldTypeInteger",
   "alias": "FTID",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE"
 },
 "indexes": null,
 "subtypes": [],
 "relationships": [],
 "canModifyLayer": true,
 "canScaleSymbols": false,
 "hasLabels": true,
 "capabilities": "Map,Query,Data",
 "maxRecordCount": 1000,
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "isDataVersioned": false,
 "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
 "useStandardizedQueries": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "advancedQueryCapabilities": {
  "useStandardizedQueries": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsAdvancedQueryRelated": true,
  "supportsQueryRelatedPagination": true,
  "supportsPagination": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsTrueCurve": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsReturningQueryExtent": true,
  "supportsQueryWithDistance": true,
  "supportsSqlExpression": true,
  "supportsTimeRelation": true,
  "supportsSqlFormat": false,
  "supportsQueryAnalytic": true,
  "supportsCurrentUserQueries": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}