<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.ordnancesurvey.co.uk/xml/namespaces/osgb" xmlns:osgb="http://www.ordnancesurvey.co.uk/xml/namespaces/osgb" xmlns="http://www.w3.org/2000/10/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1">
	<annotation>
		<appinfo>OSComplexTypes.xsd 1.1 2002/03</appinfo>
		<documentation xml:lang="en">Ordnance Survey, (c) Crown Copyright. All Rights Reserved March 2002.</documentation>
		<documentation xml:lang="en">See http://www.ordnancesurvey.co.uk/xml/schema for guidelines and related information</documentation>
		<documentation xml:lang="en">This schema defines the complex types used as properties on features.</documentation>
	</annotation>
	<include schemaLocation="OSQueryResult.xsd"/>
	<include schemaLocation="OSSimpleTypes.xsd"/>
	<!-- ================================================================
	Complex Type Definitions 
	================================================================ -->
	<complexType name="addressStatusType">
		<sequence>
			<element name="matchStatus" type="osgb:matchStatusType"/>
			<element name="physicalStatus" type="osgb:physicalStatusType"/>
			<element name="positionalQuality" type="osgb:positionalQualityType"/>
			<element name="structureType" type="osgb:structureTypeType"/>
		</sequence>
	</complexType>
	<complexType name="changeHistoryType">
		<sequence>
			<element name="changeDate" type="date"/>
			<element name="reasonForChange" type="osgb:reasonForChangeType"/>
		</sequence>
	</complexType>
	<complexType name="heightAboveDatumType">
		<sequence>
			<element name="heightAboveDatum" type="double"/>
			<element name="accuracyOfHeightAboveDatum" type="osgb:accuracyOfPositionType"/>
		</sequence>
	</complexType>
	<complexType name="heightAboveGroundLevelType">
		<sequence>
			<element name="heightAboveGroundLevel" type="double"/>
			<element name="accuracyOfHeightAboveGroundLevel" type="osgb:accuracyOfPositionType"/>
		</sequence>
	</complexType>
	<complexType name="postalAddressType">
		<sequence>
			<element name="organisation" type="string" minOccurs="0"/>
			<element name="department" type="string" minOccurs="0"/>
			<element name="POBox" type="string" minOccurs="0"/>
			<element name="subBuildingName" type="string" minOccurs="0"/>
			<element name="buildingName" type="string" minOccurs="0"/>
			<element name="buildingNumber" type="string" minOccurs="0"/>
			<element name="dependentThoroughfare" type="string" minOccurs="0"/>
			<element name="thoroughfare" type="string" minOccurs="0"/>
			<element name="doubleDependentLocality" type="string" minOccurs="0"/>
			<element name="dependentLocality" type="string" minOccurs="0"/>
			<element name="postTown" type="string" minOccurs="0"/>
			<element name="postCode" type="osgb:postCodeType"/>
			<element name="deliveryPointSuffix" type="osgb:deliveryPointSuffixType" minOccurs="0"/>
		</sequence>
		<attribute name="nonGeographic" type="boolean" use="default" value="false"/>
	</complexType>
	<complexType name="positionalQualityType">
		<simpleContent>
			<extension base="osgb:positionalQualityStringType">
				<attribute name="accuracy" type="osgb:positionalQualityAccuracyType" use="required"/>
			</extension>
		</simpleContent>
	</complexType>
	<complexType name="postCodeType">
		<simpleContent>
			<extension base="osgb:postCodeStringType">
				<attribute name="type" type="osgb:postCodeTypeType" use="default" value="Small"/>
			</extension>
		</simpleContent>
	</complexType>
	<complexType name="textRenderingType">
		<sequence>
			<element name="anchorPosition" type="unsignedByte"/>
			<element name="font" type="unsignedByte"/>
			<element name="height" type="float"/>
			<element name="orientation" type="unsignedShort"/>
		</sequence>
	</complexType>
</schema>
