<?xml version="1.0" encoding="UTF-8"?>
<!-- "   V1.1   2007 08 25  
		  Add modification status of "archived" - change referenced package that use NaPT_common*  
			 No other changes-->
<!-- (c) Crown Copyright 2000-2007   -->
<xsd:schema xmlns="http://www.naptan.org.uk/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.naptan.org.uk/" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.4" id="NaptanWeb">
	<xsd:annotation>
		<xsd:appinfo>
			<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
				<Aggregation>main schema</Aggregation>
				<Audience>e-service developers</Audience>
				<Contributor>John Gallagher, Michale Parsons Thales Limited, . [mailto:schemer@thales.com]</Contributor>
				<Contributor>Nick Knowles, David Dunwoody Kizoom. [mailto:schemer@kizoom.com]</Contributor>
				<Contributor>Overall direction and Advice from Roger Slevin [Roger.Slevin@dft.gsi.gov.uk]</Contributor>
				<Coverage>United Kingdom</Coverage>
				<Creator>Version 1.0 Thales Limited, by John Gallagher. [mailto:schemer@thales.com]</Creator>
				<Date>
					<Created>2004-12-12</Created>
				</Date>
				<Date>
					<Modified>2005-01-12</Modified>
				</Date>
				<Date>
					<Modified>2007-01-09</Modified>
				</Date>
				<Date>
					<Modified>2007-08-29</Modified>
				</Date>
				<Date>
					<Modified>2010-30-01</Modified>
					<!-- 2.3 Remove Chameleon namespace : now naptan.org.uk/napt
								 Move subsidiary files to nat_web directory-->
				</Date>
				<Description>
					<p>NaptanWeb is an XML protocol to allow remote PT servers to obtain information about Stops and localities in the NaPTAN and the NPTG databases.</p>
					<p>NaptanWeb is a request response protocol with messages to (a) Check the existence and (b)  obtain information about  the following entities:</p>
					<ul>
						<li>NAPTAN Stop Points. Stops may be found by code or by NPTG Locality, or by area</li>
						<li>NAPTAN Stop Areas.</li>
						<li>NPTG Localities.</li>
						
									This is a subset that implements just the Stop Points Service
					</ul>
				</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.4/{NaptanWeb_stopPoints.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.4/napt_web/stopPoints-v2.3.xsd</Requires>
				</Relation>
				<Relation>
					<HasPart>ErrorHandling</HasPart>
				</Relation>
				<Rights>Unclassified
                               <Copyright>Crown Copyright 2000-2010.</Copyright>
				</Rights>
				<Source>
					<ul>
						<li>Developed from Naptan schema and JourneyWeb </li>
					</ul>
				</Source>
				<Status> Version 1.0 Stop Point Servcie onlyl </Status>
				<Subject>
					<Category> Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport,  Aircraft (civilian), Airports,  Aviation,
Ports and maritime transport, Ferries (marine), Maritime transport, Sea transport, Water transport (sea-going)
Public transport, Bus services, Coach services, Bus stops and stations
Rail transport, Infrastructure (railways), Railway stations and track, Train services, Underground trains
Roads and road transport, Car parks, Cars (road vehicles), Cycling (transport), Highways,  Infrastructure (roads), Minicabs, Motorcycles,
Parking, Pavements, Road signs,  Taxis,  Vehicles (road use), Walking (as transport),
Access for disabled people, Mobility for the disabled
                               </Category>
					<Project>Transport Direct</Project>
				</Subject>
				<Title>NaptanWeb, an XML protocol for obtaining information about NAPTAN stop points, stop areas, and NPTG localities.</Title>
				<Type>Standard</Type>
			</Metadata>
		</xsd:appinfo>
		<xsd:documentation>NaptanWeb, an XML protocol for obtaining information about NAPTAN stop points, stop areas, and NPTG localities.</xsd:documentation>
	</xsd:annotation>
	<!--Modules used-->
	<xsd:include schemaLocation="napt_web/NaptanWeb_stopPoints-v2.3.xsd"/>
	<xsd:element name="NaptanWeb">
		<xsd:annotation>
			<xsd:documentation>A request response protocol to find out about existing NAPTAN Stop Points,  
@SchemaVersion
Only responses valid for the requested version of the schema will be returned.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:choice>
				<xsd:element name="Request">
					<xsd:annotation>
						<xsd:documentation>@Language (optional) ISO639 value.
@SuppressNames (optional).
Contains one or more specific requests. </xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:choice>
							<xsd:element name="StopPointsRequest" type="StopPointsRequestStructure" minOccurs="0">
								<xsd:annotation>
									<xsd:documentation>@RequestID
Request information about a stop.</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:choice>
						<xsd:attribute name="Language" type="UkLanguageEnumeration" use="optional" default="EN"/>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="Response">
					<xsd:annotation>
						<xsd:documentation>@DataDate.
@DataName (optional).
Contains one or more responses.</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:sequence>
							<xsd:group ref="MessageGroup" minOccurs="0"/>
							<xsd:choice>
								<xsd:element name="StopPointsResponse" type="StopPointsResponseStructure" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation>@RequestID
Contains the points for the specified RequestID.</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
							</xsd:choice>
						</xsd:sequence>
						<xsd:attribute name="DataDate" type="xsd:date" use="required">
							<xsd:annotation>
								<xsd:documentation>Date when the source database was last updated.</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="DataName" type="xsd:string" use="optional">
							<xsd:annotation>
								<xsd:documentation>Optional name of the source database.</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
					</xsd:complexType>
				</xsd:element>
			</xsd:choice>
			<xsd:attribute name="SchemaVersion" type="xsd:NMTOKEN" use="required" fixed="2.4">
				<xsd:annotation>
					<xsd:documentation>The version of the schema that the NaptanWeb instance document was written against. This attribute conforms with e-GIF guidance.</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="LocationSystem" type="LocationSystemEnumeration" use="optional" default="Grid">
				<xsd:annotation>
					<xsd:documentation>Location reference system in which to return coordinates</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<!-- ======================================================================= -->
	<!-- Request Types -->
</xsd:schema>

