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,590 @@
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_request_errorConditions">
3
+ <xsd:include schemaLocation="../siri_utility/siri_types.xsd"/>
4
+ <xsd:include schemaLocation="siri_request_support.xsd"/>
5
+ <!-- ======================================================================= -->
6
+ <xsd:annotation>
7
+ <xsd:appinfo>
8
+ <Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
9
+ <Aggregation>main schema</Aggregation>
10
+ <Audience>e-service developers</Audience>
11
+ <Contributor>CEN TC278 WG3 SG7 Team</Contributor>
12
+ <Coverage>Europe</Coverage>
13
+ <Creator>First drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
14
+ <Date>
15
+ <Created>2012-03-24</Created>
16
+ <!-- Factored out of SIRI request -->
17
+ </Date>
18
+ <Date>
19
+ <Modified>2009-03-31</Modified>
20
+ <!-- Add errorConditionelement to enable WSDL axis binding -->
21
+ </Date>
22
+ <Date>
23
+ <Modified>2011-04-18</Modified>
24
+ <!-- ErrorConditionStructure Line 841 should not be abstract. Fix from RV ixxi.biz
25
+ Also Add ServiceConditionErrorConditionElement
26
+
27
+ Add new error conditions
28
+
29
+ UnknownParticipant Recipient for a message to be distributed is unknown. +SIRI v2.0
30
+ UnknownEndpoint Endpoint to which a message is to be distributed is unknown. +SIRI v2.0
31
+ EndpointDeniedAccess Distribution message could not be delivered because not authorised.. +SIRI v2.0
32
+ EndpointNotAvailable Recipient of a message to be distributed is not available. +SIRI v2.0
33
+ UnapprovedKey User authorisation Key is not enabled. +SIRI v2.0
34
+
35
+ InvalidDataReferences Request contains references to identifiers that are not known. +SIRI v2.0
36
+ ParametersIgnored Request contained parameters that were not supported by the producer. A response has been provided but some parameters have been ignored. +SIRI v2.0
37
+ UnknownExtensions Request contained extensions that were not supported bu the producer. A response has been provided but some or all extensions have been ignored.. +SIRI v2.0 -->
38
+ </Date>
39
+ <Date>
40
+ <Modified>2012-03-23</Modified>
41
+ <!-- SIRI v2.0
42
+ Add error number to Error structure
43
+ Factor our Permission model to separate package siri_permissions -->
44
+ </Date>
45
+ <Description>
46
+ <p>SIRI is a European CEN standard for the exchange of real-time information. This subschema defines common request error conditions </p>
47
+ </Description>
48
+ <Format>
49
+ <MediaType>text/xml</MediaType>
50
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
51
+ <Description>XML schema, W3C Recommendation 2001</Description>
52
+ </Format>
53
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri/}siri_requests_errorConditions.xsd</Identifier>
54
+ <Language>[ISO 639-2/B] ENG</Language>
55
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
56
+ <Relation>
57
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_uility/siri_types.xsd</Requires>
58
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_uility/siri_participant.xsd</Requires>
59
+ </Relation>
60
+ <Rights><!--Unclassified-->
61
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
62
+ </Rights>
63
+ <Source>
64
+ <ul>
65
+ <li>Derived from the VDV, RTIGXML and Trident standards.</li>
66
+ </ul>
67
+ </Source>
68
+ <Status>Version 2.1</Status>
69
+ <Subject>
70
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
71
+ Air transport, Airports,
72
+ Ports and maritime transport, Ferries (marine),
73
+ Public transport, Bus services, Coach services, Bus stops and stations,
74
+ Rail transport, Railway stations and track, Train services, Underground trains,
75
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
76
+ Rail transport, Roads and road transport
77
+ </Category>
78
+ <Project>CEN TC278 WG3 SG7</Project>
79
+ </Subject>
80
+ <Title>SIRI XML schema. Common Request Error Conditions </Title>
81
+ <Type>Standard</Type>
82
+ </Metadata>
83
+ </xsd:appinfo>
84
+ <xsd:documentation>SIRI Framework Error COnditions.</xsd:documentation>
85
+ </xsd:annotation>
86
+ <!-- ======================================================================= -->
87
+ <xsd:element name="ErrorCondition" type="ErrorConditionStructure">
88
+ <xsd:annotation>
89
+ <xsd:documentation>Description of error or warning condition associated with response.</xsd:documentation>
90
+ </xsd:annotation>
91
+ </xsd:element>
92
+ <xsd:complexType name="ErrorConditionStructure">
93
+ <xsd:annotation>
94
+ <xsd:documentation>Type for RequestErrorCondition.</xsd:documentation>
95
+ </xsd:annotation>
96
+ <xsd:sequence>
97
+ <xsd:choice>
98
+ <xsd:group ref="ApplicationErrorGroup"/>
99
+ </xsd:choice>
100
+ <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
101
+ <xsd:annotation>
102
+ <xsd:documentation>Text description of error.</xsd:documentation>
103
+ </xsd:annotation>
104
+ </xsd:element>
105
+ </xsd:sequence>
106
+ </xsd:complexType>
107
+ <xsd:group name="SuccessInfoGroup">
108
+ <xsd:annotation>
109
+ <xsd:documentation>Additional information provided if request is successful.</xsd:documentation>
110
+ </xsd:annotation>
111
+ <xsd:sequence>
112
+ <xsd:element name="ValidUntil" type="xsd:dateTime" minOccurs="0">
113
+ <xsd:annotation>
114
+ <xsd:documentation>End of data horizon of the data producer.</xsd:documentation>
115
+ </xsd:annotation>
116
+ </xsd:element>
117
+ <xsd:element name="ShortestPossibleCycle" type="PositiveDurationType" minOccurs="0">
118
+ <xsd:annotation>
119
+ <xsd:documentation>Minimum interval at which updates can be sent.</xsd:documentation>
120
+ </xsd:annotation>
121
+ </xsd:element>
122
+ </xsd:sequence>
123
+ </xsd:group>
124
+ <!-- ======================================================================= -->
125
+ <xsd:element name="ErrorConditionElement" type="ErrorConditionElementStructure" abstract="false">
126
+ <xsd:annotation>
127
+ <xsd:documentation>Element fror an erroc condition (for use in WSDL.)</xsd:documentation>
128
+ </xsd:annotation>
129
+ </xsd:element>
130
+ <xsd:complexType name="ErrorConditionElementStructure">
131
+ <xsd:annotation>
132
+ <xsd:documentation>Type for Standard ErrorConditions for Service request.</xsd:documentation>
133
+ </xsd:annotation>
134
+ <xsd:sequence>
135
+ <xsd:choice>
136
+ <xsd:group ref="ServiceRequestErrorGroup"/>
137
+ <xsd:element ref="UnknownSubscriptionError"/>
138
+ </xsd:choice>
139
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
140
+ <xsd:annotation>
141
+ <xsd:documentation>Text description of error.</xsd:documentation>
142
+ </xsd:annotation>
143
+ </xsd:element>
144
+ </xsd:sequence>
145
+ </xsd:complexType>
146
+ <xsd:complexType name="ErrorDescriptionStructure">
147
+ <xsd:annotation>
148
+ <xsd:documentation>Type for Description of an error.</xsd:documentation>
149
+ </xsd:annotation>
150
+ <xsd:simpleContent>
151
+ <xsd:extension base="xsd:string"/>
152
+ </xsd:simpleContent>
153
+ </xsd:complexType>
154
+ <!-- =======Error conditions========================================================== -->
155
+ <xsd:element name="ErrorCode" type="ErrorCodeStructure" abstract="true">
156
+ <xsd:annotation>
157
+ <xsd:documentation>Subsititutable type for a SIRI Error code.</xsd:documentation>
158
+ </xsd:annotation>
159
+ </xsd:element>
160
+ <xsd:complexType name="ErrorCodeStructure">
161
+ <xsd:annotation>
162
+ <xsd:documentation>Type for Error Code.</xsd:documentation>
163
+ </xsd:annotation>
164
+ <xsd:sequence>
165
+ <xsd:element name="ErrorText" type="xsd:string" minOccurs="0">
166
+ <xsd:annotation>
167
+ <xsd:documentation>Addtional Description of error. This allows a descripotion to be supplied when the Error code is used in a specific WSDL fault, rather than within a general error condition.</xsd:documentation>
168
+ </xsd:annotation>
169
+ </xsd:element>
170
+ </xsd:sequence>
171
+ <xsd:attribute name="number" type="xsd:integer">
172
+ <xsd:annotation>
173
+ <xsd:documentation>Error code number associated with error.</xsd:documentation>
174
+ </xsd:annotation>
175
+ </xsd:attribute>
176
+ </xsd:complexType>
177
+ <!-- ======================================================================= -->
178
+ <xsd:element name="ServiceDeliveryErrorConditionElement" type="ServiceDeliveryErrorConditionStructure" abstract="false">
179
+ <xsd:annotation>
180
+ <xsd:documentation>Element fror an erroc condition for use in WSDL.</xsd:documentation>
181
+ </xsd:annotation>
182
+ </xsd:element>
183
+ <xsd:complexType name="ServiceDeliveryErrorConditionStructure">
184
+ <xsd:annotation>
185
+ <xsd:documentation>Type for Standard ErrorConditiosn for Service request.</xsd:documentation>
186
+ </xsd:annotation>
187
+ <xsd:sequence>
188
+ <xsd:choice>
189
+ <xsd:group ref="ServiceRequestErrorGroup"/>
190
+ </xsd:choice>
191
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
192
+ <xsd:annotation>
193
+ <xsd:documentation>Text description of error.</xsd:documentation>
194
+ </xsd:annotation>
195
+ </xsd:element>
196
+ </xsd:sequence>
197
+ </xsd:complexType>
198
+ <xsd:group name="ServiceRequestErrorGroup">
199
+ <xsd:annotation>
200
+ <xsd:documentation>Errors that may arise in the execution of a request.</xsd:documentation>
201
+ </xsd:annotation>
202
+ <xsd:choice>
203
+ <xsd:group ref="DistributionErrorGroup"/>
204
+ <xsd:group ref="ApplicationErrorGroup"/>
205
+ </xsd:choice>
206
+ </xsd:group>
207
+ <!-- === DISTRIBUTION (+SIRI v2.0)================================================== -->
208
+ <xsd:group name="DistributionErrorGroup">
209
+ <xsd:annotation>
210
+ <xsd:documentation>Errors that may arise in the execution of a delegated distribution request. +SIRI v2.0</xsd:documentation>
211
+ </xsd:annotation>
212
+ <xsd:choice>
213
+ <xsd:element ref="UnapprovedKeyAccessError"/>
214
+ <xsd:element ref="UnknownParticipantError">
215
+ <xsd:annotation>
216
+ <xsd:documentation>Error: Recipient for a message to be distributed is unknown. I.e. delegatior is found, but +SIRI v2.0</xsd:documentation>
217
+ </xsd:annotation>
218
+ </xsd:element>
219
+ <xsd:element ref="UnknownEndpointError"/>
220
+ <xsd:element ref="EndpointDeniedAccessError"/>
221
+ <xsd:element ref="EndpointNotAvailableAccessError"/>
222
+ </xsd:choice>
223
+ </xsd:group>
224
+ <!-- ===Error: Unapproved Key Access ============================================= -->
225
+ <xsd:element name="UnapprovedKeyAccessError" type="UnapprovedKeyAccessStructure" substitutionGroup="ErrorCode">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Error:Recipient of a message to be distributed is not available. +SIRI v2.0</xsd:documentation>
228
+ </xsd:annotation>
229
+ </xsd:element>
230
+ <xsd:complexType name="UnapprovedKeyAccessStructure">
231
+ <xsd:annotation>
232
+ <xsd:documentation>Type for Error: UnapprovedKey +SIRI v2.0</xsd:documentation>
233
+ </xsd:annotation>
234
+ <xsd:complexContent>
235
+ <xsd:extension base="ErrorCodeStructure">
236
+ <xsd:sequence>
237
+ <xsd:element name="Key" type="xsd:normalizedString" minOccurs="0">
238
+ <xsd:annotation>
239
+ <xsd:documentation>User key.</xsd:documentation>
240
+ </xsd:annotation>
241
+ </xsd:element>
242
+ </xsd:sequence>
243
+ </xsd:extension>
244
+ </xsd:complexContent>
245
+ </xsd:complexType>
246
+ <!-- ===Error: Capability Not Supported============================================== -->
247
+ <xsd:element name="UnknownParticipantError" type="UnknownParticipantErrorStructure" substitutionGroup="ErrorCode">
248
+ <xsd:annotation>
249
+ <xsd:documentation>Error: Recipient for a message to be distributed is unknown. +SIRI v2.0</xsd:documentation>
250
+ </xsd:annotation>
251
+ </xsd:element>
252
+ <xsd:complexType name="UnknownParticipantErrorStructure">
253
+ <xsd:annotation>
254
+ <xsd:documentation>Type for Error: Unknown Participant. +SIRI v2.0</xsd:documentation>
255
+ </xsd:annotation>
256
+ <xsd:complexContent>
257
+ <xsd:extension base="ErrorCodeStructure">
258
+ <xsd:sequence>
259
+ <xsd:element name="ParticipantRef" type="ParticipantRefStructure" minOccurs="0">
260
+ <xsd:annotation>
261
+ <xsd:documentation>Reference to Participant who is unknown. + SIRI v2.0</xsd:documentation>
262
+ </xsd:annotation>
263
+ </xsd:element>
264
+ </xsd:sequence>
265
+ </xsd:extension>
266
+ </xsd:complexContent>
267
+ </xsd:complexType>
268
+ <!-- ===Error: Unknown Endpoint ============================================ -->
269
+ <xsd:element name="UnknownEndpointError" type="UnknownEndpointErrorStructure" substitutionGroup="ErrorCode">
270
+ <xsd:annotation>
271
+ <xsd:documentation>Error: Recipient for a message to be distributed is unknown. +SIRI v2.0</xsd:documentation>
272
+ </xsd:annotation>
273
+ </xsd:element>
274
+ <xsd:complexType name="UnknownEndpointErrorStructure">
275
+ <xsd:annotation>
276
+ <xsd:documentation>Type for Error: Unknown Endpoint +SIRI v2.0</xsd:documentation>
277
+ </xsd:annotation>
278
+ <xsd:complexContent>
279
+ <xsd:extension base="ErrorCodeStructure">
280
+ <xsd:sequence>
281
+ <xsd:element name="Endpoint" type="EndpointAddress" minOccurs="0">
282
+ <xsd:annotation>
283
+ <xsd:documentation>Endpoint that is noit known. + SIRI v2.0</xsd:documentation>
284
+ </xsd:annotation>
285
+ </xsd:element>
286
+ </xsd:sequence>
287
+ </xsd:extension>
288
+ </xsd:complexContent>
289
+ </xsd:complexType>
290
+ <!-- ===Error: Endpoint Denied Access ============================================= -->
291
+ <xsd:element name="EndpointDeniedAccessError" type="EndpointDeniedAccessStructure" substitutionGroup="ErrorCode">
292
+ <xsd:annotation>
293
+ <xsd:documentation>Error:Endpoint to which a message is to be distributed did not allow access by the cloient. +SIRI v2.0</xsd:documentation>
294
+ </xsd:annotation>
295
+ </xsd:element>
296
+ <xsd:complexType name="EndpointDeniedAccessStructure">
297
+ <xsd:annotation>
298
+ <xsd:documentation>Type for Error: EndpointDeniedAccess +SIRI v2.0</xsd:documentation>
299
+ </xsd:annotation>
300
+ <xsd:complexContent>
301
+ <xsd:extension base="ErrorCodeStructure">
302
+ <xsd:sequence>
303
+ <xsd:element name="Endpoint" type="EndpointAddress" minOccurs="0">
304
+ <xsd:annotation>
305
+ <xsd:documentation>Endpoint that was denied access + SIRI v2.0</xsd:documentation>
306
+ </xsd:annotation>
307
+ </xsd:element>
308
+ </xsd:sequence>
309
+ </xsd:extension>
310
+ </xsd:complexContent>
311
+ </xsd:complexType>
312
+ <!-- ===Error: Endpoint Not Available============================================= -->
313
+ <xsd:element name="EndpointNotAvailableAccessError" type="EndpointNotAvailableAccessStructure" substitutionGroup="ErrorCode">
314
+ <xsd:annotation>
315
+ <xsd:documentation>Error:Recipient of a message to be distributed is not available. +SIRI v2.0</xsd:documentation>
316
+ </xsd:annotation>
317
+ </xsd:element>
318
+ <xsd:complexType name="EndpointNotAvailableAccessStructure">
319
+ <xsd:annotation>
320
+ <xsd:documentation>Type for Error: EndpointNotAvailable +SIRI v2.0</xsd:documentation>
321
+ </xsd:annotation>
322
+ <xsd:complexContent>
323
+ <xsd:extension base="ErrorCodeStructure">
324
+ <xsd:sequence>
325
+ <xsd:element name="Endpoint" type="EndpointAddress" minOccurs="0">
326
+ <xsd:annotation>
327
+ <xsd:documentation>Endpoint that is noit available. + SIRI v2.0</xsd:documentation>
328
+ </xsd:annotation>
329
+ </xsd:element>
330
+ </xsd:sequence>
331
+ </xsd:extension>
332
+ </xsd:complexContent>
333
+ </xsd:complexType>
334
+ <!-- ===APPLICATION================================================== -->
335
+ <!-- ===== ============================================ -->
336
+ <xsd:group name="ApplicationErrorGroup">
337
+ <xsd:annotation>
338
+ <xsd:documentation>Errors that may arise in the execution of a request.</xsd:documentation>
339
+ </xsd:annotation>
340
+ <xsd:choice>
341
+ <xsd:element ref="ServiceNotAvailableError"/>
342
+ <xsd:element ref="CapabilityNotSupportedError"/>
343
+ <xsd:element ref="AccessNotAllowedError"/>
344
+ <xsd:element ref="InvalidDataReferencesError"/>
345
+ <xsd:element ref="BeyondDataHorizon">
346
+ <xsd:annotation>
347
+ <xsd:documentation>Error: Data period or subscription period is outside of period covered by service. +SIRI v2.0.</xsd:documentation>
348
+ </xsd:annotation>
349
+ </xsd:element>
350
+ <xsd:element ref="NoInfoForTopicError"/>
351
+ <xsd:element ref="ParametersIgnoredError"/>
352
+ <xsd:element ref="UnknownExtensionsError">
353
+ <xsd:annotation>
354
+ <xsd:documentation>Error: Request contained extensions that were not supported by the producer. A response has been provided but some or all extensions have been ignored. +SIRI v2.0.</xsd:documentation>
355
+ </xsd:annotation>
356
+ </xsd:element>
357
+ <xsd:element ref="AllowedResourceUsageExceededError"/>
358
+ <xsd:element ref="OtherError"/>
359
+ </xsd:choice>
360
+ </xsd:group>
361
+ <!-- ===Error: Service Not Available ============================================= -->
362
+ <xsd:element name="ServiceNotAvailableError" type="ServiceNotAvailableErrorStructure" substitutionGroup="ErrorCode">
363
+ <xsd:annotation>
364
+ <xsd:documentation>Error: Functional service is not available to use (but it is still capable of giving this response).</xsd:documentation>
365
+ </xsd:annotation>
366
+ </xsd:element>
367
+ <xsd:complexType name="ServiceNotAvailableErrorStructure">
368
+ <xsd:annotation>
369
+ <xsd:documentation>Type for Service Not Available error.</xsd:documentation>
370
+ </xsd:annotation>
371
+ <xsd:complexContent>
372
+ <xsd:extension base="ErrorCodeStructure">
373
+ <xsd:sequence>
374
+ <xsd:element name="ExpectedRestartTime" type="xsd:dateTime" minOccurs="0">
375
+ <xsd:annotation>
376
+ <xsd:documentation>Expected time fro reavailability of servcie. +SIRI v2.0</xsd:documentation>
377
+ </xsd:annotation>
378
+ </xsd:element>
379
+ </xsd:sequence>
380
+ </xsd:extension>
381
+ </xsd:complexContent>
382
+ </xsd:complexType>
383
+ <!-- ===Error: Capability Not Supported============================================== -->
384
+ <xsd:element name="CapabilityNotSupportedError" type="CapabilityNotSupportedErrorStructure" substitutionGroup="ErrorCode">
385
+ <xsd:annotation>
386
+ <xsd:documentation>Error: Service does not support the requested capability.</xsd:documentation>
387
+ </xsd:annotation>
388
+ </xsd:element>
389
+ <xsd:complexType name="CapabilityNotSupportedErrorStructure">
390
+ <xsd:annotation>
391
+ <xsd:documentation>Type for Error: Service does not support requested capability.</xsd:documentation>
392
+ </xsd:annotation>
393
+ <xsd:complexContent>
394
+ <xsd:extension base="ErrorCodeStructure">
395
+ <xsd:sequence>
396
+ <xsd:element name="CapabilityRef" type="CapabilityCodeType" minOccurs="0">
397
+ <xsd:annotation>
398
+ <xsd:documentation>Id of capabiliuty that is noit supported.</xsd:documentation>
399
+ </xsd:annotation>
400
+ </xsd:element>
401
+ </xsd:sequence>
402
+ </xsd:extension>
403
+ </xsd:complexContent>
404
+ </xsd:complexType>
405
+ <!-- ===Error: Beyond Data Horizon ============================================== -->
406
+ <xsd:element name="BeyondDataHorizon" type="BeyondDataHorizonErrorStructure" substitutionGroup="ErrorCode">
407
+ <xsd:annotation>
408
+ <xsd:documentation>Error: Data period or subscription period is outside of period covered by service.</xsd:documentation>
409
+ </xsd:annotation>
410
+ </xsd:element>
411
+ <xsd:complexType name="BeyondDataHorizonErrorStructure">
412
+ <xsd:annotation>
413
+ <xsd:documentation>Type for error.</xsd:documentation>
414
+ </xsd:annotation>
415
+ <xsd:complexContent>
416
+ <xsd:extension base="ErrorCodeStructure"/>
417
+ </xsd:complexContent>
418
+ </xsd:complexType>
419
+ <!-- ===== AUTHORISATION========================================= -->
420
+ <!-- ===Error: Access not allowed ============================================= -->
421
+ <xsd:element name="AccessNotAllowedError" type="AccessNotAllowedErrorStructure" substitutionGroup="ErrorCode">
422
+ <xsd:annotation>
423
+ <xsd:documentation>Error: Requestor is not authorised to the service or data requested.</xsd:documentation>
424
+ </xsd:annotation>
425
+ </xsd:element>
426
+ <xsd:complexType name="AccessNotAllowedErrorStructure">
427
+ <xsd:annotation>
428
+ <xsd:documentation>Type forError:Access Not Allowed.</xsd:documentation>
429
+ </xsd:annotation>
430
+ <xsd:complexContent>
431
+ <xsd:extension base="ErrorCodeStructure"/>
432
+ </xsd:complexContent>
433
+ </xsd:complexType>
434
+ <!-- ===Error: No Info for Topic================================================= -->
435
+ <xsd:element name="NoInfoForTopicError" type="NoInfoForTopicErrorStructure" substitutionGroup="ErrorCode">
436
+ <xsd:annotation>
437
+ <xsd:documentation>Error: Valid request was made but service does not hold any data for the requested topic. expression.</xsd:documentation>
438
+ </xsd:annotation>
439
+ </xsd:element>
440
+ <xsd:complexType name="NoInfoForTopicErrorStructure">
441
+ <xsd:annotation>
442
+ <xsd:documentation>Type for Error: No Info for Topic</xsd:documentation>
443
+ </xsd:annotation>
444
+ <xsd:complexContent>
445
+ <xsd:extension base="ErrorCodeStructure"/>
446
+ </xsd:complexContent>
447
+ </xsd:complexType>
448
+ <!-- ===Error: Invalid Data References ======================================= -->
449
+ <xsd:element name="InvalidDataReferencesError" type="InvalidDataReferencesErrorStructure" substitutionGroup="ErrorCode">
450
+ <xsd:annotation>
451
+ <xsd:documentation>Error: Request contains references to identifiers that are not known. +SIRI v2.0.</xsd:documentation>
452
+ </xsd:annotation>
453
+ </xsd:element>
454
+ <xsd:complexType name="InvalidDataReferencesErrorStructure">
455
+ <xsd:annotation>
456
+ <xsd:documentation>Type for InvalidDataReferencesError:. +SIRI v2.0.</xsd:documentation>
457
+ </xsd:annotation>
458
+ <xsd:complexContent>
459
+ <xsd:extension base="ErrorCodeStructure">
460
+ <xsd:sequence>
461
+ <xsd:element name="InvalidRef" type="xsd:NMTOKEN" minOccurs="0" maxOccurs="unbounded">
462
+ <xsd:annotation>
463
+ <xsd:documentation>Invalid reference values encoountered.</xsd:documentation>
464
+ </xsd:annotation>
465
+ </xsd:element>
466
+ </xsd:sequence>
467
+ </xsd:extension>
468
+ </xsd:complexContent>
469
+ </xsd:complexType>
470
+ <!-- ===Error: Invalid Data References ======================================= -->
471
+ <xsd:element name="ParametersIgnoredError" type="ParametersIgnoredErrorStructure" substitutionGroup="ErrorCode">
472
+ <xsd:annotation>
473
+ <xsd:documentation>Error: Request contained parameters that were not supported by the producer. A response has been provided but some parameters have been ignored. +SIRI v2.0.</xsd:documentation>
474
+ </xsd:annotation>
475
+ </xsd:element>
476
+ <xsd:complexType name="ParametersIgnoredErrorStructure">
477
+ <xsd:annotation>
478
+ <xsd:documentation>Type for Parameters Ignored Error:. +SIRI v2.0.</xsd:documentation>
479
+ </xsd:annotation>
480
+ <xsd:complexContent>
481
+ <xsd:extension base="ErrorCodeStructure">
482
+ <xsd:sequence>
483
+ <xsd:element name="ParameterName" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
484
+ <xsd:annotation>
485
+ <xsd:documentation>Name of the unsupported parameter.</xsd:documentation>
486
+ </xsd:annotation>
487
+ </xsd:element>
488
+ </xsd:sequence>
489
+ </xsd:extension>
490
+ </xsd:complexContent>
491
+ </xsd:complexType>
492
+ <!-- ===Error: Unknown Extensions======================================= -->
493
+ <xsd:element name="UnknownExtensionsError" type="UnknownExtensionsErrorStructure" substitutionGroup="ErrorCode">
494
+ <xsd:annotation>
495
+ <xsd:documentation>Error: Request contained extensions that were not supported by the producer. A response has been provided but some or all extensions have been ignored.. +SIRI v2.0.</xsd:documentation>
496
+ </xsd:annotation>
497
+ </xsd:element>
498
+ <xsd:complexType name="UnknownExtensionsErrorStructure">
499
+ <xsd:annotation>
500
+ <xsd:documentation>Type for Unknown Extensions Error:. +SIRI v2.0.</xsd:documentation>
501
+ </xsd:annotation>
502
+ <xsd:complexContent>
503
+ <xsd:extension base="ErrorCodeStructure">
504
+ <xsd:sequence>
505
+ <xsd:element name="ExtensionName" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
506
+ <xsd:annotation>
507
+ <xsd:documentation>Name of the unknown encountered extensions.</xsd:documentation>
508
+ </xsd:annotation>
509
+ </xsd:element>
510
+ </xsd:sequence>
511
+ </xsd:extension>
512
+ </xsd:complexContent>
513
+ </xsd:complexType>
514
+ <!-- ===Error: Allowed Resource Usage Exceeded ============================================= -->
515
+ <xsd:element name="AllowedResourceUsageExceededError" type="AllowedResourceUsageExceededErrorStructure" substitutionGroup="ErrorCode">
516
+ <xsd:annotation>
517
+ <xsd:documentation>Error: Valid request was made but request would exceed the permitted resource usage of the client.</xsd:documentation>
518
+ </xsd:annotation>
519
+ </xsd:element>
520
+ <xsd:complexType name="AllowedResourceUsageExceededErrorStructure">
521
+ <xsd:annotation>
522
+ <xsd:documentation>Type for error. AllowedResourceUsageExceeded.</xsd:documentation>
523
+ </xsd:annotation>
524
+ <xsd:complexContent>
525
+ <xsd:extension base="ErrorCodeStructure"/>
526
+ </xsd:complexContent>
527
+ </xsd:complexType>
528
+ <!-- ======================================================================= -->
529
+ <!-- ==== SUBSCRIPTION ERRORS=========================================== -->
530
+ <!-- ===Error: Unknown Subscriber ============================================= -->
531
+ <xsd:element name="UnknownSubscriberError" type="UnknownSubscriberErrorStructure" substitutionGroup="ErrorCode">
532
+ <xsd:annotation>
533
+ <xsd:documentation>Error: Subscriber not found.</xsd:documentation>
534
+ </xsd:annotation>
535
+ </xsd:element>
536
+ <xsd:complexType name="UnknownSubscriberErrorStructure">
537
+ <xsd:annotation>
538
+ <xsd:documentation>Type for Error: Subscriber not found.</xsd:documentation>
539
+ </xsd:annotation>
540
+ <xsd:complexContent>
541
+ <xsd:extension base="ErrorCodeStructure">
542
+ <xsd:sequence>
543
+ <xsd:element name="SubscriberRef" type="ParticipantRefStructure" minOccurs="0">
544
+ <xsd:annotation>
545
+ <xsd:documentation>Id of capabiliuty that is noit supported. + SIRI v2.0</xsd:documentation>
546
+ </xsd:annotation>
547
+ </xsd:element>
548
+ </xsd:sequence>
549
+ </xsd:extension>
550
+ </xsd:complexContent>
551
+ </xsd:complexType>
552
+ <!-- ======================================================================= -->
553
+ <!-- ===Error: Unknown Subscription ============================================= -->
554
+ <xsd:element name="UnknownSubscriptionError" type="UnknownSubscriptionErrorStructure" substitutionGroup="ErrorCode">
555
+ <xsd:annotation>
556
+ <xsd:documentation>Error: Subscription not found.</xsd:documentation>
557
+ </xsd:annotation>
558
+ </xsd:element>
559
+ <xsd:complexType name="UnknownSubscriptionErrorStructure">
560
+ <xsd:annotation>
561
+ <xsd:documentation>Type for Error: Subscription not found.</xsd:documentation>
562
+ </xsd:annotation>
563
+ <xsd:complexContent>
564
+ <xsd:extension base="ErrorCodeStructure">
565
+ <xsd:sequence>
566
+ <xsd:element name="SubscriptionCode" type="SubscriptionQualifierStructure" minOccurs="0">
567
+ <xsd:annotation>
568
+ <xsd:documentation>Ubscription code that could not be found. + SIRI v2.0</xsd:documentation>
569
+ </xsd:annotation>
570
+ </xsd:element>
571
+ </xsd:sequence>
572
+ </xsd:extension>
573
+ </xsd:complexContent>
574
+ </xsd:complexType>
575
+ <!-- ===Error: Other Error ============================================= -->
576
+ <xsd:element name="OtherError" type="OtherErrorStructure" substitutionGroup="ErrorCode">
577
+ <xsd:annotation>
578
+ <xsd:documentation>Error: Error type other than the well defined codes.</xsd:documentation>
579
+ </xsd:annotation>
580
+ </xsd:element>
581
+ <xsd:complexType name="OtherErrorStructure">
582
+ <xsd:annotation>
583
+ <xsd:documentation>Type for error.</xsd:documentation>
584
+ </xsd:annotation>
585
+ <xsd:complexContent>
586
+ <xsd:extension base="ErrorCodeStructure"/>
587
+ </xsd:complexContent>
588
+ </xsd:complexType>
589
+ <!-- ======================================================================= -->
590
+ </xsd:schema>