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,210 @@
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_requests">
3
+ <xsd:include schemaLocation="../siri_utility/siri_participant.xsd"/>
4
+ <xsd:annotation>
5
+ <xsd:appinfo>
6
+ <Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
7
+ <Aggregation>main schema</Aggregation>
8
+ <Audience>e-service developers</Audience>
9
+ <Contributor>CEN TC278 WG3 SG7 Team</Contributor>
10
+ <Coverage>Europe</Coverage>
11
+ <Creator>First drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
12
+ <Date>
13
+ <Created>2012-03-29</Created>
14
+ </Date>
15
+ <Date>
16
+ <Modified>2012-03-23</Modified>
17
+ <!-- SIRI v2.0
18
+ Add error number to Error structure
19
+ Factor our from siri_request packaged
20
+ Relax typing on NotifcationRef to be normalized string-->
21
+ </Date>
22
+ <Description>
23
+ <p>SIRI is a European CEN standard for the exchange of real-time information. This subschema defines common request processing identfiier types </p>
24
+ </Description>
25
+ <Format>
26
+ <MediaType>text/xml</MediaType>
27
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
28
+ <Description>XML schema, W3C Recommendation 2001</Description>
29
+ </Format>
30
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri/}siri_request_support.xsd</Identifier>
31
+ <Language>[ISO 639-2/B] ENG</Language>
32
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
33
+ <Relation>
34
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_types.xsd</Requires>
35
+ </Relation>
36
+ <Rights><!--Unclassified-->
37
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
38
+ </Rights>
39
+ <Source>
40
+ <ul>
41
+ <li>Derived from the SIRI 1.0 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 SG7</Project>
55
+ </Subject>
56
+ <Title>SIRI XML schema. Common Request identifier types </Title>
57
+ <Type>Standard</Type>
58
+ </Metadata>
59
+ </xsd:appinfo>
60
+ <xsd:documentation>SIRI Common Framework basic identifier types.</xsd:documentation>
61
+ </xsd:annotation>
62
+ <!-- ======================================================================= -->
63
+ <!-- ======================================================================= -->
64
+ <xsd:complexType name="MessageQualifierStructure">
65
+ <xsd:annotation>
66
+ <xsd:documentation>Unique identifier of a message within SIRI functional service type and participant.</xsd:documentation>
67
+ </xsd:annotation>
68
+ <xsd:simpleContent>
69
+ <xsd:extension base="xsd:normalizedString"/>
70
+ </xsd:simpleContent>
71
+ </xsd:complexType>
72
+ <xsd:complexType name="MessageRefStructure">
73
+ <xsd:annotation>
74
+ <xsd:documentation>Type for reference to a message.</xsd:documentation>
75
+ </xsd:annotation>
76
+ <xsd:simpleContent>
77
+ <xsd:extension base="MessageQualifierStructure"/>
78
+ </xsd:simpleContent>
79
+ </xsd:complexType>
80
+ <xsd:complexType name="SubscriptionQualifierStructure">
81
+ <xsd:annotation>
82
+ <xsd:documentation>Type for unique identifier of Subscription within Participant.</xsd:documentation>
83
+ </xsd:annotation>
84
+ <xsd:simpleContent>
85
+ <xsd:extension base="xsd:NMTOKEN"/>
86
+ </xsd:simpleContent>
87
+ </xsd:complexType>
88
+ <xsd:complexType name="SubscriptionRefStructure">
89
+ <xsd:annotation>
90
+ <xsd:documentation>Type for reference to a subscription.</xsd:documentation>
91
+ </xsd:annotation>
92
+ <xsd:simpleContent>
93
+ <xsd:extension base="SubscriptionQualifierStructure"/>
94
+ </xsd:simpleContent>
95
+ </xsd:complexType>
96
+ <xsd:complexType name="SubscriptionFilterStructure">
97
+ <xsd:annotation>
98
+ <xsd:documentation>Type for unique identifier of Subscription filter within Participant.</xsd:documentation>
99
+ </xsd:annotation>
100
+ <xsd:simpleContent>
101
+ <xsd:extension base="xsd:NMTOKEN"/>
102
+ </xsd:simpleContent>
103
+ </xsd:complexType>
104
+ <xsd:complexType name="SubscriptionFilterRefStructure">
105
+ <xsd:annotation>
106
+ <xsd:documentation>Type for unique identifier of Subscription filter within Participant.</xsd:documentation>
107
+ </xsd:annotation>
108
+ <xsd:simpleContent>
109
+ <xsd:extension base="xsd:NMTOKEN"/>
110
+ </xsd:simpleContent>
111
+ </xsd:complexType>
112
+ <!-- ======================================================================= -->
113
+ <xsd:element name="RequestTimestamp" type="xsd:dateTime">
114
+ <xsd:annotation>
115
+ <xsd:documentation>Timestamp on request.</xsd:documentation>
116
+ </xsd:annotation>
117
+ </xsd:element>
118
+ <xsd:element name="RequestorRef" type="ParticipantRefStructure">
119
+ <xsd:annotation>
120
+ <xsd:documentation>Reference to a requestor - Participant Code.</xsd:documentation>
121
+ </xsd:annotation>
122
+ </xsd:element>
123
+ <xsd:simpleType name="EndpointAddress">
124
+ <xsd:annotation>
125
+ <xsd:documentation>Type for a endpoint.</xsd:documentation>
126
+ </xsd:annotation>
127
+ <xsd:restriction base="xsd:anyURI"/>
128
+ </xsd:simpleType>
129
+ <xsd:element name="ResponseTimestamp" type="xsd:dateTime">
130
+ <xsd:annotation>
131
+ <xsd:documentation>Time individual response element was created.</xsd:documentation>
132
+ </xsd:annotation>
133
+ </xsd:element>
134
+ <!-- ============WSDL========================================================= -->
135
+ <xsd:simpleType name="ItemIdentifierType">
136
+ <xsd:annotation>
137
+ <xsd:documentation>Type for identifier of an Item. A transient reference for efficient handling of events.</xsd:documentation>
138
+ </xsd:annotation>
139
+ <xsd:restriction base="xsd:NMTOKEN"/>
140
+ </xsd:simpleType>
141
+ <xsd:complexType name="ItemRefStructure">
142
+ <xsd:annotation>
143
+ <xsd:documentation>Type for reference to an Item.</xsd:documentation>
144
+ </xsd:annotation>
145
+ <xsd:simpleContent>
146
+ <xsd:extension base="ItemIdentifierType"/>
147
+ </xsd:simpleContent>
148
+ </xsd:complexType>
149
+ <!-- ======================================================================= -->
150
+ <xsd:element name="IncludeTranslations" type="xsd:boolean" default="false">
151
+ <xsd:annotation>
152
+ <xsd:documentation>Whether additional translations of text names are to be included in elements. If 'false', then only one element should be returned. Default is 'false'.
153
+ Where multiple values are returned The first element returned will be used as the default value.</xsd:documentation>
154
+ </xsd:annotation>
155
+ </xsd:element>
156
+ <xsd:element name="IncludeInterchanges" type="xsd:boolean" default="true">
157
+ <xsd:annotation>
158
+ <xsd:documentation>Whether SERVICE JOURNEY INTERCHANGE data is to be transmitted or not. Default is 'true'. +SIRI v2.1</xsd:documentation>
159
+ </xsd:annotation>
160
+ </xsd:element>
161
+ <xsd:element name="IncludeJourneyRelations" type="xsd:boolean" default="true">
162
+ <xsd:annotation>
163
+ <xsd:documentation>Whether JOURNEY RELATION data is to be transmitted or not. Default is 'true'. +SIRI v2.1</xsd:documentation>
164
+ </xsd:annotation>
165
+ </xsd:element>
166
+ <xsd:element name="IncludeTrainFormations" type="xsd:boolean" default="true">
167
+ <xsd:annotation>
168
+ <xsd:documentation>Whether TRAIN (ELEMENT), COMPOUND TRAIN and TRAIN STOP ASSIGNMENT data is to be transmitted or not. Default is 'true'. +SIRI v2.1</xsd:documentation>
169
+ </xsd:annotation>
170
+ </xsd:element>
171
+ <!-- ======================================================================= -->
172
+ <xsd:complexType name="CapabilityRefStructure">
173
+ <xsd:annotation>
174
+ <xsd:documentation>Type for capability ref.</xsd:documentation>
175
+ </xsd:annotation>
176
+ <xsd:simpleContent>
177
+ <xsd:extension base="CapabilityCodeType"/>
178
+ </xsd:simpleContent>
179
+ </xsd:complexType>
180
+ <xsd:simpleType name="CapabilityCodeType">
181
+ <xsd:annotation>
182
+ <xsd:documentation>Type for capability code.</xsd:documentation>
183
+ </xsd:annotation>
184
+ <xsd:restriction base="xsd:NMTOKEN"/>
185
+ </xsd:simpleType>
186
+ <!-- ==== Enums =================================== -->
187
+ <xsd:simpleType name="CommunicationsTransportMethodEnumeration">
188
+ <xsd:annotation>
189
+ <xsd:documentation>Enumeration of communications transport method usage.</xsd:documentation>
190
+ </xsd:annotation>
191
+ <xsd:restriction base="xsd:NMTOKEN">
192
+ <xsd:enumeration value="httpPost"/>
193
+ <xsd:enumeration value="other"/>
194
+ <xsd:enumeration value="wsdlSoap"/>
195
+ <xsd:enumeration value="wsdlSoapDocumentLiteral"/>
196
+ <xsd:enumeration value="httpUrlJSON"/>
197
+ <xsd:enumeration value="httpUrlProtoBuffers"/>
198
+ </xsd:restriction>
199
+ </xsd:simpleType>
200
+ <xsd:simpleType name="CompressionMethodEnumeration">
201
+ <xsd:annotation>
202
+ <xsd:documentation>Enumeration of compression usage.</xsd:documentation>
203
+ </xsd:annotation>
204
+ <xsd:restriction base="xsd:NMTOKEN">
205
+ <xsd:enumeration value="gzip"/>
206
+ <xsd:enumeration value="none"/>
207
+ <xsd:enumeration value="other"/>
208
+ </xsd:restriction>
209
+ </xsd:simpleType>
210
+ </xsd:schema>