<?xml version="1.0" encoding="UTF-8"?>

<WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:esri_wms="http://www.esri.com/wms" xmlns:inspire_common="http://inspire.ec.europa.eu/schemas/common/1.0" xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs/1.0" xsi:schemaLocation="http://www.opengis.net/wms http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.esri.com/wms http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?version=1.3.0%26service=WMS%26request=GetSchemaExtension">
	<!-- ADDED http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 AND .../inspire_vs.xsd ABOVE as xmlns and in schemaLocation -->
	<Service>
		<Name><![CDATA[WMS]]></Name>
		<Title><![CDATA[HES_Scheduled_Monuments]]></Title>
		<Abstract><![CDATA[This dataset contains the boundaries of scheduled monuments in an indicative form. The data is a record that indicates the statutory boundary. The content of the data includes a description of the scheduled monuments, names and a links to legal documents]]></Abstract>
		<KeywordList><Keyword><![CDATA[Scheduled Monuments, Cultural Heritage, Heritage Assets]]></Keyword></KeywordList>
		<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?"/>
		<ContactInformation>
			<ContactPersonPrimary>
				<ContactPerson><![CDATA[GIS Officer]]></ContactPerson>
				<ContactOrganization><![CDATA[Historic Environment Scotland]]></ContactOrganization>
			</ContactPersonPrimary>
			<ContactPosition><![CDATA[GIS Officer]]></ContactPosition>
			<ContactAddress>
				<AddressType><![CDATA[Postal]]></AddressType>
				<Address><![CDATA[Longmore House, Salisbury Place]]></Address>
				<City><![CDATA[Edinburgh]]></City>
				<StateOrProvince><![CDATA[Not used]]></StateOrProvince>
				<PostCode><![CDATA[EH9 1SH]]></PostCode>
				<Country><![CDATA[Scotland]]></Country>
			</ContactAddress>
			<ContactVoiceTelephone><![CDATA[01316688832]]></ContactVoiceTelephone>
			<ContactFacsimileTelephone><![CDATA[Not Used]]></ContactFacsimileTelephone>
			<ContactElectronicMailAddress><![CDATA[GIEnquiries@hes.scot]]></ContactElectronicMailAddress>
		</ContactInformation>
		<Fees><![CDATA[None]]></Fees>
		<AccessConstraints><![CDATA[OS derived data]]></AccessConstraints>
		<MaxWidth>2048</MaxWidth>
		<MaxHeight>2048</MaxHeight>
	</Service>
	<Capability>
		<Request>
			<GetCapabilities>
				<Format>application/vnd.ogc.wms_xml</Format>
				<Format>text/xml</Format>
				<DCPType>
					<HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?"/></Get></HTTP>
				</DCPType>
			</GetCapabilities>
			<GetMap>
				<Format>image/bmp</Format>
				<Format>image/jpeg</Format>
				<Format>image/tiff</Format>
				<Format>image/png</Format>
				<Format>image/png8</Format>
				<Format>image/png24</Format>
				<Format>image/png32</Format>
				<Format>image/gif</Format>
				<Format>image/svg+xml</Format>
				<DCPType>
					<HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?"/></Get></HTTP>
				</DCPType>
			</GetMap>
			<GetFeatureInfo>
				<Format>application/vnd.esri.wms_raw_xml</Format>
				<Format>application/vnd.esri.wms_featureinfo_xml</Format>
				<Format>application/vnd.ogc.wms_xml</Format>
				<Format>application/geojson</Format>
				<Format>text/xml</Format>
				<Format>text/html</Format>
				<Format>text/plain</Format>
				<DCPType>
					<HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?"/></Get></HTTP>
				</DCPType>
			</GetFeatureInfo>
			<esri_wms:GetStyles>
				<Format>application/vnd.ogc.sld+xml</Format>
				<DCPType>
					<HTTP><Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?"/></Get></HTTP>
				</DCPType>
			</esri_wms:GetStyles>
		</Request>
		<Exception>
			<Format>application/vnd.ogc.se_xml</Format>
			<Format>application/vnd.ogc.se_inimage</Format>
			<Format>application/vnd.ogc.se_blank</Format>
			<Format>text/xml</Format>
			<Format>XML</Format>
		</Exception>
		<!-- START - ExtendedCapabilities  -->
		<inspire_vs:ExtendedCapabilities>
			<inspire_common:MetadataUrl xsi:type="inspire_common:resourceLocatorType">
				<inspire_common:URL><![CDATA[
https://www.spatialdata.gov.scot/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4f6c6a65-9730-4697-a748-fb0c2b85a685
]]></inspire_common:URL>
				<inspire_common:MediaType>application/vnd.iso.19139+xml</inspire_common:MediaType>
			</inspire_common:MetadataUrl>
			<inspire_common:SupportedLanguages>
				<inspire_common:DefaultLanguage>
					<inspire_common:Language>eng</inspire_common:Language>
				</inspire_common:DefaultLanguage>
			</inspire_common:SupportedLanguages>
			<inspire_common:ResponseLanguage>
				<inspire_common:Language>eng</inspire_common:Language>
			</inspire_common:ResponseLanguage>
		</inspire_vs:ExtendedCapabilities>
		<!-- END - ExtendedCapabilities -->
		<Layer>
			<Title><![CDATA[Layers]]></Title>
			<CRS>CRS:84</CRS>
			<CRS>EPSG:4326</CRS>
			<CRS>EPSG:27700</CRS>
			<CRS>EPSG:3857</CRS>
			<!-- alias 3857 -->
			<CRS>EPSG:102100</CRS>
			<CRS>EPSG:4258</CRS>
			<EX_GeographicBoundingBox><westBoundLongitude>-9.181429</westBoundLongitude><eastBoundLongitude>-0.756977</eastBoundLongitude><southBoundLatitude>54.516712</southBoundLatitude><northBoundLatitude>60.835951</northBoundLatitude></EX_GeographicBoundingBox>
			<BoundingBox CRS="CRS:84" minx="-9.181429" miny="54.516712" maxx="-0.756977" maxy="60.835951"/>
			<BoundingBox CRS="EPSG:4326" minx="54.516712" miny="-9.181429" maxx="60.835951" maxy="-0.756977"/>
			<BoundingBox CRS="EPSG:27700" minx="7811.670476" miny="530427.139090" maxx="467579.130508" maxy="1216942.500678"/>
			<BoundingBox CRS="EPSG:3857" minx="-1022071.999923" miny="7268629.200936" maxx="-84266.252729" maxy="8588252.049398"/>
			<BoundingBox CRS="EPSG:4258" minx="54.516712" miny="-9.181429" maxx="60.835951" maxy="-0.756977"/>
			<Layer queryable="1">
				<Name>0</Name>
				<Title><![CDATA[Scheduled Monuments]]></Title>
				<Abstract><![CDATA[Scheduled monuments are nationally important monuments and sites. The aim of scheduling is to preserve sites and monuments as far as possible in the form in which they have come down to us today. They are legally protected through the Ancient Monuments and Archaeological Areas Act 1979. National importance takes account of a wide range of factors, including artistic, archaeological, architectural, historic, traditional, aesthetic, scientific and social. Guidance and criteria to assess national importance of monuments is set out by Scottish Ministers in The Scottish Historic Environment Policy. This data allows you to identify the approximate position, size and extent of scheduled monuments in Scotland.]]></Abstract>
				<CRS>CRS:84</CRS>
				<CRS>EPSG:4326</CRS>
				<CRS>EPSG:27700</CRS>
				<CRS>EPSG:3857</CRS>
				<!-- alias 3857 -->
				<CRS>EPSG:102100</CRS>
				<CRS>EPSG:4258</CRS>
				<EX_GeographicBoundingBox><westBoundLongitude>-9.181429</westBoundLongitude><eastBoundLongitude>-0.756977</eastBoundLongitude><southBoundLatitude>54.516712</southBoundLatitude><northBoundLatitude>60.835951</northBoundLatitude></EX_GeographicBoundingBox>
				<BoundingBox CRS="CRS:84" minx="-9.181429" miny="54.516712" maxx="-0.756977" maxy="60.835951"/>
				<BoundingBox CRS="EPSG:4326" minx="54.516712" miny="-9.181429" maxx="60.835951" maxy="-0.756977"/>
				<BoundingBox CRS="EPSG:27700" minx="7811.670476" miny="530427.139090" maxx="467579.130508" maxy="1216942.500678"/>
				<BoundingBox CRS="EPSG:3857" minx="-1022071.999923" miny="7268629.200936" maxx="-84266.252729" maxy="8588252.049398"/>
				<BoundingBox CRS="EPSG:4258" minx="54.516712" miny="-9.181429" maxx="60.835951" maxy="-0.756977"/>
				<!-- Add METADATA URL OF THE LAYER DATASET -->
				<MetadataURL type="TC211">
					<Format>application/vnd.iso.19139+xml</Format>
					<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.spatialdata.gov.scot/geonetwork/srv/eng/csw?SERVICE=CSW&amp;REQUEST=GetRecordById&amp;ID=756ec396-b6f9-4efe-8309-2dad95ffef68&amp;elementSetName=full&amp;OutputSchema=http://www.isotc211.org/2005/gmd&amp;"/>
				</MetadataURL>
				<!-- End METADATA URL OF THE LAYER DATASET -->
				<Style>
					<!-- Add inspire_common:DEFAULT -->
					<!-- <Name>default</Name>  -->
					<Name>inspire_common:DEFAULT</Name>
					<Title>0</Title>
					<LegendURL width="16" height="16">
						<Format>image/png</Format>
						<OnlineResource xlink:href="http://inspire.hes.scot/arcgis/services/HES/Scheduled_Monuments/MapServer/WmsServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=0" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink"/>
					</LegendURL>
				</Style>
			</Layer>
		</Layer>
	</Capability>
</WMS_Capabilities>
