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,1022 @@
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" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_journey_support">
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
+ Create from siri_journey
38
+ Add TrainNumber
39
+ Add departed, missed states to ProgressStatusEnum (arrivalStatus and DepartureStatus)
40
+ Add VehicleStatusEnum -->
41
+ </Date>
42
+ <Date>
43
+ <Modified>2013-02-11</Modified>
44
+ <!-- SIRI 2.0
45
+ Add notExpected state to ProgressStatusEnum
46
+ Corrected enumeration value cancellled in VehicleStatusEnum -->
47
+ </Date>
48
+ <Description>
49
+ <p>SIRI is a European CEN technical standard for the exchange of real-time information .</p>
50
+ <p>This subschema defines identifer definitions for common journey elements.</p>
51
+ </Description>
52
+ <Format>
53
+ <MediaType>text/xml</MediaType>
54
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
55
+ <Description>XML schema, W3C Recommendation 2001</Description>
56
+ </Format>
57
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_model/}siri_journey_support.xsd</Identifier>
58
+ <Language>[ISO 639-2/B] ENG</Language>
59
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
60
+ <Relation>
61
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_types.xsd</Requires>
62
+ </Relation>
63
+ <Rights><!--Unclassified-->
64
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
65
+ </Rights>
66
+ <Source>
67
+ <ul>
68
+ <li>Derived from the VDV, RTIG CML and Trident standards.</li>
69
+ </ul>
70
+ </Source>
71
+ <Status>Version 2.1</Status>
72
+ <Subject>
73
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
74
+ Air transport, Airports,
75
+ Ports and maritime transport, Ferries (marine),
76
+ Public transport, Bus services, Coach services, Bus stops and stations,
77
+ Rail transport, Railway stations and track, Train services, Underground trains,
78
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
79
+ Rail transport, Roads and road transport
80
+ </Category>
81
+ <Project>CEN TC278 WG3 SG7</Project>
82
+ </Subject>
83
+ <Title>SIRI XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Subschema of identifers common journey elements</Title>
84
+ <Type>Standard</Type>
85
+ </Metadata>
86
+ </xsd:appinfo>
87
+ <xsd:documentation>SIRI Journey Model Identifiers.</xsd:documentation>
88
+ </xsd:annotation>
89
+ <!-- ======================================================================= -->
90
+ <xsd:include schemaLocation="siri_reference.xsd"/>
91
+ <xsd:include schemaLocation="siri_feature_support.xsd"/>
92
+ <!-- ==== Journey == ============================================= -->
93
+ <xsd:group name="JourneyIdentityGroup">
94
+ <xsd:annotation>
95
+ <xsd:documentation>Elements identifying VEHICLE JOURNEY.</xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:sequence>
98
+ <xsd:element name="LineRef" type="LineRefStructure">
99
+ <xsd:annotation>
100
+ <xsd:documentation>Reference to a LINE.</xsd:documentation>
101
+ </xsd:annotation>
102
+ </xsd:element>
103
+ <xsd:element name="DirectionRef" type="DirectionRefStructure">
104
+ <xsd:annotation>
105
+ <xsd:documentation>Reference to a DIRECTION, typically outward or return.</xsd:documentation>
106
+ </xsd:annotation>
107
+ </xsd:element>
108
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure" minOccurs="0">
109
+ <xsd:annotation>
110
+ <xsd:documentation>A reference to the dated VEHICLE JOURNEY that the VEHICLE is making.</xsd:documentation>
111
+ </xsd:annotation>
112
+ </xsd:element>
113
+ </xsd:sequence>
114
+ </xsd:group>
115
+ <xsd:group name="MonitoredJourneyIdentityGroup">
116
+ <xsd:annotation>
117
+ <xsd:documentation>Elements identifying a VEHICLE JOURNEY. LINE and DIRECTION will be same as for journey unless overridden.</xsd:documentation>
118
+ </xsd:annotation>
119
+ <xsd:sequence>
120
+ <xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
121
+ <xsd:annotation>
122
+ <xsd:documentation>Reference to LINE of journey.</xsd:documentation>
123
+ </xsd:annotation>
124
+ </xsd:element>
125
+ <xsd:element name="DirectionRef" type="DirectionRefStructure" minOccurs="0">
126
+ <xsd:annotation>
127
+ <xsd:documentation>Reference to DIRECTION of journey.</xsd:documentation>
128
+ </xsd:annotation>
129
+ </xsd:element>
130
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure" minOccurs="0">
131
+ <xsd:annotation>
132
+ <xsd:documentation>A reference to the DATED VEHICLE JOURNEY that the VEHICLE is making, unique with the data horizon of the service.</xsd:documentation>
133
+ </xsd:annotation>
134
+ </xsd:element>
135
+ </xsd:sequence>
136
+ </xsd:group>
137
+ <!-- =====VEHICLE JOURNEY identfiers=============================================================== -->
138
+ <xsd:simpleType name="VehicleJourneyCodeType">
139
+ <xsd:annotation>
140
+ <xsd:documentation>Type for identifier of a VEHICLE JOURNEY.</xsd:documentation>
141
+ </xsd:annotation>
142
+ <xsd:restriction base="xsd:NMTOKEN"/>
143
+ </xsd:simpleType>
144
+ <xsd:complexType name="VehicleJourneyRefStructure">
145
+ <xsd:annotation>
146
+ <xsd:documentation>Type for reference to a VEHICLE JOURNEY.</xsd:documentation>
147
+ </xsd:annotation>
148
+ <xsd:simpleContent>
149
+ <xsd:extension base="VehicleJourneyCodeType"/>
150
+ </xsd:simpleContent>
151
+ </xsd:complexType>
152
+ <xsd:element name="VehicleJourneyRef" type="VehicleJourneyRefStructure">
153
+ <xsd:annotation>
154
+ <xsd:documentation>Reference to a VEHICLE JOURNEY.</xsd:documentation>
155
+ </xsd:annotation>
156
+ </xsd:element>
157
+ <xsd:simpleType name="DatedVehicleJourneyCodeType">
158
+ <xsd:annotation>
159
+ <xsd:documentation>Type for identifier of a Dated VEHICLE JOURNEY.</xsd:documentation>
160
+ </xsd:annotation>
161
+ <xsd:restriction base="xsd:NMTOKEN"/>
162
+ </xsd:simpleType>
163
+ <xsd:complexType name="DatedVehicleJourneyRefStructure">
164
+ <xsd:annotation>
165
+ <xsd:documentation>Type for reference to a Dated VEHICLE JOURNEY.</xsd:documentation>
166
+ </xsd:annotation>
167
+ <xsd:simpleContent>
168
+ <xsd:extension base="DatedVehicleJourneyCodeType"/>
169
+ </xsd:simpleContent>
170
+ </xsd:complexType>
171
+ <xsd:element name="DatedVehicleJourneyRef" type="DatedVehicleJourneyRefStructure">
172
+ <xsd:annotation>
173
+ <xsd:documentation>Reference to a DATED VEHICLE JOURNEY.</xsd:documentation>
174
+ </xsd:annotation>
175
+ </xsd:element>
176
+ <xsd:simpleType name="EstimatedVehicleJourneyCodeType">
177
+ <xsd:annotation>
178
+ <xsd:documentation>Type for identifier of a Realtime VEHICLE JOURNEY. Used for adhoc journeys.</xsd:documentation>
179
+ </xsd:annotation>
180
+ <xsd:restriction base="xsd:NMTOKEN"/>
181
+ </xsd:simpleType>
182
+ <xsd:complexType name="DatedVehicleJourneyIndirectRefStructure">
183
+ <xsd:annotation>
184
+ <xsd:documentation>Type for Origin and Destination stop of a VEHICLE JOURNEY.</xsd:documentation>
185
+ </xsd:annotation>
186
+ <xsd:sequence>
187
+ <xsd:element name="OriginRef" type="StopPointRefStructure">
188
+ <xsd:annotation>
189
+ <xsd:documentation>The origin is used to help identify the VEHICLE JOURNEY.</xsd:documentation>
190
+ </xsd:annotation>
191
+ </xsd:element>
192
+ <xsd:element name="AimedDepartureTime" type="xsd:dateTime">
193
+ <xsd:annotation>
194
+ <xsd:documentation>Departure time from origin SCHEDULED STOP POINT.</xsd:documentation>
195
+ </xsd:annotation>
196
+ </xsd:element>
197
+ <xsd:element name="DestinationRef" type="StopPointRefStructure">
198
+ <xsd:annotation>
199
+ <xsd:documentation>The destination is used to help identify the VEHICLE JOURNEY.</xsd:documentation>
200
+ </xsd:annotation>
201
+ </xsd:element>
202
+ <xsd:element name="AimedArrivalTime" type="xsd:dateTime">
203
+ <xsd:annotation>
204
+ <xsd:documentation>Arrival time at destination SCHEDULED STOP POINT.</xsd:documentation>
205
+ </xsd:annotation>
206
+ </xsd:element>
207
+ </xsd:sequence>
208
+ </xsd:complexType>
209
+ <!-- =====VEHICLE JOURNEY identfiers=============================================================== -->
210
+ <xsd:complexType name="ConnectingJourneyRefStructure">
211
+ <xsd:annotation>
212
+ <xsd:documentation>Type for a reference to a connecting journey.</xsd:documentation>
213
+ </xsd:annotation>
214
+ <xsd:sequence>
215
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure" minOccurs="0">
216
+ <xsd:annotation>
217
+ <xsd:documentation>A reference to the DATE VEHICLE JOURNEY that the VEHICLE is making, unique with the data horizon of the service.</xsd:documentation>
218
+ </xsd:annotation>
219
+ </xsd:element>
220
+ <xsd:element name="DatedVehicleJourneyIndirectRef" type="DatedVehicleJourneyIndirectRefStructure" minOccurs="0">
221
+ <xsd:annotation>
222
+ <xsd:documentation>Identify a VEHICLE JOURNEY indirectly by origin and destination as well as the scheduled times at these stops.</xsd:documentation>
223
+ </xsd:annotation>
224
+ </xsd:element>
225
+ <xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Reference to LINE of journey.</xsd:documentation>
228
+ </xsd:annotation>
229
+ </xsd:element>
230
+ <xsd:element name="TrainNumberRef" type="TrainNumberRefStructure" minOccurs="0">
231
+ <xsd:annotation>
232
+ <xsd:documentation>Reference to TRAIN NUMBER of journey.</xsd:documentation>
233
+ </xsd:annotation>
234
+ </xsd:element>
235
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
236
+ <xsd:annotation>
237
+ <xsd:documentation>Reference to OPERATOR of journey.</xsd:documentation>
238
+ </xsd:annotation>
239
+ </xsd:element>
240
+ <xsd:element name="ParticipantRef" type="ParticipantRefStructure" minOccurs="0">
241
+ <xsd:annotation>
242
+ <xsd:documentation>PARTICIPANT reference that identifies data producer of journey.</xsd:documentation>
243
+ </xsd:annotation>
244
+ </xsd:element>
245
+ </xsd:sequence>
246
+ </xsd:complexType>
247
+ <!-- ===== INTERCHANGE identfiers=============================================================== -->
248
+ <xsd:simpleType name="InterchangeCodeType">
249
+ <xsd:annotation>
250
+ <xsd:documentation>Type for identifer of a SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
251
+ </xsd:annotation>
252
+ <xsd:restriction base="xsd:NMTOKEN"/>
253
+ </xsd:simpleType>
254
+ <xsd:complexType name="InterchangeRefStructure">
255
+ <xsd:annotation>
256
+ <xsd:documentation>Type for reference to a SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
257
+ </xsd:annotation>
258
+ <xsd:simpleContent>
259
+ <xsd:extension base="InterchangeCodeType"/>
260
+ </xsd:simpleContent>
261
+ </xsd:complexType>
262
+ <xsd:element name="InterchangeRef" type="InterchangeRefStructure">
263
+ <xsd:annotation>
264
+ <xsd:documentation> Reference to a SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
265
+ </xsd:annotation>
266
+ </xsd:element>
267
+ <!-- ======================================================================= -->
268
+ <xsd:complexType name="FramedVehicleJourneyRefStructure">
269
+ <xsd:annotation>
270
+ <xsd:documentation>Type for identifer of a VEHICLE JOURNEY within data Horizon of a service.</xsd:documentation>
271
+ </xsd:annotation>
272
+ <xsd:sequence>
273
+ <xsd:element name="DataFrameRef" type="DataFrameRefStructure">
274
+ <xsd:annotation>
275
+ <xsd:documentation>identifier of data frame within particpant service. Used to ensure that the Reference to a DATED VEGICLE JOURNEY is unique with the data horizon of the service. Often the OperationalDayType is used for this purpose.</xsd:documentation>
276
+ </xsd:annotation>
277
+ </xsd:element>
278
+ <xsd:element name="DatedVehicleJourneyRef" type="DatedVehicleJourneyCodeType">
279
+ <xsd:annotation>
280
+ <xsd:documentation>A reference to the dated VEHICLE JOURNEY that the VEHICLE is making.</xsd:documentation>
281
+ </xsd:annotation>
282
+ </xsd:element>
283
+ </xsd:sequence>
284
+ </xsd:complexType>
285
+ <xsd:simpleType name="DataFrameQualifierType">
286
+ <xsd:annotation>
287
+ <xsd:documentation>Type for identifier of a data VERSION FRAME.</xsd:documentation>
288
+ </xsd:annotation>
289
+ <xsd:restriction base="xsd:NMTOKEN"/>
290
+ </xsd:simpleType>
291
+ <xsd:complexType name="DataFrameRefStructure">
292
+ <xsd:annotation>
293
+ <xsd:documentation>Type for identifier of a data VERSION FRAME.</xsd:documentation>
294
+ </xsd:annotation>
295
+ <xsd:simpleContent>
296
+ <xsd:extension base="DataFrameQualifierType"/>
297
+ </xsd:simpleContent>
298
+ </xsd:complexType>
299
+ <!-- ====== TRAIN PART identifiers=================================================== -->
300
+ <xsd:simpleType name="TrainPartCodeType">
301
+ <xsd:annotation>
302
+ <xsd:documentation>Type for identifier of Train Part.</xsd:documentation>
303
+ </xsd:annotation>
304
+ <xsd:restriction base="xsd:NMTOKEN"/>
305
+ </xsd:simpleType>
306
+ <xsd:complexType name="TrainPartRefStructure">
307
+ <xsd:annotation>
308
+ <xsd:documentation>Type for reference to a Train Part.</xsd:documentation>
309
+ </xsd:annotation>
310
+ <xsd:simpleContent>
311
+ <xsd:extension base="TrainPartCodeType"/>
312
+ </xsd:simpleContent>
313
+ </xsd:complexType>
314
+ <!-- ====== Block Identifiers=================================================== -->
315
+ <xsd:simpleType name="BlockNumber">
316
+ <xsd:annotation>
317
+ <xsd:documentation>Type for identifier of an BLOCK.</xsd:documentation>
318
+ </xsd:annotation>
319
+ <xsd:restriction base="xsd:NMTOKEN"/>
320
+ </xsd:simpleType>
321
+ <xsd:complexType name="BlockRefStructure">
322
+ <xsd:annotation>
323
+ <xsd:documentation>Type for reference to a BLOCK.</xsd:documentation>
324
+ </xsd:annotation>
325
+ <xsd:simpleContent>
326
+ <xsd:extension base="BlockNumber"/>
327
+ </xsd:simpleContent>
328
+ </xsd:complexType>
329
+ <xsd:simpleType name="CourseOfJourneyNumber">
330
+ <xsd:annotation>
331
+ <xsd:documentation>Type for identifier of a COURSE OF JOURNEY (Run).</xsd:documentation>
332
+ </xsd:annotation>
333
+ <xsd:restriction base="xsd:NMTOKEN"/>
334
+ </xsd:simpleType>
335
+ <xsd:complexType name="CourseOfJourneyRefStructure">
336
+ <xsd:annotation>
337
+ <xsd:documentation>Type for reference to a COURSE OF JOURNEY (Run).</xsd:documentation>
338
+ </xsd:annotation>
339
+ <xsd:simpleContent>
340
+ <xsd:extension base="CourseOfJourneyNumber"/>
341
+ </xsd:simpleContent>
342
+ </xsd:complexType>
343
+ <!-- ====== JOURNEY PART Identifiers=================================================== -->
344
+ <xsd:simpleType name="JourneyPartIdType">
345
+ <xsd:annotation>
346
+ <xsd:documentation>Type for identifier of an JOURNEY PART</xsd:documentation>
347
+ </xsd:annotation>
348
+ <xsd:restriction base="xsd:NMTOKEN"/>
349
+ </xsd:simpleType>
350
+ <xsd:complexType name="JourneyPartRefStructure">
351
+ <xsd:annotation>
352
+ <xsd:documentation>Type for reference to a JOURNEY PART</xsd:documentation>
353
+ </xsd:annotation>
354
+ <xsd:simpleContent>
355
+ <xsd:extension base="JourneyPartIdType"/>
356
+ </xsd:simpleContent>
357
+ </xsd:complexType>
358
+ <xsd:simpleType name="TrainNumber">
359
+ <xsd:annotation>
360
+ <xsd:documentation>Type for identifier of an TRAIN NUMBER</xsd:documentation>
361
+ </xsd:annotation>
362
+ <xsd:restriction base="xsd:NMTOKEN"/>
363
+ </xsd:simpleType>
364
+ <xsd:complexType name="TrainNumberRefStructure">
365
+ <xsd:annotation>
366
+ <xsd:documentation>Type for reference to a TRAIN NUMBER</xsd:documentation>
367
+ </xsd:annotation>
368
+ <xsd:simpleContent>
369
+ <xsd:extension base="TrainNumber"/>
370
+ </xsd:simpleContent>
371
+ </xsd:complexType>
372
+ <xsd:simpleType name="TrainElementCodeType">
373
+ <xsd:annotation>
374
+ <xsd:documentation>Type for identifier of a TRAIN ELEMENT. An elementary component of a TRAIN (e.g. wagon, locomotive etc.). +SIRI v2.1</xsd:documentation>
375
+ </xsd:annotation>
376
+ <xsd:restriction base="xsd:NMTOKEN"/>
377
+ </xsd:simpleType>
378
+ <xsd:complexType name="TrainElementRefStructure">
379
+ <xsd:annotation>
380
+ <xsd:documentation>Type for reference to a TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
381
+ </xsd:annotation>
382
+ <xsd:simpleContent>
383
+ <xsd:extension base="TrainElementCodeType"/>
384
+ </xsd:simpleContent>
385
+ </xsd:complexType>
386
+ <xsd:element name="TrainElementRef" type="TrainElementRefStructure">
387
+ <xsd:annotation>
388
+ <xsd:documentation>Reference to a TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
389
+ </xsd:annotation>
390
+ </xsd:element>
391
+ <xsd:simpleType name="TrainComponentCodeType">
392
+ <xsd:annotation>
393
+ <xsd:documentation>Type for identifier of a TRAIN COMPONENT. A TRAIN ELEMENT with a specific order within a TRAIN. +SIRI v2.1</xsd:documentation>
394
+ </xsd:annotation>
395
+ <xsd:restriction base="xsd:NMTOKEN"/>
396
+ </xsd:simpleType>
397
+ <xsd:complexType name="TrainComponentRefStructure">
398
+ <xsd:annotation>
399
+ <xsd:documentation>Type for reference to a TRAIN COMPONENT. +SIRI v2.1</xsd:documentation>
400
+ </xsd:annotation>
401
+ <xsd:simpleContent>
402
+ <xsd:extension base="TrainComponentCodeType"/>
403
+ </xsd:simpleContent>
404
+ </xsd:complexType>
405
+ <xsd:element name="TrainComponentRef" type="TrainComponentRefStructure">
406
+ <xsd:annotation>
407
+ <xsd:documentation>Reference to a TRAIN COMPONENT. +SIRI v2.1</xsd:documentation>
408
+ </xsd:annotation>
409
+ </xsd:element>
410
+ <xsd:simpleType name="TrainCodeType">
411
+ <xsd:annotation>
412
+ <xsd:documentation>Type for identifier of a TRAIN. An ordered sequence of TRAIN ELEMENTs or TRAIN COMPONENTs respectively. +SIRI v2.1</xsd:documentation>
413
+ </xsd:annotation>
414
+ <xsd:restriction base="xsd:NMTOKEN"/>
415
+ </xsd:simpleType>
416
+ <xsd:complexType name="TrainRefStructure">
417
+ <xsd:annotation>
418
+ <xsd:documentation>Type for reference to a TRAIN. +SIRI v2.1</xsd:documentation>
419
+ </xsd:annotation>
420
+ <xsd:simpleContent>
421
+ <xsd:extension base="TrainCodeType"/>
422
+ </xsd:simpleContent>
423
+ </xsd:complexType>
424
+ <xsd:element name="TrainRef" type="TrainRefStructure">
425
+ <xsd:annotation>
426
+ <xsd:documentation>Reference to a TRAIN. +SIRI v2.1</xsd:documentation>
427
+ </xsd:annotation>
428
+ </xsd:element>
429
+ <xsd:simpleType name="CompoundTrainCodeType">
430
+ <xsd:annotation>
431
+ <xsd:documentation>Type for identifier of a COMPOUND TRAIN. An ordered sequence of TRAINs or TRAIN IN COMPOUND TRAINs respectively. +SIRI v2.1</xsd:documentation>
432
+ </xsd:annotation>
433
+ <xsd:restriction base="xsd:NMTOKEN"/>
434
+ </xsd:simpleType>
435
+ <xsd:complexType name="CompoundTrainRefStructure">
436
+ <xsd:annotation>
437
+ <xsd:documentation>Type for reference to a COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
438
+ </xsd:annotation>
439
+ <xsd:simpleContent>
440
+ <xsd:extension base="CompoundTrainCodeType"/>
441
+ </xsd:simpleContent>
442
+ </xsd:complexType>
443
+ <xsd:element name="CompoundTrainRef" type="CompoundTrainRefStructure">
444
+ <xsd:annotation>
445
+ <xsd:documentation>Reference to a COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
446
+ </xsd:annotation>
447
+ </xsd:element>
448
+ <xsd:simpleType name="TrainInCompoundTrainCodeType">
449
+ <xsd:annotation>
450
+ <xsd:documentation>Type for identifier of a TRAIN IN COMPOUND TRAIN. A TRAIN with a specific order within a COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
451
+ </xsd:annotation>
452
+ <xsd:restriction base="xsd:NMTOKEN"/>
453
+ </xsd:simpleType>
454
+ <xsd:complexType name="TrainInCompoundTrainRefStructure">
455
+ <xsd:annotation>
456
+ <xsd:documentation>Type for reference to a TRAIN IN COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
457
+ </xsd:annotation>
458
+ <xsd:simpleContent>
459
+ <xsd:extension base="TrainInCompoundTrainCodeType"/>
460
+ </xsd:simpleContent>
461
+ </xsd:complexType>
462
+ <xsd:element name="TrainInCompoundTrainRef" type="TrainInCompoundTrainRefStructure">
463
+ <xsd:annotation>
464
+ <xsd:documentation>Reference to a TRAIN IN COMPOUND TRAIN. +SIRI v2.1</xsd:documentation>
465
+ </xsd:annotation>
466
+ </xsd:element>
467
+ <xsd:simpleType name="EntranceToVehicleCodeType">
468
+ <xsd:annotation>
469
+ <xsd:documentation>Type for identifier of an ENTRANCE TO VEHICLE, e.g. a door of a TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
470
+ </xsd:annotation>
471
+ <xsd:restriction base="xsd:NMTOKEN"/>
472
+ </xsd:simpleType>
473
+ <xsd:complexType name="EntranceToVehicleRefStructure">
474
+ <xsd:annotation>
475
+ <xsd:documentation>Type for reference to an ENTRANCE TO VEHICLE. +SIRI v2.1</xsd:documentation>
476
+ </xsd:annotation>
477
+ <xsd:simpleContent>
478
+ <xsd:extension base="EntranceToVehicleCodeType"/>
479
+ </xsd:simpleContent>
480
+ </xsd:complexType>
481
+ <xsd:element name="EntranceToVehicleRef" type="EntranceToVehicleRefStructure">
482
+ <xsd:annotation>
483
+ <xsd:documentation>Reference to an ENTRANCE TO VEHICLE. +SIRI v2.1</xsd:documentation>
484
+ </xsd:annotation>
485
+ </xsd:element>
486
+ <!-- ============================ -->
487
+ <xsd:group name="TrainFormationReferenceGroup">
488
+ <xsd:annotation>
489
+ <xsd:documentation>Groups together the relevant references needed in a formation. +SIRI v2.1
490
+ Has the following uses:
491
+ - Either the smallest part of a formation, a TRAIN COMPONENT, is referenced or the TRAIN itself. The former is ideally used in a FORMATION ASSIGNMENT, i.e. QUAY (sector) assignment, to provide the highest level of detail for passenger orientation.
492
+ - If the formation consists of multiple coupled TRAINs, a reference to the COMPOUND TRAIN is also possible. This might be used in a FORMATION CONDITION to signal a change of the train composition.
493
+ - In case alighting/boarding data from an automatic passenger counting system is available, the respective vehicle entrances may be referenced.
494
+ </xsd:documentation>
495
+ </xsd:annotation>
496
+ <xsd:sequence>
497
+ <xsd:element ref="CompoundTrainRef" minOccurs="0"/>
498
+ <xsd:element ref="TrainRef" minOccurs="0"/>
499
+ <xsd:element ref="TrainComponentRef" minOccurs="0"/>
500
+ <xsd:element ref="EntranceToVehicleRef" minOccurs="0"/>
501
+ </xsd:sequence>
502
+ </xsd:group>
503
+ <!-- =====MonitoredCallPoint============================================================ -->
504
+ <xsd:simpleType name="BoardingActivityEnumeration">
505
+ <xsd:annotation>
506
+ <xsd:documentation>Allowed types activity for Boarding and Alighting.</xsd:documentation>
507
+ </xsd:annotation>
508
+ <xsd:restriction base="xsd:NMTOKEN">
509
+ <xsd:enumeration value="boardingAndAlighting"/>
510
+ <xsd:enumeration value="noBoarding"/>
511
+ <xsd:enumeration value="noAlighting"/>
512
+ <xsd:enumeration value="passThru"/>
513
+ </xsd:restriction>
514
+ </xsd:simpleType>
515
+ <xsd:simpleType name="ArrivalBoardingActivityEnumeration">
516
+ <xsd:annotation>
517
+ <xsd:documentation>Allowed types activity for Alighting.</xsd:documentation>
518
+ </xsd:annotation>
519
+ <xsd:restriction base="xsd:NMTOKEN">
520
+ <xsd:enumeration value="alighting"/>
521
+ <xsd:enumeration value="noAlighting"/>
522
+ <xsd:enumeration value="passThru"/>
523
+ </xsd:restriction>
524
+ </xsd:simpleType>
525
+ <xsd:simpleType name="DepartureBoardingActivityEnumeration">
526
+ <xsd:annotation>
527
+ <xsd:documentation>Allowed types activity for Boarding.</xsd:documentation>
528
+ </xsd:annotation>
529
+ <xsd:restriction base="xsd:NMTOKEN">
530
+ <xsd:enumeration value="boarding"/>
531
+ <xsd:enumeration value="noBoarding"/>
532
+ <xsd:enumeration value="passThru"/>
533
+ </xsd:restriction>
534
+ </xsd:simpleType>
535
+ <!-- ======================================================================= -->
536
+ <!-- ==== LINE and DESTINATION identifiers-->
537
+ <xsd:element name="OriginRef" type="JourneyPlaceRefStructure">
538
+ <xsd:annotation>
539
+ <xsd:documentation>Reference to the origin SCHEDULED STOP POINT of the journey.</xsd:documentation>
540
+ </xsd:annotation>
541
+ </xsd:element>
542
+ <xsd:element name="ViaRef" type="JourneyPlaceRefStructure">
543
+ <xsd:annotation>
544
+ <xsd:documentation>Reference to a SCHEDULED STOP POINT that is a VIA point on the journey.</xsd:documentation>
545
+ </xsd:annotation>
546
+ </xsd:element>
547
+ <xsd:element name="DestinationRef" type="DestinationRefStructure">
548
+ <xsd:annotation>
549
+ <xsd:documentation>Reference to the destination SCHEDULED STOP POINT of the journey.</xsd:documentation>
550
+ </xsd:annotation>
551
+ </xsd:element>
552
+ <xsd:complexType name="DestinationRefStructure">
553
+ <xsd:annotation>
554
+ <xsd:documentation>Type for reference to a DESTINATION.</xsd:documentation>
555
+ </xsd:annotation>
556
+ <xsd:simpleContent>
557
+ <xsd:extension base="DestinationCodeType"/>
558
+ </xsd:simpleContent>
559
+ </xsd:complexType>
560
+ <!-- ======================================================================= -->
561
+ <xsd:group name="BasicServiceInfoGroup">
562
+ <xsd:annotation>
563
+ <xsd:documentation>Information that classifies journey.</xsd:documentation>
564
+ </xsd:annotation>
565
+ <xsd:sequence>
566
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
567
+ <xsd:annotation>
568
+ <xsd:documentation>OPERATOR of a VEHICLE JOURNEY. Note that the operator may change over the course of a journey. This shoudl show teh operator for the curent point in the journey. Use Journey Parts tp record all the operators in the whole journeyh.</xsd:documentation>
569
+ </xsd:annotation>
570
+ </xsd:element>
571
+ <xsd:element name="ProductCategoryRef" type="ProductCategoryRefStructure" minOccurs="0">
572
+ <xsd:annotation>
573
+ <xsd:documentation>Product Classification of VEHICLE JOURNEY- subdivides a transport mode. e.g. express, loacl.</xsd:documentation>
574
+ </xsd:annotation>
575
+ </xsd:element>
576
+ <xsd:element ref="ServiceFeatureRef" minOccurs="0" maxOccurs="unbounded">
577
+ <xsd:annotation>
578
+ <xsd:documentation>Classification of service into arbitrary Service categories, e.g. school bus. Recommended SIRI values based on TPEG are given in SIRI documentation and enumerated in the siri_facilities package.
579
+ Corresponds to NeTEX TYPE OF SERVICe.</xsd:documentation>
580
+ </xsd:annotation>
581
+ </xsd:element>
582
+ </xsd:sequence>
583
+ </xsd:group>
584
+ <xsd:group name="ServiceInfoGroup">
585
+ <xsd:annotation>
586
+ <xsd:documentation>Elements classifying the Service or journey. Values for these elements can be specified on a timetabled schedule and will be inherited, unless overriden, onto the production timetable and then onto the individul dated VEHICLE JOURNEYs of the timetable. Each monitored journey 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>
587
+ </xsd:annotation>
588
+ <xsd:sequence>
589
+ <xsd:group ref="BasicServiceInfoGroup"/>
590
+ <xsd:element name="VehicleFeatureRef" type="VehicleFeatureRefStructure" minOccurs="0" maxOccurs="unbounded">
591
+ <xsd:annotation>
592
+ <xsd:documentation>Features of VEHICLE providing journey. Recommended SIRI values based on TPEG are given in SIRI documentation and enumerated in the siri_facilities package.</xsd:documentation>
593
+ </xsd:annotation>
594
+ </xsd:element>
595
+ </xsd:sequence>
596
+ </xsd:group>
597
+ <!-- ====Status QUality=========================================================== -->
598
+ <xsd:simpleType name="ProgressRateEnumeration">
599
+ <xsd:annotation>
600
+ <xsd:documentation>Classification of the rate of progress of VEHICLE according a fixed list of values.</xsd:documentation>
601
+ </xsd:annotation>
602
+ <xsd:restriction base="xsd:NMTOKEN">
603
+ <xsd:enumeration value="noProgress">
604
+ <xsd:annotation>
605
+ <xsd:documentation>Vehicle is stationary.</xsd:documentation>
606
+ </xsd:annotation>
607
+ </xsd:enumeration>
608
+ <xsd:enumeration value="slowProgress">
609
+ <xsd:annotation>
610
+ <xsd:documentation>Vehicle is proceeding slower than normal.</xsd:documentation>
611
+ </xsd:annotation>
612
+ </xsd:enumeration>
613
+ <xsd:enumeration value="normalProgress">
614
+ <xsd:annotation>
615
+ <xsd:documentation>Vehicle is proceeding at a normal rate.</xsd:documentation>
616
+ </xsd:annotation>
617
+ </xsd:enumeration>
618
+ <xsd:enumeration value="fastProgress">
619
+ <xsd:annotation>
620
+ <xsd:documentation>Vehicle is proceeding faster than normal.</xsd:documentation>
621
+ </xsd:annotation>
622
+ </xsd:enumeration>
623
+ <xsd:enumeration value="unknown">
624
+ <xsd:annotation>
625
+ <xsd:documentation>There is no data.</xsd:documentation>
626
+ </xsd:annotation>
627
+ </xsd:enumeration>
628
+ </xsd:restriction>
629
+ </xsd:simpleType>
630
+ <xsd:simpleType name="CallStatusEnumeration">
631
+ <xsd:annotation>
632
+ <xsd:documentation>Classification of the timeliness 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>
633
+ </xsd:annotation>
634
+ <xsd:restriction base="xsd:NMTOKEN">
635
+ <xsd:enumeration value="onTime">
636
+ <xsd:annotation>
637
+ <xsd:documentation>Service is on time.</xsd:documentation>
638
+ </xsd:annotation>
639
+ </xsd:enumeration>
640
+ <xsd:enumeration value="early">
641
+ <xsd:annotation>
642
+ <xsd:documentation>Service is earlier than expected.</xsd:documentation>
643
+ </xsd:annotation>
644
+ </xsd:enumeration>
645
+ <xsd:enumeration value="delayed">
646
+ <xsd:annotation>
647
+ <xsd:documentation>Service is delayed.</xsd:documentation>
648
+ </xsd:annotation>
649
+ </xsd:enumeration>
650
+ <xsd:enumeration value="cancelled">
651
+ <xsd:annotation>
652
+ <xsd:documentation>Service is cancelled.</xsd:documentation>
653
+ </xsd:annotation>
654
+ </xsd:enumeration>
655
+ <xsd:enumeration value="arrived">
656
+ <xsd:annotation>
657
+ <xsd:documentation>Service has arrived.</xsd:documentation>
658
+ </xsd:annotation>
659
+ </xsd:enumeration>
660
+ <xsd:enumeration value="departed"/>
661
+ <xsd:enumeration value="missed"/>
662
+ <xsd:enumeration value="noReport">
663
+ <xsd:annotation>
664
+ <xsd:documentation>There is no information about the service.</xsd:documentation>
665
+ </xsd:annotation>
666
+ </xsd:enumeration>
667
+ <xsd:enumeration value="notExpected">
668
+ <xsd:annotation>
669
+ <xsd:documentation>Service is not expected to call this stop. For instance a flexible service that has not yet been preordered.</xsd:documentation>
670
+ </xsd:annotation>
671
+ </xsd:enumeration>
672
+ </xsd:restriction>
673
+ </xsd:simpleType>
674
+ <xsd:simpleType name="VehicleStatusEnumeration">
675
+ <xsd:annotation>
676
+ <xsd:documentation>Classification of the State of the VEHICLE JOURNEY 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>
677
+ </xsd:annotation>
678
+ <xsd:restriction base="xsd:NMTOKEN">
679
+ <xsd:enumeration value="expected">
680
+ <xsd:annotation>
681
+ <xsd:documentation>Service is expected to be performed.</xsd:documentation>
682
+ </xsd:annotation>
683
+ </xsd:enumeration>
684
+ <xsd:enumeration value="notExpected">
685
+ <xsd:annotation>
686
+ <xsd:documentation>Service is not expected to be run. For instance a flexible service that has not yet been preordered.</xsd:documentation>
687
+ </xsd:annotation>
688
+ </xsd:enumeration>
689
+ <xsd:enumeration value="cancelled"/>
690
+ <xsd:enumeration value="assigned"/>
691
+ <xsd:enumeration value="signedOn"/>
692
+ <xsd:enumeration value="atOrigin"/>
693
+ <xsd:enumeration value="inProgress">
694
+ <xsd:annotation>
695
+ <xsd:documentation>Service has departed from first stop.</xsd:documentation>
696
+ </xsd:annotation>
697
+ </xsd:enumeration>
698
+ <xsd:enumeration value="aborted"/>
699
+ <xsd:enumeration value="offRoute"/>
700
+ <xsd:enumeration value="completed">
701
+ <xsd:annotation>
702
+ <xsd:documentation>It has been detected that the Service was completed.</xsd:documentation>
703
+ </xsd:annotation>
704
+ </xsd:enumeration>
705
+ <xsd:enumeration value="assumedCompleted">
706
+ <xsd:annotation>
707
+ <xsd:documentation>It is assumed that the Service has completed.</xsd:documentation>
708
+ </xsd:annotation>
709
+ </xsd:enumeration>
710
+ <xsd:enumeration value="notRun"/>
711
+ </xsd:restriction>
712
+ </xsd:simpleType>
713
+ <xsd:simpleType name="QualityIndexEnumeration">
714
+ <xsd:annotation>
715
+ <xsd:documentation>Classification of the quality of the prediction 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 stiull classified as on-time. Applications may use this to guide their own presentation of times.</xsd:documentation>
716
+ </xsd:annotation>
717
+ <xsd:restriction base="xsd:NMTOKEN">
718
+ <xsd:enumeration value="certain">
719
+ <xsd:annotation>
720
+ <xsd:documentation>Data is certain (1/5).</xsd:documentation>
721
+ </xsd:annotation>
722
+ </xsd:enumeration>
723
+ <xsd:enumeration value="veryReliable">
724
+ <xsd:annotation>
725
+ <xsd:documentation>Data has confidence level of very reliable (2/5).</xsd:documentation>
726
+ </xsd:annotation>
727
+ </xsd:enumeration>
728
+ <xsd:enumeration value="reliable">
729
+ <xsd:annotation>
730
+ <xsd:documentation>Data has confidence level of reliable (3/5).</xsd:documentation>
731
+ </xsd:annotation>
732
+ </xsd:enumeration>
733
+ <xsd:enumeration value="probablyReliable">
734
+ <xsd:annotation>
735
+ <xsd:documentation>Data is thought to be reliable (4/5)</xsd:documentation>
736
+ </xsd:annotation>
737
+ </xsd:enumeration>
738
+ <xsd:enumeration value="unconfirmed">
739
+ <xsd:annotation>
740
+ <xsd:documentation>Data is unconfirmed (5/5).</xsd:documentation>
741
+ </xsd:annotation>
742
+ </xsd:enumeration>
743
+ </xsd:restriction>
744
+ </xsd:simpleType>
745
+ <xsd:simpleType name="FirstOrLastJourneyEnumeration">
746
+ <xsd:annotation>
747
+ <xsd:documentation>Allowed types activity for FirstOrLastJourney.</xsd:documentation>
748
+ </xsd:annotation>
749
+ <xsd:restriction base="xsd:NMTOKEN">
750
+ <xsd:enumeration value="firstServiceOfDay"/>
751
+ <xsd:enumeration value="otherService"/>
752
+ <xsd:enumeration value="lastServiceOfDay"/>
753
+ <xsd:enumeration value="unspecified"/>
754
+ </xsd:restriction>
755
+ </xsd:simpleType>
756
+ <!-- =====PredictionInaccuracy============================================================ -->
757
+ <xsd:simpleType name="PredictionInaccurateReasonEnumeration">
758
+ <xsd:annotation>
759
+ <xsd:documentation>Allowed values for PredictionInaccurateReason, i.e., possible reasons for a change in prediction (in)accuracy.</xsd:documentation>
760
+ </xsd:annotation>
761
+ <xsd:restriction base="xsd:NMTOKEN">
762
+ <xsd:enumeration value="vehicleInTrafficJam">
763
+ <xsd:annotation>
764
+ <xsd:documentation>Prediction is inaccurate because of a traffic jam.</xsd:documentation>
765
+ </xsd:annotation>
766
+ </xsd:enumeration>
767
+ <xsd:enumeration value="technicalProblem">
768
+ <xsd:annotation>
769
+ <xsd:documentation>Prediction is inaccurate because of technical problems.</xsd:documentation>
770
+ </xsd:annotation>
771
+ </xsd:enumeration>
772
+ <xsd:enumeration value="dispatchAction">
773
+ <xsd:annotation>
774
+ <xsd:documentation>Prediction is inaccurate because of a despatching alteration.</xsd:documentation>
775
+ </xsd:annotation>
776
+ </xsd:enumeration>
777
+ <xsd:enumeration value="missingUpdate">
778
+ <xsd:annotation>
779
+ <xsd:documentation>Prediction is inaccurate because communication errors have prevented any updates.</xsd:documentation>
780
+ </xsd:annotation>
781
+ </xsd:enumeration>
782
+ <xsd:enumeration value="unknown">
783
+ <xsd:annotation>
784
+ <xsd:documentation>Prediction is inaccurate but the reason for an inaccurate prediction is unknown.</xsd:documentation>
785
+ </xsd:annotation>
786
+ </xsd:enumeration>
787
+ </xsd:restriction>
788
+ </xsd:simpleType>
789
+ <!-- =====JourneyRelation============================================================ -->
790
+ <xsd:simpleType name="JourneyRelationTypeEnumeration">
791
+ <xsd:annotation>
792
+ <xsd:documentation>Allowed types of relation between JOURNEYs.</xsd:documentation>
793
+ </xsd:annotation>
794
+ <xsd:restriction base="xsd:NMTOKEN">
795
+ <xsd:enumeration value="ContinuationOfJourney">
796
+ <xsd:annotation>
797
+ <xsd:documentation>The journey is a continuation of the specified RelatedJourney at the stop point given in CallInfo.
798
+ Passengers don't need to change vehicles. The new journey is not communicated as an interchange.</xsd:documentation>
799
+ </xsd:annotation>
800
+ </xsd:enumeration>
801
+ <xsd:enumeration value="ContinuedByJourney">
802
+ <xsd:annotation>
803
+ <xsd:documentation>The journey is continued by the specified RelatedJourney at the stop point given in CallInfo.
804
+ Passengers don't need to change vehicles. The new journey is not communicated as an interchange.</xsd:documentation>
805
+ </xsd:annotation>
806
+ </xsd:enumeration>
807
+ <xsd:enumeration value="SplitsIntoJourneys">
808
+ <xsd:annotation>
809
+ <xsd:documentation>The journey splits into multiple RelatedJourneys at the stop point given in CallInfo.</xsd:documentation>
810
+ </xsd:annotation>
811
+ </xsd:enumeration>
812
+ <xsd:enumeration value="ContinuationOfSplitJourney">
813
+ <xsd:annotation>
814
+ <xsd:documentation>The journey is a continuation of a single RelatedJourney splitting into multiple journeys at the stop point given in CallInfo.</xsd:documentation>
815
+ </xsd:annotation>
816
+ </xsd:enumeration>
817
+ <xsd:enumeration value="JoiningOfJourneys">
818
+ <xsd:annotation>
819
+ <xsd:documentation>The journey is the continuation of multiple RelatedJourneys joining together at the stop point given in CallInfo.</xsd:documentation>
820
+ </xsd:annotation>
821
+ </xsd:enumeration>
822
+ <xsd:enumeration value="ContinuedByJoinedJourney">
823
+ <xsd:annotation>
824
+ <xsd:documentation>The journey is continued by a single RelatedJourney after joining other journeys at the stop point given in CallInfo.</xsd:documentation>
825
+ </xsd:annotation>
826
+ </xsd:enumeration>
827
+ <xsd:enumeration value="ReplacementOfJourney">
828
+ <xsd:annotation>
829
+ <xsd:documentation>The journey replaces one or more partially or fully cancelled RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.</xsd:documentation>
830
+ </xsd:annotation>
831
+ </xsd:enumeration>
832
+ <xsd:enumeration value="ReplacedByJourney">
833
+ <xsd:annotation>
834
+ <xsd:documentation>The partially or fully cancelled journey is replaced by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.</xsd:documentation>
835
+ </xsd:annotation>
836
+ </xsd:enumeration>
837
+ <xsd:enumeration value="SupportOfJourney">
838
+ <xsd:annotation>
839
+ <xsd:documentation>The journey partially or fully supports one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.</xsd:documentation>
840
+ </xsd:annotation>
841
+ </xsd:enumeration>
842
+ <xsd:enumeration value="SupportedByJourney">
843
+ <xsd:annotation>
844
+ <xsd:documentation>The journey is partially or fully supported by one or more RelatedJourneys during the JourneyPart defined or referenced in JourneyPartInfo.</xsd:documentation>
845
+ </xsd:annotation>
846
+ </xsd:enumeration>
847
+ </xsd:restriction>
848
+ </xsd:simpleType>
849
+ <!-- =====StopAssignment============================================================ -->
850
+ <xsd:simpleType name="TypeOfNestedQuayEnumeration">
851
+ <xsd:annotation>
852
+ <xsd:documentation>Allowed values for characterisation of nested QUAYs as part of a STOP ASSIGNMENT. +SIRI v2.1</xsd:documentation>
853
+ </xsd:annotation>
854
+ <xsd:restriction base="xsd:NMTOKEN">
855
+ <xsd:enumeration value="platformGroup">
856
+ <xsd:annotation>
857
+ <xsd:documentation>A type of QUAY that consists of multiple QUAYs of type 'platform'. Examples of such groups would be the lower and upper level of a station.</xsd:documentation>
858
+ </xsd:annotation>
859
+ </xsd:enumeration>
860
+ <xsd:enumeration value="platform">
861
+ <xsd:annotation>
862
+ <xsd:documentation>A type of QUAY that consists of at least two child QUAYs of type 'platformEdge'.</xsd:documentation>
863
+ </xsd:annotation>
864
+ </xsd:enumeration>
865
+ <xsd:enumeration value="platformEdge">
866
+ <xsd:annotation>
867
+ <xsd:documentation>A type of QUAY which allows direct access to a VEHICLE, e.g. an on-street bus stop, or consists of multiple child QUAYs of type 'platformSector'.</xsd:documentation>
868
+ </xsd:annotation>
869
+ </xsd:enumeration>
870
+ <xsd:enumeration value="platformSector">
871
+ <xsd:annotation>
872
+ <xsd:documentation>A QUAY of type 'platformEdge' may be divided into multiple sectors, e.g. "A", "B", "C" etc., to help passengers find a specific part of a vehicle.
873
+ The first class carriage of a TRAIN might, for example, be assigned to sector "A" of a QUAY.</xsd:documentation>
874
+ </xsd:annotation>
875
+ </xsd:enumeration>
876
+ </xsd:restriction>
877
+ </xsd:simpleType>
878
+ <!-- =====Train Formation/Composition============================================================ -->
879
+ <xsd:simpleType name="TrainElementTypeEnumeration">
880
+ <xsd:annotation>
881
+ <xsd:documentation>Allowed values for TYPE OF TRAIN ELEMENT. +SIRI v2.1</xsd:documentation>
882
+ </xsd:annotation>
883
+ <xsd:restriction base="xsd:NMTOKEN">
884
+ <xsd:enumeration value="buffetCar"/>
885
+ <xsd:enumeration value="carriage"/>
886
+ <xsd:enumeration value="engine"/>
887
+ <xsd:enumeration value="carTransporter"/>
888
+ <xsd:enumeration value="sleeperCarriage"/>
889
+ <xsd:enumeration value="luggageVan"/>
890
+ <xsd:enumeration value="restaurantCarriage"/>
891
+ <xsd:enumeration value="other"/>
892
+ </xsd:restriction>
893
+ </xsd:simpleType>
894
+ <xsd:simpleType name="TrainSizeEnumeration">
895
+ <xsd:annotation>
896
+ <xsd:documentation>Allowed values for TRAIN SIZE. +SIRI v2.1</xsd:documentation>
897
+ </xsd:annotation>
898
+ <xsd:restriction base="xsd:NMTOKEN">
899
+ <xsd:enumeration value="normal"/>
900
+ <xsd:enumeration value="short"/>
901
+ <xsd:enumeration value="long"/>
902
+ </xsd:restriction>
903
+ </xsd:simpleType>
904
+ <xsd:simpleType name="TypeOfFuelEnumeration">
905
+ <xsd:annotation>
906
+ <xsd:documentation>Allowed values for TYPE OF FUEL. +SIRI v2.1</xsd:documentation>
907
+ </xsd:annotation>
908
+ <xsd:restriction base="xsd:normalizedString">
909
+ <xsd:enumeration value="petrol"/>
910
+ <xsd:enumeration value="diesel"/>
911
+ <xsd:enumeration value="naturalGas"/>
912
+ <xsd:enumeration value="biodiesel"/>
913
+ <xsd:enumeration value="electricity"/>
914
+ <xsd:enumeration value="hydrogen"/>
915
+ <xsd:enumeration value="other"/>
916
+ <xsd:enumeration value="unknown"/>
917
+ </xsd:restriction>
918
+ </xsd:simpleType>
919
+ <xsd:element name="FareClass" type="FareClassEnumeration" default="unknown">
920
+ <xsd:annotation>
921
+ <xsd:documentation>Classification of FARE CLASSes. +SIRI v2.1</xsd:documentation>
922
+ </xsd:annotation>
923
+ </xsd:element>
924
+ <xsd:element name="FareClasses" type="FareClassListOfEnumerations">
925
+ <xsd:annotation>
926
+ <xsd:documentation>List of FARE CLASSes. +SIRI v2.1</xsd:documentation>
927
+ </xsd:annotation>
928
+ </xsd:element>
929
+ <xsd:simpleType name="FareClassListOfEnumerations">
930
+ <xsd:annotation>
931
+ <xsd:documentation>List of values for FARE CLASSes. +SIRI v2.1</xsd:documentation>
932
+ </xsd:annotation>
933
+ <xsd:list itemType="FareClassEnumeration"/>
934
+ </xsd:simpleType>
935
+ <xsd:simpleType name="FareClassEnumeration">
936
+ <xsd:annotation>
937
+ <xsd:documentation>Values for Fare Class Facility. +SIRI v2.1</xsd:documentation>
938
+ </xsd:annotation>
939
+ <xsd:restriction base="xsd:NMTOKEN">
940
+ <xsd:enumeration value="unknown">
941
+ <xsd:annotation>
942
+ <xsd:documentation>pti23_0</xsd:documentation>
943
+ </xsd:annotation>
944
+ </xsd:enumeration>
945
+ <xsd:enumeration value="firstClass">
946
+ <xsd:annotation>
947
+ <xsd:documentation>pti23_6</xsd:documentation>
948
+ </xsd:annotation>
949
+ </xsd:enumeration>
950
+ <xsd:enumeration value="secondClass ">
951
+ <xsd:annotation>
952
+ <xsd:documentation>pti23_7</xsd:documentation>
953
+ </xsd:annotation>
954
+ </xsd:enumeration>
955
+ <xsd:enumeration value="thirdClass">
956
+ <xsd:annotation>
957
+ <xsd:documentation>pti23_8</xsd:documentation>
958
+ </xsd:annotation>
959
+ </xsd:enumeration>
960
+ <xsd:enumeration value="preferente"/>
961
+ <xsd:enumeration value="premiumClass">
962
+ <xsd:annotation>
963
+ <xsd:documentation>pti23_6_1</xsd:documentation>
964
+ </xsd:annotation>
965
+ </xsd:enumeration>
966
+ <xsd:enumeration value="businessClass">
967
+ <xsd:annotation>
968
+ <xsd:documentation>Business Class - pti23_10</xsd:documentation>
969
+ </xsd:annotation>
970
+ </xsd:enumeration>
971
+ <xsd:enumeration value="standardClass">
972
+ <xsd:annotation>
973
+ <xsd:documentation>Standard class Add pti23_7</xsd:documentation>
974
+ </xsd:annotation>
975
+ </xsd:enumeration>
976
+ <xsd:enumeration value="turista"/>
977
+ <xsd:enumeration value="economyClass">
978
+ <xsd:annotation>
979
+ <xsd:documentation>pti23_9</xsd:documentation>
980
+ </xsd:annotation>
981
+ </xsd:enumeration>
982
+ <xsd:enumeration value="any"/>
983
+ </xsd:restriction>
984
+ </xsd:simpleType>
985
+ <xsd:simpleType name="VehicleInFormationStatusEnumeration">
986
+ <xsd:annotation>
987
+ <xsd:documentation>Allowed values for VEHICLE IN FORMATION STATUS CODE. +SIRI v2.1</xsd:documentation>
988
+ </xsd:annotation>
989
+ <xsd:restriction base="xsd:NMTOKEN">
990
+ <xsd:enumeration value="unknown"/>
991
+ <xsd:enumeration value="available"/>
992
+ <xsd:enumeration value="notAvailable"/>
993
+ <xsd:enumeration value="partiallyAvailable"/>
994
+ <xsd:enumeration value="added"/>
995
+ <xsd:enumeration value="removed"/>
996
+ <xsd:enumeration value="defective"/>
997
+ <xsd:enumeration value="closed"/>
998
+ <xsd:enumeration value="booked"/>
999
+ <xsd:enumeration value="noRestaurantService"/>
1000
+ <xsd:enumeration value="open"/>
1001
+ </xsd:restriction>
1002
+ </xsd:simpleType>
1003
+ <xsd:simpleType name="FormationChangeEnumeration">
1004
+ <xsd:annotation>
1005
+ <xsd:documentation>Allowed values for FORMATION CHANGE CODE. +SIRI v2.1</xsd:documentation>
1006
+ </xsd:annotation>
1007
+ <xsd:restriction base="xsd:NMTOKEN">
1008
+ <xsd:enumeration value="changedFormation"/>
1009
+ <xsd:enumeration value="reversedFormation"/>
1010
+ <xsd:enumeration value="missingVehicles"/>
1011
+ <xsd:enumeration value="extraVehicles"/>
1012
+ <xsd:enumeration value="missingTrainInCompoundTrain"/>
1013
+ <xsd:enumeration value="extraTrainInCompoundTrain"/>
1014
+ <xsd:enumeration value="missingFamilyCoach"/>
1015
+ <xsd:enumeration value="missingThroughCoach"/>
1016
+ <xsd:enumeration value="missingLowFloorCoach"/>
1017
+ <xsd:enumeration value="missingRestaurantCoach"/>
1018
+ <xsd:enumeration value="missingWheelchairSpaces"/>
1019
+ </xsd:restriction>
1020
+ </xsd:simpleType>
1021
+ <!-- =============================================================================== -->
1022
+ </xsd:schema>