<?xml version="1.0" encoding="UTF-8"?>
<!--
    ================================================
    RTTI-XML Train Real Time Information Schema 
    Documentation Schema.
    ================================================

    Defines an XML protocol providing bus & tram real-time movement information.
        Includes Stop Centric & Vehicle Centric responses.
        
    This Schema is for convenience : it groups the various protocols from 
    trident_rtti_schema.xsed  under a common element.
   
    History 
      2003 Jan 10   Version 1.00   Version attribute added
      2003 Jan 8   Add version no to namespace URL 
2004 Mar 2 Revise ArrivalDepartureStatus, add metadata, revise namespace versioning, add id  
 -->
<xs:schema targetNamespace="http://www.rtigxml.org.uk/schema/trident-rtti" xmlns="http://www.rtigxml.org.uk/schema/trident-rtti" xmlns:rt="http://www.rtigxml.org.uk/schema/trident-rt" xmlns:trd="http://www.trident.org/schema/trident" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.00">
	<xs:annotation>
		<xs: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 1.1 Kizoom Limited, by  Nicholas Knowles. mailto:schemer@kizoom.com</Contributor>
				<Coverage>United Kingdom</Coverage>
				<Contributor>RTIG WG! Group Peter Miller, Richard Thurbin Acis, Brian Higbee, Ernst Pfister Siemens, Adrian Walters Infocell , Sven-Oliver Vogel IVU, Lyndon Shaw Amey Datel</Contributor>
				<Creator>Created for RtigXml  1.0 Adam Cohen Rose, Kizoom mailto:schemer@kizoom.com</Creator>
				<Date>
					<Modified>2004-03-12</Modified>
				</Date>
				<Date>
					<Modified>2003-01-08</Modified>
				</Date>
				<Date>
					<Created>2002-09-10</Created>
				</Date>
				<Description> RtigXML rtte XML  schema for exchanging real time train data.  
				 
				 
				</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.rtigzml.org.uk/schemas/2.0a/RtigXml.xsd</Identifier>
				<Language>[ISO 639-2/B] ENG</Language>
				<Publisher>Real Time Interest Group.   London, UK</Publisher>
				<Relation>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/Trident_Real_Time_XML/trident_rt_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/Trident.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/trident_Situation_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/Trident-Request-Answer.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/Trident_Trip_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/tridentTrident_Global_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/Trident_Message_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/trident_Location_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/trident_PT_schema.xsd</Requires>
					<Requires>http://www.rtigxml.org.uk/schemas/1.1a/trident/trident_Road_schema.xsd</Requires>
					<Requires>http://www.w3.org/2001/xml.xsd</Requires>
				</Relation>
				<Rights>Unclassified
                               <Copyright>RTIG 2002-2004                                 
                              <p>> The RtigXml Schema is Copyright by RTIG.  It may reference other Schemas that are Crown Copyright, or that are owned by Associate Members of the UK Government GovTalk initiative.</p>
						<p>Anyone who wishes to reproduce the Schema in any format must acknowledge the source and state that the Schema are the copyright of  RTIG, the named Associate Member or Crown copyright, as appropriate. The permission to reproduce does not extend to any Schema or parts of Schema which are specifically identified as being the copyright of anyone who is not a Member or Associate Member. Permission to reproduce these Schema or parts of these Schema must be obtained from the identified copyright holders.</p>
						<p>The general terms of use for the UK Governments XML schema can be found at http://www.govtalk.gov.uk/registration/tc.asp</p>
						<p>The RtigXML schema references the Trident Schema. Copyright in the Trident Schema resides with TRIDENT consortium,.</p>
						<p>Trident Schema Copyright (c) 2001 TRIDENT consortium, All Rights Reserved.
The Trident Schema may not be used for any other purposes other than to support the RtigXML schema without the explicit consent of the Trident consortium.</p>
					</Copyright>
				</Rights>
				<Source>Derived from Trident and VDV 453 Specifications</Source>
				<Status> Version 1.1 Draft for approval </Status>
				<Subject>
					<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport, 
Public transport, Bus services, Coach services, Bus stops and stations
Rail transport, Infrastructure (railways),  Train services, 
Roads and road transport</Category>
					<Project>RTIG Server To Server Groupt</Project>
				</Subject>
				<Title>RtigXML XML  schema for exchanging real time bus and train data.</Title>
				<Type>Standard</Type>
			</Metadata>
		</xs:appinfo>
	</xs:annotation>
	<xs:import namespace="http://www.rtigxml.org.uk/schema/trident-rt" schemaLocation="../Trident_Real_Time_XML/trident_rt_schema.xsd"/>
	<xs:include schemaLocation="trident_rtti_schema.xsd"/>
	<xs:element name="RttiApi">
		<xs:annotation>
			<xs:documentation>This element is for convenience. It groups  the actual response elements of the API for display purposes </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="rt:PTStatusRealTimeRequest"/>
				<xs:element ref="rt:PTStatusRealTimeRegistrationRequest"/>
				<xs:element ref="rt:PTStatusRealTimeDelivery"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

