<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlsf="http://www.opengis.net/gmlsf/2.0" xmlns:os="http://namespaces.ordnancesurvey.co.uk/elevation/contours/v1.0" targetNamespace="http://namespaces.ordnancesurvey.co.uk/elevation/contours/v1.0" elementFormDefault="qualified" version="1.0.1">
	<annotation>
		<appinfo source="http://schemas.opengis.net/gmlsfProfile/2.0/gmlsfLevels.xsd">
			<gmlsf:ComplianceLevel>0</gmlsf:ComplianceLevel>
		</appinfo>
	</annotation>
	<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
	<simpleType name="WaterLevelValueType">
		<restriction base="string">
			<enumeration value="meanHighWater"/>
			<enumeration value="meanLowWater"/>
			<enumeration value="meanHighWaterSprings"/>
			<enumeration value="meanLowWaterSprings"/>
		</restriction>
	</simpleType>
	<simpleType name="ContourTypeValueType">
		<restriction base="string">
			<enumeration value="master"/>
			<enumeration value="ordinary"/>
			<enumeration value="auxiliary"/>
		</restriction>
	</simpleType>
	<element name="DataSet" type="os:DataSetType" substitutionGroup="gml:AbstractFeature"/>
	<complexType name="DataSetType">
		<complexContent>
			<extension base="gml:AbstractFeatureType">
				<sequence>
					<element name="metadata"/>
					<element name="nominalScale"/>
					<element name="elevationReference"/>
					<element name="equidistance"/>
					<sequence minOccurs="0" maxOccurs="unbounded">
						<element name="member">
							<complexType>
								<complexContent>
									<extension base="gml:AbstractFeatureMemberType">
										<choice>
											<element ref="os:LandWaterBoundary"/>
											<element ref="os:SpotHeight"/>
											<element ref="os:ContourLine"/>
										</choice>
									</extension>
								</complexContent>
							</complexType>
						</element>
					</sequence>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<element name="SpotHeight" type="os:SpotHeightType" substitutionGroup="gml:AbstractFeature"/>
	<complexType name="SpotHeightType">
		<complexContent>
			<extension base="gml:AbstractFeatureType">
				<sequence>
					<element name="geometry" type="gml:PointPropertyType"/>
					<element name="propertyValue" type="gml:LengthType"/>
					<element name="spotHeightType" type="os:SpotHeightTypeValueType" default="generic"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<simpleType name="SpotHeightTypeValueType">
		<restriction base="string">
			<enumeration value="formSpot"/>
			<enumeration value="generic"/>
			<enumeration value="mountainPass"/>
			<enumeration value="summit"/>
		</restriction>
	</simpleType>
	<element name="LandWaterBoundary" type="os:LandWaterBoundaryType" substitutionGroup="gml:AbstractFeature"/>
	<complexType name="LandWaterBoundaryType">
		<complexContent>
			<extension base="gml:AbstractFeatureType">
				<sequence>
					<element name="geometry" type="gml:CurvePropertyType"/>
					<element name="propertyValue" type="gml:LengthType"/>
					<element name="waterLevelCategory" type="os:WaterLevelValueType"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<element name="ContourLine" type="os:ContourLineType" substitutionGroup="gml:AbstractFeature"/>
	<complexType name="ContourLineType">
		<complexContent>
			<extension base="gml:AbstractFeatureType">
				<sequence>
					<element name="geometry" type="gml:CurvePropertyType"/>
					<element name="propertyValue" type="gml:LengthType"/>
					<element name="contourLineType" type="os:ContourTypeValueType"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
</schema>
