siri-xsd 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +47 -0
  5. data/README.md +23 -0
  6. data/bitbucket-pipelines.yml +18 -0
  7. data/exe/siri-xsd-validate +42 -0
  8. data/lib/siri/xsd/validator.rb +62 -0
  9. data/lib/siri/xsd/version.rb +5 -0
  10. data/lib/siri/xsd.rb +10 -0
  11. data/siri-xsd.gemspec +35 -0
  12. data/vendor/xsd/acsb/acsb_accessibility.xsd +138 -0
  13. data/vendor/xsd/acsb/acsb_all.xsd +11 -0
  14. data/vendor/xsd/acsb/acsb_limitations.xsd +141 -0
  15. data/vendor/xsd/acsb/acsb_passengerMobility.xsd +212 -0
  16. data/vendor/xsd/datex2/DATEXIISchema.xsd +3713 -0
  17. data/vendor/xsd/datex2/DATEXIISchemaWithDefinitions.xsd +11538 -0
  18. data/vendor/xsd/gml/basicTypes.xsd +267 -0
  19. data/vendor/xsd/gml/geometryBasic0d1d-extract.xsd +271 -0
  20. data/vendor/xsd/gml/gmlBase-extract.xsd +168 -0
  21. data/vendor/xsd/gml/gmlBasic2d-extract.xsd +120 -0
  22. data/vendor/xsd/gml/gml_extract_all_objects.xsd +12 -0
  23. data/vendor/xsd/ifopt/ifopt_administration.xsd +254 -0
  24. data/vendor/xsd/ifopt/ifopt_allStopPlace.xsd +33 -0
  25. data/vendor/xsd/ifopt/ifopt_checkpoint.xsd +222 -0
  26. data/vendor/xsd/ifopt/ifopt_countries.xsd +1320 -0
  27. data/vendor/xsd/ifopt/ifopt_equipment.xsd +207 -0
  28. data/vendor/xsd/ifopt/ifopt_location.xsd +281 -0
  29. data/vendor/xsd/ifopt/ifopt_modes.xsd +84 -0
  30. data/vendor/xsd/ifopt/ifopt_modification.xsd +173 -0
  31. data/vendor/xsd/ifopt/ifopt_path.xsd +164 -0
  32. data/vendor/xsd/ifopt/ifopt_stop.xsd +403 -0
  33. data/vendor/xsd/ifopt/ifopt_time.xsd +131 -0
  34. data/vendor/xsd/ifopt/ifopt_types.xsd +96 -0
  35. data/vendor/xsd/siri/siri_all_framework.xsd +12 -0
  36. data/vendor/xsd/siri/siri_base.xsd +315 -0
  37. data/vendor/xsd/siri/siri_common_services.xsd +900 -0
  38. data/vendor/xsd/siri/siri_request_errorConditions.xsd +590 -0
  39. data/vendor/xsd/siri/siri_request_support.xsd +210 -0
  40. data/vendor/xsd/siri/siri_requests.xsd +1072 -0
  41. data/vendor/xsd/siri.xsd +531 -0
  42. data/vendor/xsd/siriSg.xsd +149 -0
  43. data/vendor/xsd/siri_all_functionalServices.xsd +95 -0
  44. data/vendor/xsd/siri_connectionMonitoring_service.xsd +731 -0
  45. data/vendor/xsd/siri_connectionTimetable_service.xsd +485 -0
  46. data/vendor/xsd/siri_discovery.xsd +898 -0
  47. data/vendor/xsd/siri_estimatedTimetable_service.xsd +490 -0
  48. data/vendor/xsd/siri_facilityMonitoring_service.xsd +493 -0
  49. data/vendor/xsd/siri_generalMessage_service.xsd +483 -0
  50. data/vendor/xsd/siri_model/siri_all.xsd +13 -0
  51. data/vendor/xsd/siri_model/siri_all_journeyModel.xsd +21 -0
  52. data/vendor/xsd/siri_model/siri_all_model.xsd +13 -0
  53. data/vendor/xsd/siri_model/siri_all_situation.xsd +17 -0
  54. data/vendor/xsd/siri_model/siri_datedVehicleJourney.xsd +702 -0
  55. data/vendor/xsd/siri_model/siri_estimatedVehicleJourney.xsd +472 -0
  56. data/vendor/xsd/siri_model/siri_facilities.xsd +517 -0
  57. data/vendor/xsd/siri_model/siri_facility.xsd +760 -0
  58. data/vendor/xsd/siri_model/siri_feature_support.xsd +145 -0
  59. data/vendor/xsd/siri_model/siri_interchangeJourney.xsd +88 -0
  60. data/vendor/xsd/siri_model/siri_journey.xsd +1903 -0
  61. data/vendor/xsd/siri_model/siri_journey_support.xsd +1022 -0
  62. data/vendor/xsd/siri_model/siri_modelPermissions.xsd +338 -0
  63. data/vendor/xsd/siri_model/siri_modes.xsd +686 -0
  64. data/vendor/xsd/siri_model/siri_monitoredVehicleJourney.xsd +638 -0
  65. data/vendor/xsd/siri_model/siri_operator_support.xsd +87 -0
  66. data/vendor/xsd/siri_model/siri_reference.xsd +844 -0
  67. data/vendor/xsd/siri_model/siri_situation.xsd +1545 -0
  68. data/vendor/xsd/siri_model/siri_situationActions.xsd +755 -0
  69. data/vendor/xsd/siri_model/siri_situationAffects.xsd +1533 -0
  70. data/vendor/xsd/siri_model/siri_situationClassifiers.xsd +430 -0
  71. data/vendor/xsd/siri_model/siri_situationIdentity.xsd +247 -0
  72. data/vendor/xsd/siri_model/siri_situationReasons.xsd +1370 -0
  73. data/vendor/xsd/siri_model/siri_situationServiceTypes.xsd +639 -0
  74. data/vendor/xsd/siri_model/siri_targetedVehicleJourney.xsd +136 -0
  75. data/vendor/xsd/siri_model/siri_time.xsd +356 -0
  76. data/vendor/xsd/siri_model_discovery/siri_connectionLink.xsd +115 -0
  77. data/vendor/xsd/siri_model_discovery/siri_feature.xsd +158 -0
  78. data/vendor/xsd/siri_model_discovery/siri_infoChannel.xsd +99 -0
  79. data/vendor/xsd/siri_model_discovery/siri_line.xsd +241 -0
  80. data/vendor/xsd/siri_model_discovery/siri_stopPoint.xsd +158 -0
  81. data/vendor/xsd/siri_productionTimetable_service.xsd +514 -0
  82. data/vendor/xsd/siri_situationExchange_service.xsd +785 -0
  83. data/vendor/xsd/siri_stopMonitoring_service.xsd +1052 -0
  84. data/vendor/xsd/siri_stopTimetable_service.xsd +463 -0
  85. data/vendor/xsd/siri_utility/siri_all_utility.xsd +14 -0
  86. data/vendor/xsd/siri_utility/siri_location.xsd +270 -0
  87. data/vendor/xsd/siri_utility/siri_participant.xsd +79 -0
  88. data/vendor/xsd/siri_utility/siri_permissions.xsd +135 -0
  89. data/vendor/xsd/siri_utility/siri_types.xsd +166 -0
  90. data/vendor/xsd/siri_utility/siri_utility.xsd +301 -0
  91. data/vendor/xsd/siri_vehicleMonitoring_service.xsd +702 -0
  92. data/vendor/xsd/siri_wsConsumer-Document.wsdl +177 -0
  93. data/vendor/xsd/siri_wsConsumer-WSDL2.wsdl +96 -0
  94. data/vendor/xsd/siri_wsConsumer.wsdl +200 -0
  95. data/vendor/xsd/siri_wsProducer-Document.wsdl +558 -0
  96. data/vendor/xsd/siri_wsProducer-WSDL2.wsdl +229 -0
  97. data/vendor/xsd/siri_wsProducer.wsdl +629 -0
  98. data/vendor/xsd/soap.xsd +118 -0
  99. data/vendor/xsd/wsdl_model/siri-wsdl.xsd +8 -0
  100. data/vendor/xsd/wsdl_model/siri_wsConsumer-Framework.xsd +98 -0
  101. data/vendor/xsd/wsdl_model/siri_wsConsumer-Services.xsd +155 -0
  102. data/vendor/xsd/wsdl_model/siri_wsProducer-DiscoveryCapability.xsd +123 -0
  103. data/vendor/xsd/wsdl_model/siri_wsProducer-Framework.xsd +138 -0
  104. data/vendor/xsd/wsdl_model/siri_wsProducer-Services.xsd +263 -0
  105. data/vendor/xsd/xml/2008/09/xsd.xsl +997 -0
  106. data/vendor/xsd/xml/2009/01/XMLSchema.xsd +286 -0
  107. metadata +222 -0
@@ -0,0 +1,1903 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:acsb="http://www.ifopt.org.uk/acsb" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" xmlns:gml="http://www.opengis.net/gml/3.2" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_journey">
3
+ <xsd:annotation>
4
+ <xsd:appinfo>
5
+ <Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
6
+ <Aggregation>main schema</Aggregation>
7
+ <Audience>e-service developers</Audience>
8
+ <Contributor>Cen TC278 WG3 SG7 Team</Contributor>
9
+ <Coverage>Europe</Coverage>
10
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
11
+ <Date>
12
+ <Created>2004-03-05</Created>
13
+ </Date>
14
+ <Date>
15
+ <Modified>2004-10-06</Modified>
16
+ </Date>
17
+ <Date>
18
+ <Modified>2005-05-11</Modified>
19
+ </Date>
20
+ <Date>
21
+ <Modified>2005-11-15</Modified>
22
+ </Date>
23
+ <Date>
24
+ <Modified>2007-03-29</Modified>
25
+ </Date>
26
+ <Date>
27
+ <Modified>2008-11-13</Modified>
28
+ <!-- Correct Cardinalities on SIRI DESTINATION REF Structure -->
29
+ </Date>
30
+ <Date>
31
+ <Modified>2011-04-18</Modified>
32
+ <!-- siri_journey.xsd (l.1015). FramedVehicleJourneyRef isn't mandatory in MonitoredCall SIRI-SM answer accourding to CEN TS (prCEN/TS 15531-3:2006 (E) p.56). Make optional. RV ixxx.com -->
33
+ </Date>
34
+ <Date>
35
+ <Modified>2012-03-22</Modified>
36
+ <!-- SIRI 2.0
37
+ [VDV] Add EarliestExpectedArrivalTimeForVehicle to Arrival Times Group
38
+ [VDV] Add ProvisionalExpectedDepartureTime to Departure Times Group
39
+ [VDV] Add LatestExpectedArrivalTimeForVehicle to Departure Times Group
40
+ [VDV] Add ViaPriority to ViaNames using a new ViaNameStructure SIRI-PT, SIRI-ET, SIRI-SM. SIRI-VM
41
+ [VDV] Add Velocity to MonitoredVehicleJourney SIRI-SM and SIRI-VM
42
+ Add JOURNEY PARTs to Vehicle INFO TODO
43
+ [VDV] Add Public and Contact Details to JourneyInfo : SIRI-PT, SIRI-ET, SIRI-SM. SIRI-VM
44
+ [VDV] at DirectionAtOrigin name to JourneyInfo SIRI-PT, SIRI-ET, SIRI-SM. SIRI-VM
45
+
46
+ [MTA] Add ArrivalProximityText to Arrival Times on MonitoredCall and OnwardsCall : SIRI-SM and SIRI-VM
47
+ [MTA] Add ArrivalProximityText to Departure Times on MonitoredCall and OnwardsCall : SIRI-SM and SIRI-VM
48
+
49
+ [FR] Add AimedLatestPassengerAccessTime to TargetedCall : SIRI-ST
50
+ [FR] Add AimedLatestPassengerAccessTime to MonitoredCall and OnwardsCall : SIRI-SM and SIRI-VM
51
+ [FR] Add ExpectedLatestPassengerAccessTime to MonitoredCall and OnwardsCall : SIRI-SM and SIRI-VM
52
+ [FR] add ArrivalOperatorRefs and DepartureOperatorRefs to Call arrival and Departure
53
+
54
+ [Fr] Add FirstOrLastJourney to JourneyTimesGroup : SIRI-SM and SIRI-VM
55
+ [DE] Add Driver Name
56
+ -->
57
+ </Date>
58
+ <Date>
59
+ <Modified>2012-04-27</Modified>
60
+ <!-- SIRI 2.0
61
+ [MTA] Add DistanceFromSTop and NumberOFStops away to MonitoredCall and OnwardsCall : SIRI-SM and SIRI-ET
62
+ [NeTEx] Add Driver/Crew Ref
63
+
64
+ [DE] Add ExpectedDeparturePredictionQuality to OnwardVehicleDepartureTimes
65
+ -->
66
+ </Date>
67
+ <Date>
68
+ <Modified>2013-01-25</Modified>
69
+ <!-- WB: elements LowerTimeLimit and UpperTimeLimit optional in prediction quality -->
70
+ </Date>
71
+ <Date>
72
+ <Modified>2013-02-11</Modified>
73
+ <!-- ArrivalStopAssignment and DepartureStopAssignment added to DatedCall: SIRI:PT
74
+ Correction: DestinationDisplay unbounded to allow multiple languages -->
75
+ </Date>
76
+ <Date>
77
+ <Modified>2014-06-20</Modified>
78
+ <!-- [ch] Add origin display wherever destination display as per Cologne meeting (siri-Journey.xsd)
79
+ [xh] Add OriginAtDestination wherever destination display as per Cologne meeting (siri-Journey.xsd) -->
80
+ </Date>
81
+ <Description>
82
+ <p>SIRI is a European CEN technical standard for the exchange of real-time information .</p>
83
+ <p>This subschema defines common journey elements.</p>
84
+ </Description>
85
+ <Format>
86
+ <MediaType>text/xml</MediaType>
87
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
88
+ <Description>XML schema, W3C Recommendation 2001</Description>
89
+ </Format>
90
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri/}siri_journey.xsd</Identifier>
91
+ <Language>[ISO 639-2/B] ENG</Language>
92
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
93
+ <Relation>
94
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_types.xsd</Requires>
95
+ </Relation>
96
+ <Rights><!--Unclassified-->
97
+
98
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
99
+ </Rights>
100
+ <Source>
101
+ <ul>
102
+ <li>Derived from the VDV, RTIG CML and Trident standards.</li>
103
+ </ul>
104
+ </Source>
105
+ <Status>Version 2.1</Status>
106
+ <Subject>
107
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
108
+ Air transport, Airports,
109
+ Ports and maritime transport, Ferries (marine),
110
+ Public transport, Bus services, Coach services, Bus stops and stations,
111
+ Rail transport, Railway stations and track, Train services, Underground trains,
112
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
113
+ Rail transport, Roads and road transport
114
+ </Category>
115
+ <Project>CEN TC278 WG3 SG7</Project>
116
+ </Subject>
117
+ <Title>SIRI XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Subschema of common Journey elements</Title>
118
+ <Type>Standard</Type>
119
+ </Metadata>
120
+ </xsd:appinfo>
121
+ <xsd:documentation>SIRI Common Journey Model.</xsd:documentation>
122
+ </xsd:annotation>
123
+ <!-- ======================================================================= -->
124
+ <xsd:include schemaLocation="siri_journey_support.xsd"/>
125
+ <xsd:include schemaLocation="siri_reference.xsd"/>
126
+ <xsd:include schemaLocation="siri_monitoredVehicleJourney.xsd"/>
127
+ <xsd:include schemaLocation="siri_facility.xsd"/>
128
+ <xsd:include schemaLocation="../siri_model_discovery/siri_feature.xsd"/>
129
+ <xsd:include schemaLocation="../siri_utility/siri_location.xsd"/>
130
+ <!-- ======================================================================= -->
131
+ <xsd:import namespace="http://www.ifopt.org.uk/ifopt" schemaLocation="../ifopt/ifopt_equipment.xsd"/>
132
+ <!-- ======================================================================= -->
133
+ <!--Needed to work around import limitation in jaxb - all namespaces acsb needs to be after ifopt. -->
134
+ <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_accessibility.xsd"/>
135
+ <!-- ==== VEHICLEJOURNEY ================================================================== -->
136
+ <xsd:group name="JourneyInfoGroup">
137
+ <xsd:annotation>
138
+ <xsd:documentation>Elements describing a VEHICLE JOURNEY. Values for these elements can be specified on an annual schedule and will be inherited, unless overriden, onto the production timetable and then onto the individul DATED VEHICLE JOURNEYs of the timetable. Each real-time journey (e.g. ESTIMATED VEHICLE JOURNEY or MONITORED VEHICLE JORUNEY) takes its values from the DATED VEHICLE JOURNEY that it follows. The absence of a value on an entity at a given level indicates that the value should be inherited (i) from any recent preceding update message for the same entity, or if there is no previous override, (ii) from its immediate parent entity.</xsd:documentation>
139
+ </xsd:annotation>
140
+ <xsd:sequence>
141
+ <xsd:element name="VehicleJourneyName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
142
+ <xsd:annotation>
143
+ <xsd:documentation>For train services with named journeys. Train name, e.g. “West Coast Express”. If omitted: No train name. Inherited property. (Unbounded since SIRI 2.0)</xsd:documentation>
144
+ </xsd:annotation>
145
+ </xsd:element>
146
+ <xsd:element ref="JourneyNote" minOccurs="0" maxOccurs="unbounded"/>
147
+ <xsd:element name="PublicContact" type="SimpleContactStructure" minOccurs="0">
148
+ <xsd:annotation>
149
+ <xsd:documentation>Contact details for use by members of public. +SIRI v2.0</xsd:documentation>
150
+ </xsd:annotation>
151
+ </xsd:element>
152
+ <xsd:element name="OperationsContact" type="SimpleContactStructure" minOccurs="0">
153
+ <xsd:annotation>
154
+ <xsd:documentation>Contact details for use by operational staff. +SIRI v2.0</xsd:documentation>
155
+ </xsd:annotation>
156
+ </xsd:element>
157
+ </xsd:sequence>
158
+ </xsd:group>
159
+ <xsd:complexType name="SimpleContactStructure">
160
+ <xsd:annotation>
161
+ <xsd:documentation>Type for Simple Contact Details.</xsd:documentation>
162
+ </xsd:annotation>
163
+ <xsd:sequence>
164
+ <xsd:element name="PhoneNumber" type="PhoneType" minOccurs="0">
165
+ <xsd:annotation>
166
+ <xsd:documentation>Phone number +SIRI v2.0</xsd:documentation>
167
+ </xsd:annotation>
168
+ </xsd:element>
169
+ <xsd:element name="Url" type="xsd:anyURI" minOccurs="0">
170
+ <xsd:annotation>
171
+ <xsd:documentation>Url for contact +SIRI v2.0</xsd:documentation>
172
+ </xsd:annotation>
173
+ </xsd:element>
174
+ </xsd:sequence>
175
+ </xsd:complexType>
176
+ <!-- ======================================================================= -->
177
+ <xsd:group name="VehicleJourneyInfoGroup">
178
+ <xsd:annotation>
179
+ <xsd:documentation>Common information about a VEHICLE JOURNEY. (Similar to VDV TripInfo)</xsd:documentation>
180
+ </xsd:annotation>
181
+ <xsd:sequence>
182
+ <xsd:group ref="ServiceInfoGroup" minOccurs="0"/>
183
+ <xsd:group ref="JourneyEndNamesGroup" minOccurs="0"/>
184
+ <xsd:group ref="JourneyInfoGroup"/>
185
+ <xsd:group ref="JourneyEndTimesGroup" minOccurs="0"/>
186
+ </xsd:sequence>
187
+ </xsd:group>
188
+ <xsd:group name="JourneyEndNamesGroup">
189
+ <xsd:annotation>
190
+ <xsd:documentation>End names for journey.</xsd:documentation>
191
+ </xsd:annotation>
192
+ <xsd:sequence>
193
+ <xsd:element ref="OriginRef" minOccurs="0"/>
194
+ <xsd:element name="OriginName" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
195
+ <xsd:annotation>
196
+ <xsd:documentation>Name of the origin of the journey. (Unbounded since SIRI 2.0)</xsd:documentation>
197
+ </xsd:annotation>
198
+ </xsd:element>
199
+ <xsd:element name="OriginShortName" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
200
+ <xsd:annotation>
201
+ <xsd:documentation>Short name of the origin of the journey; used to help identify the VEHICLE JOURNEY on arrival boards. If absent, same as Origin Name.</xsd:documentation>
202
+ </xsd:annotation>
203
+ </xsd:element>
204
+ <xsd:element name="DestinationDisplayAtOrigin" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
205
+ <xsd:annotation>
206
+ <xsd:documentation>DIRECTION name shown for jurney at the origin. +SIRI v2.0</xsd:documentation>
207
+ </xsd:annotation>
208
+ </xsd:element>
209
+ <xsd:element name="Via" type="ViaNameStructure" minOccurs="0" maxOccurs="unbounded">
210
+ <xsd:annotation>
211
+ <xsd:documentation>Names of VIA points, used to help identify the LINE, for example, Luton to Luton via Sutton. Currently 3 in VDV. Should only be included if the detail level was requested.</xsd:documentation>
212
+ </xsd:annotation>
213
+ </xsd:element>
214
+ <xsd:element ref="DestinationRef" minOccurs="0">
215
+ <xsd:annotation>
216
+ <xsd:documentation>Reference to a DESTINATION.</xsd:documentation>
217
+ </xsd:annotation>
218
+ </xsd:element>
219
+ <xsd:element name="DestinationName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
220
+ <xsd:annotation>
221
+ <xsd:documentation>Description of the destination stop (vehicle signage), Can be overwritten for a journey, and then also section by section by the entry in an individual CALl. (Unbounded since SIRI 2.0)</xsd:documentation>
222
+ </xsd:annotation>
223
+ </xsd:element>
224
+ <xsd:element name="DestinationShortName" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
225
+ <xsd:annotation>
226
+ <xsd:documentation>Short name of the DESTINATION.of the journey; used to help identify the VEHICLE JOURNEY on arrival boards. If absent, same as DestinationName. (Unbounded since SIRI 2.0)</xsd:documentation>
227
+ </xsd:annotation>
228
+ </xsd:element>
229
+ <xsd:element name="OriginDisplayAtDestination" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
230
+ <xsd:annotation>
231
+ <xsd:documentation>Origin name shown for jourey at the destination +SIRI v2.0</xsd:documentation>
232
+ </xsd:annotation>
233
+ </xsd:element>
234
+ </xsd:sequence>
235
+ </xsd:group>
236
+ <xsd:complexType name="ViaNameStructure">
237
+ <xsd:annotation>
238
+ <xsd:documentation>Type for VIA NAMes structure.</xsd:documentation>
239
+ </xsd:annotation>
240
+ <xsd:complexContent>
241
+ <xsd:extension base="PlaceNameStructure">
242
+ <xsd:sequence>
243
+ <xsd:element name="ViaPriority" type="xsd:nonNegativeInteger" default="2" minOccurs="0">
244
+ <xsd:annotation>
245
+ <xsd:documentation>Relative priority to give to VIA name in displays. 1=high. Default is 2. +SIRI v2.0</xsd:documentation>
246
+ </xsd:annotation>
247
+ </xsd:element>
248
+ </xsd:sequence>
249
+ </xsd:extension>
250
+ </xsd:complexContent>
251
+ </xsd:complexType>
252
+ <!-- ==== LINE ROUTE and destination elements======================================================== -->
253
+ <xsd:complexType name="DestinationStructure">
254
+ <xsd:annotation>
255
+ <xsd:documentation>Type for Information about a DESTINATION.</xsd:documentation>
256
+ </xsd:annotation>
257
+ <xsd:sequence>
258
+ <xsd:element name="DestinationRef" type="DestinationRefStructure">
259
+ <xsd:annotation>
260
+ <xsd:documentation>Identifer of Destinatioin</xsd:documentation>
261
+ </xsd:annotation>
262
+ </xsd:element>
263
+ <xsd:element name="DestinationName" type="NaturalLanguageStringStructure" maxOccurs="unbounded">
264
+ <xsd:annotation>
265
+ <xsd:documentation>Name of Destination</xsd:documentation>
266
+ </xsd:annotation>
267
+ </xsd:element>
268
+ </xsd:sequence>
269
+ </xsd:complexType>
270
+ <xsd:element name="OriginName" type="NaturalLanguagePlaceNameStructure">
271
+ <xsd:annotation>
272
+ <xsd:documentation>The name of the origin of the journey; used to help identify the VEHICLE JOURNEY on arrival boards.</xsd:documentation>
273
+ </xsd:annotation>
274
+ </xsd:element>
275
+ <xsd:element name="ViaName" type="NaturalLanguagePlaceNameStructure">
276
+ <xsd:annotation>
277
+ <xsd:documentation>Names of VIA points, used to help identify the LINEfor example, Luton to Luton via Sutton. Currently 3 in VDV. Should only be included if the detail level was requested.</xsd:documentation>
278
+ </xsd:annotation>
279
+ </xsd:element>
280
+ <xsd:element name="DestinationName" type="NaturalLanguagePlaceNameStructure">
281
+ <xsd:annotation>
282
+ <xsd:documentation>The name of the DESTINATION of the journey; used to help identify the VEHICLE to the public. Note when used in a CALL, this is the Dynamic Destination Display: since vehicles can change their destination during a journey, the destination included here should be what the VEHICLE will display when it reaches the stop.</xsd:documentation>
283
+ </xsd:annotation>
284
+ </xsd:element>
285
+ <!-- =====Times================================================================== -->
286
+ <xsd:group name="JourneyEndTimesGroup">
287
+ <xsd:annotation>
288
+ <xsd:documentation>Call times for journey.</xsd:documentation>
289
+ </xsd:annotation>
290
+ <xsd:sequence>
291
+ <xsd:element name="HeadwayService" type="xsd:boolean" default="false" minOccurs="0">
292
+ <xsd:annotation>
293
+ <xsd:documentation>Whether this is a Headway Service, that is shown as operating at a prescribed interval rather than to a fixed timetable. Default is 'false'.</xsd:documentation>
294
+ </xsd:annotation>
295
+ </xsd:element>
296
+ <xsd:element name="OriginAimedDepartureTime" type="xsd:dateTime" minOccurs="0">
297
+ <xsd:annotation>
298
+ <xsd:documentation>Timetabled departure time from Origin.</xsd:documentation>
299
+ </xsd:annotation>
300
+ </xsd:element>
301
+ <xsd:element name="DestinationAimedArrivalTime" type="xsd:dateTime" minOccurs="0">
302
+ <xsd:annotation>
303
+ <xsd:documentation>Timetabled arrival time at Destination.</xsd:documentation>
304
+ </xsd:annotation>
305
+ </xsd:element>
306
+ <xsd:element ref="FirstOrLastJourney" minOccurs="0"/>
307
+ </xsd:sequence>
308
+ </xsd:group>
309
+ <xsd:element name="FirstOrLastJourney" type="FirstOrLastJourneyEnumeration" default="unspecified">
310
+ <xsd:annotation>
311
+ <xsd:documentation>Whether journey is first or last journey of day. +SIRI v2.0</xsd:documentation>
312
+ </xsd:annotation>
313
+ </xsd:element>
314
+ <xsd:element name="JourneyNote" type="NaturalLanguageStringStructure">
315
+ <xsd:annotation>
316
+ <xsd:documentation>Additional descriptive text associated with journey. Inherited property.</xsd:documentation>
317
+ </xsd:annotation>
318
+ </xsd:element>
319
+ <xsd:element name="Direction" type="DirectionStructure">
320
+ <xsd:annotation>
321
+ <xsd:documentation>Description of a DIRECTION.</xsd:documentation>
322
+ </xsd:annotation>
323
+ </xsd:element>
324
+ <xsd:complexType name="DirectionStructure">
325
+ <xsd:annotation>
326
+ <xsd:documentation>Type for DIRECTION.</xsd:documentation>
327
+ </xsd:annotation>
328
+ <xsd:sequence>
329
+ <xsd:element name="DirectionRef" type="DirectionRefStructure">
330
+ <xsd:annotation>
331
+ <xsd:documentation>Identifer of DIRECTION,</xsd:documentation>
332
+ </xsd:annotation>
333
+ </xsd:element>
334
+ <xsd:element name="DirectionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
335
+ <xsd:annotation>
336
+ <xsd:documentation>Description of DIRECTION. (Unbounded since SIRI 2.0)</xsd:documentation>
337
+ </xsd:annotation>
338
+ </xsd:element>
339
+ </xsd:sequence>
340
+ </xsd:complexType>
341
+ <!-- ======================================================================= -->
342
+ <xsd:group name="OperationalInfoGroup">
343
+ <xsd:annotation>
344
+ <xsd:documentation>Operational information about the monitored VEHICLE JOURNEY.</xsd:documentation>
345
+ </xsd:annotation>
346
+ <xsd:sequence>
347
+ <xsd:group ref="OperationalBlockGroup"/>
348
+ <xsd:element ref="VehicleJourneyRef" minOccurs="0"/>
349
+ <xsd:element ref="VehicleRef" minOccurs="0"/>
350
+ <xsd:element name="AdditionalVehicleJourneyRef" type="FramedVehicleJourneyRefStructure" minOccurs="0" maxOccurs="unbounded">
351
+ <xsd:annotation>
352
+ <xsd:documentation>Refercence to other VEHICLE Journeys (+SIRI v2.0)</xsd:documentation>
353
+ </xsd:annotation>
354
+ </xsd:element>
355
+ <xsd:element name="DriverRef" type="xsd:normalizedString" minOccurs="0">
356
+ <xsd:annotation>
357
+ <xsd:documentation>A reference to the DRIVER or Crew currently logged in to operate a monitored VEHICLE. May be omitted if real-time data is not available - i.e. it is timetabled data. +SIRI v2.0</xsd:documentation>
358
+ </xsd:annotation>
359
+ </xsd:element>
360
+ <xsd:element name="DriverName" type="xsd:normalizedString" minOccurs="0">
361
+ <xsd:annotation>
362
+ <xsd:documentation>The name oo the Driver or Crew +SIRI v2.0</xsd:documentation>
363
+ </xsd:annotation>
364
+ </xsd:element>
365
+ </xsd:sequence>
366
+ </xsd:group>
367
+ <xsd:group name="DatedOperationalInfoGroup">
368
+ <xsd:annotation>
369
+ <xsd:documentation>Operational information about the monitored VEHICLE JOURNEY.</xsd:documentation>
370
+ </xsd:annotation>
371
+ <xsd:sequence>
372
+ <xsd:group ref="OperationalBlockGroup"/>
373
+ <xsd:element ref="VehicleRef" minOccurs="0"/>
374
+ </xsd:sequence>
375
+ </xsd:group>
376
+ <xsd:group name="OperationalBlockGroup">
377
+ <xsd:annotation>
378
+ <xsd:documentation>Operational information about the monitored VEHICLE JOURNEY.</xsd:documentation>
379
+ </xsd:annotation>
380
+ <xsd:sequence>
381
+ <xsd:element name="BlockRef" type="BlockRefStructure" minOccurs="0">
382
+ <xsd:annotation>
383
+ <xsd:documentation>BLOCK that VEHICLE is running.</xsd:documentation>
384
+ </xsd:annotation>
385
+ </xsd:element>
386
+ <xsd:element name="CourseOfJourneyRef" type="CourseOfJourneyRefStructure" minOccurs="0">
387
+ <xsd:annotation>
388
+ <xsd:documentation>COURSE OF JOURNEY ('Run') that VEHICLE is running.</xsd:documentation>
389
+ </xsd:annotation>
390
+ </xsd:element>
391
+ </xsd:sequence>
392
+ </xsd:group>
393
+ <xsd:complexType name="ProgressBetweenStopsStructure">
394
+ <xsd:annotation>
395
+ <xsd:documentation>Type for Progress between stops.</xsd:documentation>
396
+ </xsd:annotation>
397
+ <xsd:sequence>
398
+ <xsd:element name="LinkDistance" type="xsd:decimal" minOccurs="0">
399
+ <xsd:annotation>
400
+ <xsd:documentation>The total distance in metres between the previous stop and the next stop.</xsd:documentation>
401
+ </xsd:annotation>
402
+ </xsd:element>
403
+ <xsd:element name="Percentage" type="xsd:decimal" minOccurs="0">
404
+ <xsd:annotation>
405
+ <xsd:documentation>Percentage along link that VEHICLE has travelled.</xsd:documentation>
406
+ </xsd:annotation>
407
+ </xsd:element>
408
+ </xsd:sequence>
409
+ </xsd:complexType>
410
+ <!-- ======================================================================= -->
411
+ <!-- ===== CALL =============================================================== -->
412
+ <xsd:complexType name="AbstractCallStructure">
413
+ <xsd:annotation>
414
+ <xsd:documentation>Type for Abstract CALL at stop.</xsd:documentation>
415
+ </xsd:annotation>
416
+ <xsd:sequence>
417
+ <xsd:group ref="StopPointInSequenceGroup"/>
418
+ </xsd:sequence>
419
+ </xsd:complexType>
420
+ <!-- =====Aimed Call====================================================== -->
421
+ <xsd:group name="AimedCallGroup">
422
+ <xsd:annotation>
423
+ <xsd:documentation>Elements describing the targeted CALL of a VEHICLE at a stop.</xsd:documentation>
424
+ </xsd:annotation>
425
+ <xsd:sequence>
426
+ <xsd:group ref="AimedVehicleArrivalGroup"/>
427
+ <xsd:group ref="AimedVehicleDepartureGroup"/>
428
+ <xsd:element ref="AimedLatestPassengerAccessTime" minOccurs="0"/>
429
+ <xsd:element ref="AimedHeadwayInterval" minOccurs="0"/>
430
+ </xsd:sequence>
431
+ </xsd:group>
432
+ <xsd:group name="AimedVehicleArrivalGroup">
433
+ <xsd:annotation>
434
+ <xsd:documentation>Elements describing the arrival of a VEHICLE at a stop.</xsd:documentation>
435
+ </xsd:annotation>
436
+ <xsd:sequence>
437
+ <xsd:element ref="AimedArrivalTime" minOccurs="0"/>
438
+ <xsd:element ref="ArrivalPlatformName" minOccurs="0"/>
439
+ <xsd:element ref="ArrivalBoardingActivity" minOccurs="0"/>
440
+ <xsd:element name="ArrivalStopAssignment" type="PlannedStopAssignmentStructure" minOccurs="0" maxOccurs="unbounded">
441
+ <xsd:annotation>
442
+ <xsd:documentation>Assignment of planned arrival at scheduled STOP POINT to a phsyical QUAY (platform). If not given, assume same as for departure. +SIRI v2.0.</xsd:documentation>
443
+ </xsd:annotation>
444
+ </xsd:element>
445
+ <xsd:element ref="ArrivalFormationAssignment" minOccurs="0" maxOccurs="unbounded"/>
446
+ <xsd:element ref="ArrivalOperatorRefs" minOccurs="0" maxOccurs="unbounded"/>
447
+ </xsd:sequence>
448
+ </xsd:group>
449
+ <xsd:group name="AimedVehicleDepartureGroup">
450
+ <xsd:annotation>
451
+ <xsd:documentation>Elements describing the departure of a VEHICLE from a stop.</xsd:documentation>
452
+ </xsd:annotation>
453
+ <xsd:sequence>
454
+ <xsd:element ref="AimedDepartureTime" minOccurs="0"/>
455
+ <xsd:element ref="DeparturePlatformName" minOccurs="0"/>
456
+ <xsd:element ref="DepartureBoardingActivity" minOccurs="0"/>
457
+ <xsd:element name="DepartureStopAssignment" type="PlannedStopAssignmentStructure" minOccurs="0" maxOccurs="unbounded"/>
458
+ <xsd:element ref="DepartureFormationAssignment" minOccurs="0" maxOccurs="unbounded"/>
459
+ <xsd:element ref="DepartureOperatorRefs" minOccurs="0" maxOccurs="unbounded"/>
460
+ </xsd:sequence>
461
+ </xsd:group>
462
+ <!-- =====MONITORED JOURNEY CALL============================================================ -->
463
+ <xsd:complexType name="AbstractMonitoredCallStructure">
464
+ <xsd:annotation>
465
+ <xsd:documentation>Type for Abstract CALL at stop.</xsd:documentation>
466
+ </xsd:annotation>
467
+ <xsd:sequence>
468
+ <xsd:group ref="ContextualisedStopPointInSequenceGroup"/>
469
+ </xsd:sequence>
470
+ </xsd:complexType>
471
+ <xsd:group name="MonitoredStopArrivalStatusGroup">
472
+ <xsd:annotation>
473
+ <xsd:documentation>Elements describing the arrival status of a VEHICLE at a stop.</xsd:documentation>
474
+ </xsd:annotation>
475
+ <xsd:sequence>
476
+ <xsd:element ref="ArrivalStatus" minOccurs="0"/>
477
+ <xsd:element ref="ArrivalCancellationReason" minOccurs="0"/>
478
+ <xsd:element ref="ArrivalProximityText" minOccurs="0"/>
479
+ <xsd:element ref="ArrivalPlatformName" minOccurs="0"/>
480
+ <xsd:element ref="ArrivalBoardingActivity" minOccurs="0"/>
481
+ <xsd:element name="ArrivalStopAssignment" type="StopAssignmentStructure" minOccurs="0" maxOccurs="unbounded">
482
+ <xsd:annotation>
483
+ <xsd:documentation>Assignment of planned, expected and/or recorded arrival at STOP POINT to a phsyical QUAY (platform). If not given, assume same as for departure. +SIRI v2.0.</xsd:documentation>
484
+ </xsd:annotation>
485
+ </xsd:element>
486
+ <xsd:element ref="ArrivalFormationAssignment" minOccurs="0" maxOccurs="unbounded"/>
487
+ <xsd:element ref="ArrivalOrientationRelativeToQuay" minOccurs="0" maxOccurs="unbounded"/>
488
+ <xsd:element ref="ArrivalOperatorRefs" minOccurs="0" maxOccurs="unbounded"/>
489
+ </xsd:sequence>
490
+ </xsd:group>
491
+ <xsd:group name="MonitoredStopDepartureStatusGroup">
492
+ <xsd:annotation>
493
+ <xsd:documentation>Elements describing the departure status of a VEHICLE from a stop.</xsd:documentation>
494
+ </xsd:annotation>
495
+ <xsd:sequence>
496
+ <xsd:element ref="DepartureStatus" minOccurs="0"/>
497
+ <xsd:element ref="DepartureCancellationReason" minOccurs="0"/>
498
+ <xsd:element ref="DepartureProximityText" minOccurs="0"/>
499
+ <xsd:element ref="DeparturePlatformName" minOccurs="0"/>
500
+ <xsd:element ref="DepartureBoardingActivity" minOccurs="0"/>
501
+ <xsd:element name="DepartureStopAssignment" type="StopAssignmentStructure" minOccurs="0" maxOccurs="unbounded"/>
502
+ <xsd:element ref="DepartureFormationAssignment" minOccurs="0" maxOccurs="unbounded"/>
503
+ <xsd:element ref="DepartureOrientationRelativeToQuay" minOccurs="0" maxOccurs="unbounded"/>
504
+ <xsd:element ref="ExpectedDepartureOccupancy" minOccurs="0" maxOccurs="unbounded"/>
505
+ <xsd:element ref="ExpectedDepartureCapacities" minOccurs="0" maxOccurs="unbounded"/>
506
+ <xsd:element ref="DepartureOperatorRefs" minOccurs="0" maxOccurs="unbounded"/>
507
+ </xsd:sequence>
508
+ </xsd:group>
509
+ <!-- ======MONITORED CALL================================================= -->
510
+ <xsd:group name="CallPropertyGroup">
511
+ <xsd:annotation>
512
+ <xsd:documentation>Elements describing the CALL Properties Values for these elements can be specified on an production VEHICLE JOURNEY CALL. Each real-time journey CALL takes its values from the corresponding dated VEHICLE JOURNEY CALL. The absence of a value on an real-time CALL l indicates that the value should be inherited (i) from any recent preceding update message for the same entity, or if there is no previous override, (ii) from its immediate parent entity.</xsd:documentation>
513
+ </xsd:annotation>
514
+ <xsd:sequence>
515
+ <xsd:element ref="TimingPoint" minOccurs="0"/>
516
+ <xsd:element name="BoardingStretch" type="xsd:boolean" default="false" minOccurs="0">
517
+ <xsd:annotation>
518
+ <xsd:documentation>Whether this is a Hail and Ride Stop. Default is 'false'.</xsd:documentation>
519
+ </xsd:annotation>
520
+ </xsd:element>
521
+ <xsd:element name="RequestStop" type="xsd:boolean" default="false" minOccurs="0">
522
+ <xsd:annotation>
523
+ <xsd:documentation>Whether Vehicle stops only if requested explicitly by passenger. Default is 'false'.</xsd:documentation>
524
+ </xsd:annotation>
525
+ </xsd:element>
526
+ <xsd:element name="OriginDisplay" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
527
+ <xsd:annotation>
528
+ <xsd:documentation>Origin to show for the VEHICLE at the specific stop (vehicle signage), if different to the Origin Name for the full journey. (+Siri 2.0)</xsd:documentation>
529
+ </xsd:annotation>
530
+ </xsd:element>
531
+ <xsd:element name="DestinationDisplay" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
532
+ <xsd:annotation>
533
+ <xsd:documentation>Destination to show for the VEHICLE at the specific stop (vehicle signage), if different to the Destination Name for the full journey.</xsd:documentation>
534
+ </xsd:annotation>
535
+ </xsd:element>
536
+ </xsd:sequence>
537
+ </xsd:group>
538
+ <xsd:group name="CallNoteGroup">
539
+ <xsd:annotation>
540
+ <xsd:documentation>Annotations of the CALL.</xsd:documentation>
541
+ </xsd:annotation>
542
+ <xsd:sequence>
543
+ <xsd:element name="CallNote" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
544
+ <xsd:annotation>
545
+ <xsd:documentation>Text annotation that applies to this CALL.</xsd:documentation>
546
+ </xsd:annotation>
547
+ </xsd:element>
548
+ </xsd:sequence>
549
+ </xsd:group>
550
+ <!-- =====ONWARDS CALL==================================================== -->
551
+ <xsd:complexType name="OnwardCallsStructure">
552
+ <xsd:annotation>
553
+ <xsd:documentation>Type for CALLing pattern for JOURNEY PATTERN.</xsd:documentation>
554
+ </xsd:annotation>
555
+ <xsd:sequence>
556
+ <xsd:element name="OnwardCall" type="OnwardCallStructure" maxOccurs="unbounded"/>
557
+ </xsd:sequence>
558
+ </xsd:complexType>
559
+ <xsd:complexType name="OnwardCallStructure">
560
+ <xsd:annotation>
561
+ <xsd:documentation>Type Onwards CALLs at stop.</xsd:documentation>
562
+ </xsd:annotation>
563
+ <xsd:complexContent>
564
+ <xsd:extension base="AbstractMonitoredCallStructure">
565
+ <xsd:sequence>
566
+ <xsd:sequence>
567
+ <xsd:element ref="VehicleAtStop" minOccurs="0"/>
568
+ <xsd:element ref="TimingPoint" minOccurs="0"/>
569
+ </xsd:sequence>
570
+ <xsd:group ref="OnwardsCallGroup"/>
571
+ <xsd:element ref="Extensions" minOccurs="0"/>
572
+ </xsd:sequence>
573
+ </xsd:extension>
574
+ </xsd:complexContent>
575
+ </xsd:complexType>
576
+ <xsd:group name="OnwardsCallGroup">
577
+ <xsd:annotation>
578
+ <xsd:documentation>Elements describing the CALL. Values for these elements can be specified on an production VEHICLE JOURNEY CALL. Each real-time journey CALL takes its values from the corresponding dated VEHICLE JOURNEY CALL. The absence of a value on an real-time CALL l indicates that the value should be inherited (i) from any recent preceding update message for the same entity, or if there is no previous override, (ii) from its immediate parent entity.</xsd:documentation>
579
+ </xsd:annotation>
580
+ <xsd:sequence>
581
+ <xsd:group ref="OnwardVehicleArrivalTimesGroup"/>
582
+ <xsd:group ref="MonitoredStopArrivalStatusGroup"/>
583
+ <xsd:group ref="OnwardVehicleDepartureTimesGroup"/>
584
+ <xsd:group ref="PassengerDepartureTimesGroup"/>
585
+ <xsd:group ref="MonitoredStopDepartureStatusGroup"/>
586
+ <xsd:group ref="HeadwayIntervalGroup"/>
587
+ <xsd:group ref="StopProximityGroup"/>
588
+ </xsd:sequence>
589
+ </xsd:group>
590
+ <xsd:group name="OnwardVehicleArrivalTimesGroup">
591
+ <xsd:annotation>
592
+ <xsd:documentation>Elements for Arrival in onward CALl.</xsd:documentation>
593
+ </xsd:annotation>
594
+ <xsd:sequence>
595
+ <xsd:element ref="AimedArrivalTime" minOccurs="0"/>
596
+ <xsd:choice>
597
+ <xsd:sequence>
598
+ <xsd:element ref="ExpectedArrivalTime" minOccurs="0"/>
599
+ <xsd:element name="LatestExpectedArrivalTime" type="xsd:dateTime" minOccurs="0">
600
+ <xsd:annotation>
601
+ <xsd:documentation>Latest time at which a VEHICLE will arrive at stop. +SIRI v2.1</xsd:documentation>
602
+ </xsd:annotation>
603
+ </xsd:element>
604
+ <xsd:element name="ExpectedArrivalPredictionQuality" type="PredictionQualityStructure" minOccurs="0">
605
+ <xsd:annotation>
606
+ <xsd:documentation>Prediction quality, either as approximate level, or more quantitative percentile range of predictions that will fall within a given range of times. +SIRI v2.0 </xsd:documentation>
607
+ </xsd:annotation>
608
+ </xsd:element>
609
+ </xsd:sequence>
610
+ <xsd:element name="ArrivalPredictionUnknown" type="EmptyType">
611
+ <xsd:annotation>
612
+ <xsd:documentation>If the producer is (temporarily) not able to deliver real-time predictions (e.g. because of a connection loss), he has various options (and combinations of them) to inform the consumer:
613
+ (i) set Monitored to 'false'
614
+ (ii) transmit ExpectedArrivalTime together with "PredictionInaccurate=true"
615
+ (iii) drop/omit ExpectedArrivalTime
616
+ (iv) set ArrivalStatus to 'noReport'
617
+ However, this might introduce ambiguity: e.g. option (iii) might be interpreted as "on time" by one consumer, but also as "indefinite delay" by another consumer.
618
+ To avoid this, the producer should transmit xxxPredictionUnknown instead of any expected times. +SIRI v2.1</xsd:documentation>
619
+ </xsd:annotation>
620
+ </xsd:element>
621
+ </xsd:choice>
622
+ </xsd:sequence>
623
+ </xsd:group>
624
+ <xsd:group name="OnwardVehicleDepartureTimesGroup">
625
+ <xsd:annotation>
626
+ <xsd:documentation>Elements for departure in ONWARD CALL.</xsd:documentation>
627
+ </xsd:annotation>
628
+ <xsd:sequence>
629
+ <xsd:element ref="AimedDepartureTime" minOccurs="0"/>
630
+ <xsd:choice>
631
+ <xsd:sequence>
632
+ <xsd:element ref="ExpectedDepartureTime" minOccurs="0"/>
633
+ <xsd:element name="ProvisionalExpectedDepartureTime" type="xsd:dateTime" minOccurs="0">
634
+ <xsd:annotation>
635
+ <xsd:documentation>Expected departure time of VEHICLE without waiting time due to operational actions. For people at stop this would normally be shown if different from Expected departure time. So if servcie decides not to wait may leave earler than expected departure time +SIRI v2.0.</xsd:documentation>
636
+ </xsd:annotation>
637
+ </xsd:element>
638
+ <xsd:element name="EarliestExpectedDepartureTime" type="xsd:dateTime" minOccurs="0">
639
+ <xsd:annotation>
640
+ <xsd:documentation>Earliest time at which VEHICLE may leave the stop. Used to secure connections. Used for passenger announcements. Passengers must be at boarding point by this time to be sure of catching VEHICLE. i.e. "Vehicle will not leave before this time" - may be revised from original aimed time. +SIRI v2.0</xsd:documentation>
641
+ </xsd:annotation>
642
+ </xsd:element>
643
+ <xsd:element name="ExpectedDeparturePredictionQuality" type="PredictionQualityStructure" minOccurs="0">
644
+ <xsd:annotation>
645
+ <xsd:documentation>Prediction quality, either as approximate level, or more quantitative percentile range of predictions that will fall within a given range of times. +SIRI v2.0 </xsd:documentation>
646
+ </xsd:annotation>
647
+ </xsd:element>
648
+ </xsd:sequence>
649
+ <xsd:element name="DeparturePredictionUnknown" type="EmptyType">
650
+ <xsd:annotation>
651
+ <xsd:documentation>If the producer is (temporarily) not able to deliver real-time predictions (e.g. because of a connection loss), he has various options (and combinations of them) to inform the consumer:
652
+ (i) set Monitored to 'false'
653
+ (ii) transmit ExpectedDepartureTime together with "PredictionInaccurate=true"
654
+ (iii) drop/omit ExpectedDepartureTime
655
+ (iv) set DepartureStatus to 'noReport'
656
+ However, this might introduce ambiguity: e.g. option (iii) might be interpreted as "on time" by one consumer, but also as "indefinite delay" by another consumer.
657
+ To avoid this, the producer should transmit xxxPredictionUnknown instead of any expected times. +SIRI v2.1</xsd:documentation>
658
+ </xsd:annotation>
659
+ </xsd:element>
660
+ </xsd:choice>
661
+ </xsd:sequence>
662
+ </xsd:group>
663
+ <xsd:group name="HeadwayIntervalGroup">
664
+ <xsd:annotation>
665
+ <xsd:documentation>Elements describing the HEADWAY INTERVALs.</xsd:documentation>
666
+ </xsd:annotation>
667
+ <xsd:sequence>
668
+ <xsd:element ref="AimedHeadwayInterval" minOccurs="0"/>
669
+ <xsd:element ref="ExpectedHeadwayInterval" minOccurs="0"/>
670
+ </xsd:sequence>
671
+ </xsd:group>
672
+ <xsd:group name="StopProximityGroup">
673
+ <xsd:annotation>
674
+ <xsd:documentation>Elements describing the distance from the stop of a VEHICLE. +SIRI v2.0.</xsd:documentation>
675
+ </xsd:annotation>
676
+ <xsd:sequence>
677
+ <xsd:element name="DistanceFromStop" type="DistanceType" minOccurs="0">
678
+ <xsd:annotation>
679
+ <xsd:documentation>Distance of VEHICLE from stop of CALL as measured along ROUTE track. Only shown if detail level is 'calls' or higher. Positive value denotes distance before stop. +SIRI v2.0.</xsd:documentation>
680
+ </xsd:annotation>
681
+ </xsd:element>
682
+ <xsd:element name="NumberOfStopsAway" type="xsd:nonNegativeInteger" minOccurs="0">
683
+ <xsd:annotation>
684
+ <xsd:documentation>Count of stops along SERVICE PATTERN between current position of VEHICLE and stop of CALL as measured along ROUTE track. Only shown if detail level is 'calls' or higher. +SIRI v2.0.</xsd:documentation>
685
+ </xsd:annotation>
686
+ </xsd:element>
687
+ </xsd:sequence>
688
+ </xsd:group>
689
+ <xsd:complexType name="PredictionQualityStructure">
690
+ <xsd:annotation>
691
+ <xsd:documentation>Type for Prediction Quality quantifcation.</xsd:documentation>
692
+ </xsd:annotation>
693
+ <xsd:sequence>
694
+ <xsd:element name="PredictionLevel" type="QualityIndexEnumeration">
695
+ <xsd:annotation>
696
+ <xsd:documentation>An approxiimate characterisation of prediction quality as one of five values. +SIRI v2.0</xsd:documentation>
697
+ </xsd:annotation>
698
+ </xsd:element>
699
+ <xsd:sequence minOccurs="0">
700
+ <xsd:element name="Percentile" type="xsd:decimal" default="0.9" minOccurs="0">
701
+ <xsd:annotation>
702
+ <xsd:documentation>Percentile associated with range as specified by lower and upper bound. +SIRI v2.0</xsd:documentation>
703
+ </xsd:annotation>
704
+ </xsd:element>
705
+ <xsd:element name="LowerTimeLimit" type="xsd:dateTime" minOccurs="0">
706
+ <xsd:annotation>
707
+ <xsd:documentation>Lower bound on time of prediction for confidence level if different from defaults. +SIRI v2.0</xsd:documentation>
708
+ </xsd:annotation>
709
+ </xsd:element>
710
+ <xsd:element name="HigherTimeLimit" type="xsd:dateTime" minOccurs="0">
711
+ <xsd:annotation>
712
+ <xsd:documentation>Upper bound on time of prediction for confidence level if different from defaults. +SIRI v2.0</xsd:documentation>
713
+ </xsd:annotation>
714
+ </xsd:element>
715
+ </xsd:sequence>
716
+ </xsd:sequence>
717
+ </xsd:complexType>
718
+ <!-- ========STOP ASSIGNMENT and dependencies=============================================================== -->
719
+ <xsd:element name="AimedFlexibleArea" type="FlexibleAreaStructure">
720
+ <xsd:annotation>
721
+ <xsd:documentation>Area that encompasses the scheduled flexible stop locations according to the planned timetable. +SIRI v2.1</xsd:documentation>
722
+ </xsd:annotation>
723
+ </xsd:element>
724
+ <xsd:element name="AimedFlexibleAreaRef" type="FlexibleAreaRefStructure">
725
+ <xsd:annotation>
726
+ <xsd:documentation>Reference to the scheduled location or flexible area. +SIRI v2.1</xsd:documentation>
727
+ </xsd:annotation>
728
+ </xsd:element>
729
+ <xsd:element name="AimedLocationName" type="NaturalLanguageStringStructure">
730
+ <xsd:annotation>
731
+ <xsd:documentation>Name or description (e.g. address) of the scheduled location or flexible area. +SIRI v2.1</xsd:documentation>
732
+ </xsd:annotation>
733
+ </xsd:element>
734
+ <!-- ======================================================================= -->
735
+ <xsd:group name="FlexibleStopLocationGroup">
736
+ <xsd:annotation>
737
+ <xsd:documentation>Elements for location of flexible stops or service that allows pickup anywhere in a designated area. +SIRI v2.1</xsd:documentation>
738
+ </xsd:annotation>
739
+ <xsd:sequence>
740
+ <xsd:element ref="AimedFlexibleArea" minOccurs="0"/>
741
+ <xsd:element ref="AimedFlexibleAreaRef" minOccurs="0"/>
742
+ <xsd:element ref="AimedLocationName" minOccurs="0" maxOccurs="unbounded"/>
743
+ <xsd:element name="ExpectedFlexibleArea" type="FlexibleAreaStructure" minOccurs="0">
744
+ <xsd:annotation>
745
+ <xsd:documentation>Area that encompasses the expected flexible stop locations according to the real-time prediction.</xsd:documentation>
746
+ </xsd:annotation>
747
+ </xsd:element>
748
+ <xsd:element name="ExpectedFlexibleAreaRef" type="FlexibleAreaRefStructure" minOccurs="0"/>
749
+ <xsd:element name="ExpectedLocationName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
750
+ <xsd:annotation>
751
+ <xsd:documentation>Name or description (e.g. address) of the expected location or flexible area.</xsd:documentation>
752
+ </xsd:annotation>
753
+ </xsd:element>
754
+ <xsd:element name="ActualFlexibleArea" type="FlexibleAreaStructure" minOccurs="0">
755
+ <xsd:annotation>
756
+ <xsd:documentation>Area that encompasses the actually recorded flexible stop locations.</xsd:documentation>
757
+ </xsd:annotation>
758
+ </xsd:element>
759
+ <xsd:element name="ActualFlexibleAreaRef" type="FlexibleAreaRefStructure" minOccurs="0"/>
760
+ <xsd:element name="ActualLocationName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
761
+ <xsd:annotation>
762
+ <xsd:documentation>Name or description (e.g. address) of the actually recorded location or flexible area.</xsd:documentation>
763
+ </xsd:annotation>
764
+ </xsd:element>
765
+ </xsd:sequence>
766
+ </xsd:group>
767
+ <!-- ======================================================================= -->
768
+ <xsd:group name="QuayAssignmentGroup">
769
+ <xsd:annotation>
770
+ <xsd:documentation>Elements for assignment of a SCHEDULED STOP POINT to a specific QUAY or platform. +SIRI v2.1</xsd:documentation>
771
+ </xsd:annotation>
772
+ <xsd:sequence>
773
+ <xsd:element name="AimedQuayRef" type="QuayRefStructure" minOccurs="0">
774
+ <xsd:annotation>
775
+ <xsd:documentation>Physical QUAY to use according to the planned timetable. +SIRI v2.0</xsd:documentation>
776
+ </xsd:annotation>
777
+ </xsd:element>
778
+ <xsd:element name="AimedQuayName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
779
+ <xsd:annotation>
780
+ <xsd:documentation>Scheduled Platform name. Can be used to indicate platfrom change. +SIRI v2.0</xsd:documentation>
781
+ </xsd:annotation>
782
+ </xsd:element>
783
+ <xsd:element name="ExpectedQuayRef" type="QuayRefStructure" minOccurs="0">
784
+ <xsd:annotation>
785
+ <xsd:documentation>Physical QUAY to use according to the real-time prediction. +SIRI v2.0</xsd:documentation>
786
+ </xsd:annotation>
787
+ </xsd:element>
788
+ <xsd:element name="ExpectedQuayName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
789
+ <xsd:annotation>
790
+ <xsd:documentation>Expected Platform name. Can be used to indicate real-time prediction. +SIRI v2.1</xsd:documentation>
791
+ </xsd:annotation>
792
+ </xsd:element>
793
+ <xsd:element name="ActualQuayRef" type="QuayRefStructure" minOccurs="0">
794
+ <xsd:annotation>
795
+ <xsd:documentation>Physical QUAY actually used. +SIRI v2.0</xsd:documentation>
796
+ </xsd:annotation>
797
+ </xsd:element>
798
+ <xsd:element name="ActualQuayName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
799
+ <xsd:annotation>
800
+ <xsd:documentation>Actual Platform name. Can be used to indicate recorded platform. +SIRI v2.1</xsd:documentation>
801
+ </xsd:annotation>
802
+ </xsd:element>
803
+ <xsd:element ref="QuayType" minOccurs="0"/>
804
+ </xsd:sequence>
805
+ </xsd:group>
806
+ <!-- ======================================================================= -->
807
+ <xsd:group name="BoardingPositionAssignmentGroup">
808
+ <xsd:annotation>
809
+ <xsd:documentation>Elements for assignment of a SCHEDULED STOP POINT to a specific BOARDING POSITION or location on a QUAY. +SIRI v2.1</xsd:documentation>
810
+ </xsd:annotation>
811
+ <xsd:sequence>
812
+ <xsd:element name="AimedBoardingPositionRef" type="BoardingPositionRefStructure" minOccurs="0">
813
+ <xsd:annotation>
814
+ <xsd:documentation>Physical BOARDING POSITION to use according to the planned timetable.</xsd:documentation>
815
+ </xsd:annotation>
816
+ </xsd:element>
817
+ <xsd:element name="AimedBoardingPositionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
818
+ <xsd:annotation>
819
+ <xsd:documentation>Scheduled BOARDING POSITION name. Can be used to indicate boarding position change.</xsd:documentation>
820
+ </xsd:annotation>
821
+ </xsd:element>
822
+ <xsd:element name="ExpectedBoardingPositionRef" type="BoardingPositionRefStructure" minOccurs="0">
823
+ <xsd:annotation>
824
+ <xsd:documentation>Physical BOARDING POSITION to use according to the real-time prediction.</xsd:documentation>
825
+ </xsd:annotation>
826
+ </xsd:element>
827
+ <xsd:element name="ExpectedBoardingPositionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
828
+ <xsd:annotation>
829
+ <xsd:documentation>Expected BOARDING POSITION name. Can be used to indicate real-time prediction.</xsd:documentation>
830
+ </xsd:annotation>
831
+ </xsd:element>
832
+ <xsd:element name="ActualBoardingPositionRef" type="BoardingPositionRefStructure" minOccurs="0">
833
+ <xsd:annotation>
834
+ <xsd:documentation>Actually recorded BOARDING POSITION. Can be used to indicate the actually used boarding position.</xsd:documentation>
835
+ </xsd:annotation>
836
+ </xsd:element>
837
+ <xsd:element name="ActualBoardingPositionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
838
+ <xsd:annotation>
839
+ <xsd:documentation>Recorded BOARDING POSITION name. Can be used to indicate the actually used boarding position.</xsd:documentation>
840
+ </xsd:annotation>
841
+ </xsd:element>
842
+ </xsd:sequence>
843
+ </xsd:group>
844
+ <!-- ======================================================================= -->
845
+ <xsd:complexType name="StopAssignmentStructure">
846
+ <xsd:annotation>
847
+ <xsd:documentation>Type for assignment of a SCHEDULED STOP POINT to a physical location, in particular to a QUAY or BOARDING POSITION. +SIRI v2.0.</xsd:documentation>
848
+ </xsd:annotation>
849
+ <xsd:sequence>
850
+ <xsd:choice>
851
+ <xsd:group ref="QuayAssignmentGroup"/>
852
+ <xsd:group ref="BoardingPositionAssignmentGroup"/>
853
+ </xsd:choice>
854
+ <xsd:group ref="FlexibleStopLocationGroup"/>
855
+ </xsd:sequence>
856
+ </xsd:complexType>
857
+ <!-- ======================================================================= -->
858
+ <xsd:complexType name="PlannedStopAssignmentStructure">
859
+ <xsd:annotation>
860
+ <xsd:documentation>Type for assignment of a SCHEDULED STOP POINT to a physical location, in particular to a QUAY or BOARDING POSITION, according to the planned timetable. +SIRI v2.0.</xsd:documentation>
861
+ </xsd:annotation>
862
+ <xsd:sequence>
863
+ <xsd:choice>
864
+ <xsd:sequence>
865
+ <xsd:element name="AimedQuayRef" type="QuayRefStructure" minOccurs="0">
866
+ <xsd:annotation>
867
+ <xsd:documentation>Physical QUAY to use according to the planned timetable. +SIRI v2.0</xsd:documentation>
868
+ </xsd:annotation>
869
+ </xsd:element>
870
+ <xsd:element name="AimedQuayName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
871
+ <xsd:annotation>
872
+ <xsd:documentation>Scheduled Platform name. +SIRI v2.0</xsd:documentation>
873
+ </xsd:annotation>
874
+ </xsd:element>
875
+ <xsd:element ref="QuayType" minOccurs="0"/>
876
+ </xsd:sequence>
877
+ <xsd:sequence>
878
+ <xsd:element name="AimedBoardingPositionRef" type="BoardingPositionRefStructure" minOccurs="0">
879
+ <xsd:annotation>
880
+ <xsd:documentation>Physical BOARDING POSITION to use according to the planned timetable. +SIRI v2.1</xsd:documentation>
881
+ </xsd:annotation>
882
+ </xsd:element>
883
+ <xsd:element name="AimedBoardingPositionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
884
+ <xsd:annotation>
885
+ <xsd:documentation>Scheduled BOARDING POSITION name. +SIRI v2.1</xsd:documentation>
886
+ </xsd:annotation>
887
+ </xsd:element>
888
+ </xsd:sequence>
889
+ </xsd:choice>
890
+ <xsd:element ref="AimedFlexibleArea" minOccurs="0"/>
891
+ <xsd:element ref="AimedFlexibleAreaRef" minOccurs="0"/>
892
+ <xsd:element ref="AimedLocationName" minOccurs="0" maxOccurs="unbounded"/>
893
+ </xsd:sequence>
894
+ </xsd:complexType>
895
+ <!-- ===== Characterisation of nested QUAYs ================================================================= -->
896
+ <xsd:element name="QuayType" type="TypeOfNestedQuayEnumeration">
897
+ <xsd:annotation>
898
+ <xsd:documentation>Indicates the type of a nested QUAY in case of detailed STOP PLACE models.
899
+ A QUAY may be part of a group of QUAYs, or may be divided into sectors, i.e., smaller sub-QUAYs. +SIRI v2.1</xsd:documentation>
900
+ </xsd:annotation>
901
+ </xsd:element>
902
+ <!-- ======================================================================= -->
903
+ <xsd:element name="PredictionInaccurate" type="xsd:boolean" default="false">
904
+ <xsd:annotation>
905
+ <xsd:documentation>Whether the prediction for a specific stop or the whole journey is considered to be of a useful accuracy or not. Default is 'false', i.e. prediction is considered to be accurate.
906
+ If prediction is degraded, e.g. because of a situation, PredictionInaccurate is used to indicate a lowered quality of data. Inherited property. PredictionInaccurate can be used in combination with InCongestion, but is more general.</xsd:documentation>
907
+ </xsd:annotation>
908
+ </xsd:element>
909
+ <xsd:element name="PredictionInaccurateReason" type="PredictionInaccurateReasonEnumeration">
910
+ <xsd:annotation>
911
+ <xsd:documentation>Can be used to inform the passenger about the reason for a change of the prediction (in)accuracy in case PredictionInaccurate is set to 'true'. +SIRI v2.1</xsd:documentation>
912
+ </xsd:annotation>
913
+ </xsd:element>
914
+ <xsd:element name="Occupancy" type="OccupancyEnumeration">
915
+ <xsd:annotation>
916
+ <xsd:documentation>An approximate figure of how occupied the journey is after departing from a given stop, e.g. 'manySeatsAvailable' or 'standingRoomOnly'. If omitted: Passenger load is unknown.
917
+ Occupancies and capacities for individual VEHICLEs, e.g. parts of a COMPOUND TRAIN, can also be specified in more detail for the departure on CALL level.</xsd:documentation>
918
+ </xsd:annotation>
919
+ </xsd:element>
920
+ <!-- =====Arrival================================================================== -->
921
+ <xsd:element name="AimedArrivalTime" type="xsd:dateTime">
922
+ <xsd:annotation>
923
+ <xsd:documentation>Target arrival time of VEHICLE at stop according to latest working timetable.</xsd:documentation>
924
+ </xsd:annotation>
925
+ </xsd:element>
926
+ <xsd:element name="ActualArrivalTime" type="xsd:dateTime">
927
+ <xsd:annotation>
928
+ <xsd:documentation>Observed time of arrival of VEHICLE at stop.</xsd:documentation>
929
+ </xsd:annotation>
930
+ </xsd:element>
931
+ <xsd:element name="ExpectedArrivalTime" type="xsd:dateTime">
932
+ <xsd:annotation>
933
+ <xsd:documentation>Estimated time of arriival of VEHICLE at stop .</xsd:documentation>
934
+ </xsd:annotation>
935
+ </xsd:element>
936
+ <xsd:element name="ArrivalStatus" type="CallStatusEnumeration">
937
+ <xsd:annotation>
938
+ <xsd:documentation>Classification of the timeliness of the visit according to a fixed list of values. If not specified, same as DepartureStatus.</xsd:documentation>
939
+ </xsd:annotation>
940
+ </xsd:element>
941
+ <xsd:element name="ArrivalCancellationReason" type="NaturalLanguageStringStructure">
942
+ <xsd:annotation>
943
+ <xsd:documentation>Text annotation to be used in cases where ArrivalStatus is set to 'cancelled'. +SIRI v2.1</xsd:documentation>
944
+ </xsd:annotation>
945
+ </xsd:element>
946
+ <xsd:element name="ArrivalProximityText" type="NaturalLanguageStringStructure">
947
+ <xsd:annotation>
948
+ <xsd:documentation>Arbitrary text string to show to indicate the status of the departure of the VEHICLE for example, “Enroute”, “5 Km”, “Approaching”. May depend on the policy of the OPERATOR, for example show “Approaching” if less than 200metres away from stop. +SIRI v2.0</xsd:documentation>
949
+ </xsd:annotation>
950
+ </xsd:element>
951
+ <xsd:element name="ArrivalPlatformName" type="NaturalLanguageStringStructure">
952
+ <xsd:annotation>
953
+ <xsd:documentation>Bay or platform (QUAY) name to show passenger i.e. expected platform for vehicle to arrive at.
954
+ Inheritable property. Can be omitted if the same as the DeparturePlatformName If there no arrival platform name separate from the departure platform name, the precedence is:
955
+ (i) any arrival platform on any related dated timetable element,
956
+ (ii) any departure platform name on this estimated element;
957
+ (iii) any departure platform name on any related dated timetable CALL.</xsd:documentation>
958
+ </xsd:annotation>
959
+ </xsd:element>
960
+ <xsd:element name="ArrivalBoardingActivity" type="ArrivalBoardingActivityEnumeration" default="alighting">
961
+ <xsd:annotation>
962
+ <xsd:documentation>Type of alighting allowed at stop. Default is 'Alighting'.</xsd:documentation>
963
+ </xsd:annotation>
964
+ </xsd:element>
965
+ <xsd:element name="ArrivalFormationAssignment" type="FormationAssignmentStructure">
966
+ <xsd:annotation>
967
+ <xsd:documentation>Assignment of a TRAIN formation to a physical QUAY (platform or sectors thereof). If not given, assume same as for departure. +SIRI v2.1</xsd:documentation>
968
+ </xsd:annotation>
969
+ </xsd:element>
970
+ <xsd:element name="ArrivalOrientationRelativeToQuay" type="VehicleOrientationRelativeToQuay">
971
+ <xsd:annotation>
972
+ <xsd:documentation>Indication of the direction of travel of the vehicle (e.g. TRAIN formation) with respect to the platform, or more precisely the QUAY. Unbounded to allow multiple languages. +SIRI v2.1
973
+ Examples:
974
+ - "towards A" or "towards sector A" if the QUAY is separated into sub-QUAYs or so called sectors. This would be equivalent to the vehicle arriving at sector A first when approaching the QUAY with sectors A-B-C-D. If the arriving vehicle is represented as an arrow, "towards A" would be abstracted as "=&gt; A-B-C-D".
975
+ - "towards 0" or "towards reference point 0" if sectors are not available or the QUAY has a reference point, e.g. for measuring the length of the QUAY, identified by "0". This would be equivalent to the vehicle arriving at this reference point first when approaching the QUAY. If the arriving vehicle is represented as an arrow, "towards 0" would be abstracted as "=&gt; 0...100". "100" (as in percent) could denote the opposite side of the QUAY (measured at the full length of the QUAY with respect to the reference point).
976
+ It is advised to specify a reference point that is meaningful for passengers on location.
977
+ </xsd:documentation>
978
+ </xsd:annotation>
979
+ </xsd:element>
980
+ <xsd:element name="ArrivalOperatorRefs" type="OperatorRefStructure">
981
+ <xsd:annotation>
982
+ <xsd:documentation>OPERATORs of of service up until arrival. May change for departure. +SIRI v2.0.</xsd:documentation>
983
+ </xsd:annotation>
984
+ </xsd:element>
985
+ <!-- ======================================================================= -->
986
+ <xsd:group name="VehicleArrivalTimesGroup">
987
+ <xsd:annotation>
988
+ <xsd:documentation>Arrival times for CALL.</xsd:documentation>
989
+ </xsd:annotation>
990
+ <xsd:sequence>
991
+ <xsd:element ref="AimedArrivalTime" minOccurs="0"/>
992
+ <xsd:choice>
993
+ <xsd:element ref="ActualArrivalTime" minOccurs="0"/>
994
+ <xsd:element ref="ExpectedArrivalTime" minOccurs="0"/>
995
+ </xsd:choice>
996
+ </xsd:sequence>
997
+ </xsd:group>
998
+ <!-- =====Departure================================================================== -->
999
+ <xsd:element name="AimedDepartureTime" type="xsd:dateTime">
1000
+ <xsd:annotation>
1001
+ <xsd:documentation>Target departure time of VEHICLE from stop according to latest working timetable.</xsd:documentation>
1002
+ </xsd:annotation>
1003
+ </xsd:element>
1004
+ <xsd:element name="ActualDepartureTime" type="xsd:dateTime">
1005
+ <xsd:annotation>
1006
+ <xsd:documentation>Observed time of departure of VEHICLE from stop.</xsd:documentation>
1007
+ </xsd:annotation>
1008
+ </xsd:element>
1009
+ <xsd:element name="ExpectedDepartureTime" type="xsd:dateTime">
1010
+ <xsd:annotation>
1011
+ <xsd:documentation>Estimated time of departure of VEHICLE from stop, most likely taking into account all control actions such as waiting.</xsd:documentation>
1012
+ </xsd:annotation>
1013
+ </xsd:element>
1014
+ <xsd:element name="AimedLatestPassengerAccessTime" type="xsd:dateTime">
1015
+ <xsd:annotation>
1016
+ <xsd:documentation>Latest target time at which a PASSENGER should aim to arrive at the STOP PLACE containing the stop. This time may be earlier than the VEHICLE departure times and may include time for processes such as checkin, security, etc.(As specified by CHECK CONSTRAINT DELAYs in the underlying data). If absent assume to be the same as Earliest expected departure time. +SIRI 2.0</xsd:documentation>
1017
+ </xsd:annotation>
1018
+ </xsd:element>
1019
+ <xsd:element name="ExpectedLatestPassengerAccessTime" type="xsd:dateTime">
1020
+ <xsd:annotation>
1021
+ <xsd:documentation>Latest expected time at which a PASSENGER should aim to arrive at the STOP PLACE containing the stop. This time may be earlier than the VEHICLE departure times and may include time for processes such as checkin, security, etc.(As specified by CHECK CONSTRAINT DELAYs in the underlying data). If absent assume to be the same as Earliest expected departure time. +SIRI 2.0</xsd:documentation>
1022
+ </xsd:annotation>
1023
+ </xsd:element>
1024
+ <xsd:element name="DepartureStatus" type="CallStatusEnumeration">
1025
+ <xsd:annotation>
1026
+ <xsd:documentation>Classification of the timeliness of the departure part of the CALL, according to a fixed list of values. This may reflect a presentation policy, for example CALLs less than one minute behind target time are still classified as on-time. Applications may use this to guide their own presentation of times.</xsd:documentation>
1027
+ </xsd:annotation>
1028
+ </xsd:element>
1029
+ <xsd:element name="DepartureCancellationReason" type="NaturalLanguageStringStructure">
1030
+ <xsd:annotation>
1031
+ <xsd:documentation>Text annotation to be used in cases where DepartureStatus is set to 'cancelled'. +SIRI v2.1</xsd:documentation>
1032
+ </xsd:annotation>
1033
+ </xsd:element>
1034
+ <xsd:element name="DepartureProximityText" type="NaturalLanguageStringStructure">
1035
+ <xsd:annotation>
1036
+ <xsd:documentation>Arbitrary text string to show to indicate the status of the departure of the vehicle, for example, “Boarding”, “GatesClosed”. +SIRI v2.0</xsd:documentation>
1037
+ </xsd:annotation>
1038
+ </xsd:element>
1039
+ <xsd:element name="DeparturePlatformName" type="NaturalLanguageStringStructure">
1040
+ <xsd:annotation>
1041
+ <xsd:documentation>Departure QUAY (bay or platform) name. Default taken from planned timetable.</xsd:documentation>
1042
+ </xsd:annotation>
1043
+ </xsd:element>
1044
+ <xsd:element name="DepartureBoardingActivity" type="DepartureBoardingActivityEnumeration" default="boarding">
1045
+ <xsd:annotation>
1046
+ <xsd:documentation>Nature of boarding allowed at stop. Default is 'Boarding'.</xsd:documentation>
1047
+ </xsd:annotation>
1048
+ </xsd:element>
1049
+ <xsd:element name="DepartureFormationAssignment" type="FormationAssignmentStructure">
1050
+ <xsd:annotation>
1051
+ <xsd:documentation>Assignment of a TRAIN formation to a physical QUAY (platform or sectors thereof). +SIRI v2.1</xsd:documentation>
1052
+ </xsd:annotation>
1053
+ </xsd:element>
1054
+ <xsd:element name="DepartureOrientationRelativeToQuay" type="VehicleOrientationRelativeToQuay">
1055
+ <xsd:annotation>
1056
+ <xsd:documentation>Indication of the direction of travel of the vehicle (e.g. TRAIN formation) with respect to the platform, or more precisely the QUAY. Unbounded to allow multiple languages. +SIRI v2.1
1057
+ Examples:
1058
+ - "towards A" or "towards sector A" if the QUAY is separated into sub-QUAYs or so called sectors. This would be equivalent to the vehicle departing in the direction of sector A on a QUAY with sectors A-B-C-D. If the departing vehicle is represented as an arrow, "towards A" would be abstracted as "&lt;= A-B-C-D".
1059
+ - "towards 0" or "towards reference point 0" if sectors are not available or the QUAY has a reference point, e.g. for measuring the length of the QUAY, identified by "0". This would be equivalent to the vehicle departing in the direction of this reference point. If the departing vehicle is represented as an arrow, "towards 0" would be abstracted as "&lt;= 0...100". "100" (as in percent) could denote the opposite side of the QUAY (measured at the full length of the QUAY with respect to the reference point).
1060
+ It is advised to specify a reference point that is meaningful for passengers on location.</xsd:documentation>
1061
+ </xsd:annotation>
1062
+ </xsd:element>
1063
+ <xsd:element name="ExpectedDepartureOccupancy" type="VehicleOccupancyStructure">
1064
+ <xsd:annotation>
1065
+ <xsd:documentation>Real-time occupancies of a VEHICLE and reservations after departing from a given stop. +SIRI v2.1</xsd:documentation>
1066
+ </xsd:annotation>
1067
+ </xsd:element>
1068
+ <xsd:element name="ExpectedDepartureCapacities" type="PassengerCapacityStructure">
1069
+ <xsd:annotation>
1070
+ <xsd:documentation>Real-time capacities (number of available seats) of a VEHICLE after departing from a given stop. Alternative way to communicate occupancy measurements. +SIRI v2.1</xsd:documentation>
1071
+ </xsd:annotation>
1072
+ </xsd:element>
1073
+ <xsd:element name="DepartureOperatorRefs" type="OperatorRefStructure">
1074
+ <xsd:annotation>
1075
+ <xsd:documentation>OPERATORs of service for departure and onwards. May change from that for arrival. +SIRI v2.0.</xsd:documentation>
1076
+ </xsd:annotation>
1077
+ </xsd:element>
1078
+ <xsd:element name="RecordedDepartureOccupancy" type="VehicleOccupancyStructure">
1079
+ <xsd:annotation>
1080
+ <xsd:documentation>Recorded occupancies of a VEHICLE and reserved seats after departing from a given stop. +SIRI v2.1</xsd:documentation>
1081
+ </xsd:annotation>
1082
+ </xsd:element>
1083
+ <xsd:element name="RecordedDepartureCapacities" type="PassengerCapacityStructure">
1084
+ <xsd:annotation>
1085
+ <xsd:documentation>Recorded capacities of a VEHICLE after departing from a given stop. Alternative way to communicate occupancy measurements. +SIRI v2.1</xsd:documentation>
1086
+ </xsd:annotation>
1087
+ </xsd:element>
1088
+ <!-- ======================================================================= -->
1089
+ <xsd:group name="VehicleDepartureTimesGroup">
1090
+ <xsd:annotation>
1091
+ <xsd:documentation>Departure times for CALL.</xsd:documentation>
1092
+ </xsd:annotation>
1093
+ <xsd:sequence>
1094
+ <xsd:element ref="AimedDepartureTime" minOccurs="0"/>
1095
+ <xsd:choice>
1096
+ <xsd:element ref="ActualDepartureTime" minOccurs="0"/>
1097
+ <xsd:element ref="ExpectedDepartureTime" minOccurs="0"/>
1098
+ </xsd:choice>
1099
+ </xsd:sequence>
1100
+ </xsd:group>
1101
+ <xsd:group name="PassengerDepartureTimesGroup">
1102
+ <xsd:annotation>
1103
+ <xsd:documentation>Passenger arrival times at STOP PLACE in order to meet VEHICLE departure times for CALL.</xsd:documentation>
1104
+ </xsd:annotation>
1105
+ <xsd:sequence>
1106
+ <xsd:element ref="AimedLatestPassengerAccessTime" minOccurs="0"/>
1107
+ <xsd:element ref="ExpectedLatestPassengerAccessTime" minOccurs="0"/>
1108
+ </xsd:sequence>
1109
+ </xsd:group>
1110
+ <!-- =====Interval================================================================= -->
1111
+ <xsd:element name="AimedHeadwayInterval" type="PositiveDurationType">
1112
+ <xsd:annotation>
1113
+ <xsd:documentation>For frequency based services, target interval between vehicles at stop.</xsd:documentation>
1114
+ </xsd:annotation>
1115
+ </xsd:element>
1116
+ <xsd:element name="ExpectedHeadwayInterval" type="PositiveDurationType">
1117
+ <xsd:annotation>
1118
+ <xsd:documentation>For frequency based services, expected interval between vehicles at stop.</xsd:documentation>
1119
+ </xsd:annotation>
1120
+ </xsd:element>
1121
+ <xsd:element name="ActualHeadwayInterval" type="PositiveDurationType">
1122
+ <xsd:annotation>
1123
+ <xsd:documentation>For frequency based services, observed interval between vehicles at stop.</xsd:documentation>
1124
+ </xsd:annotation>
1125
+ </xsd:element>
1126
+ <!-- =====JourneyRelation================================================== -->
1127
+ <xsd:complexType name="JourneyRelationsStructure">
1128
+ <xsd:annotation>
1129
+ <xsd:documentation>Provides information about relations to other journeys. +SIRI v2.1</xsd:documentation>
1130
+ </xsd:annotation>
1131
+ <xsd:sequence>
1132
+ <xsd:element name="JourneyRelation" type="JourneyRelationStructure" maxOccurs="unbounded"/>
1133
+ </xsd:sequence>
1134
+ </xsd:complexType>
1135
+ <xsd:complexType name="JourneyRelationStructure">
1136
+ <xsd:sequence>
1137
+ <xsd:element name="JourneyRelationType" type="JourneyRelationTypeEnumeration">
1138
+ <xsd:annotation>
1139
+ <xsd:documentation>Specifies the type of the relation, e.g., joining, splitting, replacement etc. +SIRI v2.1</xsd:documentation>
1140
+ </xsd:annotation>
1141
+ </xsd:element>
1142
+ <xsd:group ref="JourneyRelationInfoGroup"/>
1143
+ <xsd:element ref="RelatedJourney" maxOccurs="unbounded"/>
1144
+ </xsd:sequence>
1145
+ </xsd:complexType>
1146
+ <xsd:group name="JourneyRelationInfoGroup">
1147
+ <xsd:annotation>
1148
+ <xsd:documentation>Specifies which CALL or JOURNEY PART of the JOURNEY has a JOURNEY RELATION. +SIRI v2.1</xsd:documentation>
1149
+ </xsd:annotation>
1150
+ <xsd:sequence>
1151
+ <xsd:choice>
1152
+ <xsd:element name="CallInfo" type="RelatedCallStructure">
1153
+ <xsd:annotation>
1154
+ <xsd:documentation>Information about the stop at which the JOURNEY is related to another JOURNEY. +SIRI v2.1</xsd:documentation>
1155
+ </xsd:annotation>
1156
+ </xsd:element>
1157
+ <xsd:element name="JourneyParts">
1158
+ <xsd:annotation>
1159
+ <xsd:documentation>Information about the JOURNEY PARTs for which the JOURNEY has a JOURNEY RELATION. +SIRI v2.1</xsd:documentation>
1160
+ </xsd:annotation>
1161
+ <xsd:complexType>
1162
+ <xsd:sequence>
1163
+ <xsd:element name="JourneyPartInfo" type="RelatedJourneyPartStructure" maxOccurs="unbounded">
1164
+ <xsd:annotation>
1165
+ <xsd:documentation>Information about related parts of JOURNEY. +SIRI v2.1</xsd:documentation>
1166
+ </xsd:annotation>
1167
+ </xsd:element>
1168
+ </xsd:sequence>
1169
+ </xsd:complexType>
1170
+ </xsd:element>
1171
+ </xsd:choice>
1172
+ </xsd:sequence>
1173
+ </xsd:group>
1174
+ <xsd:complexType name="RelatedCallStructure">
1175
+ <xsd:annotation>
1176
+ <xsd:documentation>The JOURNEY RELATION refers to this CALL. +SIRI v2.1</xsd:documentation>
1177
+ </xsd:annotation>
1178
+ <xsd:complexContent>
1179
+ <xsd:extension base="AbstractCallStructure">
1180
+ <xsd:sequence>
1181
+ <xsd:element ref="AimedDepartureTime" minOccurs="0"/>
1182
+ <xsd:element ref="AimedArrivalTime" minOccurs="0"/>
1183
+ </xsd:sequence>
1184
+ </xsd:extension>
1185
+ </xsd:complexContent>
1186
+ </xsd:complexType>
1187
+ <xsd:complexType name="RelatedJourneyPartStructure">
1188
+ <xsd:annotation>
1189
+ <xsd:documentation>The JOURNEY RELATION refers to this JOURNEY PART. +SIRI v2.1</xsd:documentation>
1190
+ </xsd:annotation>
1191
+ <xsd:complexContent>
1192
+ <xsd:extension base="JourneyPartInfoStructure"/>
1193
+ </xsd:complexContent>
1194
+ </xsd:complexType>
1195
+ <xsd:element name="RelatedJourney" type="RelatedJourneyStructure">
1196
+ <xsd:annotation>
1197
+ <xsd:documentation>Refers to the JOURNEY to which the current JOURNEY is related. +SIRI v2.1</xsd:documentation>
1198
+ </xsd:annotation>
1199
+ </xsd:element>
1200
+ <xsd:complexType name="RelatedJourneyStructure">
1201
+ <xsd:complexContent>
1202
+ <xsd:extension base="ConnectingJourneyRefStructure">
1203
+ <xsd:sequence>
1204
+ <xsd:group ref="JourneyRelationInfoGroup" minOccurs="0"/>
1205
+ </xsd:sequence>
1206
+ </xsd:extension>
1207
+ </xsd:complexContent>
1208
+ </xsd:complexType>
1209
+ <!-- =====Train formation/composition================================================================= -->
1210
+ <xsd:group name="JourneyFormationGroup">
1211
+ <xsd:annotation>
1212
+ <xsd:documentation>Groups relevant elements of the formation model that are used on JOURNEY level.
1213
+ The TRAIN conceptual model represents VEHICLE TYPE properties that are peculiar to TRAINs. A TRAIN may comprise not just a single VEHICLE but a chain of carriages, TRAIN ELEMENTS, assembled as TRAIN COMPONENTs.
1214
+ Groups of carriages may be managed as sections by composing TRAINs into a COMPOUND TRAIN made up of multiple TRAIN IN COMPOUND TRAIN, for example in a train that joins or splits. +SIRI v2.1</xsd:documentation>
1215
+ </xsd:annotation>
1216
+ <xsd:sequence>
1217
+ <xsd:element name="TrainElements" minOccurs="0">
1218
+ <xsd:complexType>
1219
+ <xsd:choice maxOccurs="unbounded">
1220
+ <xsd:element ref="TrainElementRef"/>
1221
+ <xsd:element ref="TrainElement"/>
1222
+ </xsd:choice>
1223
+ </xsd:complexType>
1224
+ </xsd:element>
1225
+ <xsd:element name="Trains" minOccurs="0">
1226
+ <xsd:complexType>
1227
+ <xsd:choice maxOccurs="unbounded">
1228
+ <xsd:element name="TrainRef"/>
1229
+ <xsd:element ref="Train"/>
1230
+ </xsd:choice>
1231
+ </xsd:complexType>
1232
+ </xsd:element>
1233
+ <xsd:element name="CompoundTrains" minOccurs="0">
1234
+ <xsd:complexType>
1235
+ <xsd:choice maxOccurs="unbounded">
1236
+ <xsd:element name="CompoundTrainRef"/>
1237
+ <xsd:element ref="CompoundTrain"/>
1238
+ </xsd:choice>
1239
+ </xsd:complexType>
1240
+ </xsd:element>
1241
+ </xsd:sequence>
1242
+ </xsd:group>
1243
+ <xsd:complexType name="VehicleOrientationRelativeToQuay">
1244
+ <xsd:annotation>
1245
+ <xsd:documentation>Indication of the direction of travel of the vehicle (e.g. TRAIN formation) with respect to the platform, or more precisely the QUAY. +SIRI v2.1
1246
+ Examples:
1247
+ - "towards A" or "towards sector A" if the QUAY is separated into sub-QUAYs or so called sectors. This would be equivalent to the vehicle arriving or departing in the direction of sector A on a QUAY with sectors A-B-C-D. If the arriving vehicle is represented as an arrow, "towards A" would be abstracted as "=&gt; A-B-C-D". If the departing vehicle is represented as an arrow, "towards A" would be abstracted as "&lt;= A-B-C-D".
1248
+ - "towards 0" or "towards reference point 0" if sectors are not available or the QUAY has a reference point, e.g. for measuring the length of the QUAY, identified by "0". This would be equivalent to the vehicle arriving or departing in the direction of this reference point. If the arriving vehicle is represented as an arrow, "towards 0" would be abstracted as "=&gt; 0...100". "100" (as in percent) could denote the opposite side of the QUAY (measured at the full length of the QUAY with respect to the reference point). If the departing vehicle is represented as an arrow, "towards 0" would be abstracted as "&lt;= 0...100".
1249
+ It is advised to specify a reference point that is meaningful for passengers on location.</xsd:documentation>
1250
+ </xsd:annotation>
1251
+ <xsd:simpleContent>
1252
+ <xsd:restriction base="NaturalLanguageStringStructure"/>
1253
+ </xsd:simpleContent>
1254
+ </xsd:complexType>
1255
+ <xsd:complexType name="FormationAssignmentStructure">
1256
+ <xsd:annotation>
1257
+ <xsd:documentation>Assignment of the arrival/departure of a VEHICLE within a formation, e.g. carriage in a TRAIN composition, to a physical QUAY or nested QUAY (i.e. platform or sector of a platform). +SIRI v2.1</xsd:documentation>
1258
+ </xsd:annotation>
1259
+ <xsd:sequence>
1260
+ <xsd:group ref="TrainFormationReferenceGroup"/>
1261
+ <xsd:element name="VehicleInFormationStatus" type="VehicleInFormationStatusStructure" minOccurs="0">
1262
+ <xsd:annotation>
1263
+ <xsd:documentation>Information about a change of a VEHICLE within the formation, e.g., whether a VEHICLE is open, booked or has defective doors.</xsd:documentation>
1264
+ </xsd:annotation>
1265
+ </xsd:element>
1266
+ <xsd:element name="TrainStopAssignment" type="StopAssignmentStructure" maxOccurs="unbounded">
1267
+ <xsd:annotation>
1268
+ <xsd:documentation>References to the QUAY on which the particular VEHICLE, i.e., component of the formation, arrives or departs from.
1269
+ If a QUAY is divided into sub-QUAYs or sectors (with the help of STOP ASSIGNMENTs), and a TRAIN COMPONENT spans over multiple sectors of the QUAY, the FORMATION ASSIGNMENT must reference all of them (in multiple STOP ASSIGNMENTs).</xsd:documentation>
1270
+ </xsd:annotation>
1271
+ </xsd:element>
1272
+ </xsd:sequence>
1273
+ </xsd:complexType>
1274
+ <xsd:element name="FormationCondition" type="FormationConditionStructure">
1275
+ <xsd:annotation>
1276
+ <xsd:documentation>Information about a change of the formation (e.g. TRAIN composition) or changes of vehicles within the formation. +SIRI v2.1</xsd:documentation>
1277
+ </xsd:annotation>
1278
+ </xsd:element>
1279
+ <xsd:complexType name="FormationConditionStructure">
1280
+ <xsd:annotation>
1281
+ <xsd:documentation>Type for FORMATION CONDITION. +SIRI v2.1</xsd:documentation>
1282
+ </xsd:annotation>
1283
+ <xsd:sequence>
1284
+ <xsd:group ref="TrainFormationReferenceGroup" minOccurs="0"/>
1285
+ <xsd:choice>
1286
+ <xsd:element name="FormationStatus" type="FormationStatusStructure">
1287
+ <xsd:annotation>
1288
+ <xsd:documentation>Status of formation, e.g., whether it has changed compared to the plan, certain VEHICLEs or features are missing or extra VEHICLEs are added.</xsd:documentation>
1289
+ </xsd:annotation>
1290
+ </xsd:element>
1291
+ <xsd:element name="VehicleInFormationStatus" type="VehicleInFormationStatusStructure">
1292
+ <xsd:annotation>
1293
+ <xsd:documentation>Status of a VEHICLE within formation, e.g., whether a VEHICLE is open, booked or has defective doors.</xsd:documentation>
1294
+ </xsd:annotation>
1295
+ </xsd:element>
1296
+ </xsd:choice>
1297
+ <xsd:element ref="SituationRef" minOccurs="0"/>
1298
+ <xsd:element name="RecommendedAction" type="RecommendedActionStructure" minOccurs="0">
1299
+ <xsd:annotation>
1300
+ <xsd:documentation>Information on recommendations for passengers on how to deal with the formation change.</xsd:documentation>
1301
+ </xsd:annotation>
1302
+ </xsd:element>
1303
+ <xsd:element ref="Extensions" minOccurs="0"/>
1304
+ </xsd:sequence>
1305
+ </xsd:complexType>
1306
+ <xsd:complexType name="FormationStatusStructure">
1307
+ <xsd:annotation>
1308
+ <xsd:documentation>Description of the status of a monitored formation.</xsd:documentation>
1309
+ </xsd:annotation>
1310
+ <xsd:sequence>
1311
+ <xsd:element name="Status" type="FormationChangeEnumeration">
1312
+ <xsd:annotation>
1313
+ <xsd:documentation>Status of the formation.</xsd:documentation>
1314
+ </xsd:annotation>
1315
+ </xsd:element>
1316
+ <xsd:group ref="FormationStatusInfoGroup" minOccurs="0"/>
1317
+ </xsd:sequence>
1318
+ </xsd:complexType>
1319
+ <xsd:complexType name="VehicleInFormationStatusStructure">
1320
+ <xsd:annotation>
1321
+ <xsd:documentation>Description of the status of a monitored vehicle.</xsd:documentation>
1322
+ </xsd:annotation>
1323
+ <xsd:sequence>
1324
+ <xsd:element name="Status" type="VehicleInFormationStatusEnumeration">
1325
+ <xsd:annotation>
1326
+ <xsd:documentation>Status of vehicle.</xsd:documentation>
1327
+ </xsd:annotation>
1328
+ </xsd:element>
1329
+ <xsd:group ref="FormationStatusInfoGroup" minOccurs="0"/>
1330
+ </xsd:sequence>
1331
+ </xsd:complexType>
1332
+ <xsd:group name="FormationStatusInfoGroup">
1333
+ <xsd:annotation>
1334
+ <xsd:documentation>Elements for FormationStatus that further describe the status of the formation, e.g. whether the accessibility has changed. +SIRI v2.1</xsd:documentation>
1335
+ </xsd:annotation>
1336
+ <xsd:sequence>
1337
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
1338
+ <xsd:annotation>
1339
+ <xsd:documentation>Description of the status of a formation or a vehicle within the formation.</xsd:documentation>
1340
+ </xsd:annotation>
1341
+ </xsd:element>
1342
+ <xsd:element name="AccessibilityAssessment" type="acsb:AccessibilityAssessmentStructure" minOccurs="0">
1343
+ <xsd:annotation>
1344
+ <xsd:documentation>Accessibility of the formation or a vehicle within the formation.</xsd:documentation>
1345
+ </xsd:annotation>
1346
+ </xsd:element>
1347
+ <xsd:element ref="Extensions" minOccurs="0"/>
1348
+ </xsd:sequence>
1349
+ </xsd:group>
1350
+ <xsd:complexType name="RecommendedActionStructure">
1351
+ <xsd:annotation>
1352
+ <xsd:documentation>Description of the recommended action for passengers on how to deal with changes, for example of the TRAIN formation.</xsd:documentation>
1353
+ </xsd:annotation>
1354
+ <xsd:sequence>
1355
+ <xsd:element name="TypeOfActionRef" type="TypeOfValueRefStructure">
1356
+ <xsd:annotation>
1357
+ <xsd:documentation>Type of the recommendation, e.g. 'unknown', 'replacement' or 'otherRoute'.</xsd:documentation>
1358
+ </xsd:annotation>
1359
+ </xsd:element>
1360
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
1361
+ <xsd:annotation>
1362
+ <xsd:documentation>Description of the recommended action in natural language.</xsd:documentation>
1363
+ </xsd:annotation>
1364
+ </xsd:element>
1365
+ <xsd:element ref="Extensions" minOccurs="0"/>
1366
+ </xsd:sequence>
1367
+ </xsd:complexType>
1368
+ <!-- ===== Detailed occupancies/capacities for use on CALL level. +SIRI v2.1 ============================================ -->
1369
+ <xsd:group name="PassengerCapacityGroup">
1370
+ <xsd:annotation>
1371
+ <xsd:documentation>Elements for a PASSENGER CAPACITY. Used to indicate the maximum capacities of a TRAIN ELEMENT or the estimated/recorded capacities of a VEHICLE at a given stop, i.e., the number of seats available. +SIRI v2.1</xsd:documentation>
1372
+ </xsd:annotation>
1373
+ <xsd:sequence>
1374
+ <xsd:element name="TotalCapacity" type="NumberOfPassengers" minOccurs="0">
1375
+ <xsd:annotation>
1376
+ <xsd:documentation>The total capacity of the vehicle in number of passengers.</xsd:documentation>
1377
+ </xsd:annotation>
1378
+ </xsd:element>
1379
+ <xsd:element name="SeatingCapacity" type="NumberOfPassengers" minOccurs="0">
1380
+ <xsd:annotation>
1381
+ <xsd:documentation>The seating capacity of the vehicle in number of passengers.</xsd:documentation>
1382
+ </xsd:annotation>
1383
+ </xsd:element>
1384
+ <xsd:element name="StandingCapacity" type="NumberOfPassengers" minOccurs="0">
1385
+ <xsd:annotation>
1386
+ <xsd:documentation>The standing capacity of the vehicle in number of passengers.</xsd:documentation>
1387
+ </xsd:annotation>
1388
+ </xsd:element>
1389
+ <xsd:element name="SpecialPlaceCapacity" type="NumberOfPassengers" minOccurs="0">
1390
+ <xsd:annotation>
1391
+ <xsd:documentation>The number of special places on the vehicle, e.g. seats for the disabled or lounge seats.</xsd:documentation>
1392
+ </xsd:annotation>
1393
+ </xsd:element>
1394
+ <xsd:element name="PushchairCapacity" type="NumberOfPassengers" minOccurs="0">
1395
+ <xsd:annotation>
1396
+ <xsd:documentation>The number of push chair places on the vehicle.</xsd:documentation>
1397
+ </xsd:annotation>
1398
+ </xsd:element>
1399
+ <xsd:element name="WheelchairPlaceCapacity" type="NumberOfPassengers" minOccurs="0">
1400
+ <xsd:annotation>
1401
+ <xsd:documentation>The number of wheelchair places on the vehicle.</xsd:documentation>
1402
+ </xsd:annotation>
1403
+ </xsd:element>
1404
+ <xsd:element name="PramPlaceCapacity" type="xsd:nonNegativeInteger" minOccurs="0">
1405
+ <xsd:annotation>
1406
+ <xsd:documentation>The number of places on the vehicle that are suitable for prams.</xsd:documentation>
1407
+ </xsd:annotation>
1408
+ </xsd:element>
1409
+ <xsd:element name="BicycleRackCapacity" type="xsd:nonNegativeInteger" minOccurs="0">
1410
+ <xsd:annotation>
1411
+ <xsd:documentation>The number of bicycle racks on the vehicle.</xsd:documentation>
1412
+ </xsd:annotation>
1413
+ </xsd:element>
1414
+ </xsd:sequence>
1415
+ </xsd:group>
1416
+ <xsd:group name="OccupancyScopeFilterGroup">
1417
+ <xsd:annotation>
1418
+ <xsd:documentation>The intersection of supplied elements describes the extent that the Occupancy values applies to. +SIRI v2.1
1419
+ Only vehicle-centric filter (measurement in a part or at an entrance of a TRAIN) are available here, but a stop-centric filtering (measurement in a sector or at a position on a QUAY) can be achieved indirectly via Arrival-/DepartureFormationAssignment.</xsd:documentation>
1420
+ </xsd:annotation>
1421
+ <xsd:sequence>
1422
+ <xsd:group ref="TrainFormationReferenceGroup" minOccurs="0"/>
1423
+ <xsd:element name="FareClass" type="FareClassEnumeration" minOccurs="0">
1424
+ <xsd:annotation>
1425
+ <xsd:documentation>Fare class in VEHICLE for which occupancy or capacities are specified.</xsd:documentation>
1426
+ </xsd:annotation>
1427
+ </xsd:element>
1428
+ <xsd:element name="PassengerCategory" type="NaturalLanguageStringStructure" minOccurs="0">
1429
+ <xsd:annotation>
1430
+ <xsd:documentation>Adult, child, wheelchair etc.</xsd:documentation>
1431
+ </xsd:annotation>
1432
+ </xsd:element>
1433
+ </xsd:sequence>
1434
+ </xsd:group>
1435
+ <xsd:group name="OccupancyValuesGroup">
1436
+ <xsd:annotation>
1437
+ <xsd:documentation>Occupancy values applying to indicated scope. +SIRI v2.1</xsd:documentation>
1438
+ </xsd:annotation>
1439
+ <xsd:sequence>
1440
+ <xsd:element name="OccupancyLevel" type="OccupancyEnumeration" minOccurs="0">
1441
+ <xsd:annotation>
1442
+ <xsd:documentation>An approximate figure of how occupied or full a VEHICLE and its parts are, e.g. 'manySeatsAvailable' or 'standingRoomOnly'.
1443
+ More accurate data can be provided by the individual occupancies or capacities below.</xsd:documentation>
1444
+ </xsd:annotation>
1445
+ </xsd:element>
1446
+ <xsd:element name="OccupancyPercentage" type="PercentageType" minOccurs="0">
1447
+ <xsd:annotation>
1448
+ <xsd:documentation>Utilised percentage of maximum payload after departing the STOP POINT.</xsd:documentation>
1449
+ </xsd:annotation>
1450
+ </xsd:element>
1451
+ <xsd:element name="AlightingCount" type="NumberOfPassengers" minOccurs="0">
1452
+ <xsd:annotation>
1453
+ <xsd:documentation>Total number of alighting passengers for this vehicle journey at this STOP POINT.</xsd:documentation>
1454
+ </xsd:annotation>
1455
+ </xsd:element>
1456
+ <xsd:element name="BoardingCount" type="NumberOfPassengers" minOccurs="0">
1457
+ <xsd:annotation>
1458
+ <xsd:documentation>Total number of boarding passengers for this vehicle journey at this STOP POINT.</xsd:documentation>
1459
+ </xsd:annotation>
1460
+ </xsd:element>
1461
+ <xsd:element name="OnboardCount" type="NumberOfPassengers" minOccurs="0">
1462
+ <xsd:annotation>
1463
+ <xsd:documentation>Total number of passengers on-board after departing the STOP POINT.</xsd:documentation>
1464
+ </xsd:annotation>
1465
+ </xsd:element>
1466
+ <xsd:element name="SpecialPlacesOccupied" type="NumberOfPassengers" minOccurs="0">
1467
+ <xsd:annotation>
1468
+ <xsd:documentation>Total number of special places, e.g. seats for the disabled or lounge seats, that are occupied after departing the STOP POINT.</xsd:documentation>
1469
+ </xsd:annotation>
1470
+ </xsd:element>
1471
+ <xsd:element name="PushchairsOnboardCount" type="NumberOfPassengers" minOccurs="0">
1472
+ <xsd:annotation>
1473
+ <xsd:documentation>Total number of pushchairs on-board after departing the STOP POINT.</xsd:documentation>
1474
+ </xsd:annotation>
1475
+ </xsd:element>
1476
+ <xsd:element name="WheelchairsOnboardCount" type="NumberOfPassengers" minOccurs="0">
1477
+ <xsd:annotation>
1478
+ <xsd:documentation>Total number of wheelchairs on-board after departing the STOP POINT.</xsd:documentation>
1479
+ </xsd:annotation>
1480
+ </xsd:element>
1481
+ <xsd:element name="PramsOnboardCount" type="xsd:nonNegativeInteger" minOccurs="0">
1482
+ <xsd:annotation>
1483
+ <xsd:documentation>Total number of prams on-board after departing the STOP POINT.</xsd:documentation>
1484
+ </xsd:annotation>
1485
+ </xsd:element>
1486
+ <xsd:element name="BicycleOnboardCount" type="xsd:nonNegativeInteger" minOccurs="0">
1487
+ <xsd:annotation>
1488
+ <xsd:documentation>Total number of bicycles on-board, i.e., number of bicycle racks that are occupied after departing the STOP POINT.</xsd:documentation>
1489
+ </xsd:annotation>
1490
+ </xsd:element>
1491
+ </xsd:sequence>
1492
+ </xsd:group>
1493
+ <xsd:complexType name="GroupReservationStructure">
1494
+ <xsd:annotation>
1495
+ <xsd:documentation>Used to specify that a travel group has booked a section of the vehicle for a part of the journey, and if so under what name. +SIRI v2.1</xsd:documentation>
1496
+ </xsd:annotation>
1497
+ <xsd:sequence>
1498
+ <xsd:element name="NameOfGroup" type="NaturalLanguageStringStructure">
1499
+ <xsd:annotation>
1500
+ <xsd:documentation>Name for which the travel group has made the reservation.</xsd:documentation>
1501
+ </xsd:annotation>
1502
+ </xsd:element>
1503
+ <xsd:element name="NumberOfReservedSeats" type="NumberOfPassengers">
1504
+ <xsd:annotation>
1505
+ <xsd:documentation>Number of seats that the group has booked.</xsd:documentation>
1506
+ </xsd:annotation>
1507
+ </xsd:element>
1508
+ </xsd:sequence>
1509
+ </xsd:complexType>
1510
+ <xsd:complexType name="VehicleOccupancyStructure">
1511
+ <xsd:annotation>
1512
+ <xsd:documentation>Real-time occupancies of a VEHICLE (by fare class). Could be feedback from an automatic passenger counting system (APC) or estimated values from statistics. +SIRI v2.1</xsd:documentation>
1513
+ </xsd:annotation>
1514
+ <xsd:sequence>
1515
+ <xsd:group ref="OccupancyScopeFilterGroup"/>
1516
+ <xsd:group ref="OccupancyValuesGroup"/>
1517
+ <xsd:element name="TotalNumberOfReservedSeats" type="NumberOfPassengers">
1518
+ <xsd:annotation>
1519
+ <xsd:documentation>Total number of booked seats from individual and group reservations.</xsd:documentation>
1520
+ </xsd:annotation>
1521
+ </xsd:element>
1522
+ <xsd:element name="GroupReservation" type="GroupReservationStructure" minOccurs="0" maxOccurs="unbounded">
1523
+ <xsd:annotation>
1524
+ <xsd:documentation>Reservations of travel groups, i.e., name of group and number of seats booked.</xsd:documentation>
1525
+ </xsd:annotation>
1526
+ </xsd:element>
1527
+ </xsd:sequence>
1528
+ </xsd:complexType>
1529
+ <xsd:complexType name="PassengerCapacityStructure">
1530
+ <xsd:annotation>
1531
+ <xsd:documentation>Real-time capacities of a VEHICLE (by fare class), i.e., number of available seats. Alternative way to communicate occupancy measurements. +SIRI v2.1</xsd:documentation>
1532
+ </xsd:annotation>
1533
+ <xsd:sequence>
1534
+ <xsd:group ref="OccupancyScopeFilterGroup"/>
1535
+ <xsd:group ref="PassengerCapacityGroup"/>
1536
+ </xsd:sequence>
1537
+ </xsd:complexType>
1538
+ <!-- ===== NeTEx TrainElement: corresponds to VDV454 FoFahrzeuge. +SIRI v2.1 ============================================ -->
1539
+ <xsd:element name="TrainElement" type="TrainElementStructure">
1540
+ <xsd:annotation>
1541
+ <xsd:documentation>An elementary component of a TRAIN, e.g. wagon or locomotive. +SIRI v2.1</xsd:documentation>
1542
+ </xsd:annotation>
1543
+ </xsd:element>
1544
+ <xsd:complexType name="TrainElementStructure">
1545
+ <xsd:annotation>
1546
+ <xsd:documentation>Type for TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
1547
+ </xsd:annotation>
1548
+ <xsd:sequence>
1549
+ <xsd:element name="TrainElementCode" type="TrainElementCodeType">
1550
+ <xsd:annotation>
1551
+ <xsd:documentation>Identifier for TRAIN ELEMENT.</xsd:documentation>
1552
+ </xsd:annotation>
1553
+ </xsd:element>
1554
+ <xsd:group ref="TrainElementGroup"/>
1555
+ <xsd:group ref="VehicleTypeGroup"/>
1556
+ </xsd:sequence>
1557
+ </xsd:complexType>
1558
+ <xsd:group name="TrainElementGroup">
1559
+ <xsd:annotation>
1560
+ <xsd:documentation>Elements for a TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
1561
+ </xsd:annotation>
1562
+ <xsd:sequence>
1563
+ <xsd:element name="TrainElementType" type="TrainElementTypeEnumeration" minOccurs="0">
1564
+ <xsd:annotation>
1565
+ <xsd:documentation>Type of TRAIN ELEMENT.</xsd:documentation>
1566
+ </xsd:annotation>
1567
+ </xsd:element>
1568
+ <xsd:element name="VehicleNumber" type="xsd:normalizedString" minOccurs="0">
1569
+ <xsd:annotation>
1570
+ <xsd:documentation>Denotes the official "registration number" of the vehicle or wagon/coach. In rail transport VEHICLE NUMBER would be equal to the 12-digit UIC wagon/coach number, possibly followed by other combinations of letters, e.g. by the UIC classification of railway coaches.</xsd:documentation>
1571
+ </xsd:annotation>
1572
+ </xsd:element>
1573
+ <xsd:element ref="FareClasses" minOccurs="0"/>
1574
+ </xsd:sequence>
1575
+ </xsd:group>
1576
+ <!-- ===== NeTEx TrainComponent: corresponds to VDV454 FoFahrzeugPosition. +SIRI v2.1 ============================================ -->
1577
+ <xsd:element name="TrainComponent" type="TrainComponentStructure">
1578
+ <xsd:annotation>
1579
+ <xsd:documentation>Specifies the order of a certain TRAIN ELEMENT within a TRAIN and how the TRAIN ELEMENT is labeled in that context. +SIRI v2.1</xsd:documentation>
1580
+ </xsd:annotation>
1581
+ </xsd:element>
1582
+ <xsd:complexType name="TrainComponentStructure">
1583
+ <xsd:annotation>
1584
+ <xsd:documentation>Type for TRAIN COMPONENT. +SIRI v2.1</xsd:documentation>
1585
+ </xsd:annotation>
1586
+ <xsd:sequence>
1587
+ <xsd:element name="TrainComponentCode" type="TrainComponentCodeType" minOccurs="0">
1588
+ <xsd:annotation>
1589
+ <xsd:documentation>Identifier for TRAIN COMPONENT.</xsd:documentation>
1590
+ </xsd:annotation>
1591
+ </xsd:element>
1592
+ <xsd:element name="Order" type="xsd:positiveInteger">
1593
+ <xsd:annotation>
1594
+ <xsd:documentation>Specifies the order of the TRAIN ELEMENT within the TRAIN. The locomotive would ideally have ORDER '1', the first wagon/coach attached to the locomotive ORDER '2' and so on.</xsd:documentation>
1595
+ </xsd:annotation>
1596
+ </xsd:element>
1597
+ <xsd:group ref="TrainComponentGroup"/>
1598
+ </xsd:sequence>
1599
+ </xsd:complexType>
1600
+ <xsd:group name="TrainComponentGroup">
1601
+ <xsd:annotation>
1602
+ <xsd:documentation>Elements for a TRAIN COMPONENT. +SIRI v2.1</xsd:documentation>
1603
+ </xsd:annotation>
1604
+ <xsd:sequence>
1605
+ <xsd:element name="Label" type="NaturalLanguageStringStructure" minOccurs="0">
1606
+ <xsd:annotation>
1607
+ <xsd:documentation>Specifies how the TRAIN ELEMENT is labeled within the context of the TRAIN. This advertised label or number, e.g. "Carriage B" or "23", can be used for seat reservations and passenger orientation.</xsd:documentation>
1608
+ </xsd:annotation>
1609
+ </xsd:element>
1610
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
1611
+ <xsd:annotation>
1612
+ <xsd:documentation>Description of TRAIN COMPONENT, e.g. "Front Carriage 1st Class".</xsd:documentation>
1613
+ </xsd:annotation>
1614
+ </xsd:element>
1615
+ <xsd:choice>
1616
+ <xsd:element ref="TrainElementRef"/>
1617
+ <xsd:element ref="TrainElement"/>
1618
+ </xsd:choice>
1619
+ <xsd:element name="ReversedOrientation" type="xsd:boolean" default="false" minOccurs="0">
1620
+ <xsd:annotation>
1621
+ <xsd:documentation>Whether orientation of TRAIN ELEMENT within TRAIN is reversed or not. Default is 'false', i.e., they have the same orientation (usually forward in the direction of travel).</xsd:documentation>
1622
+ </xsd:annotation>
1623
+ </xsd:element>
1624
+ </xsd:sequence>
1625
+ </xsd:group>
1626
+ <!-- ===== NeTEx Train: corresponds to VDV454 FoFahrzeugGruppe. +SIRI v2.1 ============================================ -->
1627
+ <xsd:element name="Train" type="TrainStructure">
1628
+ <xsd:annotation>
1629
+ <xsd:documentation>A vehicle composed of TRAIN ELEMENTs assembled in a certain order (so called TRAIN COMPONENTs), i.e. wagons assembled together and propelled by a locomotive or one of the wagons. +SIRI v2.1</xsd:documentation>
1630
+ </xsd:annotation>
1631
+ </xsd:element>
1632
+ <xsd:complexType name="TrainStructure">
1633
+ <xsd:annotation>
1634
+ <xsd:documentation>Type for TRAIN. +SIRI v2.1</xsd:documentation>
1635
+ </xsd:annotation>
1636
+ <xsd:sequence>
1637
+ <xsd:element name="TrainCode" type="TrainCodeType" minOccurs="0">
1638
+ <xsd:annotation>
1639
+ <xsd:documentation>Identifier for TRAIN.</xsd:documentation>
1640
+ </xsd:annotation>
1641
+ </xsd:element>
1642
+ <xsd:group ref="VehicleTypeGroup"/>
1643
+ <xsd:group ref="TrainGroup"/>
1644
+ </xsd:sequence>
1645
+ </xsd:complexType>
1646
+ <xsd:group name="TrainGroup">
1647
+ <xsd:annotation>
1648
+ <xsd:documentation>Elements for TRAIN. +SIRI v2.1</xsd:documentation>
1649
+ </xsd:annotation>
1650
+ <xsd:sequence>
1651
+ <xsd:element name="NumberOfCars" type="xsd:nonNegativeInteger" minOccurs="0">
1652
+ <xsd:annotation>
1653
+ <xsd:documentation>Number of cars needed in TRAIN.</xsd:documentation>
1654
+ </xsd:annotation>
1655
+ </xsd:element>
1656
+ <xsd:element name="TrainSizeType" type="TrainSizeEnumeration" default="normal" minOccurs="0">
1657
+ <xsd:annotation>
1658
+ <xsd:documentation>Nature of TRAIN size, e.g "short", "long", "normal". Default is "normal".</xsd:documentation>
1659
+ </xsd:annotation>
1660
+ </xsd:element>
1661
+ <xsd:element name="TrainComponents" minOccurs="0">
1662
+ <xsd:annotation>
1663
+ <xsd:documentation>Ordered collection of TRAIN COMPONENTs making up the TRAIN.</xsd:documentation>
1664
+ </xsd:annotation>
1665
+ <xsd:complexType>
1666
+ <xsd:choice maxOccurs="unbounded">
1667
+ <xsd:element ref="TrainComponentRef"/>
1668
+ <xsd:element ref="TrainComponent"/>
1669
+ </xsd:choice>
1670
+ </xsd:complexType>
1671
+ </xsd:element>
1672
+ </xsd:sequence>
1673
+ </xsd:group>
1674
+ <!-- ===== NeTEx CompoundTrain: corresonds to VDV454 FoFahrzeugGruppenFahrtAbschnitt when combined with CompoundTrainRef in JourneyPartInfo. +SIRI v2.1 =========================== -->
1675
+ <xsd:element name="CompoundTrain" type="CompoundTrainStructure">
1676
+ <xsd:annotation>
1677
+ <xsd:documentation>Groups of carriages may be managed as sections by composing TRAINs into a COMPOUND TRAIN, for example if a TRAIN joins (or splits from) another TRAIN. +SIRI v2.1
1678
+ TRAINs within a COMPOUND TRAIN may have different origins and destinations due to joining/splitting. A COMPOUND TRAIN may be stable for one or multiple JOURNEY PARTs and change at a certain STOP POINT due to planned joining/splitting, despatching alterations or a situation.</xsd:documentation>
1679
+ </xsd:annotation>
1680
+ </xsd:element>
1681
+ <xsd:complexType name="CompoundTrainStructure">
1682
+ <xsd:annotation>
1683
+ <xsd:documentation>Type for COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
1684
+ </xsd:annotation>
1685
+ <xsd:sequence>
1686
+ <xsd:element name="CompoundTrainCode" type="CompoundTrainCodeType" minOccurs="0">
1687
+ <xsd:annotation>
1688
+ <xsd:documentation>Identifier for COMPOUND TRAIN.</xsd:documentation>
1689
+ </xsd:annotation>
1690
+ </xsd:element>
1691
+ <xsd:group ref="VehicleTypeGroup"/>
1692
+ <xsd:element name="TrainsInCompoundTrain" minOccurs="0">
1693
+ <xsd:annotation>
1694
+ <xsd:documentation>Ordered collection of TRAINs making up the COMPOUND TRAIN.</xsd:documentation>
1695
+ </xsd:annotation>
1696
+ <xsd:complexType>
1697
+ <xsd:choice maxOccurs="unbounded">
1698
+ <xsd:element ref="TrainInCompoundTrainRef"/>
1699
+ <xsd:element ref="TrainInCompoundTrain"/>
1700
+ </xsd:choice>
1701
+ </xsd:complexType>
1702
+ </xsd:element>
1703
+ </xsd:sequence>
1704
+ </xsd:complexType>
1705
+ <xsd:element name="TrainInCompoundTrain" type="TrainInCompoundTrainStructure">
1706
+ <xsd:annotation>
1707
+ <xsd:documentation>Specifies the order of a certain TRAIN within a COMPOUND TRAIN and how the TRAIN is labeled in that context. +SIRI v2.1</xsd:documentation>
1708
+ </xsd:annotation>
1709
+ </xsd:element>
1710
+ <xsd:complexType name="TrainInCompoundTrainStructure">
1711
+ <xsd:annotation>
1712
+ <xsd:documentation>Type for a TRAIN IN COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
1713
+ </xsd:annotation>
1714
+ <xsd:sequence>
1715
+ <xsd:element name="TrainInCompoundTrainCode" type="TrainInCompoundTrainCodeType" minOccurs="0">
1716
+ <xsd:annotation>
1717
+ <xsd:documentation>Identifier for TRAIN IN COMPOUND TRAIN.</xsd:documentation>
1718
+ </xsd:annotation>
1719
+ </xsd:element>
1720
+ <xsd:element name="Order" type="xsd:positiveInteger">
1721
+ <xsd:annotation>
1722
+ <xsd:documentation>Specifies the order of the TRAIN within the COMPOUND TRAIN.</xsd:documentation>
1723
+ </xsd:annotation>
1724
+ </xsd:element>
1725
+ <xsd:group ref="TrainInCompoundTrainGroup"/>
1726
+ </xsd:sequence>
1727
+ </xsd:complexType>
1728
+ <xsd:group name="TrainInCompoundTrainGroup">
1729
+ <xsd:annotation>
1730
+ <xsd:documentation>Elements for a TRAIN IN COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
1731
+ </xsd:annotation>
1732
+ <xsd:sequence>
1733
+ <xsd:element name="Label" type="NaturalLanguageStringStructure" minOccurs="0">
1734
+ <xsd:annotation>
1735
+ <xsd:documentation>Specifies how the TRAIN is labeled within the context of the COMPOUND TRAIN. This advertised label or number, e.g. the individual TRAIN NUMBER, can be used for seat reservations and passenger orientation.</xsd:documentation>
1736
+ </xsd:annotation>
1737
+ </xsd:element>
1738
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
1739
+ <xsd:annotation>
1740
+ <xsd:documentation>Description of TRAIN IN COMPOUND TRAIN.</xsd:documentation>
1741
+ </xsd:annotation>
1742
+ </xsd:element>
1743
+ <xsd:choice>
1744
+ <xsd:element ref="TrainRef"/>
1745
+ <xsd:element ref="Train"/>
1746
+ </xsd:choice>
1747
+ <xsd:group ref="JourneyEndNamesGroup" minOccurs="0"/>
1748
+ <xsd:element name="ReversedOrientation" type="xsd:boolean" default="false" minOccurs="0">
1749
+ <xsd:annotation>
1750
+ <xsd:documentation>Whether orientation of TRAIN within COMPOUND TRAIN is reversed or not. Default is 'false', i.e., they have the same orientation (usually forward in the direction of travel).</xsd:documentation>
1751
+ </xsd:annotation>
1752
+ </xsd:element>
1753
+ <xsd:element name="Passages" minOccurs="0">
1754
+ <xsd:annotation>
1755
+ <xsd:documentation>Specifies whether a passage from/to an adjacent TRAIN is possible for passengers.</xsd:documentation>
1756
+ </xsd:annotation>
1757
+ <xsd:complexType>
1758
+ <xsd:sequence>
1759
+ <xsd:element name="PassageBetweenTrains" type="PassageBetweenTrainsStructure" maxOccurs="2"/>
1760
+ </xsd:sequence>
1761
+ </xsd:complexType>
1762
+ </xsd:element>
1763
+ </xsd:sequence>
1764
+ </xsd:group>
1765
+ <xsd:complexType name="PassageBetweenTrainsStructure">
1766
+ <xsd:annotation>
1767
+ <xsd:documentation>Indicates whether passengers have access to adjacent TRAINs or TRAIN COMPONENTs within a COMPOUND TRAIN, i.e., whether passage between those wagons/coaches is possible. +SIRI v2.1</xsd:documentation>
1768
+ </xsd:annotation>
1769
+ <xsd:sequence>
1770
+ <xsd:element ref="TrainRef"/>
1771
+ <xsd:element ref="TrainComponentRef" minOccurs="0"/>
1772
+ <xsd:element name="PassageIsPossible" type="xsd:boolean"/>
1773
+ </xsd:sequence>
1774
+ </xsd:complexType>
1775
+ <!-- ===== Various NeTEx property groups needed for the train formation model. +SIRI v2.1 ============================================ -->
1776
+ <xsd:group name="VehicleTypeGroup">
1777
+ <xsd:annotation>
1778
+ <xsd:documentation>Elements for a VEHICLE TYPE. +SIRI v2.1</xsd:documentation>
1779
+ </xsd:annotation>
1780
+ <xsd:sequence>
1781
+ <xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
1782
+ <xsd:annotation>
1783
+ <xsd:documentation>Name of VEHICLE TYPE.</xsd:documentation>
1784
+ </xsd:annotation>
1785
+ </xsd:element>
1786
+ <xsd:element name="ShortName" type="NaturalLanguageStringStructure" minOccurs="0">
1787
+ <xsd:annotation>
1788
+ <xsd:documentation>Short Name of VEHICLE TYPE.</xsd:documentation>
1789
+ </xsd:annotation>
1790
+ </xsd:element>
1791
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
1792
+ <xsd:annotation>
1793
+ <xsd:documentation>Description of VEHICLE TYPE.</xsd:documentation>
1794
+ </xsd:annotation>
1795
+ </xsd:element>
1796
+ <xsd:element name="PrivateCode" type="xsd:normalizedString" minOccurs="0"/>
1797
+ <xsd:group ref="VehicleTypePropertiesGroup"/>
1798
+ <xsd:element name="Facilities" minOccurs="0">
1799
+ <xsd:annotation>
1800
+ <xsd:documentation>Facilities of VEHICLE TYPE.</xsd:documentation>
1801
+ </xsd:annotation>
1802
+ <xsd:complexType>
1803
+ <xsd:sequence>
1804
+ <xsd:choice maxOccurs="unbounded">
1805
+ <xsd:element ref="VehicleFeature"/>
1806
+ <xsd:element name="Facility" type="FacilityStructure"/>
1807
+ <xsd:element ref="FacilityRef"/>
1808
+ </xsd:choice>
1809
+ </xsd:sequence>
1810
+ </xsd:complexType>
1811
+ </xsd:element>
1812
+ </xsd:sequence>
1813
+ </xsd:group>
1814
+ <xsd:group name="VehicleTypePropertiesGroup">
1815
+ <xsd:annotation>
1816
+ <xsd:documentation>Property elements for the abstract VEHICLE TYPE. +SIRI v2.1</xsd:documentation>
1817
+ </xsd:annotation>
1818
+ <xsd:sequence>
1819
+ <xsd:element name="ReversingDirection" type="xsd:boolean" default="true" minOccurs="0">
1820
+ <xsd:annotation>
1821
+ <xsd:documentation>Whether vehicles of the type have a reversing direction.</xsd:documentation>
1822
+ </xsd:annotation>
1823
+ </xsd:element>
1824
+ <xsd:element name="SelfPropelled" type="xsd:boolean" default="true" minOccurs="0">
1825
+ <xsd:annotation>
1826
+ <xsd:documentation>Whether vehicles of the type are self-propelled.</xsd:documentation>
1827
+ </xsd:annotation>
1828
+ </xsd:element>
1829
+ <xsd:element name="TypeOfFuel" type="TypeOfFuelEnumeration" minOccurs="0">
1830
+ <xsd:annotation>
1831
+ <xsd:documentation>The type of fuel used by a vehicle of the type.</xsd:documentation>
1832
+ </xsd:annotation>
1833
+ </xsd:element>
1834
+ <xsd:element name="EuroClass" type="xsd:normalizedString" minOccurs="0">
1835
+ <xsd:annotation>
1836
+ <xsd:documentation>Euroclass of the vehicle type. Corresponds to the 12-digit European Identification Number (EIN).</xsd:documentation>
1837
+ </xsd:annotation>
1838
+ </xsd:element>
1839
+ <xsd:element name="MaximumPassengerCapacities" minOccurs="0">
1840
+ <xsd:annotation>
1841
+ <xsd:documentation>Break down of capacities by FARE CLASS, i.e., maximum number of passengers that TRAIN ELEMENT can carry.</xsd:documentation>
1842
+ </xsd:annotation>
1843
+ <xsd:complexType>
1844
+ <xsd:sequence>
1845
+ <xsd:element name="MaximumPassengerCapacity" type="PassengerCapacityStructure" maxOccurs="unbounded"/>
1846
+ </xsd:sequence>
1847
+ </xsd:complexType>
1848
+ </xsd:element>
1849
+ <xsd:group ref="VehicleAccessibilityRequirementsGroup"/>
1850
+ <xsd:group ref="VehicleDimensionsGroup"/>
1851
+ </xsd:sequence>
1852
+ </xsd:group>
1853
+ <xsd:group name="VehicleAccessibilityRequirementsGroup">
1854
+ <xsd:annotation>
1855
+ <xsd:documentation>Elements specifying Requirement properties of VEHICLE TYPE. Vehicle should satisfy these requirements. +SIRI v2.1</xsd:documentation>
1856
+ </xsd:annotation>
1857
+ <xsd:sequence>
1858
+ <xsd:element name="LowFloor" type="xsd:boolean" minOccurs="0">
1859
+ <xsd:annotation>
1860
+ <xsd:documentation>Whether Vehicle is low floor to facilitate access by the mobility impaired.</xsd:documentation>
1861
+ </xsd:annotation>
1862
+ </xsd:element>
1863
+ <xsd:element name="HasLiftOrRamp" type="xsd:boolean" minOccurs="0">
1864
+ <xsd:annotation>
1865
+ <xsd:documentation>Whether vehicle has lift or ramp to facilitate wheelchair access.</xsd:documentation>
1866
+ </xsd:annotation>
1867
+ </xsd:element>
1868
+ <xsd:element name="HasHoist" type="xsd:boolean" minOccurs="0">
1869
+ <xsd:annotation>
1870
+ <xsd:documentation>Whether vehicle has hoist for wheelchair access.</xsd:documentation>
1871
+ </xsd:annotation>
1872
+ </xsd:element>
1873
+ </xsd:sequence>
1874
+ </xsd:group>
1875
+ <xsd:group name="VehicleDimensionsGroup">
1876
+ <xsd:annotation>
1877
+ <xsd:documentation>Dimension elements for a VEHICLE TYPE. +SIRI v2.1</xsd:documentation>
1878
+ </xsd:annotation>
1879
+ <xsd:sequence>
1880
+ <xsd:element name="Length" type="LengthType" minOccurs="0">
1881
+ <xsd:annotation>
1882
+ <xsd:documentation>The length of a VEHICLE of the type.</xsd:documentation>
1883
+ </xsd:annotation>
1884
+ </xsd:element>
1885
+ <xsd:element name="Width" type="LengthType" minOccurs="0">
1886
+ <xsd:annotation>
1887
+ <xsd:documentation>The width of a VEHICLE of the type.</xsd:documentation>
1888
+ </xsd:annotation>
1889
+ </xsd:element>
1890
+ <xsd:element name="Height" type="LengthType" minOccurs="0">
1891
+ <xsd:annotation>
1892
+ <xsd:documentation>The length of a VEHICLE of the type.</xsd:documentation>
1893
+ </xsd:annotation>
1894
+ </xsd:element>
1895
+ <xsd:element name="Weight" type="WeightType" minOccurs="0">
1896
+ <xsd:annotation>
1897
+ <xsd:documentation>The weight of a VEHICLE of the type.</xsd:documentation>
1898
+ </xsd:annotation>
1899
+ </xsd:element>
1900
+ </xsd:sequence>
1901
+ </xsd:group>
1902
+ <!-- ======================================================================================================== -->
1903
+ </xsd:schema>