{
 "currentVersion": 10.91,
 "cimVersion": "2.9.0",
 "id": 16,
 "name": "Water treatment (polygon)",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPolygon",
 "sourceSpatialReference": {
  "wkid": 4326,
  "latestWkid": 4326,
  "xyTolerance": 8.983152841195215E-9,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -400,
  "falseY": -400,
  "xyUnits": 9.999999999999999E8,
  "falseZ": -100000,
  "zUnits": 10000,
  "falseM": -100000,
  "mUnits": 10000
 },
 "copyrightText": "",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSFS",
    "style": "esriSFSSolid",
    "color": [
     115,
     178,
     255,
     255
    ],
    "outline": {
     "type": "esriSLS",
     "style": "esriSLSSolid",
     "color": [
      0,
      112,
      255,
      255
     ],
     "width": 1
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": "NaN",
  "ymin": "NaN",
  "xmax": "NaN",
  "ymax": "NaN",
  "spatialReference": {
   "wkid": 4326,
   "latestWkid": 4326,
   "xyTolerance": 8.983152841195215E-9,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -400,
   "falseY": -400,
   "xyUnits": 1.125899906842624E13,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "name",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "objectid",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "site_code",
   "type": "esriFieldTypeString",
   "alias": "Site_code",
   "length": 50,
   "domain": null
  },
  {
   "name": "pcode",
   "type": "esriFieldTypeString",
   "alias": "Pcode",
   "length": 50,
   "domain": null
  },
  {
   "name": "name",
   "type": "esriFieldTypeString",
   "alias": "Name",
   "length": 50,
   "domain": null
  },
  {
   "name": "name_alt",
   "type": "esriFieldTypeString",
   "alias": "Alternative name",
   "length": 50,
   "domain": null
  },
  {
   "name": "source",
   "type": "esriFieldTypeString",
   "alias": "Source",
   "length": 50,
   "domain": null
  },
  {
   "name": "update_date",
   "type": "esriFieldTypeDate",
   "alias": "Update date",
   "length": 8,
   "domain": null
  },
  {
   "name": "updated_by",
   "type": "esriFieldTypeString",
   "alias": "Updated by",
   "length": 50,
   "domain": null
  },
  {
   "name": "constructed_by",
   "type": "esriFieldTypeString",
   "alias": "Constructed by",
   "length": 50,
   "domain": null
  },
  {
   "name": "construction_year",
   "type": "esriFieldTypeInteger",
   "alias": "Construction year",
   "domain": null
  },
  {
   "name": "type",
   "type": "esriFieldTypeString",
   "alias": "Type",
   "length": 50,
   "domain": {
    "type": "codedValue",
    "name": "water_treatment_type_en",
    "description": "water_treatment_type_en",
    "codedValues": [
     {
      "name": "Unknown",
      "code": "unknown"
     },
     {
      "name": "Water treatment plant",
      "code": "water_treatment_plant"
     },
     {
      "name": "Sludge treatment plant",
      "code": "sludge_treatment_plant"
     },
     {
      "name": "Septic tank",
      "code": "septic_tank"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "treatment_method",
   "type": "esriFieldTypeString",
   "alias": "Type of treatment",
   "length": 50,
   "domain": {
    "type": "codedValue",
    "name": "water_treatment_method_en",
    "description": "water_treatment_method_en",
    "codedValues": [
     {
      "name": "None",
      "code": "none"
     },
     {
      "name": "Flocculation",
      "code": "flocculation"
     },
     {
      "name": "Chlorination",
      "code": "chlorination"
     },
     {
      "name": "Other",
      "code": "other"
     },
     {
      "name": "Unknown",
      "code": "unknown"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "status",
   "type": "esriFieldTypeString",
   "alias": "Status",
   "length": 50,
   "domain": {
    "type": "codedValue",
    "name": "status_en",
    "description": "status_en",
    "codedValues": [
     {
      "name": "Operational",
      "code": "operational"
     },
     {
      "name": "Defective",
      "code": "defective"
     },
     {
      "name": "Non operational",
      "code": "non_operational"
     },
     {
      "name": "Under construction",
      "code": "under_construction"
     },
     {
      "name": "Unknown",
      "code": "unknown"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "comment",
   "type": "esriFieldTypeString",
   "alias": "Comment",
   "length": 50,
   "domain": null
  },
  {
   "name": "globalid",
   "type": "esriFieldTypeGlobalID",
   "alias": "globalid",
   "length": 38,
   "domain": null
  },
  {
   "name": "shape",
   "type": "esriFieldTypeGeometry",
   "alias": "shape",
   "domain": null
  },
  {
   "name": "st_area(shape)",
   "type": "esriFieldTypeDouble",
   "alias": "st_area(shape)",
   "domain": null
  },
  {
   "name": "st_length(shape)",
   "type": "esriFieldTypeDouble",
   "alias": "st_length(shape)",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "shape",
  "type": "esriFieldTypeGeometry",
  "alias": "shape"
 },
 "indexes": [
  {
   "name": "r781_sde_rowid_uk",
   "fields": "objectid",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "uuid_781",
   "fields": "globalid",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "a764_ix1",
   "fields": "shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "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},
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "advancedQueryCapabilities": {
  "useStandardizedQueries": false,
  "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": true,
  "supportsQueryAnalytic": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": false
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeAreaFieldName": "st_area(shape)",
  "shapeLengthFieldName": "st_length(shape)",
  "units": "esriDecimalDegrees"
 },
 "hasMetadata": true,
 "isDataArchived": true,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": true,
  "startArchivingMoment": 1639570055000
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true
}