{
 "currentVersion": 10.91,
 "cimVersion": "2.9.0",
 "id": 12,
 "name": "Shellfish Water Protected Areas",
 "type": "Feature Layer",
 "description": "Shellfish Water Protected Areas came into force on 22/12/13 comprising 85 areas defined by The Water Environment (Shellfish Water Protected Areas - Designation) (Scotland) Order 2013 (http://www.legislation.gov.uk/ssi/2013/324/pdfs/ssi_20130324_en.pdf).  Loch Ryan was designated separately and came into force on 4/10/16 through The Water Environment (Shellfish Water Protected Areas: Designation) (Scotland) Order 2016 (http://www.legislation.gov.uk/ssi/2016/251/pdfs/ssi_20160251_en.pdf).  For more information and maps of the individual designations please see the Scottish Government web pages: http://www.gov.scot/Topics/Environment/Water/15561/ShellfishWaters.",
 "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 (year).",
 "parentLayer": {
  "id": 10,
  "name": "Shellfish Water Protected Areas (SWPA)"
 },
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSFS",
    "style": "esriSFSBackwardDiagonal",
    "color": [
     0,
     132,
     168,
     255
    ],
    "outline": {
     "type": "esriSLS",
     "style": "esriSLSSolid",
     "color": [
      0,
      132,
      168,
      255
     ],
     "width": 3
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 71181.17789999954,
  "ymin": 560918.8000000007,
  "xmax": 465464.3476,
  "ymax": 1209198.0003999993,
  "spatialReference": {
   "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
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "site",
 "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": "id",
   "type": "esriFieldTypeInteger",
   "alias": "ID",
   "domain": null
  },
  {
   "name": "site",
   "type": "esriFieldTypeString",
   "alias": "Site Name",
   "length": 50,
   "domain": null
  },
  {
   "name": "designated",
   "type": "esriFieldTypeDate",
   "alias": "Date Designated",
   "length": 8,
   "domain": null
  },
  {
   "name": "sensitive",
   "type": "esriFieldTypeString",
   "alias": "UWWTD Sensitive Area",
   "length": 10,
   "domain": null
  },
  {
   "name": "easting",
   "type": "esriFieldTypeDouble",
   "alias": "Easting",
   "domain": null
  },
  {
   "name": "northing",
   "type": "esriFieldTypeDouble",
   "alias": "Northing",
   "domain": null
  },
  {
   "name": "pa_id",
   "type": "esriFieldTypeString",
   "alias": "Protected Area ID",
   "length": 12,
   "domain": null
  },
  {
   "name": "rbd",
   "type": "esriFieldTypeSmallInteger",
   "alias": "River Basin District Code",
   "domain": null
  },
  {
   "name": "area_km2",
   "type": "esriFieldTypeDouble",
   "alias": "Area km2",
   "domain": null
  },
  {
   "name": "lat",
   "type": "esriFieldTypeDouble",
   "alias": "Latitude",
   "domain": null
  },
  {
   "name": "lon",
   "type": "esriFieldTypeDouble",
   "alias": "Longitude",
   "domain": null
  },
  {
   "name": "more_info",
   "type": "esriFieldTypeString",
   "alias": "URL",
   "length": 100,
   "domain": null
  },
  {
   "name": "eur_code",
   "type": "esriFieldTypeString",
   "alias": "EUR Code",
   "length": 20,
   "domain": null
  },
  {
   "name": "sa_designation",
   "type": "esriFieldTypeDate",
   "alias": "Sensitive Area Designation Date",
   "length": 8,
   "domain": null
  },
  {
   "name": "shellfish_expiry_date",
   "type": "esriFieldTypeDate",
   "alias": "Shellfish Water Expiry Date",
   "length": 8,
   "domain": null
  },
  {
   "name": "sa_expiry_date",
   "type": "esriFieldTypeDate",
   "alias": "Sensitive Area Expiry Date",
   "length": 8,
   "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": "6ccdb96bbec54b65984d09da954f348e"
}