<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns:osgb="http://www.ordnancesurvey.co.uk/xml/namespaces/osgb" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ordnancesurvey.co.uk/xml/namespaces/osgb" elementFormDefault="qualified" version="1.2">
	<annotation>
		<appinfo>OSAerialMetadata.xsd 1.2 2002/11</appinfo>
		<documentation xml:lang="en">Ordnance Survey, (c) Crown Copyright. All Rights Reserved November 2002.</documentation>
		<documentation xml:lang="en">This schema defines metadata files for OS MasterMap aerial photography.</documentation>
	</annotation>
	<!-- import the common schemas -->
	<include schemaLocation="OSMeasures.xsd"/>
	<import namespace="http://www.opengis.net/gml" schemaLocation="geometry.xsd"/>
	<!-- define the contents of aerial photograph metadata files -->
	<element name="AerialImageMetadata">
		<complexType>
			<sequence>
				<element name="copyright" type="string"/>
				<element name="flownBy">
					<simpleType>
						<restriction base="string">
							<enumeration value="Ordnance Survey"/>
							<enumeration value="Getmapping PLC"/>
							<enumeration value="IGN"/>
							<enumeration value="Kampsax"/>
							<enumeration value="Simmons"/>
							<enumeration value="TGG"/>
							<enumeration value="UK Perspectives"/>
						</restriction>
					</simpleType>
				</element>
				<element name="dateFlown" type="dateTime">
					<annotation>
						<documentation xml:lang="en">accurate to minutes</documentation>
					</annotation>
				</element>
				<element name="frameNumber">
					<simpleType>
						<restriction base="integer">
							<minInclusive value="1"/>
							<maxInclusive value="1000"/>
						</restriction>
					</simpleType>
				</element>
				<element name="flightLine">
					<simpleType>
						<restriction base="integer">
							<minInclusive value="1"/>
							<maxInclusive value="50"/>
						</restriction>
					</simpleType>
				</element>
				<element name="flyingHeight" type="osgb:MetresMeasureType">
					<annotation>
						<documentation xml:lang="en">nominal height above sea level in metres.</documentation>
					</annotation>
				</element>
				<element name="principlePoint">
					<complexType>
						<sequence>
							<element ref="gml:Point"/>
						</sequence>
					</complexType>
				</element>
				<element name="filmId">
					<simpleType>
						<restriction base="string">
							<maxLength value="10"/>
						</restriction>
					</simpleType>
				</element>
				<element name="camera" type="string">
					<annotation>
						<documentation xml:lang="en">Make and model.</documentation>
					</annotation>
				</element>
				<element name="lensSerialNumber" type="string"/>
				<element name="lensFocalLength" type="osgb:MillimetresMeasureType"/>
				<element name="aircraft" type="string">
					<annotation>
						<documentation xml:lang="en">Aircraft registration</documentation>
					</annotation>
				</element>
				<element name="film" type="string"/>
			</sequence>
		</complexType>
	</element>
</schema>
