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,514 @@
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_productionTimetable_service">
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
+ <Contributor>Werner Kohl MDV</Contributor>
10
+ <Coverage>Europe</Coverage>
11
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
12
+ <Date>
13
+ <Created>2003-02-10</Created>
14
+ </Date>
15
+ <Date>
16
+ <Modified>2004-10-31</Modified>
17
+ </Date>
18
+ <Date>
19
+ <Modified>2005-02-14</Modified>
20
+ </Date>
21
+ <Date>
22
+ <Modified>2005-02-20</Modified>
23
+ </Date>
24
+ <Date>
25
+ <Modified>2005-05-11</Modified>
26
+ </Date>
27
+ <Date>
28
+ <Modified>2007-04-17</Modified>
29
+ <!-- Name Space changes-->
30
+ </Date>
31
+ <Date>
32
+ <Modified>2008-03-26</Modified>
33
+ <!-- Add wrapper tag for Line DIRECTION to help binding to Axis-->
34
+ </Date>
35
+ <Date>
36
+ <Modified>2008-11-17</Modified>
37
+ <!-- Revise to support substitution groups-->
38
+ </Date>
39
+ <Date>
40
+ <Modified>2011-04-18</Modified>
41
+ <!-- - siri_productionTimetable_service.xsd Type on request ValidiyPeriod start and end should be datetime not time ..
42
+ - Change to ClosedTimestampRange instead of ClosedTimeRange.
43
+ - Fix Subscription request to be an element and have extensions.-->
44
+ </Date>
45
+ <Date>
46
+ <Modified>2011-01-19</Modified>
47
+ <!-- SIRI 1.3
48
+ Drop use of As Flat Groups for DatedCalls.-->
49
+ </Date>
50
+ <Date>
51
+ <Modified>2012-03-23</Modified>
52
+ <!-- +SIRI v2.0
53
+ Add ServiceJourneyInterchange (i.e. Monitored Connection)
54
+ Add additional times to TargetedServiceInterchange MinimumTransferTime, MaximimTransferTime, StandardTransferTime, MaximumAUtomaticWaitTime, StandardWiatTime.
55
+ Add Public and Contact Details to JourneyInfo
56
+ Add AimedLatestPassengerAccessTime to TargetedCall-->
57
+ </Date>
58
+ <Description>
59
+ <p>SIRI is a European CEN standard for the exchange of Public Transport real-time information.</p>
60
+ <p>This sub-schema describes the DATED JOUNEY used in the SIRI Production Timetable Service.</p>
61
+ </Description>
62
+ <Format>
63
+ <MediaType>text/xml</MediaType>
64
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
65
+ <Description>XML schema, W3C Recommendation 2001</Description>
66
+ </Format>
67
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/}siri_productionTimetable_service.xsd</Identifier>
68
+ <Language>[ISO 639-2/B] ENG</Language>
69
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
70
+ <Relation>
71
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
72
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_targetedVehicleJourney.xsd</Requires>
73
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_modelPermissions.xsd</Requires>
74
+ </Relation>
75
+ <Rights><!--Unclassified-->
76
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
77
+ </Rights>
78
+ <Source>
79
+ <ul>
80
+ <li>Derived from the VDV, RTIG XML and Trident standards.</li>
81
+ </ul>
82
+ </Source>
83
+ <Status>Version 2.1</Status>
84
+ <Subject>
85
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
86
+ Air transport, Airports,
87
+ Ports and maritime transport, Ferries (marine),
88
+ Public transport, Bus services, Coach services, Bus stops and stations,
89
+ Rail transport, Railway stations and track, Train services, Underground trains,
90
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
91
+ Rail transport, Roads and road transport
92
+ </Category>
93
+ <Project>CEN TC278 WG3 SG7</Project>
94
+ </Subject>
95
+ <Title>SIRI_PT XML schema. Service Interface for Real-time Information. Production Timetable Service.</Title>
96
+ <Type>Standard</Type>
97
+ </Metadata>
98
+ </xsd:appinfo>
99
+ <xsd:documentation>SIRI-PT DATED JOURNEY Model view.</xsd:documentation>
100
+ </xsd:annotation>
101
+ <!-- ======================================================================= -->
102
+ <xsd:include schemaLocation="siri/siri_requests.xsd"/>
103
+ <xsd:include schemaLocation="siri_model/siri_datedVehicleJourney.xsd"/>
104
+ <xsd:include schemaLocation="siri_model/siri_modelPermissions.xsd"/>
105
+ <!-- ======================================================================= -->
106
+ <xsd:group name="SiriProductionTimetableIndexGroup">
107
+ <xsd:annotation>
108
+ <xsd:documentation>Convenience artefact to pick out main elements of the Production Timetable Service.</xsd:documentation>
109
+ </xsd:annotation>
110
+ <xsd:sequence>
111
+ <xsd:element ref="ProductionTimetableRequest"/>
112
+ <xsd:element ref="ProductionTimetableSubscriptionRequest"/>
113
+ <xsd:element ref="ProductionTimetableDelivery"/>
114
+ <xsd:sequence>
115
+ <xsd:element ref="ProductionTimetableCapabilitiesRequest"/>
116
+ <xsd:element ref="ProductionTimetableCapabilitiesResponse"/>
117
+ </xsd:sequence>
118
+ </xsd:sequence>
119
+ </xsd:group>
120
+ <!-- ====REQUESTS ====================================================== -->
121
+ <!--==== FS: Production Timetable Request =================================-->
122
+ <xsd:element name="ProductionTimetableRequest" type="ProductionTimetableRequestStructure" substitutionGroup="AbstractFunctionalServiceRequest">
123
+ <xsd:annotation>
124
+ <xsd:documentation>Request for daily production timetables.</xsd:documentation>
125
+ </xsd:annotation>
126
+ </xsd:element>
127
+ <xsd:complexType name="ProductionTimetableRequestStructure">
128
+ <xsd:annotation>
129
+ <xsd:documentation>Type for Functional Service Request for Production Timetables.</xsd:documentation>
130
+ </xsd:annotation>
131
+ <xsd:complexContent>
132
+ <xsd:extension base="AbstractFunctionalServiceRequestStructure">
133
+ <xsd:sequence>
134
+ <xsd:group ref="ProductionTimetableTopicGroup"/>
135
+ <xsd:group ref="ProductionTimetableRequestPolicyGroup"/>
136
+ <xsd:element ref="Extensions" minOccurs="0"/>
137
+ </xsd:sequence>
138
+ <xsd:attribute name="version" type="VersionString" default="2.1">
139
+ <xsd:annotation>
140
+ <xsd:documentation>Version number of request. Fixed.</xsd:documentation>
141
+ </xsd:annotation>
142
+ </xsd:attribute>
143
+ </xsd:extension>
144
+ </xsd:complexContent>
145
+ </xsd:complexType>
146
+ <xsd:group name="ProductionTimetableTopicGroup">
147
+ <xsd:annotation>
148
+ <xsd:documentation>Parameters that specify the content to be returned.</xsd:documentation>
149
+ </xsd:annotation>
150
+ <xsd:sequence>
151
+ <xsd:element name="ValidityPeriod" type="TimetableValidityPeriod" minOccurs="0"/>
152
+ <xsd:element name="TimetableVersionRef" type="VersionRefStructure" minOccurs="0">
153
+ <xsd:annotation>
154
+ <xsd:documentation>Communicate only differences to the timetable specified by this VERSION of the TIMETABLe.</xsd:documentation>
155
+ </xsd:annotation>
156
+ </xsd:element>
157
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0" maxOccurs="unbounded">
158
+ <xsd:annotation>
159
+ <xsd:documentation>Filter the results to include journeys for only the specified OPERATORs.</xsd:documentation>
160
+ </xsd:annotation>
161
+ </xsd:element>
162
+ <xsd:element name="Lines" minOccurs="0">
163
+ <xsd:annotation>
164
+ <xsd:documentation>Filter the results to include only vehicles along the given LINEs.</xsd:documentation>
165
+ </xsd:annotation>
166
+ <xsd:complexType>
167
+ <xsd:sequence>
168
+ <xsd:element name="LineDirection" type="LineDirectionStructure" maxOccurs="unbounded">
169
+ <xsd:annotation>
170
+ <xsd:documentation>Iinclude only vehicles along the given LINE.</xsd:documentation>
171
+ </xsd:annotation>
172
+ </xsd:element>
173
+ </xsd:sequence>
174
+ </xsd:complexType>
175
+ </xsd:element>
176
+ <xsd:element name="VehicleMode" type="VehicleModesEnumeration" minOccurs="0" maxOccurs="unbounded">
177
+ <xsd:annotation>
178
+ <xsd:documentation>Filter the results to include only journeys of the specified VEHICLE MODE. +SIRI v2.1</xsd:documentation>
179
+ </xsd:annotation>
180
+ </xsd:element>
181
+ <xsd:element name="ProductCategoryRef" type="ProductCategoryRefStructure" minOccurs="0" maxOccurs="unbounded">
182
+ <xsd:annotation>
183
+ <xsd:documentation>Filter the results to include only journeys of the specified TYPE OF PRODUCT CATEGORY. +SIRI v2.1</xsd:documentation>
184
+ </xsd:annotation>
185
+ </xsd:element>
186
+ <xsd:element name="StopPointRef" type="StopPointRefStructure" minOccurs="0" maxOccurs="unbounded">
187
+ <xsd:annotation>
188
+ <xsd:documentation>Filter the results to include only journeys with a CALL at the specified STOP POINT. +SIRI v2.1</xsd:documentation>
189
+ </xsd:annotation>
190
+ </xsd:element>
191
+ </xsd:sequence>
192
+ </xsd:group>
193
+ <xsd:group name="ProductionTimetableRequestPolicyGroup">
194
+ <xsd:annotation>
195
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of messages exchanged.</xsd:documentation>
196
+ </xsd:annotation>
197
+ <xsd:sequence>
198
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
199
+ <xsd:annotation>
200
+ <xsd:documentation>Preferred languages in which to return text values.</xsd:documentation>
201
+ </xsd:annotation>
202
+ </xsd:element>
203
+ <xsd:element ref="IncludeTranslations" minOccurs="0"/>
204
+ <xsd:element ref="IncludeInterchanges" minOccurs="0"/>
205
+ <xsd:element ref="IncludeJourneyRelations" minOccurs="0"/>
206
+ <xsd:element ref="IncludeTrainFormations" minOccurs="0"/>
207
+ <xsd:element name="IncrementalUpdates" type="xsd:boolean" default="false" minOccurs="0">
208
+ <xsd:annotation>
209
+ <xsd:documentation>Whether to return the whole timetable, or just differences from the inidicated version. Default is 'false'.</xsd:documentation>
210
+ </xsd:annotation>
211
+ </xsd:element>
212
+ </xsd:sequence>
213
+ </xsd:group>
214
+ <!-- ==== FS: Production Timetable Subscription ======================================-->
215
+ <xsd:element name="ProductionTimetableSubscriptionRequest" substitutionGroup="AbstractFunctionalServiceSubscriptionRequest">
216
+ <xsd:annotation>
217
+ <xsd:documentation>Request for a subscription to the Production Timetable Service.</xsd:documentation>
218
+ </xsd:annotation>
219
+ <xsd:complexType>
220
+ <xsd:complexContent>
221
+ <xsd:extension base="ProductionTimetableSubscriptionStructure"/>
222
+ </xsd:complexContent>
223
+ </xsd:complexType>
224
+ </xsd:element>
225
+ <xsd:complexType name="ProductionTimetableSubscriptionStructure">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Subscription Request for Production Timetable Service.</xsd:documentation>
228
+ </xsd:annotation>
229
+ <xsd:complexContent>
230
+ <xsd:extension base="AbstractSubscriptionStructure">
231
+ <xsd:sequence>
232
+ <xsd:element ref="ProductionTimetableRequest"/>
233
+ <xsd:group ref="ProductionTimetableSubscriptionPolicyGroup"/>
234
+ <xsd:element ref="Extensions" minOccurs="0"/>
235
+ </xsd:sequence>
236
+ </xsd:extension>
237
+ </xsd:complexContent>
238
+ </xsd:complexType>
239
+ <xsd:group name="ProductionTimetableSubscriptionPolicyGroup">
240
+ <xsd:annotation>
241
+ <xsd:documentation>Parameters that affect the subscription content.</xsd:documentation>
242
+ </xsd:annotation>
243
+ <xsd:sequence>
244
+ <xsd:element name="IncrementalUpdates" type="xsd:boolean" default="false" minOccurs="0">
245
+ <xsd:annotation>
246
+ <xsd:documentation>Whether the producer should return the complete set of current data, or only provide updates to the last data returned, i.e. additions, modifications and deletions.
247
+ If false each subscription response will contain the full information as specified in this request.</xsd:documentation>
248
+ </xsd:annotation>
249
+ </xsd:element>
250
+ </xsd:sequence>
251
+ </xsd:group>
252
+ <!-- ====RESPONSES=========================================================== -->
253
+ <!-- ==== FS: Production Timetable Delivery =========================================-->
254
+ <xsd:element name="ProductionTimetableDelivery" type="ProductionTimetableDeliveryStructure" substitutionGroup="AbstractFunctionalServiceDelivery">
255
+ <xsd:annotation>
256
+ <xsd:documentation>Delivery for Production Timetable Service.</xsd:documentation>
257
+ </xsd:annotation>
258
+ </xsd:element>
259
+ <xsd:group name="ProductionTimetablePayloadGroup">
260
+ <xsd:annotation>
261
+ <xsd:documentation>Payload part of Production Timetable delivery.</xsd:documentation>
262
+ </xsd:annotation>
263
+ <xsd:sequence>
264
+ <xsd:element ref="DatedTimetableVersionFrame" minOccurs="0" maxOccurs="unbounded">
265
+ <xsd:annotation>
266
+ <xsd:documentation>A TIMETABLE to run on a specified date.</xsd:documentation>
267
+ </xsd:annotation>
268
+ </xsd:element>
269
+ <xsd:element ref="Extensions" minOccurs="0"/>
270
+ </xsd:sequence>
271
+ </xsd:group>
272
+ <xsd:complexType name="ProductionTimetableDeliveryStructure">
273
+ <xsd:annotation>
274
+ <xsd:documentation>Delivery for Production Timetable Service type.</xsd:documentation>
275
+ </xsd:annotation>
276
+ <xsd:complexContent>
277
+ <xsd:extension base="AbstractServiceDeliveryStructure">
278
+ <xsd:sequence>
279
+ <xsd:group ref="ProductionTimetablePayloadGroup"/>
280
+ </xsd:sequence>
281
+ <xsd:attribute name="version" type="VersionString" default="2.1">
282
+ <xsd:annotation>
283
+ <xsd:documentation>Version number of response. fixed.</xsd:documentation>
284
+ </xsd:annotation>
285
+ </xsd:attribute>
286
+ </xsd:extension>
287
+ </xsd:complexContent>
288
+ </xsd:complexType>
289
+ <!-- ======================================================================= -->
290
+ <xsd:element name="DatedTimetableVersionFrame" type="DatedTimetableVersionFrameStructure">
291
+ <xsd:annotation>
292
+ <xsd:documentation>A TIMETABLE FRAME to run on a specified date.</xsd:documentation>
293
+ </xsd:annotation>
294
+ </xsd:element>
295
+ <xsd:complexType name="DatedTimetableVersionFrameStructure">
296
+ <xsd:annotation>
297
+ <xsd:documentation>Type for Production Timetable of a LINE.</xsd:documentation>
298
+ </xsd:annotation>
299
+ <xsd:complexContent>
300
+ <xsd:extension base="AbstractItemStructure">
301
+ <xsd:sequence>
302
+ <xsd:element name="VersionRef" type="VersionRefStructure" minOccurs="0">
303
+ <xsd:annotation>
304
+ <xsd:documentation>Timetable Version.</xsd:documentation>
305
+ </xsd:annotation>
306
+ </xsd:element>
307
+ <xsd:element name="ValidityPeriod" type="TimetableValidityPeriod" minOccurs="0"/>
308
+ <xsd:element name="ShortestPossibleCycle" type="PositiveDurationType" minOccurs="0">
309
+ <xsd:annotation>
310
+ <xsd:documentation>Minimum interval at which updates for this DATED TIMETABLE VERSION FRAME can be sent. +SIRI v2.1</xsd:documentation>
311
+ </xsd:annotation>
312
+ </xsd:element>
313
+ <xsd:group ref="LineIdentityGroup"/>
314
+ <xsd:group ref="JourneyPatternInfoGroup"/>
315
+ <xsd:group ref="ServiceInfoGroup" minOccurs="0"/>
316
+ <xsd:group ref="DatedServiceInfoGroup"/>
317
+ <xsd:group ref="TimetableRealtimeInfoGroup"/>
318
+ <xsd:element name="DatedVehicleJourney" type="DatedVehicleJourneyStructure" minOccurs="0" maxOccurs="unbounded">
319
+ <xsd:annotation>
320
+ <xsd:documentation>Complete list of all planned VEHICLE JOURNEYs for this LINE and DIRECTION.</xsd:documentation>
321
+ </xsd:annotation>
322
+ </xsd:element>
323
+ <xsd:element name="RemovedDatedVehicleJourney" type="RemovedDatedVehicleJourneyStructure" minOccurs="0" maxOccurs="unbounded">
324
+ <xsd:annotation>
325
+ <xsd:documentation>List of all removed VEHICLE JOURNEYs for this LINE and DIRECTION.
326
+ A data producer may silently remove a journey from the plan if it was previously provided in error. Careful: Removal is different from Cancellation.
327
+ Minimal information, or no information at all, of a RemovedDatedVehicleJourney or the removal itself must be communicated to the passengers, i.e., it is "silently" removed. A Cancellation, on the other hand, is possibly the most important information to provide to the passengers.
328
+ It is strongly advised to only use this feature in cases where a journey was sent in error and it can be assumed that as few passengers as possible have seen the erroneous information to avoid confusion. +SIRI v2.1</xsd:documentation>
329
+ </xsd:annotation>
330
+ </xsd:element>
331
+ <xsd:element name="ServiceJourneyInterchange" type="ServiceJourneyInterchangeStructure" minOccurs="0" maxOccurs="unbounded">
332
+ <xsd:annotation>
333
+ <xsd:documentation>Connection paramters for a SERVICE JOURNEY INTERCHANGE between a feeder and distributor journey. SIRI 2.0</xsd:documentation>
334
+ </xsd:annotation>
335
+ </xsd:element>
336
+ <xsd:element name="RemovedServiceJourneyInterchange" type="RemovedServiceJourneyInterchangeStructure" minOccurs="0" maxOccurs="unbounded">
337
+ <xsd:annotation>
338
+ <xsd:documentation>List of all removed SERVICE JOURNEY INTERCHANGEs.
339
+ A data producer may silently remove an interchange from the plan if it was previously provided in error. Careful: Removal is different from Cancellation.
340
+ Minimal information, or no information at all, of a RemovedServiceJourneyInterchange or the removal itself must be communicated to the passengers, i.e., it is "silently" removed. A Cancellation, on the other hand, is possibly the most important information to provide to the passengers.
341
+ It is strongly advised to only use this feature in cases where an interchange was sent in error and it can be assumed that as few passengers as possible have seen the erroneous information to avoid confusion. +SIRI v2.1</xsd:documentation>
342
+ </xsd:annotation>
343
+ </xsd:element>
344
+ <xsd:element ref="Extensions" minOccurs="0"/>
345
+ </xsd:sequence>
346
+ </xsd:extension>
347
+ </xsd:complexContent>
348
+ </xsd:complexType>
349
+ <!-- ======================================================================= -->
350
+ <xsd:complexType name="TimetableValidityPeriod">
351
+ <xsd:annotation>
352
+ <xsd:documentation>Start and end of timetable validity (time window) of journeys for which schedules are to be returned by the data producer.
353
+ The ValidityPeriod of the timetable must not exceed the ValidityPeriod requested by the subscriber.
354
+ If omitted, then the full - by the subscriber requested - ValidityPeriod or configured data horizon applies.
355
+
356
+ Since the end of an OPERATING DAY of one ITCS does not usually coincide with the end of another ITCS, it may happen that data cannot be provided for the complete time frame requested by a subscriber.
357
+ In order for the data consumer to be aware of this situation, the data producer should confirm - in each returned timetable - for which part of the requested ValidityPeriod he can actually deliver journey schedules.
358
+ If the requested period is so far in the past that the data producer does no longer have any data, he should reject the subscription with "Status=false" and a BeyondDataHorizon ErrorCondition.
359
+ If the requested period is so far in the future that the data producer does not yet have any data, he will deliver data as soon as it is available.
360
+
361
+ A timetable falls inside the ValidityPeriod if all of its journeys fall inside it.
362
+ A journey falls inside the ValidityPeriod if the AimedDepartureTime or AimedArrivalTime at any CALL lies between the Start- and EndTime of the ValidityPeriod (regardless of whether the aimed times at a previous or subsequent CALL fall ouside of the ValidityPeriod).
363
+ Careful: Journeys which themselves fall outside the ValidityPeriod, but which are linked to a journey within the ValidityPeriod by a JOURNEY RELATION, are also regarded as falling inside the ValidityPeriod. Examples are journeys where the vehicle is split or joins with or is replaced by another vehicle.
364
+ </xsd:documentation>
365
+ </xsd:annotation>
366
+ <xsd:complexContent>
367
+ <xsd:extension base="ClosedTimestampRangeStructure"/>
368
+ </xsd:complexContent>
369
+ </xsd:complexType>
370
+ <!-- ==== WSDL=========================================-->
371
+ <xsd:complexType name="ProductionTimetableDeliveriesStructure">
372
+ <xsd:annotation>
373
+ <xsd:documentation>Type for deliveries of production timetable service. Used in WSDL.</xsd:documentation>
374
+ </xsd:annotation>
375
+ <xsd:sequence>
376
+ <xsd:element ref="ProductionTimetableDelivery" maxOccurs="unbounded"/>
377
+ </xsd:sequence>
378
+ </xsd:complexType>
379
+ <!-- ======================================================================= -->
380
+ <!-- ==== CS: Capability Request =================================================================== -->
381
+ <xsd:element name="ProductionTimetableCapabilitiesRequest" substitutionGroup="AbstractFunctionalServiceCapabilitiesRequest">
382
+ <xsd:annotation>
383
+ <xsd:documentation>Request for information about ProductionTimetable Service Capabilities. Answered with a ProductionTimetableCapabilitiesResponse.</xsd:documentation>
384
+ </xsd:annotation>
385
+ <xsd:complexType>
386
+ <xsd:complexContent>
387
+ <xsd:extension base="ServiceCapabilitiesRequestStructure"/>
388
+ </xsd:complexContent>
389
+ </xsd:complexType>
390
+ </xsd:element>
391
+ <!-- ==== CS: Capability Response =================================================================== -->
392
+ <xsd:element name="ProductionTimetableCapabilitiesResponse" type="ProductionTimetableCapabilitiesResponseStructure" substitutionGroup="AbstractFunctionalServiceCapabilitiesResponse">
393
+ <xsd:annotation>
394
+ <xsd:documentation>Capabilities for ProductionTimetable Service. Answers a Answered with a ProductionTimetableCapabilitiesRequest.</xsd:documentation>
395
+ </xsd:annotation>
396
+ </xsd:element>
397
+ <xsd:complexType name="ProductionTimetableCapabilitiesResponseStructure">
398
+ <xsd:annotation>
399
+ <xsd:documentation>Type for Delivery for ProductionTimetable Capability.</xsd:documentation>
400
+ </xsd:annotation>
401
+ <xsd:complexContent>
402
+ <xsd:extension base="AbstractServiceCapabilitiesResponseStructure">
403
+ <xsd:sequence>
404
+ <xsd:element ref="ProductionTimetableServiceCapabilities" minOccurs="0"/>
405
+ <xsd:element ref="ProductionTimetablePermissions" minOccurs="0"/>
406
+ <xsd:element ref="Extensions" minOccurs="0"/>
407
+ </xsd:sequence>
408
+ <xsd:attribute name="version" type="VersionString" default="2.1">
409
+ <xsd:annotation>
410
+ <xsd:documentation>Version number of response. fixed.</xsd:documentation>
411
+ </xsd:annotation>
412
+ </xsd:attribute>
413
+ </xsd:extension>
414
+ </xsd:complexContent>
415
+ </xsd:complexType>
416
+ <xsd:complexType name="ProductionTimetableCapabilityRequestPolicyStructure">
417
+ <xsd:annotation>
418
+ <xsd:documentation>Type for Estimated ProductionCapability Request Policy.</xsd:documentation>
419
+ </xsd:annotation>
420
+ <xsd:complexContent>
421
+ <xsd:extension base="CapabilityRequestPolicyStructure">
422
+ <xsd:sequence>
423
+ <xsd:element name="ForeignJourneysOnly" type="xsd:boolean" minOccurs="0">
424
+ <xsd:annotation>
425
+ <xsd:documentation>Whether results returns foreign journeys only.</xsd:documentation>
426
+ </xsd:annotation>
427
+ </xsd:element>
428
+ </xsd:sequence>
429
+ </xsd:extension>
430
+ </xsd:complexContent>
431
+ </xsd:complexType>
432
+ <xsd:element name="ProductionTimetableServiceCapabilities" type="ProductionTimetableServiceCapabilitiesStructure">
433
+ <xsd:annotation>
434
+ <xsd:documentation> Capabilities of ProductionTimetableService.</xsd:documentation>
435
+ </xsd:annotation>
436
+ </xsd:element>
437
+ <xsd:complexType name="ProductionTimetableServiceCapabilitiesStructure">
438
+ <xsd:annotation>
439
+ <xsd:documentation>Type for ProductionTimetable Capabilities.</xsd:documentation>
440
+ </xsd:annotation>
441
+ <xsd:complexContent>
442
+ <xsd:extension base="AbstractCapabilitiesStructure">
443
+ <xsd:sequence>
444
+ <xsd:element name="TopicFiltering" minOccurs="0">
445
+ <xsd:annotation>
446
+ <xsd:documentation>Filtering Capabilities.</xsd:documentation>
447
+ </xsd:annotation>
448
+ <xsd:complexType>
449
+ <xsd:sequence>
450
+ <xsd:element ref="FilterByValidityPeriod"/>
451
+ <xsd:element ref="FilterByOperatorRef"/>
452
+ <xsd:element ref="FilterByLineRef"/>
453
+ <xsd:element ref="FilterByVehicleMode" minOccurs="0"/>
454
+ <xsd:element ref="FilterByProductCategoryRef" minOccurs="0"/>
455
+ <xsd:element ref="FilterByStopPointRef" minOccurs="0"/>
456
+ <xsd:element name="FilterByVersionRef" type="xsd:boolean" default="true">
457
+ <xsd:annotation>
458
+ <xsd:documentation>Whether results can be filtered by TIMETABLE VERSION Default is 'true'.</xsd:documentation>
459
+ </xsd:annotation>
460
+ </xsd:element>
461
+ </xsd:sequence>
462
+ </xsd:complexType>
463
+ </xsd:element>
464
+ <xsd:element name="RequestPolicy" minOccurs="0">
465
+ <xsd:annotation>
466
+ <xsd:documentation>Request Policiy capabilities.</xsd:documentation>
467
+ </xsd:annotation>
468
+ <xsd:complexType>
469
+ <xsd:complexContent>
470
+ <xsd:extension base="CapabilityRequestPolicyStructure"/>
471
+ </xsd:complexContent>
472
+ </xsd:complexType>
473
+ </xsd:element>
474
+ <xsd:element name="SubscriptionPolicy" minOccurs="0">
475
+ <xsd:annotation>
476
+ <xsd:documentation>Subscription Policy capabilities.</xsd:documentation>
477
+ </xsd:annotation>
478
+ <xsd:complexType>
479
+ <xsd:sequence>
480
+ <xsd:element name="HasIncrementalUpdates" type="xsd:boolean" default="true">
481
+ <xsd:annotation>
482
+ <xsd:documentation>Whether incremental updates can be specified for updates Default is ' true'.</xsd:documentation>
483
+ </xsd:annotation>
484
+ </xsd:element>
485
+ </xsd:sequence>
486
+ </xsd:complexType>
487
+ </xsd:element>
488
+ <xsd:element name="AccessControl" type="ConnectionCapabilityAccessControlStructure" minOccurs="0">
489
+ <xsd:annotation>
490
+ <xsd:documentation>Optional Access control capabilities.</xsd:documentation>
491
+ </xsd:annotation>
492
+ </xsd:element>
493
+ <xsd:element ref="Extensions" minOccurs="0"/>
494
+ </xsd:sequence>
495
+ </xsd:extension>
496
+ </xsd:complexContent>
497
+ </xsd:complexType>
498
+ <!-- ====permissions=================================================================== -->
499
+ <xsd:element name="ProductionTimetablePermissions">
500
+ <xsd:annotation>
501
+ <xsd:documentation>Participant's permissions to use the service.</xsd:documentation>
502
+ </xsd:annotation>
503
+ <xsd:complexType>
504
+ <xsd:complexContent>
505
+ <xsd:extension base="PermissionsStructure">
506
+ <xsd:sequence>
507
+ <xsd:element ref="ProductionTimetablePermission" minOccurs="0" maxOccurs="unbounded"/>
508
+ </xsd:sequence>
509
+ </xsd:extension>
510
+ </xsd:complexContent>
511
+ </xsd:complexType>
512
+ </xsd:element>
513
+ <!-- ====permissions=================================================================== -->
514
+ </xsd:schema>