<?xml version="1.0" encoding="UTF-8"?>
<wfs:WFS_Capabilities
  xmlns="http://www.opengis.net/wfs/2.0"
  xmlns:wfs="http://www.opengis.net/wfs/2.0"
  xmlns:ows="http://www.opengis.net/ows/1.1"
  xmlns:fes="http://www.opengis.net/fes/2.0"
  xmlns:AP="https://maps.data.gov.scot/arcgis/admin/services/AgriculturalParishes/MapServer/WFSServer"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  version="2.0.0"  xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd https://maps.data.gov.scot/arcgis/admin/services/AgriculturalParishes/MapServer/WFSServer https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?service=wfs%26version=2.0.0%26request=DescribeFeatureType"
>
  <ows:ServiceIdentification>
    <ows:Title>WFS</ows:Title>
    <ows:Abstract>Agricultural parishes are based on Civil Parishes which were abolished as an administrative unit in Scotland in 1975. Agricultural parishes continue to be used for boundary and statistical purposes. Agricultural parish boundaries were last updated in 2016. There are 891 agricultural parishes in Scotland and they are used in the Agricultural Census and for the payment of farming grants and subsidies. The dataset contains parish boundaries, parish names, parish codes and GSS codes (the latter were assigned in September 2023 to allow for the publication of Official Statistics for this geography, although the original parish codes also remain in use).</ows:Abstract>
    <ows:Keywords>
      <ows:Keyword>ESRI(LongLat)</ows:Keyword>
      <ows:Keyword>Agricultural</ows:Keyword>
      <ows:Keyword>land</ows:Keyword>
      <ows:Keyword>Agricultural</ows:Keyword>
      <ows:Keyword>management</ows:Keyword>
      <ows:Keyword>Area</ows:Keyword>
      <ows:Keyword>management/restriction/regulation</ows:Keyword>
      <ows:Keyword>zones</ows:Keyword>
      <ows:Keyword>and</ows:Keyword>
      <ows:Keyword>reporting</ows:Keyword>
      <ows:Keyword>units</ows:Keyword>
    </ows:Keywords>
    <ows:ServiceType>WFS</ows:ServiceType>
    <ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>
    <ows:Fees>None</ows:Fees>
    <ows:AccessConstraints>No limitations to public access</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:ServiceProvider>
    <ows:ProviderName>Scottish Government</ows:ProviderName>
    <ows:ServiceContact>
      <ows:IndividualName>GIS Analyst</ows:IndividualName>
      <ows:PositionName>Geospatial Team</ows:PositionName>
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice></ows:Voice>
          <ows:Facsimile></ows:Facsimile>
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint>Victoria Quay</ows:DeliveryPoint>
          <ows:City>City of Edinburgh</ows:City>
          <ows:AdministrativeArea>City fo Edinburgh</ows:AdministrativeArea>
          <ows:PostalCode>EH6 6QQ</ows:PostalCode>
          <ows:Country>United Kingdom</ows:Country>
          <ows:ElectronicMailAddress>GIS@gov.scot</ows:ElectronicMailAddress>
        </ows:Address>
        <ows:OnlineResource xlink:href="https://maps.data.gov.scot/arcgis/admin/services/AgriculturalParishes/MapServer/WFSServer"/>
        <ows:HoursOfService></ows:HoursOfService>
        <ows:ContactInstructions></ows:ContactInstructions>
      </ows:ContactInfo>
      <ows:Role>Publisher</ows:Role>
    </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="AcceptVersions">
        <ows:AllowedValues>
          <ows:Value>1.0.0</ows:Value>
          <ows:Value>1.1.0</ows:Value>
          <ows:Value>2.0.0</ows:Value>
      </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="DescribeFeatureType">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    <ows:Parameter name="outputFormat">
      <ows:AllowedValues>
        <ows:Value>text/xml; subtype=gml/3.2</ows:Value>
      </ows:AllowedValues>
    </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetPropertyValue">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="resolve">
        <ows:AllowedValues>
          <ows:Value>none</ows:Value>
          <ows:Value>local</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetFeature">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="resultType">
        <ows:AllowedValues>
          <ows:Value>results</ows:Value>
          <ows:Value>hits</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
      <ows:Parameter name="outputFormat">
        <ows:AllowedValues>
          <ows:Value>GML32</ows:Value>
          <ows:Value>GML32+ZIP</ows:Value>
          <ows:Value>GML32+GZIP</ows:Value>
          <ows:Value>application/gml+xml; version=3.2</ows:Value>
          <ows:Value>GML3</ows:Value>
          <ows:Value>GML3+ZIP</ows:Value>
          <ows:Value>GML3+GZIP</ows:Value>
          <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value>
          <ows:Value>GML2</ows:Value>
          <ows:Value>GML2+ZIP</ows:Value>
          <ows:Value>GML2+GZIP</ows:Value>
          <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>
          <ows:Value>GEOJSON</ows:Value>
          <ows:Value>GEOJSON+ZIP</ows:Value>
          <ows:Value>GEOJSON+GZIP</ows:Value>
          <ows:Value>ESRIGEOJSON</ows:Value>
          <ows:Value>ESRIGEOJSON+ZIP</ows:Value>
          <ows:Value>ESRIGEOJSON+GZIP</ows:Value>
          <ows:Value>KML</ows:Value>
          <ows:Value>application/vnd.google-earth.kml xml</ows:Value>
          <ows:Value>application/vnd.google-earth.kml+xml</ows:Value>
          <ows:Value>KMZ</ows:Value>
          <ows:Value>application/vnd.google-earth.kmz</ows:Value>
          <ows:Value>SHAPE+ZIP</ows:Value>
          <ows:Value>CSV</ows:Value>
          <ows:Value>CSV+ZIP</ows:Value>
          <ows:Value>CSV+GZIP</ows:Value>
          <ows:Value>Geopackage</ows:Value>
          <ows:Value>Geopackage+ZIP</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
      <ows:Parameter name="resolve">
        <ows:AllowedValues>
          <ows:Value>none</ows:Value>
          <ows:Value>local</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="GetGmlObject">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="ListStoredQueries">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Operation name="DescribeStoredQueries">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer?"/>
          <ows:Post xlink:href="https://maps.data.gov.scot:443/arcgis/services/AgriculturalParishes/MapServer/WFSServer"/>
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>
    <ows:Constraint name="ImplementsBasicWFS"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsTransactionalWFS"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsLockingWFS"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="KVPEncoding"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="XMLEncoding"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="SOAPEncoding"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsInheritance"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsRemoteResolve"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsResultPaging"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsStandardJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsSpatialJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsTemporalJoins"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ImplementsFeatureVersioning"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
    <ows:Constraint name="ManageStoredQueries"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></ows:Constraint>
  </ows:OperationsMetadata>
  <wfs:FeatureTypeList>
  <wfs:FeatureType>
    <wfs:Name>AP:AgriculturalParishes</wfs:Name>
    <wfs:Title>AgriculturalParishes</wfs:Title>
    <wfs:DefaultCRS>urn:ogc:def:crs:EPSG::27700</wfs:DefaultCRS>
    <ows:WGS84BoundingBox>
      <ows:LowerCorner>-9.22986756 54.51337235</ows:LowerCorner>
      <ows:UpperCorner>-0.70735614 60.86611140</ows:UpperCorner>
    </ows:WGS84BoundingBox>
  </wfs:FeatureType>
  </wfs:FeatureTypeList>
  <fes:Filter_Capabilities>
  <fes:Conformance>
    <fes:Constraint name="ImplementsQuery"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsAdHocQuery"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsFunctions"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsResourceId"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinStandardFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsStandardFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinSpatialFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSpatialFilter"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinTemporalFilter"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsTemporalFilter"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsVersionNav"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSorting"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsExtendedOperators"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsMinimumXPath"><ows:NoValues/><ows:DefaultValue>TRUE</ows:DefaultValue></fes:Constraint>
    <fes:Constraint name="ImplementsSchemaElementFunc"><ows:NoValues/><ows:DefaultValue>FALSE</ows:DefaultValue></fes:Constraint>
  </fes:Conformance>
  <fes:Id_Capabilities>
    <fes:ResourceIdentifier name="fes:ResourceId"/>
  </fes:Id_Capabilities>
  <fes:Scalar_Capabilities>
    <fes:LogicalOperators/>
    <fes:ComparisonOperators>
      <fes:ComparisonOperator name="PropertyIsEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsNotEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsLessThan"/>
      <fes:ComparisonOperator name="PropertyIsGreaterThan"/>
      <fes:ComparisonOperator name="PropertyIsLessThanOrEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsGreaterThanOrEqualTo"/>
      <fes:ComparisonOperator name="PropertyIsLike"/>
      <fes:ComparisonOperator name="PropertyIsNull"/>
      <fes:ComparisonOperator name="PropertyIsNil"/>
      <fes:ComparisonOperator name="PropertyIsBetween"/>
    </fes:ComparisonOperators>
  </fes:Scalar_Capabilities>
  <fes:Spatial_Capabilities>
    <fes:GeometryOperands xmlns:gml="http://www.opengis.net/gml" xmlns:gml32="http://www.opengis.net/gml">
      <fes:GeometryOperand name="gml:Box"/>
      <fes:GeometryOperand name="gml:Envelope"/>
      <fes:GeometryOperand name="gml:Point"/>
      <fes:GeometryOperand name="gml:LineString"/>
      <fes:GeometryOperand name="gml:LinearRing"/>
      <fes:GeometryOperand name="gml:Polygon"/>
      <fes:GeometryOperand name="gml:MultiPoint"/>
      <fes:GeometryOperand name="gml:MultiCurve"/>
      <fes:GeometryOperand name="gml:MultiSurface"/>
    </fes:GeometryOperands>
    <fes:SpatialOperators>
      <fes:SpatialOperator name="BBOX"/>
      <fes:SpatialOperator name="Equals"/>
      <fes:SpatialOperator name="Disjoint"/>
      <fes:SpatialOperator name="Intersects"/>
      <fes:SpatialOperator name="Touches"/>
      <fes:SpatialOperator name="Crosses"/>
      <fes:SpatialOperator name="Within"/>
      <fes:SpatialOperator name="Contains"/>
      <fes:SpatialOperator name="Overlaps"/>
      <fes:SpatialOperator name="DWithin"/>
    </fes:SpatialOperators>
  </fes:Spatial_Capabilities>
  </fes:Filter_Capabilities>
</wfs:WFS_Capabilities>
