{
 "layers": [
  {
   "currentVersion": 10.41,
   "id": 3,
   "name": "River",
   "type": "Group Layer",
   "description": "Network of bodies of water including river basin catchments and districts. © Environmental Protection Agency",
   "geometryType": null,
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": null,
   "subLayers": [
    {
     "id": 8,
     "name": "River Network"
    },
    {
     "id": 9,
     "name": "Lake"
    },
    {
     "id": 4,
     "name": "River SubCatchment"
    },
    {
     "id": 5,
     "name": "River Catchment"
    },
    {
     "id": 6,
     "name": "River Basin District"
    },
    {
     "id": 7,
     "name": "Water Hydrometric Area"
    }
   ],
   "minScale": 0,
   "maxScale": 0,
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.714978750999933,
    "ymin": 51.371411256000044,
    "xmax": -5.376094886999965,
    "ymax": 55.40115909900004,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "",
   "typeIdField": null,
   "fields": null,
   "indexes": [],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query",
   "supportsStatistics": false,
   "supportsAdvancedQueries": false,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": false,
    "supportsOrderBy": false,
    "supportsDistinct": false,
    "supportsPagination": false,
    "supportsTrueCurve": false,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  },
  {
   "currentVersion": 10.41,
   "id": 8,
   "name": "River Network",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/c4043e19-38ec-4120-a588-8cd01ac94a9c<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nNational rivers dataset is a route feature class rather than a simple polyline. The geometry is generated by merging the river lines of individual geometric network datasets.\n",
   "geometryType": "esriGeometryPolyline",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       51,
       204,
       255,
       255
      ],
      "width": 1
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.467824451999945,
    "ymin": 51.44992977700008,
    "xmax": -6.004652398999951,
    "ymax": 55.38018113700008,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "geographicalName",
   "typeIdField": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "beginLifespanVersion",
     "type": "esriFieldTypeString",
     "alias": "beginLifespanVersion",
     "length": 255,
     "domain": null
    },
    {
     "name": "endLifespanVersion",
     "type": "esriFieldTypeString",
     "alias": "endLifespanVersion",
     "length": 255,
     "domain": null
    },
    {
     "name": "localId",
     "type": "esriFieldTypeString",
     "alias": "localId",
     "length": 255,
     "domain": null
    },
    {
     "name": "inspireId",
     "type": "esriFieldTypeString",
     "alias": "inspireId",
     "length": 255,
     "domain": null
    },
    {
     "name": "inspireTheme",
     "type": "esriFieldTypeString",
     "alias": "inspireTheme",
     "length": 255,
     "domain": null
    },
    {
     "name": "version",
     "type": "esriFieldTypeDouble",
     "alias": "version",
     "domain": null
    },
    {
     "name": "description",
     "type": "esriFieldTypeString",
     "alias": "description",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalName",
     "type": "esriFieldTypeString",
     "alias": "geographicalName",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameLanguage",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameLanguage",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameStatus",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameStatus",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameSourceOfName",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameSourceOfName",
     "length": 255,
     "domain": null
    },
    {
     "name": "epaCode",
     "type": "esriFieldTypeString",
     "alias": "epaCode",
     "length": 255,
     "domain": null
    },
    {
     "name": "order_",
     "type": "esriFieldTypeDouble",
     "alias": "order",
     "domain": null
    },
    {
     "name": "continua",
     "type": "esriFieldTypeString",
     "alias": "continua",
     "length": 255,
     "domain": null
    },
    {
     "name": "RWB_CD",
     "type": "esriFieldTypeString",
     "alias": "RWB_CD",
     "length": 255,
     "domain": null
    },
    {
     "name": "LWB_CD",
     "type": "esriFieldTypeString",
     "alias": "LWB_CD",
     "length": 255,
     "domain": null
    },
    {
     "name": "TWB_CD",
     "type": "esriFieldTypeString",
     "alias": "TWB_CD",
     "length": 255,
     "domain": null
    },
    {
     "name": "length",
     "type": "esriFieldTypeDouble",
     "alias": "length",
     "domain": null
    },
    {
     "name": "scale",
     "type": "esriFieldTypeString",
     "alias": "scale",
     "length": 255,
     "domain": null
    },
    {
     "name": "coordinateReferenceSystem",
     "type": "esriFieldTypeString",
     "alias": "coordinateReferenceSystem",
     "length": 255,
     "domain": null
    },
    {
     "name": "styleLayerDescription",
     "type": "esriFieldTypeString",
     "alias": "styleLayerDescription",
     "length": 255,
     "domain": null
    },
    {
     "name": "licence",
     "type": "esriFieldTypeString",
     "alias": "licence",
     "length": 255,
     "domain": null
    },
    {
     "name": "dataProvenance",
     "type": "esriFieldTypeString",
     "alias": "dataProvenance",
     "length": 255,
     "domain": null
    },
    {
     "name": "dataAccessUrl",
     "type": "esriFieldTypeString",
     "alias": "dataAccessUrl",
     "length": 255,
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "hasM": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  },
  {
   "currentVersion": 10.41,
   "id": 9,
   "name": "Lake",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/c4040e19-38ec-4120-a588-8cd01ac94a9c<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nLake segment polygons in the Republic of Ireland",
   "geometryType": "esriGeometryPolygon",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       204,
       255,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSNull",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.425558763999959,
    "ymin": 51.45278330800005,
    "xmax": -6.048604594999972,
    "ymax": 55.353181394000046,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "datasetName",
   "typeIdField": null,
   "fields": [
    {
     "name": "OBJECTID_12",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_12",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "beginLifespanVersion",
     "type": "esriFieldTypeString",
     "alias": "beginLifespanVersion",
     "length": 255,
     "domain": null
    },
    {
     "name": "endLifespanVersion",
     "type": "esriFieldTypeString",
     "alias": "endLifespanVersion",
     "length": 255,
     "domain": null
    },
    {
     "name": "datasetName",
     "type": "esriFieldTypeString",
     "alias": "datasetName",
     "length": 255,
     "domain": null
    },
    {
     "name": "localId",
     "type": "esriFieldTypeString",
     "alias": "localId",
     "length": 255,
     "domain": null
    },
    {
     "name": "inspireId",
     "type": "esriFieldTypeString",
     "alias": "inspireId",
     "length": 255,
     "domain": null
    },
    {
     "name": "inspireTheme",
     "type": "esriFieldTypeString",
     "alias": "inspireTheme",
     "length": 255,
     "domain": null
    },
    {
     "name": "version",
     "type": "esriFieldTypeDouble",
     "alias": "version",
     "domain": null
    },
    {
     "name": "description",
     "type": "esriFieldTypeString",
     "alias": "description",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalName",
     "type": "esriFieldTypeString",
     "alias": "geographicalName",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameLanguage",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameLanguage",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameStatus",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameStatus",
     "length": 255,
     "domain": null
    },
    {
     "name": "geographicalNameSourceOfName",
     "type": "esriFieldTypeString",
     "alias": "geographicalNameSourceOfName",
     "length": 255,
     "domain": null
    },
    {
     "name": "area",
     "type": "esriFieldTypeDouble",
     "alias": "area",
     "domain": null
    },
    {
     "name": "hectare",
     "type": "esriFieldTypeDouble",
     "alias": "hectare",
     "domain": null
    },
    {
     "name": "perimeter",
     "type": "esriFieldTypeDouble",
     "alias": "perimeter",
     "domain": null
    },
    {
     "name": "hydro",
     "type": "esriFieldTypeDouble",
     "alias": "hydro",
     "domain": null
    },
    {
     "name": "order_",
     "type": "esriFieldTypeDouble",
     "alias": "order_",
     "domain": null
    },
    {
     "name": "layer",
     "type": "esriFieldTypeString",
     "alias": "layer",
     "length": 255,
     "domain": null
    },
    {
     "name": "lwb",
     "type": "esriFieldTypeString",
     "alias": "lwb",
     "length": 255,
     "domain": null
    },
    {
     "name": "scale",
     "type": "esriFieldTypeString",
     "alias": "scale",
     "length": 255,
     "domain": null
    },
    {
     "name": "coordinateReferenceSystem",
     "type": "esriFieldTypeString",
     "alias": "coordinateReferenceSystem",
     "length": 255,
     "domain": null
    },
    {
     "name": "styleLayerDescription",
     "type": "esriFieldTypeString",
     "alias": "styleLayerDescription",
     "length": 255,
     "domain": null
    },
    {
     "name": "licence",
     "type": "esriFieldTypeString",
     "alias": "licence",
     "length": 255,
     "domain": null
    },
    {
     "name": "dataProvenance",
     "type": "esriFieldTypeString",
     "alias": "dataProvenance",
     "length": 255,
     "domain": null
    },
    {
     "name": "dataAccessUrl",
     "type": "esriFieldTypeString",
     "alias": "dataAccessUrl",
     "length": 255,
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  },
  {
   "currentVersion": 10.41,
   "id": 4,
   "name": "River SubCatchment",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/c7f4b1aa-68e4-436e-94d5-51780cc2178f<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nThe EU Water Framework Directive (2000/60/EC) (WFD) establishes a framework for the protection, improvement and management of surface and groundwaters. The SubCatchment dataset is built on clusters of river water body polygons and are entirely contained within the Catchment polygons dataset. All Sub-Catchments are represented as polygons.",
   "geometryType": "esriGeometryPolygon",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        102,
        255,
        255
       ],
       "width": 4
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.479706091999958,
    "ymin": 51.447102305000044,
    "xmax": -5.997661827999934,
    "ymax": 55.38296010800008,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Subcatchme",
     "type": "esriFieldTypeString",
     "alias": "Subcatchme",
     "length": 6,
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Name",
     "length": 200,
     "domain": null
    },
    {
     "name": "CatchmentI",
     "type": "esriFieldTypeString",
     "alias": "CatchmentI",
     "length": 3,
     "domain": null
    },
    {
     "name": "CreatedOn",
     "type": "esriFieldTypeDate",
     "alias": "CreatedOn",
     "length": 8,
     "domain": null
    },
    {
     "name": "CreatedBy",
     "type": "esriFieldTypeString",
     "alias": "CreatedBy",
     "length": 50,
     "domain": null
    },
    {
     "name": "UpdatedOn",
     "type": "esriFieldTypeDate",
     "alias": "UpdatedOn",
     "length": 8,
     "domain": null
    },
    {
     "name": "UpdatedBy",
     "type": "esriFieldTypeString",
     "alias": "UpdatedBy",
     "length": 50,
     "domain": null
    },
    {
     "name": "Shape_STAr",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STAr",
     "domain": null
    },
    {
     "name": "Shape_STLe",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLe",
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   },
   "dateFieldsTimeReference": null
  },
  {
   "currentVersion": 10.41,
   "id": 5,
   "name": "River Catchment",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/78b8def6-16fd-4934-bc2a-1d52380a2b34<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nA river basin catchment is an extent or an area of land where surface water from rain, melting snow, or ice converges to a single point at a lower elevation, usually the exit of the basin, where the waters join another waterbody, such as a river, lake, reservoir, estuary, wetland, sea, or ocean.",
   "geometryType": "esriGeometryPolygon",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        102,
        255,
        255
       ],
       "width": 4
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.479706091999958,
    "ymin": 51.447102305000044,
    "xmax": -5.997661827999934,
    "ymax": 55.38296010800008,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Name",
   "typeIdField": null,
   "fields": [
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "DIST_CD",
     "type": "esriFieldTypeString",
     "alias": "DIST_CD",
     "length": 24,
     "domain": null
    },
    {
     "name": "Shape_STAr",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STAr",
     "domain": null
    },
    {
     "name": "Shape_STLe",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLe",
     "domain": null
    },
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CatchmentI",
     "type": "esriFieldTypeString",
     "alias": "CatchmentI",
     "length": 3,
     "domain": null
    },
    {
     "name": "Area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "Area_km2",
     "domain": null
    },
    {
     "name": "LocalAutho",
     "type": "esriFieldTypeString",
     "alias": "LocalAutho",
     "length": 50,
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  },
  {
   "currentVersion": 10.41,
   "id": 6,
   "name": "River Basin District",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/78b8def6-16fd-4934-bc2a-1d52380a2b34<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nOne important aspect of the Water Framework Directive is the introduction of River Basin Districts. These areas have been designated, not according to administrative or political boundaries, but rather according to the river basin (the spatial catchment area of the river) as a natural geographical and hydrological unit. They are managed according to River Basin Management Plans, which should provide a clear indication of the way the objectives set for the river basin are to be reached within the required timescale. They should be updated every six years.",
   "geometryType": "esriGeometryPolygon",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        102,
        255,
        255
       ],
       "width": 4
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.714978750999933,
    "ymin": 51.371411256000044,
    "xmax": -5.376094886999965,
    "ymax": 55.40115909900004,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NAME",
   "typeIdField": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    },
    {
     "name": "NAME",
     "type": "esriFieldTypeString",
     "alias": "NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "MS_CD",
     "type": "esriFieldTypeString",
     "alias": "MS_CD",
     "length": 22,
     "domain": null
    },
    {
     "name": "EU_CD",
     "type": "esriFieldTypeString",
     "alias": "EU_CD",
     "length": 24,
     "domain": null
    },
    {
     "name": "REGION_CD",
     "type": "esriFieldTypeString",
     "alias": "REGION_CD",
     "length": 24,
     "domain": null
    },
    {
     "name": "MS",
     "type": "esriFieldTypeString",
     "alias": "MS",
     "length": 254,
     "domain": null
    },
    {
     "name": "IS_MAR",
     "type": "esriFieldTypeString",
     "alias": "IS_MAR",
     "length": 254,
     "domain": null
    },
    {
     "name": "RBDNameNL",
     "type": "esriFieldTypeString",
     "alias": "RBDNameNL",
     "length": 100,
     "domain": null
    },
    {
     "name": "PrimeCA",
     "type": "esriFieldTypeString",
     "alias": "PrimeCA",
     "length": 30,
     "domain": null
    },
    {
     "name": "Shape_STAr",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STAr",
     "domain": null
    },
    {
     "name": "Shape_STLe",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLe",
     "domain": null
    },
    {
     "name": "d_MS",
     "type": "esriFieldTypeString",
     "alias": "d_MS",
     "length": 254,
     "domain": null
    },
    {
     "name": "d_IS_MAR",
     "type": "esriFieldTypeString",
     "alias": "d_IS_MAR",
     "length": 254,
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  },
  {
   "currentVersion": 10.41,
   "id": 7,
   "name": "Water Hydrometric Area",
   "type": "Feature Layer",
   "description": "<metadata>http://www.isde.ie/#/acad088e-b3e4-4c2d-8b33-63af80755664<\/metadata>\n<keywords> science, geography, hydrography<\/keywords>\nFor the purposes of hydrological activities and by agreement between the various hydrological agencies in Northern Ireland and the Republic of Ireland, Ireland was divided into 40 hydrometric areas. Each Hydrometric Area comprises a single large river basin, or a group of smaller ones, and neighbouring coastal areas.  Each area was assigned a number from 01 to 40 beginning at the Foyle Catchment and proceeding in a clockwise direction (an exception to this general scheme is the catchment of the River Shannon and its tributaries which, because of its size, was divided into two hydrometric areas, 25 (Lower Shannon) and 26 (Upper Shannon)). ",
   "geometryType": "esriGeometryPolygon",
   "copyrightText": "Environmental Protection Agency",
   "parentLayer": {
    "id": 3,
    "name": "River"
   },
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        102,
        255,
        255
       ],
       "width": 4
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -10.479706104999934,
    "ymin": 51.447102304000055,
    "xmax": -5.431647988999941,
    "ymax": 55.38296010700003,
    "spatialReference": {
     "wkid": 4326,
     "latestWkid": 4326
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "HYDRO_NAME",
   "typeIdField": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "EU_CD",
     "type": "esriFieldTypeString",
     "alias": "EU_CD",
     "length": 24,
     "domain": null
    },
    {
     "name": "HYDRO_A",
     "type": "esriFieldTypeString",
     "alias": "HYDRO_A",
     "length": 8,
     "domain": null
    },
    {
     "name": "HYDRO_NAME",
     "type": "esriFieldTypeString",
     "alias": "HYDRO_NAME",
     "length": 100,
     "domain": null
    },
    {
     "name": "DIST_CD",
     "type": "esriFieldTypeString",
     "alias": "DIST_CD",
     "length": 24,
     "domain": null
    },
    {
     "name": "AREAKM2",
     "type": "esriFieldTypeInteger",
     "alias": "AREAKM2",
     "domain": null
    },
    {
     "name": "Shape_STAr",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STAr",
     "domain": null
    },
    {
     "name": "Shape_STLe",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_STLe",
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_Shape",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "relationships": [],
   "canModifyLayer": false,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true
   }
  }
 ],
 "tables": []
}