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,403 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3" id="ifopt_stop">
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
+ <Coverage>Europe</Coverage>
9
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
10
+ <Date>
11
+ <Created>2006-08-12</Created>
12
+ </Date>
13
+ <Date>
14
+ <Modified>2006-09-22</Modified>
15
+ </Date>
16
+ <Date>
17
+ <Modified>2007-03-29</Modified>
18
+ </Date>
19
+ <Date><Modified>2012-03-12</Modified>
20
+ <!--Change IdentifertYpe to normalizedString-->
21
+ </Date>
22
+ <Date><Modified>2018-11-13</Modified>
23
+ <!--[vdv] Enum "ferrytPort" in StopPlaceTypeEnumeration changed to "ferryPort"-->
24
+ </Date>
25
+ <Description>
26
+ <p>Fixed Objects in Public Transport. This subschema defines STOP PLACE base types.</p>
27
+ </Description>
28
+ <Format>
29
+ <MediaType>text/xml</MediaType>
30
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
31
+ <Description>XML schema, W3C Recommendation 2001</Description>
32
+ </Format>
33
+ <Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_types.xsd</Identifier>
34
+ <Language>[ISO 639-2/B] ENG</Language>
35
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
36
+ <Rights><!--Unclassified-->
37
+ <Copyright>CEN, Crown Copyright 2006-2021</Copyright>
38
+ </Rights>
39
+ <Source>
40
+ <ul>
41
+ <li>Derived from the SIRI standards.</li>
42
+ </ul>
43
+ </Source>
44
+ <Status>Version 2.1</Status>
45
+ <Subject>
46
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
47
+ Air transport, Airports,
48
+ Ports and maritime transport, Ferries (marine),
49
+ Public transport, Bus services, Coach services, Bus stops and stations,
50
+ Rail transport, Railway stations and track, Train services, Underground trains,
51
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
52
+ Rail transport, Roads and road transport
53
+ </Category>
54
+ <Project>CEN TC278 WG3 SG6</Project>
55
+ </Subject>
56
+ <Title>IFOPT Fixed Objects in Public Transport - STOP PLACE Base Types. </Title>
57
+ <Type>Standard</Type>
58
+ </Metadata>
59
+ </xsd:appinfo>
60
+ <xsd:documentation>Basic STOP PLACE types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
61
+ </xsd:annotation>
62
+ <!-- ======================================================================= -->
63
+ <!-- Simple Type Definitions -->
64
+ <xsd:simpleType name="StopPlaceIdType">
65
+ <xsd:annotation>
66
+ <xsd:documentation>Type for identifier of STOP PLACE.</xsd:documentation>
67
+ </xsd:annotation>
68
+ <xsd:restriction base="xsd:NMTOKEN"/>
69
+ </xsd:simpleType>
70
+ <xsd:element name="StopPlaceRef" type="StopPlaceRefStructure">
71
+ <xsd:annotation>
72
+ <xsd:documentation>Reference to a STOP PLACE.</xsd:documentation>
73
+ </xsd:annotation>
74
+ </xsd:element>
75
+ <xsd:complexType name="StopPlaceRefStructure">
76
+ <xsd:annotation>
77
+ <xsd:documentation>Type for reference to a STOP PLACE.</xsd:documentation>
78
+ </xsd:annotation>
79
+ <xsd:simpleContent>
80
+ <xsd:extension base="StopPlaceIdType"/>
81
+ </xsd:simpleContent>
82
+ </xsd:complexType>
83
+ <xsd:complexType name="StopPlaceRefsStructure">
84
+ <xsd:annotation>
85
+ <xsd:documentation>Type for a collection of one or more references to a STOP PLACE.</xsd:documentation>
86
+ </xsd:annotation>
87
+ <xsd:sequence>
88
+ <xsd:element ref="StopPlaceRef" maxOccurs="unbounded"/>
89
+ </xsd:sequence>
90
+ </xsd:complexType>
91
+ <!-- ======================================================================= -->
92
+ <xsd:simpleType name="StopPlaceComponentIdType">
93
+ <xsd:annotation>
94
+ <xsd:documentation>Type for identifier of STOP PLACE.</xsd:documentation>
95
+ </xsd:annotation>
96
+ <xsd:restriction base="xsd:NMTOKEN"/>
97
+ </xsd:simpleType>
98
+ <xsd:complexType name="StopPlaceComponentRefStructure">
99
+ <xsd:annotation>
100
+ <xsd:documentation>Type for reference to STOP PLACE.</xsd:documentation>
101
+ </xsd:annotation>
102
+ <xsd:simpleContent>
103
+ <xsd:extension base="StopPlaceComponentIdType"/>
104
+ </xsd:simpleContent>
105
+ </xsd:complexType>
106
+ <xsd:complexType name="StopPlaceSpaceRefStructure">
107
+ <xsd:annotation>
108
+ <xsd:documentation>Type for reference to STOP PLACE Space.</xsd:documentation>
109
+ </xsd:annotation>
110
+ <xsd:simpleContent>
111
+ <xsd:extension base="StopPlaceComponentRefStructure"/>
112
+ </xsd:simpleContent>
113
+ </xsd:complexType>
114
+ <xsd:complexType name="QuayRefStructure">
115
+ <xsd:annotation>
116
+ <xsd:documentation>Type for reference to QUAY.</xsd:documentation>
117
+ </xsd:annotation>
118
+ <xsd:simpleContent>
119
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
120
+ </xsd:simpleContent>
121
+ </xsd:complexType>
122
+ <xsd:complexType name="AccessSpaceRefStructure">
123
+ <xsd:annotation>
124
+ <xsd:documentation>Type for reference to ACCESS SPACe.</xsd:documentation>
125
+ </xsd:annotation>
126
+ <xsd:simpleContent>
127
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
128
+ </xsd:simpleContent>
129
+ </xsd:complexType>
130
+ <xsd:complexType name="BoardingPositionRefStructure">
131
+ <xsd:annotation>
132
+ <xsd:documentation>Type for reference to BOARDING POSITION.</xsd:documentation>
133
+ </xsd:annotation>
134
+ <xsd:simpleContent>
135
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
136
+ </xsd:simpleContent>
137
+ </xsd:complexType>
138
+ <xsd:complexType name="StopPlaceEntranceRefStructure">
139
+ <xsd:annotation>
140
+ <xsd:documentation>Type for reference to STOP PLACE Entrance.</xsd:documentation>
141
+ </xsd:annotation>
142
+ <xsd:simpleContent>
143
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
144
+ </xsd:simpleContent>
145
+ </xsd:complexType>
146
+ <xsd:complexType name="VehicleStoppingPlaceRefStructure">
147
+ <xsd:annotation>
148
+ <xsd:documentation>Type for reference to VEHICLE STOPPING PLACe.</xsd:documentation>
149
+ </xsd:annotation>
150
+ <xsd:simpleContent>
151
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
152
+ </xsd:simpleContent>
153
+ </xsd:complexType>
154
+ <xsd:complexType name="VehicleStoppingPositionRefStructure">
155
+ <xsd:annotation>
156
+ <xsd:documentation>Type for reference to VEHICLE STOPPING POSITION.</xsd:documentation>
157
+ </xsd:annotation>
158
+ <xsd:simpleContent>
159
+ <xsd:extension base="StopPlaceSpaceRefStructure"/>
160
+ </xsd:simpleContent>
161
+ </xsd:complexType>
162
+ <!-- ======================================================================= -->
163
+ <xsd:simpleType name="LevelCodeType">
164
+ <xsd:annotation>
165
+ <xsd:documentation>Type for identifier of a building LEVEL within a STOP PLACE.</xsd:documentation>
166
+ </xsd:annotation>
167
+ <xsd:restriction base="xsd:NMTOKEN"/>
168
+ </xsd:simpleType>
169
+ <xsd:complexType name="LevelRefStructure">
170
+ <xsd:annotation>
171
+ <xsd:documentation>Type for reference to identifier of LEVEL.</xsd:documentation>
172
+ </xsd:annotation>
173
+ <xsd:simpleContent>
174
+ <xsd:extension base="LevelCodeType"/>
175
+ </xsd:simpleContent>
176
+ </xsd:complexType>
177
+ <!-- ======================================================================= -->
178
+ <xsd:complexType name="AccessPathLinkRefStructure">
179
+ <xsd:annotation>
180
+ <xsd:documentation>Type for reference to identifier of PATHLINK.</xsd:documentation>
181
+ </xsd:annotation>
182
+ <xsd:simpleContent>
183
+ <xsd:extension base="StopPlaceComponentRefStructure"/>
184
+ </xsd:simpleContent>
185
+ </xsd:complexType>
186
+ <xsd:complexType name="StopPathLinkRefStructure">
187
+ <xsd:annotation>
188
+ <xsd:documentation>Type for reference to STOP PLACE Space.</xsd:documentation>
189
+ </xsd:annotation>
190
+ <xsd:complexContent>
191
+ <xsd:extension base="StopPlaceComponentRefStructure"/>
192
+ </xsd:complexContent>
193
+ </xsd:complexType>
194
+ <!-- ======================================================================= -->
195
+ <xsd:simpleType name="PublicCodeType">
196
+ <xsd:annotation>
197
+ <xsd:documentation>Identifier of a stop for SMS and other customer facing delivery channels.</xsd:documentation>
198
+ </xsd:annotation>
199
+ <xsd:restriction base="xsd:string"/>
200
+ </xsd:simpleType>
201
+ <xsd:simpleType name="PrivateCodeType">
202
+ <xsd:annotation>
203
+ <xsd:documentation>Private code alternative identifier that may be associated with element.</xsd:documentation>
204
+ </xsd:annotation>
205
+ <xsd:restriction base="xsd:string"/>
206
+ </xsd:simpleType>
207
+ <xsd:simpleType name="PlateCodeType">
208
+ <xsd:annotation>
209
+ <xsd:documentation>The plate identifier placed on the stop.</xsd:documentation>
210
+ </xsd:annotation>
211
+ <xsd:restriction base="xsd:string"/>
212
+ </xsd:simpleType>
213
+ <xsd:simpleType name="CleardownCodeType">
214
+ <xsd:annotation>
215
+ <xsd:documentation>Number associated with stop used for wireless cleardown systems. 20 bit number.</xsd:documentation>
216
+ </xsd:annotation>
217
+ <xsd:restriction base="xsd:positiveInteger"/>
218
+ </xsd:simpleType>
219
+ <xsd:group name="StopIdentifierGroup">
220
+ <xsd:annotation>
221
+ <xsd:documentation>Alternative identifiers of a stop.</xsd:documentation>
222
+ </xsd:annotation>
223
+ <xsd:sequence>
224
+ <xsd:element name="PublicCode" type="PublicCodeType" minOccurs="0">
225
+ <xsd:annotation>
226
+ <xsd:documentation>Short public code for passengers to use when identifying the stop by SMS and other self-service channels.</xsd:documentation>
227
+ </xsd:annotation>
228
+ </xsd:element>
229
+ <xsd:element name="PrivateCode" type="PrivateCodeType" minOccurs="0">
230
+ <xsd:annotation>
231
+ <xsd:documentation>A private code that identifies the stop. May be used for inter-operating with other (legacy) systems.</xsd:documentation>
232
+ </xsd:annotation>
233
+ </xsd:element>
234
+ <xsd:element name="PlateCode" type="PlateCodeType" minOccurs="0">
235
+ <xsd:annotation>
236
+ <xsd:documentation>Plate number for stop. An arbitrary asset number that may be placed on stop to identify it.</xsd:documentation>
237
+ </xsd:annotation>
238
+ </xsd:element>
239
+ <xsd:element name="CleardownCode" type="CleardownCodeType" minOccurs="0">
240
+ <xsd:annotation>
241
+ <xsd:documentation>A 20 bit number used for wireless cleardown of stop displays by some AVL systems.</xsd:documentation>
242
+ </xsd:annotation>
243
+ </xsd:element>
244
+ </xsd:sequence>
245
+ </xsd:group>
246
+ <xsd:simpleType name="StopPlaceTypeEnumeration">
247
+ <xsd:annotation>
248
+ <xsd:documentation>Enumeration of STOP PLACE types.</xsd:documentation>
249
+ </xsd:annotation>
250
+ <xsd:restriction base="xsd:string">
251
+ <xsd:enumeration value="airport"/>
252
+ <xsd:enumeration value="railStation"/>
253
+ <xsd:enumeration value="metroStation"/>
254
+ <xsd:enumeration value="coachStation"/>
255
+ <xsd:enumeration value="busStation"/>
256
+ <xsd:enumeration value="harbourPort"/>
257
+ <xsd:enumeration value="ferryPort"/>
258
+ <xsd:enumeration value="ferryStop"/>
259
+ <xsd:enumeration value="onStreetBus"/>
260
+ <xsd:enumeration value="onStreetTram"/>
261
+ <xsd:enumeration value="skiLift"/>
262
+ <xsd:enumeration value="other"/>
263
+ </xsd:restriction>
264
+ </xsd:simpleType>
265
+ <xsd:complexType name="AliasStructure">
266
+ <xsd:annotation>
267
+ <xsd:documentation>Alternative Private Code.</xsd:documentation>
268
+ </xsd:annotation>
269
+ <xsd:sequence>
270
+ <xsd:element name="PrivateCode" type="PrivateCodeType">
271
+ <xsd:annotation>
272
+ <xsd:documentation>Alternative identifier.</xsd:documentation>
273
+ </xsd:annotation>
274
+ </xsd:element>
275
+ <xsd:element name="IdentifierType" type="xsd:normalizedString" minOccurs="0">
276
+ <xsd:annotation>
277
+ <xsd:documentation>Type of Identifier.</xsd:documentation>
278
+ </xsd:annotation>
279
+ </xsd:element>
280
+ </xsd:sequence>
281
+ </xsd:complexType>
282
+ <!-- ======================================================================= -->
283
+ <xsd:simpleType name="StopPlaceComponentTypeEnumeration">
284
+ <xsd:annotation>
285
+ <xsd:documentation>Enumeration of SITE COMPONENT Types.</xsd:documentation>
286
+ </xsd:annotation>
287
+ <xsd:restriction base="xsd:string">
288
+ <xsd:enumeration value="quay"/>
289
+ <xsd:enumeration value="accessSpace"/>
290
+ <xsd:enumeration value="entrance"/>
291
+ <xsd:enumeration value="boardingPosition"/>
292
+ <xsd:enumeration value="stoppingPlace"/>
293
+ </xsd:restriction>
294
+ </xsd:simpleType>
295
+ <xsd:simpleType name="QuayTypeEnumeration">
296
+ <xsd:annotation>
297
+ <xsd:documentation>Enumeration of QUAY Types.</xsd:documentation>
298
+ </xsd:annotation>
299
+ <xsd:restriction base="xsd:string">
300
+ <xsd:enumeration value="airlineGate"/>
301
+ <xsd:enumeration value="railPlatform"/>
302
+ <xsd:enumeration value="metroPlatform"/>
303
+ <xsd:enumeration value="coachStop"/>
304
+ <xsd:enumeration value="busStop"/>
305
+ <xsd:enumeration value="tramStop"/>
306
+ <xsd:enumeration value="boatQuay"/>
307
+ <xsd:enumeration value="ferryLanding"/>
308
+ <xsd:enumeration value="telecabinePlatform"/>
309
+ <xsd:enumeration value="telecabinePlatfrom">
310
+ <xsd:annotation>
311
+ <xsd:documentation>deprecated</xsd:documentation>
312
+ </xsd:annotation>
313
+ </xsd:enumeration>
314
+ <xsd:enumeration value="taxiStand"/>
315
+ <xsd:enumeration value="setDownPlace"/>
316
+ <xsd:enumeration value="other"/>
317
+ </xsd:restriction>
318
+ </xsd:simpleType>
319
+ <xsd:simpleType name="AccessSpaceTypeEnumeration">
320
+ <xsd:annotation>
321
+ <xsd:documentation>Enumeration of ACCESS SPACE Types.</xsd:documentation>
322
+ </xsd:annotation>
323
+ <xsd:restriction base="xsd:string">
324
+ <xsd:enumeration value="concours"/>
325
+ <xsd:enumeration value="bookingHall"/>
326
+ <xsd:enumeration value="forecourt"/>
327
+ <xsd:enumeration value="underpass"/>
328
+ <xsd:enumeration value="overpass"/>
329
+ <xsd:enumeration value="passage"/>
330
+ <xsd:enumeration value="passageSection"/>
331
+ <xsd:enumeration value="gallery"/>
332
+ <xsd:enumeration value="garage"/>
333
+ <xsd:enumeration value="shop"/>
334
+ <xsd:enumeration value="waitingRoom"/>
335
+ <xsd:enumeration value="restaurant"/>
336
+ <xsd:enumeration value="other"/>
337
+ </xsd:restriction>
338
+ </xsd:simpleType>
339
+ <xsd:simpleType name="PassageTypeEnumeration">
340
+ <xsd:annotation>
341
+ <xsd:documentation>Enumeration of Passage Types.</xsd:documentation>
342
+ </xsd:annotation>
343
+ <xsd:restriction base="xsd:string">
344
+ <xsd:enumeration value="none"/>
345
+ <xsd:enumeration value="pathway"/>
346
+ <xsd:enumeration value="corridor"/>
347
+ <xsd:enumeration value="overpass"/>
348
+ <xsd:enumeration value="underpass"/>
349
+ <xsd:enumeration value="tunnel"/>
350
+ <xsd:enumeration value="other"/>
351
+ </xsd:restriction>
352
+ </xsd:simpleType>
353
+ <xsd:simpleType name="BoardingPositionTypeEnumeration">
354
+ <xsd:annotation>
355
+ <xsd:documentation>Enumeration of BOARDING POSITION Types.</xsd:documentation>
356
+ </xsd:annotation>
357
+ <xsd:restriction base="xsd:string">
358
+ <xsd:enumeration value="unknown"/>
359
+ <xsd:enumeration value="doorFromAirlineGate"/>
360
+ <xsd:enumeration value="positionOnRailPlatform"/>
361
+ <xsd:enumeration value="positionOnMetroPlatform"/>
362
+ <xsd:enumeration value="positionAtCoachStop"/>
363
+ <xsd:enumeration value="positionAtBusStop"/>
364
+ <xsd:enumeration value="boatGangway"/>
365
+ <xsd:enumeration value="ferryGangway"/>
366
+ <xsd:enumeration value="telecabinePlatform"/>
367
+ <xsd:enumeration value="telecabinePlatfrom">
368
+ <xsd:annotation>
369
+ <xsd:documentation>deprecated</xsd:documentation>
370
+ </xsd:annotation>
371
+ </xsd:enumeration>
372
+ <xsd:enumeration value="setDownPoint"/>
373
+ <xsd:enumeration value="taxiBay"/>
374
+ <xsd:enumeration value="other"/>
375
+ </xsd:restriction>
376
+ </xsd:simpleType>
377
+ <!-- ======================================================================= -->
378
+ <xsd:simpleType name="RelationToVehicleEnumeration">
379
+ <xsd:annotation>
380
+ <xsd:documentation>Enumeration of Relation to VEHICLE of STOPPING POSITION.</xsd:documentation>
381
+ </xsd:annotation>
382
+ <xsd:restriction base="xsd:string">
383
+ <xsd:enumeration value="frontLeft"/>
384
+ <xsd:enumeration value="frontRight"/>
385
+ <xsd:enumeration value="backRight"/>
386
+ <xsd:enumeration value="backRight"/>
387
+ <xsd:enumeration value="driverLeft"/>
388
+ <xsd:enumeration value="driverRight"/>
389
+ </xsd:restriction>
390
+ </xsd:simpleType>
391
+ <xsd:simpleType name="InterchangeWeightingEnumeration">
392
+ <xsd:annotation>
393
+ <xsd:documentation>Enumeration of Interchange Weighting.</xsd:documentation>
394
+ </xsd:annotation>
395
+ <xsd:restriction base="xsd:string">
396
+ <xsd:enumeration value="noInterchange"/>
397
+ <xsd:enumeration value="interchangeAllowed"/>
398
+ <xsd:enumeration value="recommendedInterchange"/>
399
+ <xsd:enumeration value="preferredInterchange"/>
400
+ </xsd:restriction>
401
+ </xsd:simpleType>
402
+ <!-- ======================================================================= -->
403
+ </xsd:schema>
@@ -0,0 +1,131 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2" id="ifopt_time">
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
+ <Coverage>Europe</Coverage>
9
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
10
+ <Date>
11
+ <Created>2006-08-12</Created>
12
+ </Date>
13
+ <Date>
14
+ <Modified>2006-09-22</Modified>
15
+ </Date>
16
+ <Description>
17
+ <p>Fixed Objects in Public Transport. This subschema defines. Time base types.</p>
18
+ </Description>
19
+ <Format>
20
+ <MediaType>text/xml</MediaType>
21
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
22
+ <Description>XML schema, W3C Recommendation 2001</Description>
23
+ </Format>
24
+ <Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_types.xsd</Identifier>
25
+ <Language>[ISO 639-2/B] ENG</Language>
26
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
27
+ <Rights><!--Unclassified-->
28
+ <Copyright>CEN, Crown Copyright 2006-2021</Copyright>
29
+ </Rights>
30
+ <Source>
31
+ <ul>
32
+ <li>Derived from the SIRI standards.</li>
33
+ </ul>
34
+ </Source>
35
+ <Status>Version 2.1</Status>
36
+ <Subject>
37
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
38
+ Air transport, Airports,
39
+ Ports and maritime transport, Ferries (marine),
40
+ Public transport, Bus services, Coach services, Bus stops and stations,
41
+ Rail transport, Railway stations and track, Train services, Underground trains,
42
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
43
+ Rail transport, Roads and road transport
44
+ </Category>
45
+ <Project>CEN TC278 WG3 SG6</Project>
46
+ </Subject>
47
+ <Title>IFOPT Fixed Objects in Public Transport - Time Base Types. </Title>
48
+ <Type>Standard</Type>
49
+ </Metadata>
50
+ </xsd:appinfo>
51
+ <xsd:documentation>Basic Time types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
52
+ </xsd:annotation>
53
+ <xsd:include schemaLocation="ifopt_types.xsd"/>
54
+ <!-- ======================================================================= -->
55
+ <!-- This structure is replicated from SIRI as some validators dont pic, up indirect extension-->
56
+ <xsd:complexType name="HalfOpenTimeRangeStructure">
57
+ <xsd:annotation>
58
+ <xsd:documentation>Type for a range of times. Start time must be specified, end time is optional.</xsd:documentation>
59
+ </xsd:annotation>
60
+ <xsd:sequence>
61
+ <xsd:element name="StartTime" type="xsd:time">
62
+ <xsd:annotation>
63
+ <xsd:documentation>The (inclusive) start time.</xsd:documentation>
64
+ </xsd:annotation>
65
+ </xsd:element>
66
+ <xsd:element name="EndTime" type="xsd:time" minOccurs="0">
67
+ <xsd:annotation>
68
+ <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as specifed by the EndTimeStatus</xsd:documentation>
69
+ </xsd:annotation>
70
+ </xsd:element>
71
+ </xsd:sequence>
72
+ </xsd:complexType>
73
+ <!-- ======================================================================= -->
74
+ <xsd:complexType name="ValidityConditionStructure">
75
+ <xsd:annotation>
76
+ <xsd:documentation>Type for a validity condition.</xsd:documentation>
77
+ </xsd:annotation>
78
+ <xsd:sequence>
79
+ <xsd:element name="FromDateTime" type="xsd:dateTime" minOccurs="0">
80
+ <xsd:annotation>
81
+ <xsd:documentation>The (inclusive) start date and time.</xsd:documentation>
82
+ </xsd:annotation>
83
+ </xsd:element>
84
+ <xsd:element name="ToDateTime" type="xsd:dateTime" minOccurs="0">
85
+ <xsd:annotation>
86
+ <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
87
+ </xsd:annotation>
88
+ </xsd:element>
89
+ <xsd:element name="DayType" type="xsd:NMTOKEN" minOccurs="0">
90
+ <xsd:annotation>
91
+ <xsd:documentation>Day type for which timeband applies. If absent all day types in context.</xsd:documentation>
92
+ </xsd:annotation>
93
+ </xsd:element>
94
+ <xsd:element name="Timebands" minOccurs="0" maxOccurs="unbounded">
95
+ <xsd:annotation>
96
+ <xsd:documentation>Any timebands which further qualify the validity condition.</xsd:documentation>
97
+ </xsd:annotation>
98
+ <xsd:complexType>
99
+ <xsd:sequence>
100
+ <xsd:element name="Timeband" type="TimebandStructure">
101
+ <xsd:annotation>
102
+ <xsd:documentation>Timeband during which element is available or in effect.</xsd:documentation>
103
+ </xsd:annotation>
104
+ </xsd:element>
105
+ </xsd:sequence>
106
+ </xsd:complexType>
107
+ </xsd:element>
108
+ </xsd:sequence>
109
+ </xsd:complexType>
110
+ <xsd:complexType name="TimebandStructure">
111
+ <xsd:annotation>
112
+ <xsd:documentation>Type for a timeband.</xsd:documentation>
113
+ </xsd:annotation>
114
+ <xsd:complexContent>
115
+ <xsd:extension base="HalfOpenTimeRangeStructure"/>
116
+ </xsd:complexContent>
117
+ </xsd:complexType>
118
+ <xsd:complexType name="ValidityConditionsStructure">
119
+ <xsd:annotation>
120
+ <xsd:documentation>A collection of one or more validity conditions.</xsd:documentation>
121
+ </xsd:annotation>
122
+ <xsd:sequence>
123
+ <xsd:element name="ValidityCondition" type="ValidityConditionStructure" maxOccurs="unbounded">
124
+ <xsd:annotation>
125
+ <xsd:documentation>Reference to the identifier of an administrative area.</xsd:documentation>
126
+ </xsd:annotation>
127
+ </xsd:element>
128
+ </xsd:sequence>
129
+ </xsd:complexType>
130
+ <!-- ====STOP POINTs========================================================= -->
131
+ </xsd:schema>
@@ -0,0 +1,96 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:core="http://www.govtalk.gov.uk/core" xmlns="http://www.ifopt.org.uk/ifopt" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2" id="ifopt_types">
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
+ <Coverage>Europe</Coverage>
9
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
10
+ <Date>
11
+ <Created>2006-08-12</Created>
12
+ </Date>
13
+ <Date>
14
+ <Modified>2006-09-22</Modified>
15
+ </Date>
16
+ <Date>
17
+ <Modified>2007-03-29</Modified>
18
+ </Date>
19
+ <Description>
20
+ <p>Fixed Objects in Public Transport. This subschema defines common base types.</p>
21
+ </Description>
22
+ <Format>
23
+ <MediaType>text/xml</MediaType>
24
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
25
+ <Description>XML schema, W3C Recommendation 2001</Description>
26
+ </Format>
27
+ <Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_types.xsd</Identifier>
28
+ <Language>[ISO 639-2/B] ENG</Language>
29
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
30
+ <Rights><!--Unclassified-->
31
+ <Copyright>CEN, Crown Copyright 2006-2021</Copyright>
32
+ </Rights>
33
+ <Source>
34
+ <ul>
35
+ <li>Derived from the SIRI standards.</li>
36
+ </ul>
37
+ </Source>
38
+ <Status>Version 2.1</Status>
39
+ <Subject>
40
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
41
+ Air transport, Airports,
42
+ Ports and maritime transport, Ferries (marine),
43
+ Public transport, Bus services, Coach services, Bus stops and stations,
44
+ Rail transport, Railway stations and track, Train services, Underground trains,
45
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
46
+ Rail transport, Roads and road transport
47
+ </Category>
48
+ <Project>CEN TC278 WG3 SG6</Project>
49
+ </Subject>
50
+ <Title>IFOPT Fixed Objects in Public Transport - Base Types. </Title>
51
+ <Type>Standard</Type>
52
+ </Metadata>
53
+ </xsd:appinfo>
54
+ <xsd:documentation>Basic types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
55
+ </xsd:annotation>
56
+ <!-- ======================================================================= -->
57
+ <xsd:element name="Extensions">
58
+ <xsd:annotation>
59
+ <xsd:documentation>Arbitrary extensions.</xsd:documentation>
60
+ </xsd:annotation>
61
+ <xsd:complexType>
62
+ <xsd:complexContent>
63
+ <xsd:extension base="xsd:anyType"/>
64
+ </xsd:complexContent>
65
+ </xsd:complexType>
66
+ </xsd:element>
67
+ <!-- ======================================================================= -->
68
+ <xsd:element name="InfoLink" type="InfoLinkStructure">
69
+ <xsd:annotation>
70
+ <xsd:documentation>Info Link .</xsd:documentation>
71
+ </xsd:annotation>
72
+ </xsd:element>
73
+ <xsd:complexType name="InfoLinkStructure">
74
+ <xsd:annotation>
75
+ <xsd:documentation>Type for Info Link.</xsd:documentation>
76
+ </xsd:annotation>
77
+ <xsd:simpleContent>
78
+ <xsd:extension base="xsd:anyURI"/>
79
+ </xsd:simpleContent>
80
+ </xsd:complexType>
81
+ <xsd:complexType name="InfoLinksStructure">
82
+ <xsd:annotation>
83
+ <xsd:documentation>Type for collection of info links.</xsd:documentation>
84
+ </xsd:annotation>
85
+ <xsd:sequence>
86
+ <xsd:element ref="InfoLink" maxOccurs="unbounded"/>
87
+ </xsd:sequence>
88
+ </xsd:complexType>
89
+ <!-- ======================================================================= -->
90
+ <xsd:simpleType name="Metres">
91
+ <xsd:annotation>
92
+ <xsd:documentation>Distance in metres.</xsd:documentation>
93
+ </xsd:annotation>
94
+ <xsd:restriction base="xsd:decimal"/>
95
+ </xsd:simpleType>
96
+ </xsd:schema>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SIRI Model - All SIRI Framwork packages
3
+ (C) Copyright CEN 2004-2021
4
+
5
+ -->
6
+ <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_all">
7
+ <!-- ======================================================================= -->
8
+ <xsd:include schemaLocation="siri_base.xsd"/>
9
+ <xsd:include schemaLocation="siri_common_services.xsd"/>
10
+ <xsd:include schemaLocation="siri_request_errorConditions.xsd"/>
11
+ <xsd:include schemaLocation="siri_requests.xsd"/>
12
+ </xsd:schema>