{
 "layers": [
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 0,
   "name": "Groundwater",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "OVERALL_CLASSIFICATION",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": null
       },
       "value": "Good",
       "label": "Good"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "outline": null
       },
       "value": "Poor",
       "label": "Poor"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          101,
          42,
          255
         ],
         "toColor": [
          184,
          101,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          62,
          201,
          255
         ],
         "toColor": [
          88,
          62,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          58,
          255
         ],
         "toColor": [
          58,
          201,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          80,
          175,
          199,
          255
         ],
         "toColor": [
          80,
          175,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          43,
          106,
          255
         ],
         "toColor": [
          161,
          43,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          168,
          62,
          255
         ],
         "toColor": [
          161,
          168,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          94,
          161,
          255
         ],
         "toColor": [
          50,
          94,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          191,
          134,
          255
         ],
         "toColor": [
          59,
          191,
          134,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          55,
          191,
          255
         ],
         "toColor": [
          191,
          55,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          56,
          72,
          255
         ],
         "toColor": [
          194,
          56,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          106,
          61,
          153,
          255
         ],
         "toColor": [
          106,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          144,
          199,
          42,
          255
         ],
         "toColor": [
          144,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          158,
          55,
          255
         ],
         "toColor": [
          76,
          158,
          55,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 61140,
    "ymin": 530253.7781000007,
    "xmax": 469468.49849999975,
    "ymax": 1218632.9299999997,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "objectid_1",
     "type": "esriFieldTypeInteger",
     "alias": "objectid_1",
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "wb_id",
     "length": 48,
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 20,
     "domain": null
    },
    {
     "name": "water_body_id_1",
     "type": "esriFieldTypeInteger",
     "alias": "water_body_id_1",
     "domain": null
    },
    {
     "name": "area_sq_km_1",
     "type": "esriFieldTypeDouble",
     "alias": "area_sq_km_1",
     "domain": null
    },
    {
     "name": "horizon_1",
     "type": "esriFieldTypeInteger",
     "alias": "horizon_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "water_body_id",
     "type": "esriFieldTypeInteger",
     "alias": "water_body_id",
     "domain": null
    },
    {
     "name": "area_sq_km",
     "type": "esriFieldTypeDouble",
     "alias": "area_sq_km",
     "domain": null
    },
    {
     "name": "horizon",
     "type": "esriFieldTypeSmallInteger",
     "alias": "horizon",
     "domain": null
    },
    {
     "name": "expiry_date",
     "type": "esriFieldTypeString",
     "alias": "expiry_date",
     "length": 8000,
     "domain": null
    },
    {
     "name": "water_body_name",
     "type": "esriFieldTypeString",
     "alias": "water_body_name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "rbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "rbd_code",
     "domain": null
    },
    {
     "name": "river_basin_district",
     "type": "esriFieldTypeString",
     "alias": "river_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "sbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "sbd_code",
     "domain": null
    },
    {
     "name": "sub_basin_district",
     "type": "esriFieldTypeString",
     "alias": "sub_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeInteger",
     "alias": "easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeInteger",
     "alias": "northing",
     "domain": null
    },
    {
     "name": "reporting_latitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_latitude",
     "domain": null
    },
    {
     "name": "reporting_longitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_longitude",
     "domain": null
    },
    {
     "name": "team",
     "type": "esriFieldTypeString",
     "alias": "team",
     "length": 8000,
     "domain": null
    },
    {
     "name": "q_status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "q_status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "c_status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "c_status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "ndq_status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "ndq_status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "ndc_status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "ndc_status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "overall_classification",
     "type": "esriFieldTypeString",
     "alias": "overall_classification",
     "length": 8000,
     "domain": null
    },
    {
     "name": "certainty",
     "type": "esriFieldTypeInteger",
     "alias": "certainty",
     "domain": null
    },
    {
     "name": "certainty_band",
     "type": "esriFieldTypeString",
     "alias": "certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "less_than_good",
     "type": "esriFieldTypeString",
     "alias": "less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "current_chem_class",
     "type": "esriFieldTypeString",
     "alias": "current_chem_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "chem_class_certainty",
     "type": "esriFieldTypeInteger",
     "alias": "chem_class_certainty",
     "domain": null
    },
    {
     "name": "chem_class_certainty_band",
     "type": "esriFieldTypeString",
     "alias": "chem_class_certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "chem_class_less_than_good",
     "type": "esriFieldTypeString",
     "alias": "chem_class_less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "current_quant_class",
     "type": "esriFieldTypeString",
     "alias": "current_quant_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "quant_class_certainty",
     "type": "esriFieldTypeInteger",
     "alias": "quant_class_certainty",
     "domain": null
    },
    {
     "name": "quant_class_certainty_band",
     "type": "esriFieldTypeString",
     "alias": "quant_class_certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "quant_class_less_than_good",
     "type": "esriFieldTypeString",
     "alias": "quant_class_less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "classification_year",
     "type": "esriFieldTypeInteger",
     "alias": "classification_year",
     "domain": null
    },
    {
     "name": "current_year",
     "type": "esriFieldTypeString",
     "alias": "current_year",
     "length": 8000,
     "domain": null
    },
    {
     "name": "class_ds_url",
     "type": "esriFieldTypeString",
     "alias": "class_ds_url",
     "length": 8000,
     "domain": null
    },
    {
     "name": "quantity_target_class",
     "type": "esriFieldTypeString",
     "alias": "quantity_target_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "chemistry_target_class",
     "type": "esriFieldTypeString",
     "alias": "chemistry_target_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "quantity_target_class_nd",
     "type": "esriFieldTypeString",
     "alias": "quantity_target_class_nd",
     "length": 8000,
     "domain": null
    },
    {
     "name": "chemistry_target_class_nd",
     "type": "esriFieldTypeString",
     "alias": "chemistry_target_class_nd",
     "length": 8000,
     "domain": null
    },
    {
     "name": "wise_code",
     "type": "esriFieldTypeString",
     "alias": "wise_code",
     "length": 8000,
     "domain": null
    },
    {
     "name": "eco_region",
     "type": "esriFieldTypeString",
     "alias": "eco_region",
     "length": 8000,
     "domain": null
    },
    {
     "name": "data_source",
     "type": "esriFieldTypeString",
     "alias": "data_source",
     "length": 8000,
     "domain": null
    },
    {
     "name": "aquifer_typology",
     "type": "esriFieldTypeString",
     "alias": "aquifer_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "dominant_flow_typology",
     "type": "esriFieldTypeString",
     "alias": "dominant_flow_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "aquifer_productivity_typology",
     "type": "esriFieldTypeString",
     "alias": "aquifer_productivity_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "groundwater_age_typology",
     "type": "esriFieldTypeString",
     "alias": "groundwater_age_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "chemical_typology",
     "type": "esriFieldTypeInteger",
     "alias": "chemical_typology",
     "domain": null
    },
    {
     "name": "flow_depth_typology",
     "type": "esriFieldTypeInteger",
     "alias": "flow_depth_typology",
     "domain": null
    },
    {
     "name": "flow_path_typology",
     "type": "esriFieldTypeInteger",
     "alias": "flow_path_typology",
     "domain": null
    },
    {
     "name": "overlying_strata",
     "type": "esriFieldTypeString",
     "alias": "overlying_strata",
     "length": 8000,
     "domain": null
    },
    {
     "name": "annual_recharge_l_yr",
     "type": "esriFieldTypeDouble",
     "alias": "annual_recharge_l_yr",
     "domain": null
    },
    {
     "name": "rate_of_recharge_mm_yr",
     "type": "esriFieldTypeInteger",
     "alias": "rate_of_recharge_mm_yr",
     "domain": null
    },
    {
     "name": "falling_levels",
     "type": "esriFieldTypeString",
     "alias": "falling_levels",
     "length": 8000,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 1,
   "name": "Estuaries",
   "type": "Feature Layer",
   "description": "This feature class was created using the OS boundary line High Water dataset, OS Open Map Local dataset and UKHO Open Data 3 nautical mile limit. The original data was created for the Water Framework Directive (2000/60/EC).  Article 2, clause 6 of the WFD defines Transitional waterbodies as \u2018\u2026bodies of surface water in the vicinity of river mouths which are partly saline in character as a result of their proximity to coastal waters but are substantially influenced by freshwater flows\u2019. These are also referred to as estuaries. Derived from the OS Boundary Line High Water line dataset and Scottish Environment Protection Agency estuarine boundaries defined for the Urban Waste Water Treatment Directive (UWWTD) with the addition of Loch Etive.Dataset includes the most recent overall classification information.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "© Scottish Environment Protection Agency.  Contains OS data Copyright Crown copyright [and database right].",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "OVERALL_CLASSIFICATION",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "High",
       "label": "High status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good ecological potential",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate ecological potential",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         153,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Poor",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         153,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Poor ecological potential",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Bad",
       "label": "Bad status / potential"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          101,
          42,
          255
         ],
         "toColor": [
          184,
          101,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          62,
          201,
          255
         ],
         "toColor": [
          88,
          62,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          58,
          255
         ],
         "toColor": [
          58,
          201,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          80,
          175,
          199,
          255
         ],
         "toColor": [
          80,
          175,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          43,
          106,
          255
         ],
         "toColor": [
          161,
          43,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          168,
          62,
          255
         ],
         "toColor": [
          161,
          168,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          94,
          161,
          255
         ],
         "toColor": [
          50,
          94,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          191,
          134,
          255
         ],
         "toColor": [
          59,
          191,
          134,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          55,
          191,
          255
         ],
         "toColor": [
          191,
          55,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          56,
          72,
          255
         ],
         "toColor": [
          194,
          56,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          106,
          61,
          153,
          255
         ],
         "toColor": [
          106,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          144,
          199,
          42,
          255
         ],
         "toColor": [
          144,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          158,
          55,
          255
         ],
         "toColor": [
          76,
          158,
          55,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 189600.5,
    "ymin": 544795.2731999997,
    "xmax": 412249.6849999996,
    "ymax": 901303.1042,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "area_km2",
     "domain": null
    },
    {
     "name": "perimeter_km",
     "type": "esriFieldTypeDouble",
     "alias": "perimeter_km",
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 20,
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "wb_id",
     "length": 48,
     "domain": null
    },
    {
     "name": "water_body_id",
     "type": "esriFieldTypeInteger",
     "alias": "water_body_id",
     "domain": null
    },
    {
     "name": "expiry_date",
     "type": "esriFieldTypeString",
     "alias": "expiry_date",
     "length": 8000,
     "domain": null
    },
    {
     "name": "water_body_name",
     "type": "esriFieldTypeString",
     "alias": "water_body_name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "area_sq_km",
     "type": "esriFieldTypeDouble",
     "alias": "area_sq_km",
     "domain": null
    },
    {
     "name": "rbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "rbd_code",
     "domain": null
    },
    {
     "name": "river_basin_district",
     "type": "esriFieldTypeString",
     "alias": "river_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "sbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "sbd_code",
     "domain": null
    },
    {
     "name": "sub_basin_district",
     "type": "esriFieldTypeString",
     "alias": "sub_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "heavily_modified",
     "type": "esriFieldTypeString",
     "alias": "heavily_modified",
     "length": 8000,
     "domain": null
    },
    {
     "name": "artificial",
     "type": "esriFieldTypeString",
     "alias": "artificial",
     "length": 8000,
     "domain": null
    },
    {
     "name": "genre",
     "type": "esriFieldTypeString",
     "alias": "genre",
     "length": 8000,
     "domain": null
    },
    {
     "name": "hmawb_reason",
     "type": "esriFieldTypeString",
     "alias": "hmawb_reason",
     "length": 8000,
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeInteger",
     "alias": "easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeInteger",
     "alias": "northing",
     "domain": null
    },
    {
     "name": "reporting_latitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_latitude",
     "domain": null
    },
    {
     "name": "reporting_longitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_longitude",
     "domain": null
    },
    {
     "name": "team",
     "type": "esriFieldTypeString",
     "alias": "team",
     "length": 8000,
     "domain": null
    },
    {
     "name": "status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "no_det_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "no_det_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "less_than_good",
     "type": "esriFieldTypeString",
     "alias": "less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "classification_year",
     "type": "esriFieldTypeInteger",
     "alias": "classification_year",
     "domain": null
    },
    {
     "name": "current_year",
     "type": "esriFieldTypeString",
     "alias": "current_year",
     "length": 8000,
     "domain": null
    },
    {
     "name": "class_ds_url",
     "type": "esriFieldTypeString",
     "alias": "class_ds_url",
     "length": 8000,
     "domain": null
    },
    {
     "name": "certainty",
     "type": "esriFieldTypeDouble",
     "alias": "certainty",
     "domain": null
    },
    {
     "name": "certainty_band",
     "type": "esriFieldTypeString",
     "alias": "certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "overall_classification",
     "type": "esriFieldTypeString",
     "alias": "overall_classification",
     "length": 8000,
     "domain": null
    },
    {
     "name": "target_class",
     "type": "esriFieldTypeString",
     "alias": "target_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "target_class_no_det",
     "type": "esriFieldTypeString",
     "alias": "target_class_no_det",
     "length": 8000,
     "domain": null
    },
    {
     "name": "wise_code",
     "type": "esriFieldTypeString",
     "alias": "wise_code",
     "length": 8000,
     "domain": null
    },
    {
     "name": "eco_region",
     "type": "esriFieldTypeInteger",
     "alias": "eco_region",
     "domain": null
    },
    {
     "name": "data_source",
     "type": "esriFieldTypeString",
     "alias": "data_source",
     "length": 8000,
     "domain": null
    },
    {
     "name": "coastal_typology",
     "type": "esriFieldTypeString",
     "alias": "coastal_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 2,
   "name": "Coastal",
   "type": "Feature Layer",
   "description": "This feature class was created using the OS boundary line High Water dataset, OS Open Map Local dataset and UKHO Open Data 3 nautical mile limit. The original data was created for the Water Framework Directive (2000/60/EC).  Article 2, clause 7 of the WFD defines coastal waterbodies as \u2018\u2026a surface water on the landward side of a line, every point of which is at a distance of one nautical mile on the seaward side from the nearest point of the baseline from which the breadth of territorial waters is measured, extending where appropriate up to the outer limit of transitional waters\u2019. Due to the large number of islands in Scotland, coastal waters were defined by territorial waters 3 nautical miles from the Mean High Water coastline covering all water within the 3 nautical mile territorial limit.  Dataset includes the most recent overall classification information.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "© Scottish Environment Protection Agency.  Contains OS data Copyright Crown copyright [and database right].",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "OVERALL_CLASSIFICATION",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "High",
       "label": "High status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good ecological potential",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate ecological potential",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Poor ecological potential",
       "label": "Poor status / potential"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          101,
          42,
          255
         ],
         "toColor": [
          184,
          101,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          62,
          201,
          255
         ],
         "toColor": [
          88,
          62,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          58,
          255
         ],
         "toColor": [
          58,
          201,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          80,
          175,
          199,
          255
         ],
         "toColor": [
          80,
          175,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          43,
          106,
          255
         ],
         "toColor": [
          161,
          43,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          168,
          62,
          255
         ],
         "toColor": [
          161,
          168,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          94,
          161,
          255
         ],
         "toColor": [
          50,
          94,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          191,
          134,
          255
         ],
         "toColor": [
          59,
          191,
          134,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          55,
          191,
          255
         ],
         "toColor": [
          191,
          55,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          56,
          72,
          255
         ],
         "toColor": [
          194,
          56,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          106,
          61,
          153,
          255
         ],
         "toColor": [
          106,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          144,
          199,
          42,
          255
         ],
         "toColor": [
          144,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          158,
          55,
          255
         ],
         "toColor": [
          76,
          158,
          55,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": -302040.3164999997,
    "ymin": 524068.46079999954,
    "xmax": 475777.7806000002,
    "ymax": 1225872.9404000007,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "area_km2",
     "domain": null
    },
    {
     "name": "perimeter_km",
     "type": "esriFieldTypeDouble",
     "alias": "perimeter_km",
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 20,
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "wb_id",
     "length": 48,
     "domain": null
    },
    {
     "name": "water_body_id",
     "type": "esriFieldTypeInteger",
     "alias": "water_body_id",
     "domain": null
    },
    {
     "name": "expiry_date",
     "type": "esriFieldTypeString",
     "alias": "expiry_date",
     "length": 8000,
     "domain": null
    },
    {
     "name": "water_body_name",
     "type": "esriFieldTypeString",
     "alias": "water_body_name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "area_sq_km",
     "type": "esriFieldTypeDouble",
     "alias": "area_sq_km",
     "domain": null
    },
    {
     "name": "rbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "rbd_code",
     "domain": null
    },
    {
     "name": "river_basin_district",
     "type": "esriFieldTypeString",
     "alias": "river_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "sbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "sbd_code",
     "domain": null
    },
    {
     "name": "sub_basin_district",
     "type": "esriFieldTypeString",
     "alias": "sub_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "heavily_modified",
     "type": "esriFieldTypeString",
     "alias": "heavily_modified",
     "length": 8000,
     "domain": null
    },
    {
     "name": "artificial",
     "type": "esriFieldTypeString",
     "alias": "artificial",
     "length": 8000,
     "domain": null
    },
    {
     "name": "genre",
     "type": "esriFieldTypeString",
     "alias": "genre",
     "length": 8000,
     "domain": null
    },
    {
     "name": "hmawb_reason",
     "type": "esriFieldTypeString",
     "alias": "hmawb_reason",
     "length": 8000,
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeInteger",
     "alias": "easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeInteger",
     "alias": "northing",
     "domain": null
    },
    {
     "name": "reporting_latitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_latitude",
     "domain": null
    },
    {
     "name": "reporting_longitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_longitude",
     "domain": null
    },
    {
     "name": "team",
     "type": "esriFieldTypeString",
     "alias": "team",
     "length": 8000,
     "domain": null
    },
    {
     "name": "status_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "status_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "no_det_risk_assessment",
     "type": "esriFieldTypeString",
     "alias": "no_det_risk_assessment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "less_than_good",
     "type": "esriFieldTypeString",
     "alias": "less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "classification_year",
     "type": "esriFieldTypeInteger",
     "alias": "classification_year",
     "domain": null
    },
    {
     "name": "current_year",
     "type": "esriFieldTypeString",
     "alias": "current_year",
     "length": 8000,
     "domain": null
    },
    {
     "name": "class_ds_url",
     "type": "esriFieldTypeString",
     "alias": "class_ds_url",
     "length": 8000,
     "domain": null
    },
    {
     "name": "certainty",
     "type": "esriFieldTypeDouble",
     "alias": "certainty",
     "domain": null
    },
    {
     "name": "certainty_band",
     "type": "esriFieldTypeString",
     "alias": "certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "overall_classification",
     "type": "esriFieldTypeString",
     "alias": "overall_classification",
     "length": 8000,
     "domain": null
    },
    {
     "name": "target_class",
     "type": "esriFieldTypeString",
     "alias": "target_class",
     "length": 8000,
     "domain": null
    },
    {
     "name": "target_class_no_det",
     "type": "esriFieldTypeString",
     "alias": "target_class_no_det",
     "length": 8000,
     "domain": null
    },
    {
     "name": "wise_code",
     "type": "esriFieldTypeString",
     "alias": "wise_code",
     "length": 8000,
     "domain": null
    },
    {
     "name": "eco_region",
     "type": "esriFieldTypeInteger",
     "alias": "eco_region",
     "domain": null
    },
    {
     "name": "data_source",
     "type": "esriFieldTypeString",
     "alias": "data_source",
     "length": 8000,
     "domain": null
    },
    {
     "name": "coastal_typology",
     "type": "esriFieldTypeString",
     "alias": "coastal_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 3,
   "name": "Loch",
   "type": "Feature Layer",
   "description": "This dataset contains baseline loch water bodies which were created for the purposes of the Water Framework Directive (2000/60/EC) .  The dataset is made up of the following categories of features:Baseline Lochs - lochs with a surface area greater than or equal to 0.5 km².Dataset includes the most recent overall classification information.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "© Scottish Environment Protection Agency.  Contains OS data Copyright Crown copyright [and database right].",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "OVERALL_CLASSIFICATION",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "High",
       "label": "High status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Good ecological potential",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Moderate ecological potential",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Poor",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Poor ecological potential",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Bad",
       "label": "Bad status / potential"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "Bad ecological potential",
       "label": "Bad status / potential"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          101,
          42,
          255
         ],
         "toColor": [
          184,
          101,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          62,
          201,
          255
         ],
         "toColor": [
          88,
          62,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          58,
          255
         ],
         "toColor": [
          58,
          201,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          80,
          175,
          199,
          255
         ],
         "toColor": [
          80,
          175,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          43,
          106,
          255
         ],
         "toColor": [
          161,
          43,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          168,
          62,
          255
         ],
         "toColor": [
          161,
          168,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          94,
          161,
          255
         ],
         "toColor": [
          50,
          94,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          191,
          134,
          255
         ],
         "toColor": [
          59,
          191,
          134,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          55,
          191,
          255
         ],
         "toColor": [
          191,
          55,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          56,
          72,
          255
         ],
         "toColor": [
          194,
          56,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          106,
          61,
          153,
          255
         ],
         "toColor": [
          106,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          144,
          199,
          42,
          255
         ],
         "toColor": [
          144,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          158,
          55,
          255
         ],
         "toColor": [
          76,
          158,
          55,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 72800.40000000037,
    "ymin": 552145.5,
    "xmax": 461644.2165999999,
    "ymax": 1213802.4499999993,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "objectid",
     "domain": null
    },
    {
     "name": "shape",
     "type": "esriFieldTypeGeometry",
     "alias": "shape",
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 20,
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "Water Body ID",
     "length": 48,
     "domain": null
    },
    {
     "name": "water_body_id",
     "type": "esriFieldTypeInteger",
     "alias": "Water Body Id",
     "domain": null
    },
    {
     "name": "expiry_date",
     "type": "esriFieldTypeString",
     "alias": "Expiry Date",
     "length": 8000,
     "domain": null
    },
    {
     "name": "water_body_name",
     "type": "esriFieldTypeString",
     "alias": "Water Body Name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "area_sq_km",
     "type": "esriFieldTypeDouble",
     "alias": "Area (km²)",
     "domain": null
    },
    {
     "name": "rbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "RBD Code",
     "domain": null
    },
    {
     "name": "river_basin_district",
     "type": "esriFieldTypeString",
     "alias": "River Basin District",
     "length": 8000,
     "domain": null
    },
    {
     "name": "sbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "SBD Code",
     "domain": null
    },
    {
     "name": "sub_basin_district",
     "type": "esriFieldTypeString",
     "alias": "Sub Basin District",
     "length": 8000,
     "domain": null
    },
    {
     "name": "heavily_modified",
     "type": "esriFieldTypeString",
     "alias": "Heavily Modified",
     "length": 8000,
     "domain": null
    },
    {
     "name": "artificial",
     "type": "esriFieldTypeString",
     "alias": "Artificial",
     "length": 8000,
     "domain": null
    },
    {
     "name": "genre",
     "type": "esriFieldTypeString",
     "alias": "Genre",
     "length": 8000,
     "domain": null
    },
    {
     "name": "hmawb_reason",
     "type": "esriFieldTypeString",
     "alias": "HMWB / AWB Reason",
     "length": 8000,
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeInteger",
     "alias": "Easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeInteger",
     "alias": "Northing",
     "domain": null
    },
    {
     "name": "reporting_latitude",
     "type": "esriFieldTypeDouble",
     "alias": "Reporting Latitude",
     "domain": null
    },
    {
     "name": "reporting_longitude",
     "type": "esriFieldTypeDouble",
     "alias": "Reporting Longitude",
     "domain": null
    },
    {
     "name": "catchment_id",
     "type": "esriFieldTypeInteger",
     "alias": "Catchment Id",
     "domain": null
    },
    {
     "name": "catchment",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "team",
     "type": "esriFieldTypeString",
     "alias": "Team",
     "length": 8000,
     "domain": null
    },
    {
     "name": "less_than_good",
     "type": "esriFieldTypeString",
     "alias": "Less Than Good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "classification_year",
     "type": "esriFieldTypeInteger",
     "alias": "Classification Year",
     "domain": null
    },
    {
     "name": "current_year",
     "type": "esriFieldTypeString",
     "alias": "Current Year",
     "length": 8000,
     "domain": null
    },
    {
     "name": "class_ds_url",
     "type": "esriFieldTypeString",
     "alias": "Class Ds Url",
     "length": 8000,
     "domain": null
    },
    {
     "name": "certainty",
     "type": "esriFieldTypeDouble",
     "alias": "Certainty",
     "domain": null
    },
    {
     "name": "certainty_band",
     "type": "esriFieldTypeString",
     "alias": "Certainty Band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "overall_classification",
     "type": "esriFieldTypeString",
     "alias": "Overall Classification",
     "length": 8000,
     "domain": null
    },
    {
     "name": "associated_groundwater_id",
     "type": "esriFieldTypeInteger",
     "alias": "Associated Groundwater Id",
     "domain": null
    },
    {
     "name": "associated_groundwater",
     "type": "esriFieldTypeString",
     "alias": "Associated Groundwater",
     "length": 8000,
     "domain": null
    },
    {
     "name": "wise_code",
     "type": "esriFieldTypeString",
     "alias": "Wise Code",
     "length": 8000,
     "domain": null
    },
    {
     "name": "eco_region",
     "type": "esriFieldTypeInteger",
     "alias": "Eco Region",
     "domain": null
    },
    {
     "name": "data_source",
     "type": "esriFieldTypeString",
     "alias": "Data Source",
     "length": 8000,
     "domain": null
    },
    {
     "name": "altitude_typology",
     "type": "esriFieldTypeString",
     "alias": "Altitude Typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "size_typology",
     "type": "esriFieldTypeString",
     "alias": "Size Typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "geology_typology",
     "type": "esriFieldTypeString",
     "alias": "Geology Typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "mean_depth_typology",
     "type": "esriFieldTypeString",
     "alias": "Mean Depth Typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "shape_Length",
     "domain": null
    },
    {
     "name": "shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "shape_Area",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "shape",
    "type": "esriFieldTypeGeometry",
    "alias": "shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_shape",
     "fields": "shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "shape_Area",
    "shapeLengthFieldName": "shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 4,
   "name": "River",
   "type": "Feature Layer",
   "description": "River waterbodies created for the Water Framework Directive (2000/60/EC) .  The dataset is made up of the following categories of features:1. River, also know as baseline river water bodies.  These represent rivers where the mouth has a catchment area greater than 10 km².  2. Canal.  Canal water bodies do not have associated catchment boundaries.  Small river water bodies and loch centrelines are excluded from this dataset as no classification information is available for these features.  The dataset includes the overall classification values from the most recent year, usually the previous year.  ",
   "geometryType": "esriGeometryPolyline",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.002,
    "mTolerance": 0.002,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 1000,
    "falseM": -100000,
    "mUnits": 1000
   },
   "copyrightText": "The river water bodies are derived from the Ordnance Survey Master Map Water Network Layer, for which SEPA has a derived data exemption to publish these features as open data.",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "overall_classification",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         0,
         112,
         255,
         255
        ],
        "width": 2
       },
       "value": "High",
       "label": "High status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "width": 2
       },
       "value": "Good",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         152,
         230,
         0,
         255
        ],
        "width": 2
       },
       "value": "Good ecological potential",
       "label": "Good status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "width": 2
       },
       "value": "Moderate",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         255,
         0,
         255
        ],
        "width": 2
       },
       "value": "Moderate ecological potential",
       "label": "Moderate status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "width": 2
       },
       "value": "Poor",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         230,
         152,
         0,
         255
        ],
        "width": 2
       },
       "value": "Poor ecological potential",
       "label": "Poor status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "width": 2
       },
       "value": "Bad",
       "label": "Bad status / potential"
      },
      {
       "symbol": {
        "type": "esriSLS",
        "style": "esriSLSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "width": 2
       },
       "value": "Bad ecological potential",
       "label": "Bad status / potential"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          101,
          42,
          255
         ],
         "toColor": [
          184,
          101,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          62,
          201,
          255
         ],
         "toColor": [
          88,
          62,
          201,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          58,
          201,
          58,
          255
         ],
         "toColor": [
          58,
          201,
          58,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          80,
          175,
          199,
          255
         ],
         "toColor": [
          80,
          175,
          199,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          43,
          106,
          255
         ],
         "toColor": [
          161,
          43,
          106,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          161,
          168,
          62,
          255
         ],
         "toColor": [
          161,
          168,
          62,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          50,
          94,
          161,
          255
         ],
         "toColor": [
          50,
          94,
          161,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          59,
          191,
          134,
          255
         ],
         "toColor": [
          59,
          191,
          134,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          191,
          55,
          191,
          255
         ],
         "toColor": [
          191,
          55,
          191,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          56,
          72,
          255
         ],
         "toColor": [
          194,
          56,
          72,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          106,
          61,
          153,
          255
         ],
         "toColor": [
          106,
          61,
          153,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          144,
          199,
          42,
          255
         ],
         "toColor": [
          144,
          199,
          42,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          158,
          55,
          255
         ],
         "toColor": [
          76,
          158,
          55,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 70864.69010000024,
    "ymin": 536512.8499999996,
    "xmax": 461019.9550000001,
    "ymax": 1214098.2654,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "water_body_name",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "category",
     "length": 20,
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "wb_id",
     "length": 48,
     "domain": null
    },
    {
     "name": "water_body_id",
     "type": "esriFieldTypeInteger",
     "alias": "water_body_id",
     "domain": null
    },
    {
     "name": "expiry_date",
     "type": "esriFieldTypeString",
     "alias": "expiry_date",
     "length": 8000,
     "domain": null
    },
    {
     "name": "water_body_name",
     "type": "esriFieldTypeString",
     "alias": "water_body_name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "length_km",
     "type": "esriFieldTypeDouble",
     "alias": "length_km",
     "domain": null
    },
    {
     "name": "rbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "rbd_code",
     "domain": null
    },
    {
     "name": "river_basin_district",
     "type": "esriFieldTypeString",
     "alias": "river_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "sbd_code",
     "type": "esriFieldTypeInteger",
     "alias": "sbd_code",
     "domain": null
    },
    {
     "name": "sub_basin_district",
     "type": "esriFieldTypeString",
     "alias": "sub_basin_district",
     "length": 8000,
     "domain": null
    },
    {
     "name": "heavily_modified",
     "type": "esriFieldTypeString",
     "alias": "heavily_modified",
     "length": 8000,
     "domain": null
    },
    {
     "name": "artificial",
     "type": "esriFieldTypeString",
     "alias": "artificial",
     "length": 8000,
     "domain": null
    },
    {
     "name": "genre",
     "type": "esriFieldTypeString",
     "alias": "genre",
     "length": 8000,
     "domain": null
    },
    {
     "name": "hmawb_reason",
     "type": "esriFieldTypeString",
     "alias": "hmawb_reason",
     "length": 8000,
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeInteger",
     "alias": "easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeInteger",
     "alias": "northing",
     "domain": null
    },
    {
     "name": "reporting_latitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_latitude",
     "domain": null
    },
    {
     "name": "reporting_longitude",
     "type": "esriFieldTypeDouble",
     "alias": "reporting_longitude",
     "domain": null
    },
    {
     "name": "catchment_id",
     "type": "esriFieldTypeInteger",
     "alias": "catchment_id",
     "domain": null
    },
    {
     "name": "catchment",
     "type": "esriFieldTypeString",
     "alias": "catchment",
     "length": 8000,
     "domain": null
    },
    {
     "name": "river_number",
     "type": "esriFieldTypeDouble",
     "alias": "river_number",
     "domain": null
    },
    {
     "name": "river_name",
     "type": "esriFieldTypeString",
     "alias": "river_name",
     "length": 8000,
     "domain": null
    },
    {
     "name": "team",
     "type": "esriFieldTypeString",
     "alias": "team",
     "length": 8000,
     "domain": null
    },
    {
     "name": "less_than_good",
     "type": "esriFieldTypeString",
     "alias": "less_than_good",
     "length": 8000,
     "domain": null
    },
    {
     "name": "classification_year",
     "type": "esriFieldTypeInteger",
     "alias": "classification_year",
     "domain": null
    },
    {
     "name": "current_year",
     "type": "esriFieldTypeString",
     "alias": "current_year",
     "length": 8000,
     "domain": null
    },
    {
     "name": "class_ds_url",
     "type": "esriFieldTypeString",
     "alias": "class_ds_url",
     "length": 8000,
     "domain": null
    },
    {
     "name": "certainty",
     "type": "esriFieldTypeDouble",
     "alias": "certainty",
     "domain": null
    },
    {
     "name": "certainty_band",
     "type": "esriFieldTypeString",
     "alias": "certainty_band",
     "length": 8000,
     "domain": null
    },
    {
     "name": "overall_classification",
     "type": "esriFieldTypeString",
     "alias": "overall_classification",
     "length": 8000,
     "domain": null
    },
    {
     "name": "associated_groundwater_id",
     "type": "esriFieldTypeInteger",
     "alias": "associated_groundwater_id",
     "domain": null
    },
    {
     "name": "associated_groundwater",
     "type": "esriFieldTypeString",
     "alias": "associated_groundwater",
     "length": 8000,
     "domain": null
    },
    {
     "name": "wise_code",
     "type": "esriFieldTypeString",
     "alias": "wise_code",
     "length": 8000,
     "domain": null
    },
    {
     "name": "eco_region",
     "type": "esriFieldTypeInteger",
     "alias": "eco_region",
     "domain": null
    },
    {
     "name": "data_source",
     "type": "esriFieldTypeString",
     "alias": "data_source",
     "length": 8000,
     "domain": null
    },
    {
     "name": "altitude_typology",
     "type": "esriFieldTypeString",
     "alias": "altitude_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "size_typology",
     "type": "esriFieldTypeString",
     "alias": "size_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "geology_typology",
     "type": "esriFieldTypeString",
     "alias": "geology_typology",
     "length": 8000,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "hasM": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeLengthFieldName": "shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 5,
   "name": "Obstacles to Fish Passage",
   "type": "Feature Layer",
   "description": "Natural and artificial obstacles to migratory fish, including salmonids, eels and lamprey in Scotland. There are also several obstacles recorded in the English part of the Tweed and other cross-border catchments.  This dataset is used to calculate the fish barrier classification status for all baseline river and loch water bodies as one of the parameters required for the Water Framework Directive (WFD) classification system.  ",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "Scottish Environment Protection Agency.  Marine Directorate.",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "ross_code",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "e5609f2de535c2eab295dd45a65d4ed0",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA7UlEQVQ4jd3UoUpEQRQG4G9w2SRuEZPJtiBotSoImy1isYjBoNhEBHFBUGGL1WD1DcRoMJqNPoFNsHkMV2GV5e7c3SuIfzwzfDMHzkzDL6Xxz+HQljzVC4c1HAuLkvd64NDEBeawiet6YHY/UegKN5K38eAwjaO+yiz2cDYezAlaP2oHwpXkZTQ4tLE9YKWl6GJ/NJheyZ4d4VLyXA0Oq+iUHNrEKTby4TChuO2wrAs9yWMezBbmM+CkmO+V4XCYQjcD/cqy0JHclsMcYqYCDOfCXf9T/w6HSSzgviIMS3gYDCevyichO3/kP66QD7yhLMKllNuTAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 16,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "1",
       "label": "Impassable barrier; natural"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ef157a3169cbd72a786166e21cdca97a",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABoElEQVRIid3VP0iVURgH4OfcRKI/JlFDUEtF0pqDn01GEBRYiGAa1NJYY1NESGvgWBBREER6g2qJCIqWss9ycrm1NQRBNFSQGHK/tyEITT/v9UpLv+28nPO8nMPhnDb/MG3/L95XtWmucCQlXRE6I/lcSaZ38vL+kHpLeHfVlvZwaa5wHusjftdTEMHH5FM24Upec8Ooomm8t2pvFB4H+8qaR9iB69l+R2fvODVzxo+GeG/VVoWn2F0GL+7i+MZ2d4UBSayIR92Y1CT8x3cim3A252YpfnDcnoLTq4EX5LJRtxae/yK8SAaFSov4rt4u2Wsml8UVuqUWaUgOKMNTxbaIJUuaTsH2heNFePCtdZoUvpbiqGFgDXitFK+ERwUXW7S/d3Z6UYpPDnubjXuOw6umk7Enx/wsxWFdxbl64Q06VkHPzG9w9e/iEvzVkPfZhEHhATY3Ab9rq+jP+802xCE/6Vk2rgfX0FeC1nF7vuJCPrT8LSt9cvNhNRzK7umR9KekS+gIvgjTeJiP+LDSlhp+FvmIKUw1mtcSvpb8U/wXop18QIWtdA8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "2",
       "label": "Passable barrier; natural"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ef157a3169cbd72a786166e21cdca97a",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABoElEQVRIid3VP0iVURgH4OfcRKI/JlFDUEtF0pqDn01GEBRYiGAa1NJYY1NESGvgWBBREER6g2qJCIqWss9ycrm1NQRBNFSQGHK/tyEITT/v9UpLv+28nPO8nMPhnDb/MG3/L95XtWmucCQlXRE6I/lcSaZ38vL+kHpLeHfVlvZwaa5wHusjftdTEMHH5FM24Upec8Ooomm8t2pvFB4H+8qaR9iB69l+R2fvODVzxo+GeG/VVoWn2F0GL+7i+MZ2d4UBSayIR92Y1CT8x3cim3A252YpfnDcnoLTq4EX5LJRtxae/yK8SAaFSov4rt4u2Wsml8UVuqUWaUgOKMNTxbaIJUuaTsH2heNFePCtdZoUvpbiqGFgDXitFK+ERwUXW7S/d3Z6UYpPDnubjXuOw6umk7Enx/wsxWFdxbl64Q06VkHPzG9w9e/iEvzVkPfZhEHhATY3Ab9rq+jP+802xCE/6Vk2rgfX0FeC1nF7vuJCPrT8LSt9cvNhNRzK7umR9KekS+gIvgjTeJiP+LDSlhp+FvmIKUw1mtcSvpb8U/wXop18QIWtdA8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "3",
       "label": "Passable barrier; natural"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "6ef4a87ad58416c8d4395b3c109ceac1",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABFElEQVQ4jd3UvSvFYRQH8M+Tl0ksMplsSrFaKWUUP6+DRQYD2STlUgp1F6vBSlcZZTQYbWL0F9iUiHsMKMR1L1fJdzqd5+nzLOc8tX4ptf8bjhHtac9FVeEYNqhoOXK6Uk6xKnBk6oVNtDkziZ2qwJJZoe25Xo3Mbiq4+REcY5rdW3rVasUc1n8Ee7CCpnfdhRiwnQ5cfQuOEe2Kpj84alJnCfPfghXlP70TZiKzlQouK4JjSB/6SzxbL6xhvGw4MjXIl0CfkoxGJp8KTsuChSlJx5cwCZvo/RKOCY3urJaBvqQnhvSnfYclYbcWJS0VwCQbkXP0etXfwJFpQCeOK4LhXDdOPoRTwbXSk1B2/sZ/XEkeAQmxRbdk6xocAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 16,
        "height": 15,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "4",
       "label": "Impassable barrier; man-made"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "0f1a16b5fdcb25b00012354dc448f00e",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABQ0lEQVRIid3VMUgbURgH8N+TDA5tLNIODi4qda+DjhWh4JCW4CY4ObZjJxEHV8FRQaSdXKuLQ0FxkUJbJ5fUrZtQHFSo4KDP4RI4Uu+SXHCof7jhjne/7+Pe47uSB0zp8eKRJ3iDUTzDHxzhMHBTCI/0YREf0HvPktPIMjYCt23jkRHs4mVOYwNYx3RkNvC3JR7px1cM5cDpvMVWpBqIrTpf7QBu5B3msZmJR4Yx1yHcyFLkU/r7N3c+g56C+CAm8C0LHysIN/IqD3/eJf4ifdOMX3SJn+fhNVS7wGt5+A4WCsKXOMjEAz8j+5gqgK8GrjPxet7jB8odwMdYaX74Dx44icl5/4KnbcC/UAlctcTrBfYi41jD6wz0Bp/xMWScssyRG5Kdn6wXqUjmeRlnknm+Hfid9X4uniryXXJ1nP/3H3oH/GA/VNucRSYAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "5",
       "label": "Passable barrier; man-made"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "0f1a16b5fdcb25b00012354dc448f00e",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABQ0lEQVRIid3VMUgbURgH8N+TDA5tLNIODi4qda+DjhWh4JCW4CY4ObZjJxEHV8FRQaSdXKuLQ0FxkUJbJ5fUrZtQHFSo4KDP4RI4Uu+SXHCof7jhjne/7+Pe47uSB0zp8eKRJ3iDUTzDHxzhMHBTCI/0YREf0HvPktPIMjYCt23jkRHs4mVOYwNYx3RkNvC3JR7px1cM5cDpvMVWpBqIrTpf7QBu5B3msZmJR4Yx1yHcyFLkU/r7N3c+g56C+CAm8C0LHysIN/IqD3/eJf4ifdOMX3SJn+fhNVS7wGt5+A4WCsKXOMjEAz8j+5gqgK8GrjPxet7jB8odwMdYaX74Dx44icl5/4KnbcC/UAlctcTrBfYi41jD6wz0Bp/xMWScssyRG5Kdn6wXqUjmeRlnknm+Hfid9X4uniryXXJ1nP/3H3oH/GA/VNucRSYAAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "6",
       "label": "Passable barrier; man-made"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "5cfe59bcbcaccd15cab82350d3c59550",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAUklEQVRIie3QURFAQBRA0bMzm0QNPbSgmgwSKCCKGQKwX48P5t0A5+NWL1Z/gh8mdAFvUcz3OAP6AI42/miJJ5544p/HV+wBb2vjxRiAL333+QkdmAeysXj+DgAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "7",
       "label": "Natural limit to migration"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "0c97bcd52306dd12e41323c010bc34f4",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABJElEQVRIid3VPyiEYRwH8E+6wcCRGAwWxM7ASEoZjmRTJiOjSTJY1Y2UxGTFYlBkkfJnshybTcmAogyH4b2r67p73PtKyrfe4Xne9/n86u3X70n5xaT+Nd6AUfSiGQ+4winySfEmLGEe9RXe32MFG/iIg3fjAD2B4u1Yxxim8VoL3oJDdAbg0oxjB5P4/A7PxoCLmcAsNkN4F2ZiwsUsY0vJ/y/Hp1CXEO/AIM6q4f0J4WL6QnjrD/G20kU5/vxD/CmE50QtlTS5EL6PxYTwC05C+CWOMZIAz+I9hMMcLpCOAV9jtXyzEn4r6vddNNYA3yCDt1pwOMIA1jBU5Zs8trGgSpeFRm4Ow4UiGdE8T+NRNM/3cBc4X9NlcV54YufPr7nE+QItVzJTfCPagQAAAABJRU5ErkJggg==",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "99",
       "label": "Barrier of unknown type"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "a2115e05390d4207db5ffc9e9f975aa3",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAn0lEQVRIiWNhoCFgGQGGr3i+goHxPw8DA+N+hnDJXuoazvjfg4GBgZ+B4f8HYrUMkmAZNZw2hq98tgWPWm4o7YBH3Q2GcKkS7IYzMHgT4SBpKMYEjAwiyFx0w2/iMVSVgYGBiYGB4RMDA8NzrCr+MT7AbXi4lAZOo1c++8DAwMDPwMCwmSFcKgaPI3AYTmUwaviINTxcSoB2hpMBaGo4AJe2GaeRT1u3AAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 17,
        "height": 17,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "100",
       "label": "Barrier removed"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          220,
          197,
          255
         ],
         "toColor": [
          252,
          220,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          182,
          252,
          255
         ],
         "toColor": [
          189,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          252,
          182,
          255
         ],
         "toColor": [
          194,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          248,
          252,
          255
         ],
         "toColor": [
          184,
          248,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          222,
          255
         ],
         "toColor": [
          252,
          179,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          251,
          252,
          182,
          255
         ],
         "toColor": [
          251,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          232,
          215,
          252,
          255
         ],
         "toColor": [
          232,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          179,
          252,
          255
         ],
         "toColor": [
          238,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          223,
          252,
          215,
          255
         ],
         "toColor": [
          223,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          223,
          252,
          255
         ],
         "toColor": [
          189,
          223,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          204,
          212,
          255
         ],
         "toColor": [
          252,
          204,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          227,
          255
         ],
         "toColor": [
          179,
          252,
          227,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          239,
          197,
          252,
          255
         ],
         "toColor": [
          239,
          197,
          252,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 66453.95930000022,
    "ymin": 540802.5736999996,
    "xmax": 452949.5119000003,
    "ymax": 1204336.0024999995,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "wb_name",
   "typeIdField": "ross_code",
   "subtypeFieldName": "ross_code",
   "subtypeField": "ross_code",
   "defaultSubtypeCode": 1,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "objectid",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "id",
     "type": "esriFieldTypeInteger",
     "alias": "ID",
     "domain": null
    },
    {
     "name": "organisation",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Organisation",
     "domain": {
      "type": "codedValue",
      "name": "WS2_ORGANISATION",
      "description": "Organisation supplying the information",
      "codedValues": [
       {
        "name": "Annan District Salmon Fishery Board",
        "code": 1
       },
       {
        "name": "Argyll Fisheries Trust",
        "code": 2
       },
       {
        "name": "Ayrshire Rivers Trust",
        "code": 3
       },
       {
        "name": "Bridge of Weir Angling Club ",
        "code": 4
       },
       {
        "name": "Clyde River Foundation",
        "code": 5
       },
       {
        "name": "Conon District Salmon Fishery Board",
        "code": 6
       },
       {
        "name": "Cromarty Firth District Salmon Fishery Board",
        "code": 7
       },
       {
        "name": "Cromarty Firth Fisheries Trust",
        "code": 8
       },
       {
        "name": "Dee (Kirkcudbright) District Salmon Fishery Board",
        "code": 9
       },
       {
        "name": "Deveron, Bogie and Isla Rivers Trust",
        "code": 10
       },
       {
        "name": "Environment Agency",
        "code": 11
       },
       {
        "name": "Findhorn, Nairn and Lossie Fisheries Trust",
        "code": 12
       },
       {
        "name": "Fisheries Research Services",
        "code": 13
       },
       {
        "name": "Forth District Salmon Fishery Board",
        "code": 14
       },
       {
        "name": "Galloway Fisheries Trust",
        "code": 15
       },
       {
        "name": "Green Highland Renewables",
        "code": 16
       },
       {
        "name": "Helmsdale District Salmon Fishery Board",
        "code": 17
       },
       {
        "name": "Kyle of Sutherland District Salmon Fishery Board",
        "code": 18
       },
       {
        "name": "Kyle of Sutherland Fisheries Trust",
        "code": 19
       },
       {
        "name": "Loch Lomond Fisheries Trust",
        "code": 20
       },
       {
        "name": "Lochaber Fisheries Trust",
        "code": 21
       },
       {
        "name": "Marine Scotland",
        "code": 22
       },
       {
        "name": "Ness and Beauly Fisheries Trust",
        "code": 23
       },
       {
        "name": "Nith Catchment Fishery Trust ",
        "code": 24
       },
       {
        "name": "Nith District Salmon Fishery Board",
        "code": 25
       },
       {
        "name": "Northern District Salmon Fishery Board",
        "code": 26
       },
       {
        "name": "Outer Hebrides Fisheries Trust",
        "code": 27
       },
       {
        "name": "RAFTS",
        "code": 28
       },
       {
        "name": "River Annan Trust",
        "code": 29
       },
       {
        "name": "River Carron Fisheries Management Group",
        "code": 30
       },
       {
        "name": "River Dee Trust",
        "code": 31
       },
       {
        "name": "River Don Trust",
        "code": 32
       },
       {
        "name": "River Forth Fisheries Trust",
        "code": 33
       },
       {
        "name": "River Naver Fishery",
        "code": 34
       },
       {
        "name": "River Ythan Trust",
        "code": 35
       },
       {
        "name": "Rivers and Lochs Institute, Inverness College",
        "code": 36
       },
       {
        "name": "Scottish and Southern Energy",
        "code": 37
       },
       {
        "name": "Scottish Water",
        "code": 38
       },
       {
        "name": "SEPA",
        "code": 39
       },
       {
        "name": "Skye Fisheries Trust",
        "code": 40
       },
       {
        "name": "Spey District Salmon Fishery Board",
        "code": 41
       },
       {
        "name": "Tay District Salmon Fishery Board",
        "code": 42
       },
       {
        "name": "Tay Foundation",
        "code": 43
       },
       {
        "name": "The Esks Rivers and Fisheries Trust",
        "code": 44
       },
       {
        "name": "Tweed Foundation",
        "code": 45
       },
       {
        "name": "Waterside Ecology/Jon Watt",
        "code": 46
       },
       {
        "name": "West Sutherland Fisheries Trust",
        "code": 47
       },
       {
        "name": "Wester Ross Fisheries Trust",
        "code": 48
       },
       {
        "name": "www.river-obstacles.org.uk",
        "code": 49
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "date_received",
     "type": "esriFieldTypeDate",
     "alias": "Date Received",
     "length": 8,
     "domain": null
    },
    {
     "name": "aag_area",
     "type": "esriFieldTypeString",
     "alias": "Area Advisory Group",
     "length": 30,
     "domain": null
    },
    {
     "name": "wb_id",
     "type": "esriFieldTypeString",
     "alias": "Water Body ID",
     "length": 10,
     "domain": null
    },
    {
     "name": "wb_name",
     "type": "esriFieldTypeString",
     "alias": "Water Body Name",
     "length": 100,
     "domain": null
    },
    {
     "name": "x_easting",
     "type": "esriFieldTypeDouble",
     "alias": "Easting",
     "domain": null
    },
    {
     "name": "y_northing",
     "type": "esriFieldTypeDouble",
     "alias": "Northing",
     "domain": null
    },
    {
     "name": "barrier_type",
     "type": "esriFieldTypeString",
     "alias": "Barrier Type",
     "length": 50,
     "domain": {
      "type": "codedValue",
      "name": "WS2_BARRIER_TYPE",
      "description": "Barrier type values",
      "codedValues": [
       {
        "name": "Natural limit to migration",
        "code": "Natural limit to migration"
       },
       {
        "name": "Unknown",
        "code": "Unknown"
       },
       {
        "name": "artificial cascade",
        "code": "artificial cascade"
       },
       {
        "name": "bedrock",
        "code": "bedrock"
       },
       {
        "name": "boulders",
        "code": "boulders"
       },
       {
        "name": "bridge apron",
        "code": "bridge apron"
       },
       {
        "name": "causeway",
        "code": "causeway"
       },
       {
        "name": "culvert",
        "code": "culvert"
       },
       {
        "name": "dam",
        "code": "dam"
       },
       {
        "name": "dry channel",
        "code": "dry channel"
       },
       {
        "name": "fallen tree",
        "code": "fallen tree"
       },
       {
        "name": "fish scarer",
        "code": "fish scarer"
       },
       {
        "name": "fish trap",
        "code": "fish trap"
       },
       {
        "name": "flume",
        "code": "flume"
       },
       {
        "name": "ford",
        "code": "ford"
       },
       {
        "name": "intake",
        "code": "intake"
       },
       {
        "name": "lock",
        "code": "lock"
       },
       {
        "name": "pipe bridge",
        "code": "pipe bridge"
       },
       {
        "name": "removed",
        "code": "removed"
       },
       {
        "name": "screen",
        "code": "screen"
       },
       {
        "name": "sluice",
        "code": "sluice"
       },
       {
        "name": "wall",
        "code": "wall"
       },
       {
        "name": "water gate",
        "code": "water gate"
       },
       {
        "name": "waterfall",
        "code": "waterfall"
       },
       {
        "name": "weir",
        "code": "weir"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "comment",
     "type": "esriFieldTypeString",
     "alias": "Comment",
     "length": 255,
     "domain": null
    },
    {
     "name": "excluded",
     "type": "esriFieldTypeString",
     "alias": "Excluded",
     "length": 100,
     "domain": {
      "type": "codedValue",
      "name": "WS2_Barrier exclusions",
      "description": "Label",
      "codedValues": [
       {
        "name": "Duplicate catchment of ID 148",
        "code": "Duplicate catchment of ID 148"
       },
       {
        "name": "Effective duplicate of 2560",
        "code": "Effective duplicate of 2560"
       },
       {
        "name": "Ignore - main stem (baseline) suitable habitat <=1.5km or <=15% + >25% + Total habitat <=1.5 km",
        "code": "Ignore-main,B_hab<=1.5km or <=15%+>25%+Tothab<=1.5"
       },
       {
        "name": "Ignore - main stem (baseline) suitable habitat <=1.5km + <=25%",
        "code": "Ignore - main stem B_hab <=1.5km + <=25%"
       },
       {
        "name": "Ignore - tributary, < 25%",
        "code": "Ignore - tributary, < 25%"
       },
       {
        "name": "Ignore - tributary, >25%, Suitable habitat < 1.5km",
        "code": "Ignore - tributary, >25%, Habitat < 1.5km"
       },
       {
        "name": "Impassable artificial barrier upstream of an impassable natural barrier",
        "code": "Imp artificial barrier u/s of imp natural barrier"
       },
       {
        "name": "Outwith baseline intercatchment",
        "code": "Outwith baseline intercatchment"
       },
       {
        "name": "Passable barrier",
        "code": "Passable barrier"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "ross_code",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Ross Code",
     "domain": {
      "type": "codedValue",
      "name": "WS2_Ross Code",
      "description": "Ross passability code",
      "codedValues": [
       {
        "name": "Impassable natural waterfall or other natural obstruction.",
        "code": 1
       },
       {
        "name": "Natural waterfall or other natural obstruction which is passable under certain conditions. No fish pass present.",
        "code": 2
       },
       {
        "name": "Natural waterfall or other natural obstruction which is passable under certain conditions. Fish pass present.",
        "code": 3
       },
       {
        "name": "Impassable weir, dam or other manmade structure.",
        "code": 4
       },
       {
        "name": "Weir, dam or other manmade structure which is passable under certain conditions. No fish pass present.",
        "code": 5
       },
       {
        "name": "Weir, dam or other manmade structure which is passable under certain conditions. Fish pass present.",
        "code": 6
       },
       {
        "name": "Natural limit to migration.",
        "code": 7
       },
       {
        "name": "Obstruction.  Type unknown.",
        "code": 9
       },
       {
        "name": "Barrier removed.",
        "code": 100
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "on_wb_id",
     "type": "esriFieldTypeInteger",
     "alias": "On Water Body ID",
     "domain": null
    },
    {
     "name": "barrier_permeability",
     "type": "esriFieldTypeString",
     "alias": "Barrier Permeability",
     "length": 150,
     "domain": {
      "type": "codedValue",
      "name": "WS2_BARRIER_PERMEABILITY",
      "description": "Barrier permeability values",
      "codedValues": [
       {
        "name": "Impassable natural waterfall or other natural obstruction.",
        "code": "1"
       },
       {
        "name": "Barrier removed.",
        "code": "100"
       },
       {
        "name": "Natural waterfall or other natural obstruction which is passable under certain conditions. No fish pass present.",
        "code": "2"
       },
       {
        "name": "Natural waterfall or other natural obstruction which is passable under certain conditions. Fish pass present.",
        "code": "3"
       },
       {
        "name": "Impassable weir, dam or other manmade structure.",
        "code": "4"
       },
       {
        "name": "Weir, dam or other manmade structure which is passable under certain conditions. No fish pass present.",
        "code": "5"
       },
       {
        "name": "Weir, dam or other manmade structure which is passable under certain conditions. Fish pass present.",
        "code": "6"
       },
       {
        "name": "Natural limit to migration",
        "code": "7"
       },
       {
        "name": "Obstruction.  Type unknown.",
        "code": "9"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "authorisation_reference",
     "type": "esriFieldTypeString",
     "alias": "Authorisation Reference",
     "length": 50,
     "domain": null
    },
    {
     "name": "downstream_passability",
     "type": "esriFieldTypeString",
     "alias": "Downstream Passability",
     "length": 50,
     "domain": {
      "type": "codedValue",
      "name": "WS2_Downstream Passability",
      "description": "Values representing the passability of an obstacle when moving downstream",
      "codedValues": [
       {
        "name": "Downstream migration is impossible",
        "code": "Impassable"
       },
       {
        "name": "Partial downstream migration possible",
        "code": "Partial"
       },
       {
        "name": "No obstacle to downstream migration",
        "code": "Passable"
       },
       {
        "name": "No downstream passability information available",
        "code": "Unknown"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "ds_passability_comment",
     "type": "esriFieldTypeString",
     "alias": "Downstream Passability Comment",
     "length": 255,
     "domain": null
    },
    {
     "name": "category",
     "type": "esriFieldTypeString",
     "alias": "Restoration Category",
     "length": 50,
     "domain": null
    },
    {
     "name": "habitat_length_upstream",
     "type": "esriFieldTypeDouble",
     "alias": "Immediate Habitat Upstream (km)",
     "domain": null
    },
    {
     "name": "habitat_assessment_date",
     "type": "esriFieldTypeDate",
     "alias": "Habitat Assessment Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "globalid",
     "type": "esriFieldTypeGlobalID",
     "alias": "GlobalID",
     "length": 38,
     "domain": null
    },
    {
     "name": "num_barriers_downstream",
     "type": "esriFieldTypeInteger",
     "alias": "Barriers Downstream (count)",
     "domain": null
    },
    {
     "name": "dsfb_name",
     "type": "esriFieldTypeString",
     "alias": "District Salmon Fishery Board Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "fisherytrustname",
     "type": "esriFieldTypeString",
     "alias": "Fishery Trust Name",
     "length": 50,
     "domain": null
    },
    {
     "name": "total_habitat_upstream_km",
     "type": "esriFieldTypeDouble",
     "alias": "Total Habitat Upstream (km)",
     "domain": null
    },
    {
     "name": "num_barriers_upstream",
     "type": "esriFieldTypeInteger",
     "alias": "Barriers Upstream (count)",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "FDO_globalid",
     "fields": "globalid",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "types": [
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 1,
     "name": "Impassable natural waterfall"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 2,
     "name": "Passable natural waterfall - no fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 3,
     "name": "Passable natural waterfall - fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 4,
     "name": "Impassable artificial barrier"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 5,
     "name": "Passable artificial barrier - no fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 6,
     "name": "Passable artificial barrier - fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 7,
     "name": "Natural limit to migration"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 100,
     "name": "Barrier removed"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "id": 9,
     "name": "Obstruction - type unknown"
    }
   ],
   "subtypes": [
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "waterfall",
      "comment": null,
      "excluded": null,
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "1",
      "authorisation_reference": "Not applicable",
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Natural",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 1,
     "name": "Impassable natural waterfall"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "waterfall",
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "2",
      "authorisation_reference": "Not applicable",
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Natural",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 2,
     "name": "Passable natural waterfall - no fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "waterfall",
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "3",
      "authorisation_reference": "Not applicable",
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Natural",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 3,
     "name": "Passable natural waterfall - fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": null,
      "comment": null,
      "excluded": null,
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "4",
      "authorisation_reference": null,
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Not assessed",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 4,
     "name": "Impassable artificial barrier"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": null,
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "5",
      "authorisation_reference": null,
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Not assessed",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 5,
     "name": "Passable artificial barrier - no fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": null,
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "6",
      "authorisation_reference": null,
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Not assessed",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 6,
     "name": "Passable artificial barrier - fish pass"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "Natural limit to migration",
      "comment": null,
      "excluded": null,
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "7",
      "authorisation_reference": "Not applicable",
      "downstream_passability": "Passable",
      "ds_passability_comment": null,
      "category": "Natural",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 7,
     "name": "Natural limit to migration"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": 39,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "removed",
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "100",
      "authorisation_reference": null,
      "downstream_passability": "Passable",
      "ds_passability_comment": null,
      "category": "Not assessed",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 100,
     "name": "Barrier removed"
    },
    {
     "domains": {
      "organisation": {"type": "inherited"},
      "barrier_type": {"type": "inherited"},
      "excluded": {"type": "inherited"},
      "barrier_permeability": {"type": "inherited"},
      "downstream_passability": {"type": "inherited"},
      "category": {
       "type": "codedValue",
       "name": "WS2_Restoration Category",
       "description": "Restoration Category",
       "codedValues": [
        {
         "name": "Active",
         "code": "Active"
        },
        {
         "name": "Historic",
         "code": "Historic"
        },
        {
         "name": "Asset",
         "code": "Asset"
        },
        {
         "name": "Natural",
         "code": "Natural"
        },
        {
         "name": "Not assessed",
         "code": "Not assessed"
        }
       ],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      }
     },
     "defaultValues": {
      "id": null,
      "organisation": null,
      "date_received": null,
      "aag_area": null,
      "wb_id": null,
      "wb_name": null,
      "x_easting": null,
      "y_northing": null,
      "barrier_type": "Unknown",
      "comment": null,
      "excluded": "Passable barrier",
      "ross_code": null,
      "on_wb_id": 0,
      "barrier_permeability": "9",
      "authorisation_reference": "Not applicable",
      "downstream_passability": "Unknown",
      "ds_passability_comment": null,
      "category": "Not assessed",
      "habitat_length_upstream": null,
      "habitat_assessment_date": null,
      "globalid": null,
      "num_barriers_downstream": null,
      "dsfb_name": null,
      "fisherytrustname": null,
      "total_habitat_upstream_km": null,
      "num_barriers_upstream": null
     },
     "code": 9,
     "name": "Obstruction - type unknown"
    }
   ],
   "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": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 6,
   "name": "WFD River Basin Districts",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        68,
        101,
        137,
        255
       ],
       "width": 1.5
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": -302040.3164999997,
    "ymin": 495490,
    "xmax": 476537.00490000006,
    "ymax": 1225872.9404000007,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "RBD_CODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "RBD_CODE",
     "type": "esriFieldTypeString",
     "alias": "RBD_CODE",
     "length": 10,
     "domain": null
    },
    {
     "name": "WISE_CODE",
     "type": "esriFieldTypeString",
     "alias": "WISE_CODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    },
    {
     "name": "RB_DIST",
     "type": "esriFieldTypeString",
     "alias": "River Basin District Name",
     "length": 240,
     "domain": null
    },
    {
     "name": "AREA_SQ_KM",
     "type": "esriFieldTypeDouble",
     "alias": "Area (km²)",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 7,
   "name": "WFD Sub Units",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        104,
        104,
        104,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": -302040.3164999997,
    "ymin": 495490,
    "xmax": 475777.7806000002,
    "ymax": 1225872.9404000007,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SBD_CODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SBD_CODE",
     "type": "esriFieldTypeString",
     "alias": "SBD_CODE",
     "length": 10,
     "domain": null
    },
    {
     "name": "RBD_CODE",
     "type": "esriFieldTypeString",
     "alias": "RBD_CODE",
     "length": 10,
     "domain": null
    },
    {
     "name": "WISE_CODE",
     "type": "esriFieldTypeString",
     "alias": "WISE_CODE",
     "length": 20,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    },
    {
     "name": "SB_DIST",
     "type": "esriFieldTypeString",
     "alias": "Sub Basin District Name",
     "length": 240,
     "domain": null
    },
    {
     "name": "RB_DIST",
     "type": "esriFieldTypeString",
     "alias": "River Basin District Name",
     "length": 100,
     "domain": null
    },
    {
     "name": "AREA_SQ_KM",
     "type": "esriFieldTypeDouble",
     "alias": "Area (km²)",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "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},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 8,
   "name": "Baseline water body intercatchments",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        197,
        255,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 70825.000019961,
    "ymin": 535625.000068393,
    "xmax": 463325.00001414,
    "ymax": 1215774.99969738,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WATER_BODY_ID",
     "type": "esriFieldTypeString",
     "alias": "Waterbody id",
     "length": 48,
     "domain": null
    },
    {
     "name": "CATEGORY",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 36,
     "domain": null
    },
    {
     "name": "WATER_BODY_NAME",
     "type": "esriFieldTypeString",
     "alias": "Waterbody name",
     "length": 240,
     "domain": null
    },
    {
     "name": "RIVER_BASIN_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "RB District",
     "length": 720,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Area m2",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R77_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__79578_7_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 9,
   "name": "River and loch waterbody nested catchments",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        230,
        230,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 66075,
    "ymin": 534109.111,
    "xmax": 469235.1906,
    "ymax": 1215774.9999,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "WATER_BODY_NAME",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "WATER_BODY_ID",
     "type": "esriFieldTypeString",
     "alias": "Waterbody id",
     "length": 48,
     "domain": null
    },
    {
     "name": "CATEGORY",
     "type": "esriFieldTypeString",
     "alias": "Category",
     "length": 36,
     "domain": null
    },
    {
     "name": "WATER_BODY_NAME",
     "type": "esriFieldTypeString",
     "alias": "Waterbody name",
     "length": 240,
     "domain": null
    },
    {
     "name": "RIVER_BASIN_DISTRICT",
     "type": "esriFieldTypeString",
     "alias": "RB District",
     "length": 720,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Area m2",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R78_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__79585_7_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 10,
   "name": "Baseline Confluence Inter Catchments ",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        112,
        255,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 7414.00134175271,
    "ymin": 530222.999892836,
    "xmax": 469465.000044071,
    "ymax": 1218629.99957397,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DESCRIPTION",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CONFLUENCE_ID",
     "type": "esriFieldTypeInteger",
     "alias": "Confl. id",
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 240,
     "domain": null
    },
    {
     "name": "NATIONAL_GRID_REFERENCE",
     "type": "esriFieldTypeString",
     "alias": "NGR",
     "length": 36,
     "domain": null
    },
    {
     "name": "HYDRO_CODE",
     "type": "esriFieldTypeString",
     "alias": "Hydro code",
     "length": 60,
     "domain": null
    },
    {
     "name": "CATCHMENT_ID",
     "type": "esriFieldTypeInteger",
     "alias": "Catch. id",
     "domain": null
    },
    {
     "name": "RIVER_NUMBER",
     "type": "esriFieldTypeSingle",
     "alias": "River no.",
     "domain": null
    },
    {
     "name": "HYDRO_DISTANCE",
     "type": "esriFieldTypeSingle",
     "alias": "Hydro Dist.",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Area m2",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R32_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__78840_10_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 11,
   "name": "Baseline Confluences Nested Catchments",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        130,
        130,
        130,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 7414.0014231531,
    "ymin": 530222.999739537,
    "xmax": 469465.000125472,
    "ymax": 1218630.00044467,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "DESCRIPTION",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CONFLUENCE_ID",
     "type": "esriFieldTypeInteger",
     "alias": "Confl. id",
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 240,
     "domain": null
    },
    {
     "name": "NATIONAL_GRID_REFERENCE",
     "type": "esriFieldTypeString",
     "alias": "NGR",
     "length": 36,
     "domain": null
    },
    {
     "name": "HYDRO_CODE",
     "type": "esriFieldTypeString",
     "alias": "Hydro code",
     "length": 60,
     "domain": null
    },
    {
     "name": "CATCHMENT_ID",
     "type": "esriFieldTypeInteger",
     "alias": "Catch. id",
     "domain": null
    },
    {
     "name": "RIVER_NUMBER",
     "type": "esriFieldTypeSingle",
     "alias": "River no.",
     "domain": null
    },
    {
     "name": "HYDRO_DISTANCE",
     "type": "esriFieldTypeSingle",
     "alias": "Hydro Dist.",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Area m2",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R33_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__78845_10_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 12,
   "name": "Main river and coastal catchments ",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        115,
        0,
        76,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 5.14407642185688E-4,
    "ymin": 495150.000797972,
    "xmax": 499999.99995607,
    "ymax": 1300000.00039555,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CATCHMENT",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CATCHMENT_ID",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Catch. id",
     "domain": null
    },
    {
     "name": "CATCHMENT",
     "type": "esriFieldTypeString",
     "alias": "Catchment",
     "length": 90,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "Area",
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "Perimeter",
     "domain": null
    },
    {
     "name": "AREA_KM2",
     "type": "esriFieldTypeDouble",
     "alias": "Area km",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R35_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__82288_7_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 13,
   "name": "Bathing water catchments",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 20000000,
   "maxScale": 1,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       197,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 163274.9998,
    "ymin": 544775.0001,
    "xmax": 412574.9998,
    "ymax": 973375,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BW_ID",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "BW_ID",
     "type": "esriFieldTypeString",
     "alias": "BW_ID",
     "length": 45,
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "length": 762,
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE_POLYGON",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_POLYGON.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE_POLYGON.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE_POLYGON",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE_POLYGON"
   },
   "indexes": [
    {
     "name": "R34_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "SHAPE__82274_5_SIDX",
     "fields": "SHAPE_POLYGON",
     "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},
   "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": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_POLYGON.AREA",
    "shapeLengthFieldName": "SHAPE_POLYGON.LEN",
    "units": "esriMeters"
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 14,
   "name": "WEF Projects",
   "type": "Feature Layer",
   "description": "Background to the Water Environment FundThe Water Environment Fund is made available by Scottish Government and administered by SEPA to fund projects to help restore the river environment across Scotland by improving the physical condition of rivers and easing barriers to fish migration. SEPA works in partnership with local authorities, land and structure owners, fishery trusts, conservation bodies and other partners to deliver an annual programme of projects. WEF physical condition projects repair damaged urban rivers, targeting socially deprived urban areas. They bring environmental benefits including restoration of natural form and processes and enhancement of biodiversity and habitats, and also benefit the communities that live there, by creating accessible green river corridors, improving wellbeing, helping rivers contain flood waters and improving climate resilience.WEF fish barrier easement projects increase the amount of habitat accessible to Scotland\u2019s native migratory fish by removing and easing historical barriers to migration such as redundant weirs. This helps to protect and improve endangered fish populations, restore the natural environment and create new opportunities for angling, tourism and recreation. Details regarding the layer and caveatsThe layer identifies by a point, locations of future, current and complete physical condition and fish barrier easement projects.\u2022 The \u2018future opportunities\u2019 given here are early-stage potential opportunities identified for fish barrier easement and physical condition projects, which will be subject to further work to determine their feasibility and therefore are not all certain to progress to project delivery.\u2022 Physical condition projects are identified using a single grid reference however by their nature apply to a river reach (or reaches).\u2022 Data is a snapshot as of December 2022 and subject to future updates.\u2022 Due to the impacts of the cyber attack on SEPA systems our records may be incomplete and / or contain errors which we will endeavour to resolve.",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 27700,
    "latestWkid": 27700,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5220400,
    "falseY": -15524400,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "© Scottish Environment Protection Agency",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "project_type",
     "field2": "status",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSSquare",
        "color": [
         230,
         0,
         0,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "1,Current",
       "label": "Fish barrier,Current"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSSquare",
        "color": [
         115,
         178,
         255,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "1,Complete",
       "label": "Fish barrier,Complete"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSSquare",
        "color": [
         112,
         168,
         0,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 1
        }
       },
       "value": "1,Future opportunity",
       "label": "Fish barrier,Future opportunity"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         230,
         0,
         0,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.6
        }
       },
       "value": "2,Current",
       "label": "Physical condition,Current"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         115,
         178,
         255,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.6
        }
       },
       "value": "2,Complete",
       "label": "Physical condition,Complete"
      },
      {
       "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [
         112,
         168,
         0,
         255
        ],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [
          0,
          0,
          0,
          255
         ],
         "width": 0.6
        }
       },
       "value": "2,Future opportunity",
       "label": "Physical condition,Future opportunity"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          220,
          197,
          255
         ],
         "toColor": [
          252,
          220,
          197,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          182,
          252,
          255
         ],
         "toColor": [
          189,
          182,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          252,
          182,
          255
         ],
         "toColor": [
          194,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          248,
          252,
          255
         ],
         "toColor": [
          184,
          248,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          222,
          255
         ],
         "toColor": [
          252,
          179,
          222,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          251,
          252,
          182,
          255
         ],
         "toColor": [
          251,
          252,
          182,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          232,
          215,
          252,
          255
         ],
         "toColor": [
          232,
          215,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          179,
          252,
          255
         ],
         "toColor": [
          238,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          223,
          252,
          215,
          255
         ],
         "toColor": [
          223,
          252,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          189,
          223,
          252,
          255
         ],
         "toColor": [
          189,
          223,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          204,
          212,
          255
         ],
         "toColor": [
          252,
          204,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          179,
          252,
          227,
          255
         ],
         "toColor": [
          179,
          252,
          227,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          239,
          197,
          252,
          255
         ],
         "toColor": [
          239,
          197,
          252,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 113689,
    "ymin": 555103,
    "xmax": 403350,
    "ymax": 923162,
    "spatialReference": {
     "wkid": 27700,
     "latestWkid": 27700,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5220400,
     "falseY": -15524400,
     "xyUnits": 4.5048159276709664E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "project_name",
   "typeIdField": "project_type",
   "subtypeFieldName": "project_type",
   "subtypeField": "project_type",
   "defaultSubtypeCode": 1,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "project_name",
     "type": "esriFieldTypeString",
     "alias": "Project name",
     "length": 200,
     "domain": null
    },
    {
     "name": "project_type",
     "type": "esriFieldTypeInteger",
     "alias": "Project type",
     "domain": {
      "type": "codedValue",
      "name": "WS5_WEF_project_type",
      "description": "WEF project project type. On integer field to allow subtypes",
      "codedValues": [
       {
        "name": "Fish barrier",
        "code": 1
       },
       {
        "name": "Physical condition",
        "code": 2
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "status",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 50,
     "domain": {
      "type": "codedValue",
      "name": "WS5_WEF_Status",
      "description": "WEF projects Status",
      "codedValues": [
       {
        "name": "Complete",
        "code": "Complete"
       },
       {
        "name": "Current",
        "code": "Current"
       },
       {
        "name": "Future opportunity",
        "code": "Future opportunity"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "lead_organisation",
     "type": "esriFieldTypeString",
     "alias": "Lead organisation",
     "length": 150,
     "domain": null
    },
    {
     "name": "waterbody_id",
     "type": "esriFieldTypeInteger",
     "alias": "WaterBody ID",
     "domain": null
    },
    {
     "name": "waterbody_name",
     "type": "esriFieldTypeString",
     "alias": "WaterBody_name",
     "length": 150,
     "domain": null
    },
    {
     "name": "fishbarrier_id",
     "type": "esriFieldTypeInteger",
     "alias": "Fish Barrier ID",
     "domain": null
    },
    {
     "name": "easting",
     "type": "esriFieldTypeDouble",
     "alias": "Easting",
     "domain": null
    },
    {
     "name": "northing",
     "type": "esriFieldTypeDouble",
     "alias": "Northing",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "types": [
    {
     "domains": {
      "status": {"type": "inherited"}
     },
     "id": 1,
     "name": "Fish barrier"
    },
    {
     "domains": {
      "status": {"type": "inherited"}
     },
     "id": 2,
     "name": "Physical condition"
    }
   ],
   "subtypes": [
    {
     "domains": {
      "status": {"type": "inherited"}
     },
     "defaultValues": {
      "project_name": null,
      "project_type": null,
      "status": null,
      "lead_organisation": null,
      "waterbody_id": null,
      "waterbody_name": null,
      "fishbarrier_id": null,
      "easting": null,
      "northing": null
     },
     "code": 1,
     "name": "Fish barrier"
    },
    {
     "domains": {
      "status": {"type": "inherited"}
     },
     "defaultValues": {
      "project_name": null,
      "project_type": null,
      "status": null,
      "lead_organisation": null,
      "waterbody_id": null,
      "waterbody_name": null,
      "fishbarrier_id": null,
      "easting": null,
      "northing": null
     },
     "code": 2,
     "name": "Physical condition"
    }
   ],
   "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": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "f5ff5ffd387546d4860b9bf8acfebc93"
  }
 ],
 "tables": []
}