<?xml version="1.0" encoding="UTF-8"?><!-- edited with XMLSpy v2005 sp2 U (http://www.altova.com) by Nick js knowles (Kizoom Ltd.) --> <!-- 2005 06 01   --> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="NaPT_stop">	<xsd:annotation>		<xsd:appinfo xmlns:gms="http://www.govtalk.gov.uk/CM/gms">			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">				<Aggregation>main schema</Aggregation>				<Audience>e-service developers</Audience>				<Contributor>Revised for version 2.0 Kizoom Limited, by Tom White, Nicholas Knowles. mailto:schemer@kizoom.com</Contributor>				<Coverage>United Kingdom</Coverage>				<Creator>Created for TXC 2.0 Tom White, Kizoom mailto:schemer@kizoom.com</Creator>				<Date>					<Created>2004-02-01</Created>				</Date>				<Date>					<Modified>2004-09-22</Modified>				</Date>								<Date>					<Modified>2005-05-06</Modified>				</Date>				<Description>Stop types for National Public Transport XML schemas.</Description>				<Format>					<MediaType>text/xml</MediaType>					<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>					<Description>XML schema, W3C Recommendation 2001</Description>				</Format>				<Identifier>{http://www.naptan.org.uk/schemas/2.0/napt}NaPT_stop-v2-0.xsd</Identifier>				<Language>[ISO 639-2/B] ENG</Language>				<Publisher>Department for Transport, Great Minster House, 76 Marsham Street, London SW1P 4DR</Publisher>				<Relation>				 					<Requires>http://www.naptan.org.uk/schemas/2.0/napt/NaPT_common-v2-0.xsd</Requires>					<Requires>http://www.naptan.org.uk/schemas/2.0/napt/NaPT_geographic-v2-0.xsd</Requires>					<Requires>http://www.naptan.org.uk/schemas/2.0/napt/NaPT_topography-v2-0.xsd</Requires>					<Requires>http://www.naptan.org.uk/schemas/2.0/napt/NaPT_organisation-v2-0.xsd</Requires>				</Relation>				<Rights>Unclassified                             <Copyright>Crown Copyright 2000-2004</Copyright>				</Rights>				<Source>Factored out from 2.0 draft schema</Source>				<Status>Version 2.0 Draft for approval</Status>				<Subject>					<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport, Air transport, Airports, Ports and maritime transport, Ferries (marine), Public transport, Bus services, Coach services, Bus stops and stations, Rail transport, Railway stations and track, Train services, Underground trains, Business and industry, Transport, Air transport , Ports and maritime transport, Public transport, Rail transport, Roads and road transport </Category>					<Project>Transport Direct</Project>				</Subject>				<Title>Stop data types for National Public Transport XML schemas.</Title>				<Type>Standard</Type>			</Metadata>		</xsd:appinfo>	</xsd:annotation>	<xsd:include schemaLocation="NaPT_topography-v2-0.xsd"/>	<xsd:include schemaLocation="NaPT_dates-v2-0.xsd"/>	<xsd:include schemaLocation="NaPT_geographic-v2-0.xsd"/>	<xsd:include schemaLocation="NaPT_organisations-v2-0.xsd"/>	<!-- ======================================================================= -->	<!-- Simple Type Definitions -->	<xsd:simpleType name="AtcoCodeType">		<xsd:annotation>			<xsd:documentation>Unique identifier of a Stop - ATCO recommended coding as defined in the NaPTAN specification.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="[0-9]{3}[A-Za-z0-9]{2,9}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="StopAreaCodeType">		<xsd:annotation>			<xsd:documentation>The ATCO recommended coding for stop areas (groups) as defined in the NaPTAN specification.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:pattern value="[0-9]{3}[G0][A-Za-z0-9]{1,8}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="NaptanCodeType">		<xsd:annotation>			<xsd:documentation>Unique identifier of a stop for SMS and other customer facing delivery channels.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string">			<xsd:maxLength value="12"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="NaptanAlphaPrefixType">		<xsd:annotation>			<xsd:documentation>Three character SMS prefix for an area.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:length value="3"/>			<xsd:pattern value="[a-z]{3}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="PlateCodeType">		<xsd:annotation>			<xsd:documentation>The plate identifier placed on the stop.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:string"/>	</xsd:simpleType>	<xsd:simpleType name="StopTypeEnumeration">		<xsd:annotation>			<xsd:documentation>Allowed values for classifying NaPTAN Stops.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="AIR">				<xsd:annotation>					<xsd:documentation>Airport Entrance.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="airportEntrance"/>			<xsd:enumeration value="GAT">				<xsd:annotation>					<xsd:documentation>Air Airside Area.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="airAccessArea"/>			<xsd:enumeration value="FTD">				<xsd:annotation>					<xsd:documentation>Ferry Terminal / Dock Entrance.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="ferryTerminalDockEntrance"/>			<xsd:enumeration value="FER">				<xsd:annotation>					<xsd:documentation>Ferry / Dock Berth Area.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="ferryDockAccessArea"/>			<xsd:enumeration value="FBT"/>			<xsd:enumeration value="FerryBerth"/>			<xsd:enumeration value="RSE">				<xsd:annotation>					<xsd:documentation>Rail Station Entrance.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="railStationEntrance"/>			<xsd:enumeration value="RLY">				<xsd:annotation>					<xsd:documentation>Rail Platform Access Area.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="railAccessArea"/>			<xsd:enumeration value="RPL"/>			<xsd:enumeration value="railPlatform"/>			<xsd:enumeration value="TMU">				<xsd:annotation>					<xsd:documentation>Tram / Metro / Underground Entrance.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="tramMetroUndergroundStationEntrance"/>			<xsd:enumeration value="MET"/>			<xsd:enumeration value="tramMetroUndergroundAccessArea"/>			<xsd:enumeration value="PLT">				<xsd:annotation>					<xsd:documentation>Metro and Underground   Platform Access Area.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="tramMetroUndergroundPlatform"/>			<xsd:enumeration value="BCE">				<xsd:annotation>					<xsd:documentation>Bus / Coach Station Entrance.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="busCoachTramStationEntrance"/>			<xsd:enumeration value="BST"/>			<xsd:enumeration value="busCoachStationAccessArea"/>			<xsd:enumeration value="BCS">				<xsd:annotation>					<xsd:documentation>Bus / Coach bay / stand / stance within Bus / Coach Stations.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="busCoachTramStationBay"/>			<xsd:enumeration value="BCQ"/>			<xsd:enumeration value="busCoachTramStationVariableBay"/>			<xsd:enumeration value="BCT">				<xsd:annotation>					<xsd:documentation>On street Bus / Coach / Tram Stop.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="busCoachTramOnStreetPoint"/>			<xsd:enumeration value="TXR">				<xsd:annotation>					<xsd:documentation>Taxi Rank (head of).</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="taxiRank"/>			<xsd:enumeration value="STR">				<xsd:annotation>					<xsd:documentation>Shared Taxi Rank (head of).</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="sharedTaxiRank"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="CleardownCodeType">		<xsd:annotation>			<xsd:documentation>Number associated with stop used for wireless cleardown systems. 20 bit number</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:positiveInteger"/>	</xsd:simpleType>	<xsd:simpleType name="StopAreaTypeEnumeration">		<xsd:annotation>			<xsd:documentation>Allowed values for classifying NaPTAN Stop Areas (groups).</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="GPBS">				<xsd:annotation>					<xsd:documentation>Paired on-street Bus / Coach / Tram stops.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="pairedOnStreetBusStops"/>			<xsd:enumeration value="GCLS">				<xsd:annotation>					<xsd:documentation>Clustered on-street Bus / Coach / Tram stops.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="clusteredOnStreetBusStops"/>			<xsd:enumeration value="GAIR">				<xsd:annotation>					<xsd:documentation>Airport Building.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="airportBuilding"/>			<xsd:enumeration value="GBCS">				<xsd:annotation>					<xsd:documentation>Bus / Coach Station.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="busOrCoachStation"/>			<xsd:enumeration value="GFTD">				<xsd:annotation>					<xsd:documentation>Ferry Terminal / Dock Building.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="ferryTerminalOrDockBuilding"/>			<xsd:enumeration value="GTMU">				<xsd:annotation>					<xsd:documentation>Tram / Metro / Underground Station.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="tramMetroOrUndergroundStation"/>			<xsd:enumeration value="GRLS">				<xsd:annotation>					<xsd:documentation>Railway station.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="railwayStation"/>			<xsd:enumeration value="GMLT">				<xsd:annotation>					<xsd:documentation>Multimode Interchange.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="multimodaInterchange"/>			<xsd:enumeration value="GOTH">				<xsd:annotation>					<xsd:documentation>Other Structure.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="otherStructure"/>			<xsd:enumeration value="GCCH">				<xsd:annotation>					<xsd:documentation>Coach Service Coverage.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="coachCoverage"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="BusStopTypeEnumeration">		<xsd:annotation>			<xsd:documentation>Allowed values for classifying Bus Stops.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="MKD">				<xsd:annotation>					<xsd:documentation>Marked (pole, shelter etc).</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="marked"/>			<xsd:enumeration value="HAR">				<xsd:annotation>					<xsd:documentation>Hail and Ride - requires Hail and Ride section.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="hailAndRide"/>			<xsd:enumeration value="CUS">				<xsd:annotation>					<xsd:documentation>Custom (unmarked, or only marked on road).</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="custom"/>			<xsd:enumeration value="FLX">				<xsd:annotation>					<xsd:documentation>Flexible zone.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="flexible"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TimingStatusEnumeration">		<xsd:annotation>			<xsd:documentation>Allowed values for classification of the role of the stop.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="PPT">				<xsd:annotation>					<xsd:documentation>Principal Point. This stop is part of the service registration and is liable to inspections and enforcement.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="principlePoint"/>			<xsd:enumeration value="TIP">				<xsd:annotation>					<xsd:documentation>Time Info Point. This stop is not part of the service registration and is not liable to inspections or enforcement, however it is expected to be used within a timetable to identify a timing point which will not be a Principal Point.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="timeInfoPoint"/>			<xsd:enumeration value="PTP">				<xsd:annotation>					<xsd:documentation>Principal and Time Info Point. This stop is a Principal Point which is expected to be also used as a timing point within a timetable.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="principleTimingPoint"/>			<xsd:enumeration value="OTH">				<xsd:annotation>					<xsd:documentation>Other Bus Stop. This stop is not part of the service registration and is not liable to inspections or enforcement; it is not expected to be used as part of the timetable.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="otherPoint"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="StopActivityEnumeration">		<xsd:annotation>			<xsd:documentation>Activity undertaken by vehicle at a stop.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="pickUp"/>			<xsd:enumeration value="setDown"/>			<xsd:enumeration value="pickUpAndSetDown"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="VehicleAtStopActivityEnumeration">		<xsd:annotation>			<xsd:documentation>Activity undertaken by vehicle at a stop.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="pickUp"/>			<xsd:enumeration value="setDown"/>			<xsd:enumeration value="pickUpAndSetDown"/>			<xsd:enumeration value="pass"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="InterchangeActivityEnumeration">		<xsd:annotation>			<xsd:documentation>Relationship between incoming and outgoing journeys at an interchange.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="transferOnly">				<xsd:annotation>					<xsd:documentation>Passengers may only transfer to another service at interchange. The may not start or end their journey.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="change">				<xsd:annotation>					<xsd:documentation>Passengers may transfer to another service at interchange. The may also start or end their journey.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="through">				<xsd:annotation>					<xsd:documentation>Passengers will  transfer to another service by remaining on vehicle. They may also start or end their journey.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="split">				<xsd:annotation>					<xsd:documentation>Service divides into different journeys at interchange. Passengers must choose appropriate coach. They may also start or end their journey.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>			<xsd:enumeration value="join">				<xsd:annotation>					<xsd:documentation>Service merges two different journeys at interchange. Passengers may also start or end their journey.</xsd:documentation>				</xsd:annotation>			</xsd:enumeration>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="JourneyStopTypeEnumeration">		<xsd:annotation>			<xsd:documentation>Allowed values for use of stop in journey.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:enumeration value="origin"/>			<xsd:enumeration value="intermediate"/>			<xsd:enumeration value="destination"/>			<xsd:enumeration value="originDestination"/>		</xsd:restriction>	</xsd:simpleType>	<!-- ====Entity Identifiers==================================================== -->	<xsd:simpleType name="IataCodeType">		<xsd:annotation>			<xsd:documentation>International Air Transport Association code identifying an airport.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN"/>	</xsd:simpleType>	<xsd:simpleType name="NationalFerryPortCodeType">		<xsd:annotation>			<xsd:documentation>National Ferry code identifying a port.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN"/>	</xsd:simpleType>	<xsd:simpleType name="CrsCodeType">		<xsd:annotation>			<xsd:documentation>Three character CRS code identifying a station.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:length value="3"/>			<xsd:pattern value="[A-Z]{3}"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="TiplocCodeType">		<xsd:annotation>			<xsd:documentation>Timing Point Location code. These are usually 4 to 7 uppercase letters, though numbers may be used for non-station locations such as "Shalford Signal 21". Used by train planners to identify what time trains should arrive at, depart or pass a particular point. UK rail stations always have one or more TIPLOCs, but not all TIPLOCs are located at a train station or are even on the rail network.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:minLength value="4"/>			<xsd:maxLength value="7"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="NationalLocationCodeType">		<xsd:annotation>			<xsd:documentation>NLC code for a location as used by RJIS These are usually 5 or 6 digits, though letters may appear for non-station locations such as "Alton Towers". Those locations which are stations generally have NLCs ending "00" - this suffix is often omitted in booking offices.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN">			<xsd:minLength value="4"/>			<xsd:maxLength value="7"/>		</xsd:restriction>	</xsd:simpleType>	<xsd:simpleType name="MetroCodeType">		<xsd:annotation>			<xsd:documentation>Code identifying a metro station.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN"/>	</xsd:simpleType>	<xsd:simpleType name="NationalCoachCodeType">		<xsd:annotation>			<xsd:documentation>National Coach code identifying a coach location. Includes National Express Group codes.</xsd:documentation>		</xsd:annotation>		<xsd:restriction base="xsd:NMTOKEN"/>	</xsd:simpleType>	<xsd:complexType name="AnnotatedAirRefStructure">		<xsd:annotation>			<xsd:documentation>Collation with air industry reference systems</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="IataRef" type="IataCodeType">				<xsd:annotation>					<xsd:documentation>International Air Transport Association code for the airport.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Name" type="NaturalLanguageStringStructure">				<xsd:annotation>					<xsd:documentation>Name of airport. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="AnnotatedFerryRefStructure">		<xsd:annotation>			<xsd:documentation>Collation with ferry and shipping industry reference systems.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="FerryRef" type="NationalFerryPortCodeType">				<xsd:annotation>					<xsd:documentation>National Ferry  code for ferry port.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Name of port. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="LocationStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Location if different from that specified for point.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="AnnotatedRailRefStructure">		<xsd:annotation>			<xsd:documentation>Collation with rail industry reference systems</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="TiplocRef" type="TiplocCodeType">				<xsd:annotation>					<xsd:documentation>TIming Point LOcation Code . Character code 4-6 alphanumeric characters e.g. CHST, KNGX, KNGXBAL. Non-rail locations may also have TIPLOCs.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="CrsRef" type="CrsCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Three letter Computer Reservation System code identifying a station. e.g. KGX.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="StationName" type="NaturalLanguageStringStructure">				<xsd:annotation>					<xsd:documentation>Name of station. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="LocationStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Location if different from that specified for point.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="AnnotatedMetroRefStructure">		<xsd:annotation>			<xsd:documentation>Collation with  transport industry reference systems.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="MetroRef" type="MetroCodeType">				<xsd:annotation>					<xsd:documentation>Metro code for underground station.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Name of station. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="LocationStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Location if different from that specified for point.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="AnnotatedCoachRefStructure">		<xsd:annotation>			<xsd:documentation>Collation with coach industry reference systems</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="CoachRef" type="NationalCoachCodeType">				<xsd:annotation>					<xsd:documentation>National coach for coach location (Including National Express Group codes).</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Name" type="NaturalLanguageStringStructure">				<xsd:annotation>					<xsd:documentation>Name of coach location. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="LongName" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Long name of coach location. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="LocationStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Location if different from that specified for point.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<!-- ====Stop Points========================================================= -->	<xsd:group name="StopIdentifierGroup">		<xsd:annotation>			<xsd:documentation>Alternative identifers of a stop</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="NaptanCode" type="NaptanCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Short NaPTAN  code for passengers to use when uniquely identifying the stop by SMS and other self-service channels.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="PlateCode" type="PlateCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Plate number for stop. An arbitrary asset number that may be placed on stop to identify it.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="PrivateCode" type="PrivateCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>A private code that uniquely identifies the stop. May be used for interoperating with other (legacy) systems.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="CleardownCode" type="CleardownCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>A 20 bit number used for wireless cleardown of stop displays by some AVL systems. Number format defined by RTIG.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:group>	<xsd:complexType name="StopPointsStructure">		<xsd:annotation>			<xsd:documentation>A collection of one or more stops.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopPoint" type="StopPointStructure" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>A NaPTAN stop definition. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="StopPointStructure">		<xsd:annotation>			<xsd:documentation>A local NaPTAN stop definition.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="AtcoCode" type="AtcoCodeType">				<xsd:annotation>					<xsd:documentation>Full NaPTAN stop identifier that uniquely identifies the stop within the UK. </xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:group ref="StopIdentifierGroup"/>			<xsd:element name="Descriptor" type="DescriptorStructure">				<xsd:annotation>					<xsd:documentation>Structured textual description of stop.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="AlternativeDescriptors" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Alternative name for stop. Can be used to provide both aliases and bilingual support.</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element name="Descriptor" maxOccurs="unbounded">							<xsd:annotation>								<xsd:documentation>Alternative structured description of stop.  @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>							</xsd:annotation>							<xsd:complexType>								<xsd:complexContent>									<xsd:extension base="DescriptorStructure">										<xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>									</xsd:extension>								</xsd:complexContent>							</xsd:complexType>						</xsd:element>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="Place">				<xsd:annotation>					<xsd:documentation>Place where stop is located.</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element name="NptgLocalityRef" type="NptgLocalityRefStructure">							<xsd:annotation>								<xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>								<xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="AlternativeNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Additional NPTG localities within which stop lies.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="MainNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">							<xsd:annotation>								<xsd:documentation>NPTG Localities for which the stop is a mainstop point, that is one of the main or most central PTANs. </xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="Suburb" type="NaturalLanguagePlaceNameStructure" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Suburb within which stop lies. @lang.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="Town" type="NaturalLanguagePlaceNameStructure" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Town within which stop lies. @lang.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="LocalityCentre" type="xsd:boolean" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Whether the locality is a centre or not.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="Location">							<xsd:annotation>								<xsd:documentation>Spatial coordinates of stop.             @precision.</xsd:documentation>							</xsd:annotation>							<xsd:complexType>								<xsd:complexContent>									<xsd:extension base="LocationStructure"/>								</xsd:complexContent>							</xsd:complexType>						</xsd:element>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="StopClassification" type="StopClassificationStructure">				<xsd:annotation>					<xsd:documentation>Classification, e.g. on-street bus stop; platform at a railway station.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="StopAreas" type="StopAreaRefsStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>The StopAreas to which the stop belongs.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">				<xsd:annotation>					<xsd:documentation>NPTG administrative area that manages stop data.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="PlusbusZones" type="PlusbusZoneRefsStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>PlusbusZones that stop belongs to.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Notes" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Notes about a stop. @lang</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="StopAvailability" type="StopValidityStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="StopPointRefStructure">		<xsd:annotation>			<xsd:documentation>Data type forA direct reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>		</xsd:annotation>		<xsd:simpleContent>			<xsd:extension base="AtcoCodeType"/>		</xsd:simpleContent>	</xsd:complexType>	<xsd:complexType name="StopPointVersionedRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a versioned reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>		</xsd:annotation>		<xsd:simpleContent>			<xsd:extension base="AtcoCodeType">				<xsd:attributeGroup ref="ModificationDetailsGroup"/>			</xsd:extension>		</xsd:simpleContent>	</xsd:complexType>	<xsd:complexType name="StopPointWrappedRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a child reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopPointRef" type="StopPointRefStructure">				<xsd:annotation>					<xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="StopPointRefsStructure">		<xsd:annotation>			<xsd:documentation>Data type for a  collection of one or more stop refs.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopPointRef" type="StopPointVersionedRefStructure" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="AnnotatedStopPointRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for an annotated reference to a stop that is defined elsewhere using a StopPointStructure. The annotation is the stop's common name.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopPointRef" type="AtcoCodeType">				<xsd:annotation>					<xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="CommonName" type="NaturalLanguageStringStructure">				<xsd:annotation>					<xsd:documentation>Common name for the stop. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Brief additional description to further distinguish the stop. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="LocalityName" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Name of NPTG Locality in which stop lies.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="LocalityQualifier" type="NaturalLanguageStringStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Any qualifier of NPTG Locality in which stop lies.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="DescriptorStructure">		<xsd:annotation>			<xsd:documentation>Data type for a Structured text description of stop.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="CommonName" type="NaturalLanguagePlaceNameStructure">				<xsd:annotation>					<xsd:documentation>Common name for the stop in a specified language. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="ShortCommonName" type="NaturalLanguagePlaceNameStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Landmark" type="NaturalLanguagePlaceNameStructure">				<xsd:annotation>					<xsd:documentation>Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Street" type="NaturalLanguagePlaceNameStructure">				<xsd:annotation>					<xsd:documentation>Street of stop. @lang</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Crossing" type="NaturalLanguagePlaceNameStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="StopClassificationStructure">		<xsd:annotation>			<xsd:documentation>Data type for Type of stop. Some stop types have required subelements.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopType" type="StopTypeEnumeration">				<xsd:annotation>					<xsd:documentation>Classification of the stop as one of the NaPTAN stop types. Enumerated value.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:choice>				<xsd:element name="OnStreet">					<xsd:annotation>						<xsd:documentation>On street access point.</xsd:documentation>					</xsd:annotation>					<xsd:complexType>						<xsd:choice>							<xsd:element name="Bus">								<xsd:annotation>									<xsd:documentation>A bus, coach or tram stop.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:element name="BusStopType" type="BusStopTypeEnumeration">											<xsd:annotation>												<xsd:documentation>Legacy classification of bus stop sub type. Enumerated value.</xsd:documentation>											</xsd:annotation>										</xsd:element>										<xsd:element name="TimingStatus" type="TimingStatusEnumeration">											<xsd:annotation>												<xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value.</xsd:documentation>											</xsd:annotation>										</xsd:element>										<xsd:group ref="BusStopClassificationGroup"/>									</xsd:sequence>								</xsd:complexType>							</xsd:element>							<xsd:element name="Taxi">								<xsd:annotation>									<xsd:documentation>A taxi rank.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:choice>										<xsd:element name="TaxiRank" type="EmptyType">											<xsd:annotation>												<xsd:documentation>[TXR] The head of a taxi rank. </xsd:documentation>											</xsd:annotation>										</xsd:element>										<xsd:element name="SharedTaxiRank" type="EmptyType">											<xsd:annotation>												<xsd:documentation>[STR] The head of a shared taxi rank. </xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:choice>								</xsd:complexType>							</xsd:element>						</xsd:choice>					</xsd:complexType>				</xsd:element>				<xsd:element name="OffStreet">					<xsd:annotation>						<xsd:documentation>Station, interchange or other off-street access point.</xsd:documentation>					</xsd:annotation>					<xsd:complexType>						<xsd:choice>							<xsd:element name="Air">								<xsd:annotation>									<xsd:documentation>An airport PTAN.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:choice>											<xsd:element name="Entrance" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[AIR] Airport entrance. </xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="AccessArea" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[GAT] Airport interchange area.</xsd:documentation>												</xsd:annotation>											</xsd:element>										</xsd:choice>										<xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">											<xsd:annotation>												<xsd:documentation>Collation with other reference systems.</xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:sequence>								</xsd:complexType>							</xsd:element>							<xsd:element name="Ferry">								<xsd:annotation>									<xsd:documentation>A ferry terminal or dock PTAN.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:choice>											<xsd:element name="Entrance" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[FTD] Ferry terminal or dock entrance. </xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="AccessArea" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[FER] Ferry or port interchange area.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="Berth" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[FBT] Ferry berth.</xsd:documentation>												</xsd:annotation>											</xsd:element>										</xsd:choice>										<xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">											<xsd:annotation>												<xsd:documentation>Collation with other industry reference systems</xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:sequence>								</xsd:complexType>							</xsd:element>							<xsd:element name="Rail">								<xsd:annotation>									<xsd:documentation>A railway station PTAN.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:choice>											<xsd:element name="Entrance" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[RSE] Railway station entrance.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="AccessArea" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[RLY] Railway interchange area away from entrance.  </xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="Platform" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[RPL] Specific platform.</xsd:documentation>												</xsd:annotation>											</xsd:element>										</xsd:choice>										<xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">											<xsd:annotation>												<xsd:documentation>Collation with other industry reference systems.</xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:sequence>								</xsd:complexType>							</xsd:element>							<xsd:element name="Metro">								<xsd:annotation>									<xsd:documentation>A metro, tram or underground station PTAN.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:choice>											<xsd:element name="Entrance" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[TMU] Metro, tram or underground entrance.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="AccessArea" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[MET] Metro, tram or underground interchange area.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="Platform" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[PLT] Metro, tram or underground platform.</xsd:documentation>												</xsd:annotation>											</xsd:element>										</xsd:choice>										<xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">											<xsd:annotation>												<xsd:documentation>Collation with other industry reference systems.</xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:sequence>								</xsd:complexType>							</xsd:element>							<xsd:element name="BusAndCoach">								<xsd:annotation>									<xsd:documentation>A coach station PTAN.</xsd:documentation>								</xsd:annotation>								<xsd:complexType>									<xsd:sequence>										<xsd:choice>											<xsd:element name="Entrance" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[BCE] Bus or Coach station entrance.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="AccessArea" type="EmptyType">												<xsd:annotation>													<xsd:documentation>[BST] Bus or Coach station non-specific access area.</xsd:documentation>												</xsd:annotation>											</xsd:element>											<xsd:element name="Bay">												<xsd:annotation>													<xsd:documentation>[BCS - MKD] Bay, stand or stance within a bus or coach  station.</xsd:documentation>												</xsd:annotation>												<xsd:complexType>													<xsd:sequence>														<xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">															<xsd:annotation>																<xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>															</xsd:annotation>														</xsd:element>													</xsd:sequence>												</xsd:complexType>											</xsd:element>											<xsd:element name="VariableBay">												<xsd:annotation>													<xsd:documentation>[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.</xsd:documentation>												</xsd:annotation>												<xsd:complexType>													<xsd:sequence>														<xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">															<xsd:annotation>																<xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>															</xsd:annotation>														</xsd:element>													</xsd:sequence>												</xsd:complexType>											</xsd:element>										</xsd:choice>										<xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">											<xsd:annotation>												<xsd:documentation>Collation with other reference systems.</xsd:documentation>											</xsd:annotation>										</xsd:element>									</xsd:sequence>								</xsd:complexType>							</xsd:element>						</xsd:choice>					</xsd:complexType>				</xsd:element>			</xsd:choice>		</xsd:sequence>	</xsd:complexType>	<xsd:group name="BusStopClassificationGroup">		<xsd:annotation>			<xsd:documentation>Type of Bus stop. </xsd:documentation>		</xsd:annotation>		<xsd:choice>			<xsd:element name="MarkedPoint">				<xsd:annotation>					<xsd:documentation>[BCT - MKD] Marked stop - for example a pole or a shelter. Point footprint. </xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element name="DefaultWaitTime" type="DurationType" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Default time to wait at the bus stop as a Duration.</xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:element name="Bearing" type="BearingStructure">							<xsd:annotation>								<xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>							</xsd:annotation>						</xsd:element>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="UnmarkedPoint">				<xsd:annotation>					<xsd:documentation>[BCT - CUS] Unmarked stop (or only marked on the road). Point footprint. .</xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element name="Bearing" type="BearingStructure">							<xsd:annotation>								<xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>							</xsd:annotation>						</xsd:element>					</xsd:sequence>				</xsd:complexType>			</xsd:element>			<xsd:element name="HailAndRideSection" type="HailAndRideSectionStructure">				<xsd:annotation>					<xsd:documentation>[BCT - HAR] Hail and ride section of route, with a linear footprint.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="FlexibleZone" type="FlexibleZoneStructure">				<xsd:annotation>					<xsd:documentation>[BCT - FLX] Flexible zone, with an area footprint.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:choice>	</xsd:group>	<xsd:complexType name="StopValidityStructure">		<xsd:annotation>			<xsd:documentation>Data type for Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely, </xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopValidity" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. </xsd:documentation>				</xsd:annotation>				<xsd:complexType>					<xsd:sequence>						<xsd:element name="DateRange" type="HalfOpenDateRangeStructure">							<xsd:annotation>								<xsd:documentation>Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   </xsd:documentation>							</xsd:annotation>						</xsd:element>						<xsd:choice>							<xsd:annotation>								<xsd:documentation>Status</xsd:documentation>							</xsd:annotation>							<xsd:element name="Active" type="EmptyType">								<xsd:annotation>									<xsd:documentation>Stop is active during the period defined by date range.</xsd:documentation>								</xsd:annotation>							</xsd:element>							<xsd:element name="Suspended" type="EmptyType">								<xsd:annotation>									<xsd:documentation>Stop is suspended during the period specified by date range.</xsd:documentation>								</xsd:annotation>							</xsd:element>							<xsd:element name="Transferred" type="StopPointWrappedRefStructure">								<xsd:annotation>									<xsd:documentation>Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. </xsd:documentation>								</xsd:annotation>							</xsd:element>						</xsd:choice>						<xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">							<xsd:annotation>								<xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>							</xsd:annotation>						</xsd:element>					</xsd:sequence>					<xsd:attributeGroup ref="ModificationDetailsGroup"/>				</xsd:complexType>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="FlexibleZoneStructure">		<xsd:annotation>			<xsd:documentation>Data type for a geographical zone of operation within which a flexible service operates.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>Polygon of three or more points describing the spatial boundary of the zone. @Precision @id</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="HailAndRideSectionStructure">		<xsd:annotation>			<xsd:documentation>Definition of the hail and ride section.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StartPoint" type="LocationStructure">				<xsd:annotation>					<xsd:documentation>Point at which service starts.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="EndPoint" type="LocationStructure">				<xsd:annotation>					<xsd:documentation>Point at which service ends.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Bearing" type="BearingStructure" minOccurs="0"/>		</xsd:sequence>		<xsd:attributeGroup ref="ModificationDetailsGroup"/>	</xsd:complexType>	<!-- ====StopArea========================================================= -->	<xsd:complexType name="StopAreasStructure">		<xsd:annotation>			<xsd:documentation>A collection of one or more stop areas.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopArea" type="StopAreaStructure" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>A grouping of adjacent NaPTAN stops. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="StopAreaStructure">		<xsd:annotation>			<xsd:documentation>A group or area of related stops.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopAreaCode" type="StopAreaCodeType">				<xsd:annotation>					<xsd:documentation>Code that uniquely identifies the stop area within the UK.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="PrivateCode" type="PrivateCodeType" minOccurs="0">				<xsd:annotation>					<xsd:documentation>A private code that uniquely identifies the area. May be used for interoperating with other (legacy) systems.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">				<xsd:annotation>					<xsd:documentation>Name of the area.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="ParentStopAreaRef" type="StopPointVersionedRefStructure" minOccurs="0">				<xsd:annotation>					<xsd:documentation>Code that identifies any parent stop area of the area. Many levels of parent hierarchy are allowed.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">				<xsd:annotation>					<xsd:documentation>NPTG administrative area that manages stop area. </xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="StopAreaType" type="StopAreaTypeEnumeration">				<xsd:annotation>					<xsd:documentation>Classification of the area. Enumerated value.</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="LocationStructure">				<xsd:annotation>					<xsd:documentation>Spatial coordinates of the area. @Precision.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>		<xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>	</xsd:complexType>	<xsd:complexType name="StopAreaRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>		</xsd:annotation>		<xsd:simpleContent>			<xsd:extension base="StopAreaCodeType"/>		</xsd:simpleContent>	</xsd:complexType>	<xsd:complexType name="StopAreaVersionedRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a versioned direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>		</xsd:annotation>		<xsd:simpleContent>			<xsd:extension base="StopAreaCodeType">				<xsd:attributeGroup ref="ModificationDetailsGroup"/>			</xsd:extension>		</xsd:simpleContent>	</xsd:complexType>	<xsd:complexType name="StopAreaWrappedRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a child reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopAreaRef" type="StopAreaRefStructure">				<xsd:annotation>					<xsd:documentation>Reference to an area of NaPTAN stops.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<xsd:complexType name="StopAreaRefsStructure">		<xsd:annotation>			<xsd:documentation>Data type for a  collection of one or more stop area refs.</xsd:documentation>		</xsd:annotation>		<xsd:sequence>			<xsd:element name="StopAreaRef" type="StopAreaVersionedRefStructure" maxOccurs="unbounded">				<xsd:annotation>					<xsd:documentation>Reference to the identifier of a stop area.</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:sequence>	</xsd:complexType>	<!-- ====Place========================================================= -->	<xsd:complexType name="PlaceRefStructure">		<xsd:annotation>			<xsd:documentation>Data type for a Reference to a place, may be any one out of a stop point, geospatial location or Locality</xsd:documentation>		</xsd:annotation>		<xsd:choice>			<xsd:element name="StopPointRef" type="StopPointRefStructure">				<xsd:annotation>					<xsd:documentation>NaPTAN Stop point identifier. </xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="Location" type="GridPositionStructure">				<xsd:annotation>					<xsd:documentation>Geospatial location @Precision</xsd:documentation>				</xsd:annotation>			</xsd:element>			<xsd:element name="NptgLocalityRef" type="NptgLocalityVersionedRefStructure">				<xsd:annotation>					<xsd:documentation>NPTG identifier of locality</xsd:documentation>				</xsd:annotation>			</xsd:element>		</xsd:choice>	</xsd:complexType></xsd:schema>
