{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Habitats Directive Sites (pSCI, SCI or SAC)",
   "type": "Feature Layer",
   "description": "This map corresponds to Natura 2000 spatial data delivered by MS",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -20037700,
    "falseY": -30241100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "SITETYPE",
     "defaultSymbol": {
      "type": "esriSFS",
      "style": "esriSFSDiagonalCross",
      "color": [
       80,
       92,
       230,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        79,
        92,
        230,
        255
       ],
       "width": 1.15
      }
     },
     "defaultLabel": "Birds and Habitats directives",
     "uniqueValueGroups": [
      {
       "heading": "SITETYPE",
       "classes": [
        {
         "label": "Habitats Directive Sites (pSCI, SCI or SAC)",
         "description": "Habitats Directive Sites (pSCI, SCI or SAC)",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSForwardDiagonal",
          "color": [
           80,
           92,
           230,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            79,
            92,
            230,
            255
           ],
           "width": 1.15
          }
         },
         "values": [
          [
           "B"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSForwardDiagonal",
        "color": [
         80,
         92,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          79,
          92,
          230,
          255
         ],
         "width": 1.15
        }
       },
       "value": "B",
       "label": "Habitats Directive Sites (pSCI, SCI or SAC)"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          56,
          168,
          0,
          255
         ],
         "toColor": [
          255,
          255,
          0,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          255,
          255,
          0,
          255
         ],
         "toColor": [
          255,
          0,
          0,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -3603195.6067999993,
    "ymin": 2825313.635400001,
    "xmax": 3796159.960099999,
    "ymax": 1.1077138825099997E7,
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "xyUnits": 1.4892314192838538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITENAME",
   "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": "SITECODE",
     "type": "esriFieldTypeString",
     "alias": "SITECODE",
     "length": 9,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 240,
     "domain": null
    },
    {
     "name": "RELEASE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "RELEASE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MS",
     "type": "esriFieldTypeString",
     "alias": "MS",
     "length": 2,
     "domain": null
    },
    {
     "name": "SITETYPE",
     "type": "esriFieldTypeString",
     "alias": "SITETYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "POINT_X",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_X",
     "domain": null
    },
    {
     "name": "POINT_Y",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_Y",
     "domain": null
    },
    {
     "name": "Area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "Area_km2",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    },
    {
     "name": "Area_ha",
     "type": "esriFieldTypeDouble",
     "alias": "Area_ha",
     "domain": null
    },
    {
     "name": "A",
     "type": "esriFieldTypeInteger",
     "alias": "A",
     "domain": null
    },
    {
     "name": "B",
     "type": "esriFieldTypeInteger",
     "alias": "B",
     "domain": null
    },
    {
     "name": "C",
     "type": "esriFieldTypeInteger",
     "alias": "C",
     "domain": null
    },
    {
     "name": "D",
     "type": "esriFieldTypeInteger",
     "alias": "D",
     "domain": null
    },
    {
     "name": "Missing",
     "type": "esriFieldTypeInteger",
     "alias": "Missing",
     "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": "G5SITECODE",
     "fields": "SITECODE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 0,
     "name": "CONTAINSHABITAT",
     "relatedTableId": 3,
     "role": "esriRelRoleOrigin",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    }
   ],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Birds Directive Sites (SPA)",
   "type": "Feature Layer",
   "description": "This map corresponds to Natura 2000 spatial data delivered by MS",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -20037700,
    "falseY": -30241100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "SITETYPE",
     "defaultSymbol": {
      "type": "esriSFS",
      "style": "esriSFSDiagonalCross",
      "color": [
       80,
       92,
       230,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        79,
        92,
        230,
        255
       ],
       "width": 1.15
      }
     },
     "defaultLabel": "Birds and Habitats directives",
     "uniqueValueGroups": [
      {
       "heading": "SITETYPE",
       "classes": [
        {
         "label": "Birds Directive Sites (SPA)",
         "description": "Birds Directive Sites (SPA)",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSBackwardDiagonal",
          "color": [
           210,
           4,
           3,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            209,
            5,
            3,
            255
           ],
           "width": 1.15
          }
         },
         "values": [
          [
           "A"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSBackwardDiagonal",
        "color": [
         210,
         4,
         3,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          209,
          5,
          3,
          255
         ],
         "width": 1.15
        }
       },
       "value": "A",
       "label": "Birds Directive Sites (SPA)"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          56,
          168,
          0,
          255
         ],
         "toColor": [
          255,
          255,
          0,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriHSVAlgorithm",
         "fromColor": [
          255,
          255,
          0,
          255
         ],
         "toColor": [
          255,
          0,
          0,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 50,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": -3603195.6067999993,
    "ymin": 2825313.635400001,
    "xmax": 3796159.960099999,
    "ymax": 1.1077138825099997E7,
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "xyUnits": 1.4892314192838538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITENAME",
   "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": "SITECODE",
     "type": "esriFieldTypeString",
     "alias": "SITECODE",
     "length": 9,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 240,
     "domain": null
    },
    {
     "name": "RELEASE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "RELEASE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MS",
     "type": "esriFieldTypeString",
     "alias": "MS",
     "length": 2,
     "domain": null
    },
    {
     "name": "SITETYPE",
     "type": "esriFieldTypeString",
     "alias": "SITETYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "POINT_X",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_X",
     "domain": null
    },
    {
     "name": "POINT_Y",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_Y",
     "domain": null
    },
    {
     "name": "Area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "Area_km2",
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    },
    {
     "name": "Area_ha",
     "type": "esriFieldTypeDouble",
     "alias": "Area_ha",
     "domain": null
    },
    {
     "name": "A",
     "type": "esriFieldTypeInteger",
     "alias": "A",
     "domain": null
    },
    {
     "name": "B",
     "type": "esriFieldTypeInteger",
     "alias": "B",
     "domain": null
    },
    {
     "name": "C",
     "type": "esriFieldTypeInteger",
     "alias": "C",
     "domain": null
    },
    {
     "name": "D",
     "type": "esriFieldTypeInteger",
     "alias": "D",
     "domain": null
    },
    {
     "name": "Missing",
     "type": "esriFieldTypeInteger",
     "alias": "Missing",
     "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": "G5SITECODE",
     "fields": "SITECODE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 1,
     "name": "CONTAINSHABITAT",
     "relatedTableId": 3,
     "role": "esriRelRoleOrigin",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    }
   ],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 2,
   "name": "Habitats and Birds Directive Sites",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 102100,
    "latestWkid": 3857,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -20037700,
    "falseY": -30241100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "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": [
        170,
        0,
        255,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": -3603195.6067999993,
    "ymin": 2825313.635400001,
    "xmax": 3796159.960099999,
    "ymax": 1.1077138825099997E7,
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "xyUnits": 1.4892314192838538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SITENAME",
   "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": "SITECODE",
     "type": "esriFieldTypeString",
     "alias": "SITECODE",
     "length": 9,
     "domain": null
    },
    {
     "name": "SITENAME",
     "type": "esriFieldTypeString",
     "alias": "SITENAME",
     "length": 240,
     "domain": null
    },
    {
     "name": "RELEASE_DATE",
     "type": "esriFieldTypeDate",
     "alias": "RELEASE_DATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MS",
     "type": "esriFieldTypeString",
     "alias": "MS",
     "length": 2,
     "domain": null
    },
    {
     "name": "SITETYPE",
     "type": "esriFieldTypeString",
     "alias": "SITETYPE",
     "length": 1,
     "domain": null
    },
    {
     "name": "POINT_X",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_X",
     "domain": null
    },
    {
     "name": "POINT_Y",
     "type": "esriFieldTypeDouble",
     "alias": "POINT_Y",
     "domain": null
    },
    {
     "name": "Area_km2",
     "type": "esriFieldTypeDouble",
     "alias": "Area_km2",
     "domain": null
    },
    {
     "name": "CONTAINSHABITAT_Pivot_OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CONTAINSHABITAT_Pivot_SITECODE",
     "type": "esriFieldTypeString",
     "alias": "SITECODE",
     "length": 9,
     "domain": null
    },
    {
     "name": "Shape_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Length",
     "domain": null
    },
    {
     "name": "Shape_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Area",
     "domain": null
    },
    {
     "name": "Area_ha",
     "type": "esriFieldTypeDouble",
     "alias": "Area_ha",
     "domain": null
    },
    {
     "name": "A",
     "type": "esriFieldTypeInteger",
     "alias": "A",
     "domain": null
    },
    {
     "name": "B",
     "type": "esriFieldTypeInteger",
     "alias": "B",
     "domain": null
    },
    {
     "name": "C",
     "type": "esriFieldTypeInteger",
     "alias": "C",
     "domain": null
    },
    {
     "name": "D",
     "type": "esriFieldTypeInteger",
     "alias": "D",
     "domain": null
    },
    {
     "name": "Missing",
     "type": "esriFieldTypeInteger",
     "alias": "Missing",
     "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": "G5SITECODE",
     "fields": "SITECODE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 2,
     "name": "CONTAINSHABITAT",
     "relatedTableId": 3,
     "role": "esriRelRoleOrigin",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    }
   ],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape_Area",
    "shapeLengthFieldName": "Shape_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 3,
   "name": "CONTAINSHABITAT",
   "type": "Table",
   "description": null,
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "SITECODE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "SITECODE",
     "type": "esriFieldTypeString",
     "alias": "SITECODE",
     "length": 9,
     "domain": null
    },
    {
     "name": "HABITATCODE",
     "type": "esriFieldTypeString",
     "alias": "HABITATCODE",
     "length": 4,
     "domain": null
    },
    {
     "name": "DESCRIPTION",
     "type": "esriFieldTypeString",
     "alias": "DESCRIPTION",
     "length": 255,
     "domain": null
    },
    {
     "name": "HABITAT_PRIORITY",
     "type": "esriFieldTypeString",
     "alias": "HABITAT_PRIORITY",
     "length": 1,
     "domain": null
    },
    {
     "name": "PRIORITY_FORM_HABITAT_TYPE",
     "type": "esriFieldTypeInteger",
     "alias": "PRIORITY_FORM_HABITAT_TYPE",
     "domain": null
    },
    {
     "name": "NON_PRESENCE_IN_SITE",
     "type": "esriFieldTypeInteger",
     "alias": "NON_PRESENCE_IN_SITE",
     "domain": null
    },
    {
     "name": "COVER_HA",
     "type": "esriFieldTypeDouble",
     "alias": "COVER_HA",
     "domain": null
    },
    {
     "name": "CAVES",
     "type": "esriFieldTypeDouble",
     "alias": "CAVES",
     "domain": null
    },
    {
     "name": "REPRESENTATIVITY",
     "type": "esriFieldTypeString",
     "alias": "REPRESENTATIVITY",
     "length": 1,
     "domain": null
    },
    {
     "name": "RELSURFACE",
     "type": "esriFieldTypeString",
     "alias": "RELSURFACE",
     "length": 1,
     "domain": null
    },
    {
     "name": "CONSERVATION",
     "type": "esriFieldTypeString",
     "alias": "CONSERVATION",
     "length": 1,
     "domain": null
    },
    {
     "name": "GLOBALASSESMENT",
     "type": "esriFieldTypeString",
     "alias": "GLOBALASSESMENT",
     "length": 1,
     "domain": null
    },
    {
     "name": "DATAQUALITY",
     "type": "esriFieldTypeString",
     "alias": "DATAQUALITY",
     "length": 1,
     "domain": null
    },
    {
     "name": "PERCENTAGE_COVER",
     "type": "esriFieldTypeDouble",
     "alias": "PERCENTAGE_COVER",
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "FDO_OBJECTID",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G3SITECODE",
     "fields": "SITECODE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [
    {
     "id": 0,
     "name": "Sites_SpType",
     "relatedTableId": 0,
     "role": "esriRelRoleDestination",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    },
    {
     "id": 1,
     "name": "Sites_SpType",
     "relatedTableId": 1,
     "role": "esriRelRoleDestination",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    },
    {
     "id": 2,
     "name": "Sites_SpType",
     "relatedTableId": 2,
     "role": "esriRelRoleDestination",
     "keyField": "SITECODE",
     "cardinality": "esriRelCardinalityOneToMany",
     "composite": false,
     "catalogID": "{EE803468-09AE-4AC6-A36C-06213755D220}"
    }
   ],
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, PBF",
   "isDataVersioned": false,
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": false,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   }
  }
 ]
}