XML Schema "siri_line-v2.0.xsd"
Target Namespace:
http://www.siri.org.uk/siri
Version:
2.0
Defined Components:
elements (2 global + 17 local), complexTypes (4)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Users\Tony\eclipse_workspace\siri-20-java\xsd\siri_model_discovery\siri_line-v2.0.xsd; see XML source
Imports Schemas (1):
ifopt_stop-v0.3.xsd [src]
Includes Schemas (2):
siri_journey-v2.0.xsd [src], siri_stopPoint-v2.0.xsd [src]
Included in Schemas (1):
siri_discovery.xsd [src]
Annotation
SIRI subschema with view of LINE for use in Discovery service
All Element Summary
AnnotatedLineRef
Information about LINEs covered by server.
Type:
Content:
complex, 6 elements
Defined:
globally; see XML source
Used:
never
Destination
Description of a DESTINATION.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
DestinationRef (type DestinationRefStructure)
Type:
Content:
simple
Defined:
locally at 3 locations
Destinations (in AnnotatedLineRef)
DESTINATIONs to which the LINE runs.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AnnotatedLineStructure complexType; see XML source
Includes:
definition of 1 element
Direction (in Directions)
Directions of Route
Type:
Content:
complex, 4 elements
Defined:
locally within Directions element; see XML source
DirectionRef (type DirectionRefStructure)
Type:
Content:
simple
Defined:
locally at 20 locations
Directions (in AnnotatedLineRef)
DIRECTIONs and Stops for the LINE.
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within AnnotatedLineStructure complexType; see XML source
Includes:
definition of 1 element
JourneyPattern (in JourneyPatterns)
JourneyPattern.
Type:
anonymous complexType
Content:
complex, 3 elements
Defined:
locally within JourneyPatterns element; see XML source
Includes:
definitions of 3 elements
JourneyPatterns (in Direction in Directions)
JourneyPatterns in Direction of route (+SIRI 2.0)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
LineName (in AnnotatedLineRef)
Name of LINE.
Type:
Content:
simple, 1 attribute
Defined:
locally within AnnotatedLineStructure complexType; see XML source
LineRef (type LineRefStructure)
Type:
Content:
simple
Defined:
locally at 23 locations
LinkProjectionToNextStopPoint (type ifopt:LinkProjectionStructure)
Type:
Content:
complex, 2 elements
Defined:
locally at 2 locations
Monitored (type xsd:boolean)
Type:
xsd:boolean
Content:
simple
Defined:
locally at 8 locations
Name (type NaturalLanguageStringStructure)
Type:
Content:
simple, 1 attribute
Defined:
locally at 6 locations
OnwardLinkShape (in StopPointInPattern)
Plot of points from this stop to next Stop.
Type:
Content:
complex, 1 element
Defined:
Order (type xsd:positiveInteger)
Type:
xsd:positiveInteger
Content:
simple
Defined:
locally at 2 locations
PlaceName (type NaturalLanguageStringStructure)
Type:
Content:
simple, 1 attribute
Defined:
locally at 4 locations
StopPointInPattern (in StopsInPattern)
Stop within Route of LINE.
Type:
Content:
complex, 13 elements
Defined:
locally within StopsInPattern element; see XML source
StopsInPattern (in JourneyPattern)
Ordered collection of STOP POINTs the LINE and direction .
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within JourneyPattern element; see XML source
Includes:
definition of 1 element
Complex Type Summary
Type for DESTINATION and place name.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Summary information about a LINE type.
Content:
complex, 6 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Summary information about a Direction of a Line
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Summary information about a stop within line
Content:
complex, 13 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" id="siri_stopPoint" targetNamespace="http://www.siri.org.uk/siri" version="2.0" xmlns="http://www.siri.org.uk/siri" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Contributor>CEN TC278 WG3 SG7 Team</Contributor>
<Coverage>Europe</Coverage>
<Creator>
Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk
</Creator>
<Date>
<Created>2012-03-23</Created>
</Date>
<Date>
<Modified>2008-11-17</Modified>
Revise to support substitution groups
Correct Type on VEHICLE features delivery structure
</Date>
<Date>
<Modified>2012-03-23</Modified>
+SIRI v2.0
Factored out from siri_discovery
</Date>
<Date>
<Modified>2012-05-10</Modified>
+SIRI v2.0
[MTA] Add stops and line shape
[General] Add Extensiosn tag to Lines response
</Date>
<Date>
<Modified>2012-06-12</Modified>
+SIRI v2.0
[MTA] Add Direction to Line destination
</Date>
<Description>
<p>
SIRI is a European CEN technical standard for the exchange of real-time information.
</p>
<p>
This subschema describes soem code value models used by different SIRI functional services
<ul>
<li>Service Feature discovery</li>
<li>TYPE OF PRODUCT CATEGORY Discovery</li>
</ul>
</p>
</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.siri.org.uk/schema/2.0/xsd/}siri_discovery.xsd
</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
<Relation>
<Requires>
http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests-v2.0.xsd
</Requires>
<Requires>
http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_reference-v2.0.xsd
</Requires>
</Relation>
<Rights>
Unclassified
<Copyright>CEN, VDV, RTIG 2004-2012</Copyright>
</Rights>
<Source>
<ul>
<li>
Discovery services Derived from the NaPTAN standard .
</li>
</ul>
</Source>
<Status>Version 2.0 Draft</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>CEN TC278 WG3 SG7</Project>
</Subject>
<Title>
SIRI_DS XML schema. Service Interface for Real-time Information. Stop Discovery subschema.
</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>
SIRI subschema with view of LINE for use in Discovery service
</xsd:documentation>
</xsd:annotation>
<!-- ======================================================================= -->
<xsd:include schemaLocation="../siri_model/siri_journey-v2.0.xsd"/>
<xsd:import namespace="http://www.ifopt.org.uk/ifopt" schemaLocation="../ifopt/ifopt_stop-v0.3.xsd"/>
<xsd:include schemaLocation="siri_stopPoint-v2.0.xsd"/>
<!-- ======================================================================= -->
<!-- === LINE =================================================== -->
<xsd:element name="AnnotatedLineRef" type="AnnotatedLineStructure">
<xsd:annotation>
<xsd:documentation>Information about LINEs covered by server.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="AnnotatedLineStructure">
<xsd:annotation>
<xsd:documentation>Summary information about a LINE type.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="LineRef" type="LineRefStructure">
<xsd:annotation>
<xsd:documentation>Identifier of LINE.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="LineName" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>Name of LINE. (Unbounded since SIRI 2.0)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element default="true" name="Monitored" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Whether the LINE has real-time info. Default is 'true'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="Destinations">
<xsd:annotation>
<xsd:documentation>
DESTINATIONs to which the LINE runs. Detail level is 'normal'
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" ref="Destination"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="Directions">
<xsd:annotation>
<xsd:documentation>DIRECTIONs and Stops for the LINE. 'normal'</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Direction" type="RouteDirectionStructure">
<xsd:annotation>
<xsd:documentation>Directions of Route</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:complexType>
<!-- ======================================================================= -->
<xsd:complexType name="RouteDirectionStructure">
<xsd:annotation>
<xsd:documentation>Summary information about a Direction of a Line</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="DirectionStructure">
<xsd:sequence>
<xsd:element minOccurs="0" name="JourneyPatterns">
<xsd:annotation>
<xsd:documentation>
JourneyPatterns in Direction of route (+SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="JourneyPattern">
<xsd:annotation>
<xsd:documentation>JourneyPattern. (+SIRI 2.0)</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" ref="JourneyPatternRef"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Name" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>Name Of Journety Pattern (SIRI 2.0)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="StopsInPattern">
<xsd:annotation>
<xsd:documentation>
Ordered collection of STOP POINTs the LINE and direction . Detail level is 'stops'. +SIRI v2.0
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="2" name="StopPointInPattern" type="StopPointInPatternStructure">
<xsd:annotation>
<xsd:documentation>
Stop within Route of LINE. Detail level is 'stop' +SIRI v2.0
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="StopPointInPatternStructure">
<xsd:annotation>
<xsd:documentation>Summary information about a stop within line</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="AnnotatedStopPointStructure">
<xsd:sequence>
<xsd:element name="Order" type="xsd:positiveInteger">
<xsd:annotation>
<xsd:documentation>Order of STOP POINT in route +SIRI v2.0</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="OnwardLinkShape" type="LineShapeStructure">
<xsd:annotation>
<xsd:documentation>
Plot of points from this stop to next Stop. Detail level is 'full'. +SIRI v2.0
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="LinkProjectionToNextStopPoint" type="ifopt:LinkProjectionStructure">
<xsd:annotation>
<xsd:documentation>
GIs projection of Link to the next provided StopPoint. NB Line here means Geometry Polyline, not Transmodel Transport Line.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="Extensions"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- === DESTINATION ======================================================= -->
<xsd:element name="Destination" type="AnnotatedDestinationStructure">
<xsd:annotation>
<xsd:documentation>Description of a DESTINATION.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="AnnotatedDestinationStructure">
<xsd:annotation>
<xsd:documentation>Type for DESTINATION and place name.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="DestinationRef" type="DestinationRefStructure"/>
<xsd:element maxOccurs="unbounded" name="PlaceName" type="NaturalLanguageStringStructure">
<xsd:annotation>
<xsd:documentation>
Name of destination TOPOGRAPHIC PLACE. (Unbounded since SIRI 2.0)
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="DirectionRef" type="DirectionRefStructure">
<xsd:annotation>
<xsd:documentation>
Direction in which destination lies. relatoive to currernt stop SIRI 2.0
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ======================================================================= -->
</xsd:schema>

This XML schema documentation has been generated with DocFlex/XML 1.9.5 using DocFlex/XML XSDDoc 2.8.1 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/