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,785 @@
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" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" xmlns:acsb="http://www.ifopt.org.uk/acsb" xmlns:D2LogicalModel="http://datex2.eu/schema/2_0RC1/2_0" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_SituationExchange_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
+ <Coverage>Europe</Coverage>
10
+ <Creator>Drafted for version 1.1 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk
11
+ Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk
12
+ </Creator>
13
+ <Date>
14
+ <Created>2008-01-22</Created>
15
+ </Date>
16
+ <Date>
17
+ <Modified>2008-01-22</Modified>
18
+ </Date>
19
+ <Date>
20
+ <Modified>2009-04-17</Modified>
21
+ <!-- Name Space changes -->
22
+ </Date>
23
+ <Date>
24
+ <Modified>2008-01-17</Modified>
25
+ <!-- IFOPT and Datex2 compatibility changes -->
26
+ </Date>
27
+ <Date>
28
+ <Modified>2008-07-05</Modified>
29
+ <!-- Allow zero sized SITUATIONs -->
30
+ </Date>
31
+ <Date>
32
+ <Modified>2008-10-01</Modified>
33
+ <!-- Add StatusFilterGroup to SIRI-SX request with Verification, Progerss and Reality
34
+ Change caridinality on LineRef and CONNECTION link filters to allow many rather than just one.
35
+ Corret predictability filter values to be an enum.
36
+ Add a place and Road filter. -->
37
+ </Date>
38
+ <Date>
39
+ <Modified>2008-11-17</Modified>
40
+ <!-- Revise to support substitution groups -->
41
+ </Date>
42
+ <Date>
43
+ <Modified>2012-03-23</Modified>
44
+ <!-- +SIRI v2.0
45
+ - Update to DatexII V2.0
46
+ - [FR] Add Extensions tag to SituationExchangeSubscriptionRequest -->
47
+ </Date>
48
+ <Date>
49
+ <Modified>2013-10-09</Modified>
50
+ <!-- - [VDV] Change caridinality on StopPointRef filter to allow many rather than just one.
51
+ - [FR] Add Extensions tag to SituationExchangeSubscriptionRequest -->
52
+ </Date>
53
+ <Date>
54
+ <Modified>2014-06-20</Modified>
55
+ <!--
56
+ * [de] Add temporal filter to request in siri_situationExchange_service.xsd.
57
+ * [de] Add IncludeOnly-IfInPublicationWindow to situation request temporal filter (siri_situationExchange_service.xsd).
58
+ * [doc/fx] Correct capability Matrix (siri_situationExchange_service.xsd).
59
+ * [fx] StopPlaceFilterGroup: add missing component ref and facility that was in doc but missing from schema -->
60
+ </Date>
61
+ <Date>
62
+ <Modified>2018-11-13</Modified>
63
+ <!-- [vdv-UmS] SituationExchangeServiceCapabilitiesStructure.TopicFiltering "FilterByKeword" changed to "FilterByKeyword" according to recommendation.-->
64
+ </Date>
65
+ <Description>
66
+ <p>SIRI is a European CEN standard for the exchange of Public Transport real-time information.</p>
67
+ <p>This sub-schema describes the Situation Exchange Service.</p>
68
+ </Description>
69
+ <Format>
70
+ <MediaType>text/xml</MediaType>
71
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
72
+ <Description>XML schema, W3C Recommendation 2001</Description>
73
+ </Format>
74
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/}siri_SituationExchange_service.xsd</Identifier>
75
+ <Language>[ISO 639-2/B] ENG</Language>
76
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
77
+ <Relation>
78
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
79
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_situation.xsd</Requires>
80
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_modelPermissions.xsd</Requires>
81
+ </Relation>
82
+ <Rights><!--Unclassified-->
83
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
84
+ </Rights>
85
+ <Source>
86
+ <ul>
87
+ <li>Derived from the VDV, RTIG XML and Trident standards.</li>
88
+ <li> categories from TPEG</li>
89
+ </ul>
90
+ </Source>
91
+ <Status>Version 2.1</Status>
92
+ <Subject>
93
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
94
+ Air transport, Airports,
95
+ Ports and maritime transport, Ferries (marine),
96
+ Public transport, Bus services, Coach services, Bus stops and stations,
97
+ Rail transport, Railway stations and track, Train services, Underground trains,
98
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
99
+ Rail transport, Roads and road transport
100
+ </Category>
101
+ <Project>CEN TC278 WG3 SG7</Project>
102
+ </Subject>
103
+ <Title>SIRI-SX XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Situation Exchange Service Subschema </Title>
104
+ <Type>Standard</Type>
105
+ </Metadata>
106
+ </xsd:appinfo>
107
+ <xsd:documentation>SIRI-SX Situation Exchange Service.</xsd:documentation>
108
+ </xsd:annotation>
109
+ <!-- ======================================================================= -->
110
+ <!-- ===Global import of all IFOPT namespace elements used in SIRI neeeded to work around XERCES limitation=====-->
111
+ <xsd:import namespace="http://www.ifopt.org.uk/ifopt" schemaLocation="ifopt/ifopt_allStopPlace.xsd"/>
112
+ <!--.....See SITUATION for the actual dependencies...-->
113
+ <!-- ===Global import of all ACSB namespace elements needed to work around XERCES limitation=====-->
114
+ <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="acsb/acsb_all.xsd"/>
115
+ <!--.....These are the actual dependencies...-->
116
+ <!-- ======================================================================= -->
117
+ <xsd:include schemaLocation="siri/siri_requests.xsd"/>
118
+ <xsd:include schemaLocation="siri_model/siri_situation.xsd"/>
119
+ <xsd:include schemaLocation="siri_model/siri_modelPermissions.xsd"/>
120
+ <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="acsb/acsb_passengerMobility.xsd"/>
121
+ <xsd:import namespace="http://datex2.eu/schema/2_0RC1/2_0" schemaLocation="datex2/DATEXIISchema.xsd"/>
122
+ <!-- ======================================================================= -->
123
+ <xsd:group name="SiriSituationExchangeServiceIndexGroup">
124
+ <xsd:annotation>
125
+ <xsd:documentation>Convenience artifact to pick out main elements of the Situation Exchange Service.</xsd:documentation>
126
+ </xsd:annotation>
127
+ <xsd:sequence>
128
+ <xsd:element ref="SituationExchangeRequest"/>
129
+ <xsd:element ref="SituationExchangeSubscriptionRequest"/>
130
+ <xsd:element ref="SituationExchangeDelivery"/>
131
+ <xsd:sequence>
132
+ <xsd:element ref="SituationExchangeCapabilitiesRequest"/>
133
+ <xsd:element ref="SituationExchangeCapabilitiesResponse"/>
134
+ </xsd:sequence>
135
+ </xsd:sequence>
136
+ </xsd:group>
137
+ <!-- ====REQUESTS ====================================================== -->
138
+ <!-- ==== FS: Situation Exchnage Request ================================================== -->
139
+ <xsd:element name="SituationExchangeRequest" type="SituationExchangeRequestStructure" substitutionGroup="AbstractFunctionalServiceRequest">
140
+ <xsd:annotation>
141
+ <xsd:documentation>Request for information about Facilities status.</xsd:documentation>
142
+ </xsd:annotation>
143
+ </xsd:element>
144
+ <xsd:complexType name="SituationExchangeRequestStructure">
145
+ <xsd:annotation>
146
+ <xsd:documentation>Type for Functional Service Request for Situation Exchange Service.</xsd:documentation>
147
+ </xsd:annotation>
148
+ <xsd:complexContent>
149
+ <xsd:extension base="AbstractFunctionalServiceRequestStructure">
150
+ <xsd:sequence>
151
+ <xsd:group ref="SituationExchangeTopicGroup"/>
152
+ <xsd:group ref="SituationExchangeRequestPolicyGroup"/>
153
+ <xsd:element ref="Extensions" minOccurs="0"/>
154
+ </xsd:sequence>
155
+ <xsd:attribute name="version" type="VersionString" default="2.1">
156
+ <xsd:annotation>
157
+ <xsd:documentation>Version number of request. Fixed
158
+ </xsd:documentation>
159
+ </xsd:annotation>
160
+ </xsd:attribute>
161
+ </xsd:extension>
162
+ </xsd:complexContent>
163
+ </xsd:complexType>
164
+ <xsd:group name="SituationExchangeTopicGroup">
165
+ <xsd:annotation>
166
+ <xsd:documentation>Parameters that specify the content to be returned. Logically ANDed with other values.</xsd:documentation>
167
+ </xsd:annotation>
168
+ <xsd:sequence>
169
+ <xsd:group ref="TemporalSubscriptionGroup">
170
+ <xsd:annotation>
171
+ <xsd:documentation>Parameters to control time for which subscription applies.</xsd:documentation>
172
+ </xsd:annotation>
173
+ </xsd:group>
174
+ <xsd:group ref="TemporalContentFilterGroup">
175
+ <xsd:annotation>
176
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the time. Logically ANDed with other values. </xsd:documentation>
177
+ </xsd:annotation>
178
+ </xsd:group>
179
+ <xsd:group ref="AffectedModeGroup"/>
180
+ <xsd:group ref="SituationClassifierFilterGroup"/>
181
+ <xsd:group ref="SituationStatusFilterGroup"/>
182
+ <xsd:group ref="SituationNetworkFilterGroup" minOccurs="0"/>
183
+ <xsd:group ref="SituationStopPlaceFilterGroup"/>
184
+ <xsd:group ref="SituationJourneyFilterGroup"/>
185
+ <xsd:group ref="SituationPlaceFilterGroup"/>
186
+ <xsd:element name="SituationRoadFilter" minOccurs="0">
187
+ <xsd:annotation>
188
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Road. Logically ANDed with other values.</xsd:documentation>
189
+ </xsd:annotation>
190
+ <xsd:complexType>
191
+ <xsd:sequence>
192
+ <xsd:element name="RoadFilter" type="RoadFilterStructure" maxOccurs="unbounded"/>
193
+ </xsd:sequence>
194
+ </xsd:complexType>
195
+ </xsd:element>
196
+ <xsd:element name="AccessibilityNeedFilter" type="acsb:PassengerAccessibilityNeedsStructure" minOccurs="0" maxOccurs="unbounded">
197
+ <xsd:annotation>
198
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on specific needs .</xsd:documentation>
199
+ </xsd:annotation>
200
+ </xsd:element>
201
+ </xsd:sequence>
202
+ </xsd:group>
203
+ <xsd:group name="TemporalSubscriptionGroup">
204
+ <xsd:annotation>
205
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Status. Logically ANDed with other values.</xsd:documentation>
206
+ </xsd:annotation>
207
+ <xsd:sequence>
208
+ <xsd:element name="PreviewInterval" type="PositiveDurationType" minOccurs="0">
209
+ <xsd:annotation>
210
+ <xsd:documentation>Forward duration for which SITUATIONs should be included, that is, only SITUATIONs that start before the end of this window time will be included.</xsd:documentation>
211
+ </xsd:annotation>
212
+ </xsd:element>
213
+ <xsd:element name="StartTime" type="xsd:dateTime" minOccurs="0">
214
+ <xsd:annotation>
215
+ <xsd:documentation>Start time for selecting SITUATIONs to be sent. Only SITUATIONs or updates created after this time will be sent. This enables a restart without resending everything.</xsd:documentation>
216
+ </xsd:annotation>
217
+ </xsd:element>
218
+ </xsd:sequence>
219
+ </xsd:group>
220
+ <xsd:group name="TemporalContentFilterGroup">
221
+ <xsd:annotation>
222
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Status. Logically ANDed with other values.</xsd:documentation>
223
+ </xsd:annotation>
224
+ <xsd:sequence>
225
+ <xsd:element name="ValidityPeriod" type="HalfOpenTimestampInputRangeStructure" minOccurs="0">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Temporal scope of Situations be included in response. The Situations must be valid within the specified period of time. (+SIRI 2.0)</xsd:documentation>
228
+ </xsd:annotation>
229
+ </xsd:element>
230
+ <xsd:element name="IncludeOnlyIfInPublicationWindow" type="xsd:boolean" default="false" minOccurs="0">
231
+ <xsd:annotation>
232
+ <xsd:documentation>Only incidents that are currently within their publication window shouldbe included. Otherwose all incidents will be included. Default is false</xsd:documentation>
233
+ </xsd:annotation>
234
+ </xsd:element>
235
+ </xsd:sequence>
236
+ </xsd:group>
237
+ <xsd:group name="SituationStatusFilterGroup">
238
+ <xsd:annotation>
239
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Status. Logically ANDed with other values.</xsd:documentation>
240
+ </xsd:annotation>
241
+ <xsd:sequence>
242
+ <xsd:element name="Verification" type="VerificationStatusEnumeration" minOccurs="0">
243
+ <xsd:annotation>
244
+ <xsd:documentation>Whether incident has been verified or not If not specified return all.</xsd:documentation>
245
+ </xsd:annotation>
246
+ </xsd:element>
247
+ <xsd:element name="Progress" type="WorkflowStatusEnumeration" default="open" minOccurs="0" maxOccurs="unbounded">
248
+ <xsd:annotation>
249
+ <xsd:documentation>Workflow Progress Status. One of a specified set of overall processing states assigned to SITUATION. For example, 'Draft' for not yet published; 'Published' for live SITUATIONs; 'Closed' indicates a completed SITUATION. If not specified return open, published closing and closed. l.</xsd:documentation>
250
+ </xsd:annotation>
251
+ </xsd:element>
252
+ <xsd:element name="Reality" type="D2LogicalModel:InformationStatusEnum" minOccurs="0">
253
+ <xsd:annotation>
254
+ <xsd:documentation>Whether SITUATION is real or a test. If not specified return all.</xsd:documentation>
255
+ </xsd:annotation>
256
+ </xsd:element>
257
+ </xsd:sequence>
258
+ </xsd:group>
259
+ <xsd:group name="SituationNetworkFilterGroup">
260
+ <xsd:annotation>
261
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Network. Logically ANDed with other values.</xsd:documentation>
262
+ </xsd:annotation>
263
+ <xsd:sequence>
264
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
265
+ <xsd:annotation>
266
+ <xsd:documentation>Referance to an OPERATOR. If unspecified, all OPERATOR.s.</xsd:documentation>
267
+ </xsd:annotation>
268
+ </xsd:element>
269
+ <xsd:element name="OperationalUnitRef" type="OperationalUnitRefStructure" minOccurs="0" maxOccurs="unbounded">
270
+ <xsd:annotation>
271
+ <xsd:documentation>OPERATIONAL UNIT responsible for managing services.</xsd:documentation>
272
+ </xsd:annotation>
273
+ </xsd:element>
274
+ <xsd:element name="NetworkRef" type="OperatorRefStructure" minOccurs="0">
275
+ <xsd:annotation>
276
+ <xsd:documentation>Reference to a NETWORK.</xsd:documentation>
277
+ </xsd:annotation>
278
+ </xsd:element>
279
+ <xsd:choice>
280
+ <xsd:element ref="LineRef" minOccurs="0" maxOccurs="unbounded">
281
+ <xsd:annotation>
282
+ <xsd:documentation>Filter the results to include only the given line. </xsd:documentation>
283
+ </xsd:annotation>
284
+ </xsd:element>
285
+ <xsd:element name="Lines" minOccurs="0">
286
+ <xsd:annotation>
287
+ <xsd:documentation>Filter the results to include only situations along the given LINEs.</xsd:documentation>
288
+ </xsd:annotation>
289
+ <xsd:complexType>
290
+ <xsd:sequence>
291
+ <xsd:element name="LineDirection" type="LineDirectionStructure" maxOccurs="unbounded">
292
+ <xsd:annotation>
293
+ <xsd:documentation>Filter the results to include only the given line. and direction</xsd:documentation>
294
+ </xsd:annotation>
295
+ </xsd:element>
296
+ </xsd:sequence>
297
+ </xsd:complexType>
298
+ </xsd:element>
299
+ </xsd:choice>
300
+ <xsd:element ref="StopPointRef" minOccurs="0" maxOccurs="unbounded"/>
301
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0" maxOccurs="unbounded"/>
302
+ <xsd:element ref="FacilityRef" minOccurs="0" maxOccurs="unbounded"/>
303
+ </xsd:sequence>
304
+ </xsd:group>
305
+ <xsd:group name="SituationStopPlaceFilterGroup">
306
+ <xsd:annotation>
307
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the STOP PLACEs affected SITUATIONs. Logically ANDed with other values.</xsd:documentation>
308
+ </xsd:annotation>
309
+ <xsd:sequence>
310
+ <xsd:element name="StopPlaceRef" type="ifopt:StopPlaceRefStructure" minOccurs="0">
311
+ <xsd:annotation>
312
+ <xsd:documentation>Reference to a STOP PLACE.</xsd:documentation>
313
+ </xsd:annotation>
314
+ </xsd:element>
315
+ <xsd:element name="StopPlaceComponentRef" type="ifopt:StopPlaceSpaceRefStructure" minOccurs="0">
316
+ <xsd:annotation>
317
+ <xsd:documentation>Reference to part of a STOP PLACE. (+SIRI 2.0)</xsd:documentation>
318
+ </xsd:annotation>
319
+ </xsd:element>
320
+ </xsd:sequence>
321
+ </xsd:group>
322
+ <xsd:group name="SituationJourneyFilterGroup">
323
+ <xsd:annotation>
324
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the VEHICLE JOURNEYs affected by the SITUATION. Logically ANDed with other values.</xsd:documentation>
325
+ </xsd:annotation>
326
+ <xsd:sequence>
327
+ <xsd:choice minOccurs="0">
328
+ <xsd:annotation>
329
+ <xsd:documentation>Use of simple reference is deprecated </xsd:documentation>
330
+ </xsd:annotation>
331
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure">
332
+ <xsd:annotation>
333
+ <xsd:documentation>Refercence to a VEHICLE JOURNEY framed by the day. SIRI 2.0 </xsd:documentation>
334
+ </xsd:annotation>
335
+ </xsd:element>
336
+ <xsd:element ref="VehicleJourneyRef"/>
337
+ </xsd:choice>
338
+ <xsd:element ref="InterchangeRef" minOccurs="0"/>
339
+ <xsd:element ref="VehicleRef" minOccurs="0"/>
340
+ </xsd:sequence>
341
+ </xsd:group>
342
+ <xsd:group name="SituationClassifierFilterGroup">
343
+ <xsd:annotation>
344
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Classifiers. Logically ANDed with other values.</xsd:documentation>
345
+ </xsd:annotation>
346
+ <xsd:sequence>
347
+ <xsd:element name="Severity" type="SeverityEnumeration" default="normal" minOccurs="0">
348
+ <xsd:annotation>
349
+ <xsd:documentation>Severity filter value to apply: only SITUATIONs with a severity greater than or equal to the specified value will be returned. See TPEG severities. Default is 'normal'.</xsd:documentation>
350
+ </xsd:annotation>
351
+ </xsd:element>
352
+ <xsd:element name="Scope" type="ScopeTypeEnumeration" minOccurs="0" maxOccurs="unbounded">
353
+ <xsd:annotation>
354
+ <xsd:documentation>Types of SITUATION to include.</xsd:documentation>
355
+ </xsd:annotation>
356
+ </xsd:element>
357
+ <xsd:element name="Predictability" type="PredictabilityEnumeration" minOccurs="0">
358
+ <xsd:annotation>
359
+ <xsd:documentation>Whether just planned, unplanned or both SITUATIONs will be returned.</xsd:documentation>
360
+ </xsd:annotation>
361
+ </xsd:element>
362
+ <xsd:element name="Keywords" type="xsd:NMTOKENS" minOccurs="0">
363
+ <xsd:annotation>
364
+ <xsd:documentation>Arbitrary application specific classifiers. Only SITUATIONs that match these keywords will be returned.</xsd:documentation>
365
+ </xsd:annotation>
366
+ </xsd:element>
367
+ </xsd:sequence>
368
+ </xsd:group>
369
+ <xsd:group name="SituationPlaceFilterGroup">
370
+ <xsd:annotation>
371
+ <xsd:documentation>Parameters to filter Situation Exchange Service requests, based on the SITUATION Place. Logically ANDed with other values.</xsd:documentation>
372
+ </xsd:annotation>
373
+ <xsd:sequence>
374
+ <xsd:element name="CountryRef" type="ifopt:CountryRefStructure" minOccurs="0">
375
+ <xsd:annotation>
376
+ <xsd:documentation>Reference to a COUNTRY where incident takes place If specified only incidents that affect this place country will be returned.</xsd:documentation>
377
+ </xsd:annotation>
378
+ </xsd:element>
379
+ <xsd:element name="PlaceRef" type="xsd:NMTOKEN" minOccurs="0">
380
+ <xsd:annotation>
381
+ <xsd:documentation>Reference to a TOPOGRAPHIC PLACE. Only incidents which are deemed to affect this place will be returned.</xsd:documentation>
382
+ </xsd:annotation>
383
+ </xsd:element>
384
+ <xsd:element name="Location" type="LocationStructure" minOccurs="0" maxOccurs="2">
385
+ <xsd:annotation>
386
+ <xsd:documentation>Bounding box of an arbitrary area. Only incidents geocoded as falling within area will be included.</xsd:documentation>
387
+ </xsd:annotation>
388
+ </xsd:element>
389
+ </xsd:sequence>
390
+ </xsd:group>
391
+ <xsd:complexType name="RoadFilterStructure">
392
+ <xsd:annotation>
393
+ <xsd:documentation>Type for Parameters to filter Situation Exchange Service requests, based on the SITUATION Road, Logically ANDed with other values.</xsd:documentation>
394
+ </xsd:annotation>
395
+ <xsd:sequence>
396
+ <xsd:element name="roadNumber" type="D2LogicalModel:String" minOccurs="0">
397
+ <xsd:annotation>
398
+ <xsd:documentation>Identifier or number of the road on which the reference POINT is located.</xsd:documentation>
399
+ </xsd:annotation>
400
+ </xsd:element>
401
+ <xsd:element name="directionBound" type="D2LogicalModel:DirectionEnum" minOccurs="0">
402
+ <xsd:annotation>
403
+ <xsd:documentation>The DIRECTION at the reference point in terms of general destination DIRECTION. If absent both.</xsd:documentation>
404
+ </xsd:annotation>
405
+ </xsd:element>
406
+ <xsd:element name="referencePointIdentifier" type="D2LogicalModel:String" minOccurs="0">
407
+ <xsd:annotation>
408
+ <xsd:documentation>Road reference POINT identifier, unique on the specified road.</xsd:documentation>
409
+ </xsd:annotation>
410
+ </xsd:element>
411
+ </xsd:sequence>
412
+ </xsd:complexType>
413
+ <xsd:group name="SituationExchangeRequestPolicyGroup">
414
+ <xsd:annotation>
415
+ <xsd:documentation>Parameters that affect the request processing.</xsd:documentation>
416
+ </xsd:annotation>
417
+ <xsd:sequence>
418
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
419
+ <xsd:annotation>
420
+ <xsd:documentation>Preferred languages in which to return text values.</xsd:documentation>
421
+ </xsd:annotation>
422
+ </xsd:element>
423
+ <xsd:element ref="IncludeTranslations" minOccurs="0"/>
424
+ <xsd:element name="MaximumNumberOfSituationElements" type="xsd:positiveInteger" minOccurs="0">
425
+ <xsd:annotation>
426
+ <xsd:documentation>The maximum number of SITUATION elements to return in a given delivery. The most recent n Events within the look ahead window are included.</xsd:documentation>
427
+ </xsd:annotation>
428
+ </xsd:element>
429
+ </xsd:sequence>
430
+ </xsd:group>
431
+ <!-- ==== FS: Situation Exchnage Subscription Request ================================================== -->
432
+ <xsd:element name="SituationExchangeSubscriptionRequest" type="SituationExchangeSubscriptionStructure" substitutionGroup="AbstractFunctionalServiceSubscriptionRequest">
433
+ <xsd:annotation>
434
+ <xsd:documentation>Request for a subscription to the Situation Exchange Service.</xsd:documentation>
435
+ </xsd:annotation>
436
+ </xsd:element>
437
+ <xsd:group name="SituationExchangeSubscriptionPolicyGroup">
438
+ <xsd:annotation>
439
+ <xsd:documentation>Parameters that affect the subscription publishing and notification processing.</xsd:documentation>
440
+ </xsd:annotation>
441
+ <xsd:sequence>
442
+ <xsd:element name="IncrementalUpdates" type="xsd:boolean" default="false" minOccurs="0">
443
+ <xsd:annotation>
444
+ <xsd:documentation>Whether the producer will return the complete set of current data, or only provide updates to this data, i.e. additions, modifications and deletions.
445
+ If false or omitted, each subscription response will contain the full information as specified in this request.</xsd:documentation>
446
+ </xsd:annotation>
447
+ </xsd:element>
448
+ </xsd:sequence>
449
+ </xsd:group>
450
+ <xsd:complexType name="SituationExchangeSubscriptionStructure">
451
+ <xsd:annotation>
452
+ <xsd:documentation>Type for Subscription Request for Situation Exchange Service.</xsd:documentation>
453
+ </xsd:annotation>
454
+ <xsd:complexContent>
455
+ <xsd:extension base="AbstractSubscriptionStructure">
456
+ <xsd:sequence>
457
+ <xsd:element ref="SituationExchangeRequest"/>
458
+ <xsd:group ref="SituationExchangeSubscriptionPolicyGroup"/>
459
+ <xsd:element ref="Extensions" minOccurs="0"/>
460
+ </xsd:sequence>
461
+ </xsd:extension>
462
+ </xsd:complexContent>
463
+ </xsd:complexType>
464
+ <!-- ====RESPONSES=========================================================== -->
465
+ <!-- ==== FS: Situation ExchnageDelivery ================================================== -->
466
+ <xsd:element name="SituationExchangeDelivery" type="SituationExchangeDeliveryStructure" substitutionGroup="AbstractFunctionalServiceDelivery">
467
+ <xsd:annotation>
468
+ <xsd:documentation>Delivery for Situation Exchange Service.</xsd:documentation>
469
+ </xsd:annotation>
470
+ </xsd:element>
471
+ <xsd:element name="IncludedSituationExchangeDelivery" type="SituationExchangeDeliveryStructure" substitutionGroup="AbstractFunctionalServiceDelivery">
472
+ <xsd:annotation>
473
+ <xsd:documentation>Delivery of Situation Exchange Service included as supplement to main functional service delivery.</xsd:documentation>
474
+ </xsd:annotation>
475
+ </xsd:element>
476
+ <xsd:group name="SituationExchangePayloadGroup">
477
+ <xsd:annotation>
478
+ <xsd:documentation>Payload part of Situation Exchange Service delivery.</xsd:documentation>
479
+ </xsd:annotation>
480
+ <xsd:sequence>
481
+ <xsd:element name="PtSituationContext" type="ContextStructure" minOccurs="0">
482
+ <xsd:annotation>
483
+ <xsd:documentation>Default context for common properties of SITUATIONs, Values specified apply to all SITUATIONs unless overridden. Can be used optionally to reduce file bulk.</xsd:documentation>
484
+ </xsd:annotation>
485
+ </xsd:element>
486
+ <xsd:element name="Situations" minOccurs="0">
487
+ <xsd:annotation>
488
+ <xsd:documentation>SITUATIONs in Delivery.</xsd:documentation>
489
+ </xsd:annotation>
490
+ <xsd:complexType>
491
+ <xsd:sequence>
492
+ <xsd:element name="PtSituationElement" type="PtSituationElementStructure" minOccurs="0" maxOccurs="unbounded">
493
+ <xsd:annotation>
494
+ <xsd:documentation>Description of a SITUATION.</xsd:documentation>
495
+ </xsd:annotation>
496
+ </xsd:element>
497
+ <xsd:element ref="RoadSituationElement" minOccurs="0" maxOccurs="unbounded"/>
498
+ </xsd:sequence>
499
+ </xsd:complexType>
500
+ </xsd:element>
501
+ </xsd:sequence>
502
+ </xsd:group>
503
+ <xsd:complexType name="SituationExchangeDeliveryStructure">
504
+ <xsd:annotation>
505
+ <xsd:documentation>Type for Delivery for Situation Exchange Service. Provides information about one or more vehicles; each has its own VEHICLE activity element.</xsd:documentation>
506
+ </xsd:annotation>
507
+ <xsd:complexContent>
508
+ <xsd:extension base="AbstractServiceDeliveryStructure">
509
+ <xsd:sequence>
510
+ <xsd:group ref="SituationExchangePayloadGroup">
511
+ <xsd:annotation>
512
+ <xsd:documentation>Payload part of Situation Exchange Service delivery.</xsd:documentation>
513
+ </xsd:annotation>
514
+ </xsd:group>
515
+ <xsd:element ref="Extensions" minOccurs="0"/>
516
+ </xsd:sequence>
517
+ <xsd:attribute name="version" type="VersionString" default="2.1">
518
+ <xsd:annotation>
519
+ <xsd:documentation>Version number of response. Fixed
520
+ </xsd:documentation>
521
+ </xsd:annotation>
522
+ </xsd:attribute>
523
+ </xsd:extension>
524
+ </xsd:complexContent>
525
+ </xsd:complexType>
526
+ <!-- ====Data============================================================= -->
527
+ <xsd:complexType name="ContextStructure">
528
+ <xsd:annotation>
529
+ <xsd:documentation>Common parameters for all SITUATIONs.</xsd:documentation>
530
+ </xsd:annotation>
531
+ <xsd:sequence>
532
+ <xsd:element name="CountryRef" type="ifopt:CountryRefStructure" minOccurs="0">
533
+ <xsd:annotation>
534
+ <xsd:documentation>Reference to a Country of a Participant who published SITUATION.</xsd:documentation>
535
+ </xsd:annotation>
536
+ </xsd:element>
537
+ <xsd:element name="ParticipantRef" type="ParticipantRefStructure">
538
+ <xsd:annotation>
539
+ <xsd:documentation>Reference to a system publishing SITUATIONs. If SITUATIONs from other participants are included in delivery, then ParticipantRef of immediate publisher must be given here.</xsd:documentation>
540
+ </xsd:annotation>
541
+ </xsd:element>
542
+ <xsd:element name="TopographicPlaceRef" type="xsd:NMTOKEN" minOccurs="0">
543
+ <xsd:annotation>
544
+ <xsd:documentation>Refrence to a TOPOGRAPHIC PLACE (locality). Also Derivable from an individual StopRef.</xsd:documentation>
545
+ </xsd:annotation>
546
+ </xsd:element>
547
+ <xsd:element name="TopographicPlaceName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
548
+ <xsd:annotation>
549
+ <xsd:documentation>Name of locality in which SITUATIONs apply. Derivable from LocalityRef. (Unbounded since SIRI 2.0)</xsd:documentation>
550
+ </xsd:annotation>
551
+ </xsd:element>
552
+ <xsd:element name="DefaultLanguage" type="xsd:language" minOccurs="0">
553
+ <xsd:annotation>
554
+ <xsd:documentation>Default language of text.</xsd:documentation>
555
+ </xsd:annotation>
556
+ </xsd:element>
557
+ <xsd:element name="NetworkContext" type="NetworkContextStructure" minOccurs="0">
558
+ <xsd:annotation>
559
+ <xsd:documentation>Default context for common properties of Public Transport SITUATIONs.</xsd:documentation>
560
+ </xsd:annotation>
561
+ </xsd:element>
562
+ <xsd:element name="Actions" type="ActionsStructure" minOccurs="0">
563
+ <xsd:annotation>
564
+ <xsd:documentation>Actions that apply to all SITUATIONs unless overridden.</xsd:documentation>
565
+ </xsd:annotation>
566
+ </xsd:element>
567
+ <xsd:element ref="Extensions" minOccurs="0"/>
568
+ </xsd:sequence>
569
+ </xsd:complexType>
570
+ <xsd:complexType name="NetworkContextStructure">
571
+ <xsd:annotation>
572
+ <xsd:documentation>Type for shared context.</xsd:documentation>
573
+ </xsd:annotation>
574
+ <xsd:sequence>
575
+ <xsd:element name="Operator" type="AffectedOperatorStructure" minOccurs="0" maxOccurs="unbounded">
576
+ <xsd:annotation>
577
+ <xsd:documentation>Default OPERATOR for SITUATIONs.</xsd:documentation>
578
+ </xsd:annotation>
579
+ </xsd:element>
580
+ <xsd:element name="Network" type="NetworkStructure" minOccurs="0">
581
+ <xsd:annotation>
582
+ <xsd:documentation>Default Network of affected LINEs. These values apply to all SITUATIONs unless overridden on individual instances.</xsd:documentation>
583
+ </xsd:annotation>
584
+ </xsd:element>
585
+ </xsd:sequence>
586
+ </xsd:complexType>
587
+ <!-- ======================================================================= -->
588
+ <!-- ==== WSDL=========================================-->
589
+ <xsd:complexType name="SituationExchangeDeliveriesStructure">
590
+ <xsd:annotation>
591
+ <xsd:documentation>Type for Deliveries for Situation Exchange Service. Used in WSDL.</xsd:documentation>
592
+ </xsd:annotation>
593
+ <xsd:sequence>
594
+ <xsd:element ref="SituationExchangeDelivery" maxOccurs="unbounded">
595
+ <xsd:annotation>
596
+ <xsd:documentation>Delivery for Vehicle Activity Service.</xsd:documentation>
597
+ </xsd:annotation>
598
+ </xsd:element>
599
+ </xsd:sequence>
600
+ </xsd:complexType>
601
+ <!-- ======================================================================= -->
602
+ <!-- ==== CS: Capability Request=================================================================== -->
603
+ <xsd:element name="SituationExchangeCapabilitiesRequest" type="ServiceCapabilitiesRequestStructure" substitutionGroup="AbstractFunctionalServiceCapabilitiesRequest">
604
+ <xsd:annotation>
605
+ <xsd:documentation>Request for information about Situation Exchange Service Capabilities. Answered with a VehicleMontoringCapabilitiesResponse.</xsd:documentation>
606
+ </xsd:annotation>
607
+ </xsd:element>
608
+ <!-- ==== CS: Capability Response=================================================================== -->
609
+ <xsd:element name="SituationExchangeCapabilitiesResponse" type="SituationExchangeCapabilitiesResponseStructure" substitutionGroup="AbstractFunctionalServiceCapabilitiesResponse">
610
+ <xsd:annotation>
611
+ <xsd:documentation>Capabilities for Situation Exchange Service. Answers a VehicleMontoringCapabilitiesRequest.</xsd:documentation>
612
+ </xsd:annotation>
613
+ </xsd:element>
614
+ <xsd:complexType name="SituationExchangeCapabilitiesResponseStructure">
615
+ <xsd:annotation>
616
+ <xsd:documentation>Type for Delivery for Situation Exchange Service.</xsd:documentation>
617
+ </xsd:annotation>
618
+ <xsd:complexContent>
619
+ <xsd:extension base="AbstractServiceCapabilitiesResponseStructure">
620
+ <xsd:sequence>
621
+ <xsd:element ref="SituationExchangeServiceCapabilities" minOccurs="0"/>
622
+ <xsd:element ref="SituationExchangePermissions" minOccurs="0"/>
623
+ <xsd:element ref="Extensions" minOccurs="0"/>
624
+ </xsd:sequence>
625
+ <xsd:attribute name="version" type="VersionString" default="2.1">
626
+ <xsd:annotation>
627
+ <xsd:documentation>Version number of response. Fixed
628
+ </xsd:documentation>
629
+ </xsd:annotation>
630
+ </xsd:attribute>
631
+ </xsd:extension>
632
+ </xsd:complexContent>
633
+ </xsd:complexType>
634
+ <xsd:element name="SituationExchangeServiceCapabilities" type="SituationExchangeServiceCapabilitiesStructure">
635
+ <xsd:annotation>
636
+ <xsd:documentation>Capabilities of Situation Exchange Service. Answers a SituationExchangeCapabilitiesRequest.</xsd:documentation>
637
+ </xsd:annotation>
638
+ </xsd:element>
639
+ <xsd:complexType name="SituationExchangeServiceCapabilitiesStructure">
640
+ <xsd:annotation>
641
+ <xsd:documentation>Type for SItuation Exchange Service Capabilities.</xsd:documentation>
642
+ </xsd:annotation>
643
+ <xsd:complexContent>
644
+ <xsd:extension base="AbstractCapabilitiesStructure">
645
+ <xsd:sequence>
646
+ <xsd:element name="TopicFiltering" minOccurs="0">
647
+ <xsd:annotation>
648
+ <xsd:documentation>Filtering Capabilities.</xsd:documentation>
649
+ </xsd:annotation>
650
+ <xsd:complexType>
651
+ <xsd:sequence>
652
+ <xsd:element name="DefaultPreviewInterval" type="PositiveDurationType" default="PT60M">
653
+ <xsd:annotation>
654
+ <xsd:documentation>Default preview interval. Default is 60 minutes.</xsd:documentation>
655
+ </xsd:annotation>
656
+ </xsd:element>
657
+ <xsd:element ref="FilterByFacilityRef" minOccurs="0"/>
658
+ <xsd:element name="FilterByLocationRef" type="xsd:boolean" fixed="true" minOccurs="0">
659
+ <xsd:annotation>
660
+ <xsd:documentation>Whether results can be filtered by location. Fixed as 'true'.</xsd:documentation>
661
+ </xsd:annotation>
662
+ </xsd:element>
663
+ <xsd:element ref="FilterByVehicleRef" minOccurs="0"/>
664
+ <xsd:element name="FilterByMode" type="xsd:boolean" minOccurs="0">
665
+ <xsd:annotation>
666
+ <xsd:documentation>Whether results can be filtered by MODE. Default is true.. (+SIRI v2.0)</xsd:documentation>
667
+ </xsd:annotation>
668
+ </xsd:element>
669
+ <xsd:element name="FilterByNetworkRef" type="xsd:boolean" minOccurs="0">
670
+ <xsd:annotation>
671
+ <xsd:documentation>Whether results can be filtered by NETWORKs. Default is 'true'. (+SIRI v2.0)</xsd:documentation>
672
+ </xsd:annotation>
673
+ </xsd:element>
674
+ <xsd:element ref="FilterByLineRef" minOccurs="0"/>
675
+ <xsd:element ref="FilterByStopPointRef" minOccurs="0"/>
676
+ <xsd:element name="FilterByStopPlaceRef" type="xsd:boolean" minOccurs="0">
677
+ <xsd:annotation>
678
+ <xsd:documentation>Whether results can be filtered by STOP PLACE identifvier. Default is 'false'. (+SIRI v2.0)</xsd:documentation>
679
+ </xsd:annotation>
680
+ </xsd:element>
681
+ <xsd:element ref="FilterByVehicleJourneyRef" minOccurs="0"/>
682
+ <xsd:element ref="FilterByConnectionLinkRef" minOccurs="0"/>
683
+ <xsd:element ref="FilterByInterchangeRef" minOccurs="0"/>
684
+ <xsd:element name="FilterBySpecificNeed" type="xsd:boolean" default="true" minOccurs="0">
685
+ <xsd:annotation>
686
+ <xsd:documentation>Whether results can be filtered by Specific Needs. Default is 'true'.</xsd:documentation>
687
+ </xsd:annotation>
688
+ </xsd:element>
689
+ <xsd:element name="FilterByKeyword" type="xsd:boolean" default="true" minOccurs="0">
690
+ <xsd:annotation>
691
+ <xsd:documentation>Whether results can be filtered by Keywords. Default is 'false'</xsd:documentation>
692
+ </xsd:annotation>
693
+ </xsd:element>
694
+ </xsd:sequence>
695
+ </xsd:complexType>
696
+ </xsd:element>
697
+ <xsd:element name="RequestPolicy" minOccurs="0">
698
+ <xsd:annotation>
699
+ <xsd:documentation>Request Policy capabilities.</xsd:documentation>
700
+ </xsd:annotation>
701
+ <xsd:complexType>
702
+ <xsd:complexContent>
703
+ <xsd:extension base="CapabilityRequestPolicyStructure">
704
+ <xsd:sequence>
705
+ <xsd:group ref="SituationExchangeVolumeGroup"/>
706
+ </xsd:sequence>
707
+ </xsd:extension>
708
+ </xsd:complexContent>
709
+ </xsd:complexType>
710
+ </xsd:element>
711
+ <xsd:element name="SubscriptionPolicy" type="CapabilitySubscriptionPolicyStructure" minOccurs="0">
712
+ <xsd:annotation>
713
+ <xsd:documentation>Subscription Policy capabilities.</xsd:documentation>
714
+ </xsd:annotation>
715
+ </xsd:element>
716
+ <xsd:element name="AccessControl" minOccurs="0">
717
+ <xsd:annotation>
718
+ <xsd:documentation>Optional Access control capabilities.</xsd:documentation>
719
+ </xsd:annotation>
720
+ <xsd:complexType>
721
+ <xsd:complexContent>
722
+ <xsd:extension base="CapabilityAccessControlStructure">
723
+ <xsd:sequence>
724
+ <xsd:element ref="CheckOperatorRef" minOccurs="0"/>
725
+ <xsd:element ref="CheckLineRef" minOccurs="0"/>
726
+ </xsd:sequence>
727
+ </xsd:extension>
728
+ </xsd:complexContent>
729
+ </xsd:complexType>
730
+ </xsd:element>
731
+ <xsd:element name="ResponseFeatures" minOccurs="0">
732
+ <xsd:annotation>
733
+ <xsd:documentation>Optional Response capabilities.</xsd:documentation>
734
+ </xsd:annotation>
735
+ <xsd:complexType>
736
+ <xsd:sequence/>
737
+ </xsd:complexType>
738
+ </xsd:element>
739
+ <xsd:element ref="Extensions" minOccurs="0"/>
740
+ </xsd:sequence>
741
+ </xsd:extension>
742
+ </xsd:complexContent>
743
+ </xsd:complexType>
744
+ <xsd:group name="SituationExchangeVolumeGroup">
745
+ <xsd:annotation>
746
+ <xsd:documentation>Elements for volume control.</xsd:documentation>
747
+ </xsd:annotation>
748
+ <xsd:sequence>
749
+ <xsd:element name="HasMaximumNumberOfSituations" type="xsd:boolean" default="false" minOccurs="0">
750
+ <xsd:annotation>
751
+ <xsd:documentation>Whether a maximum number ofSITUATIONS to include can be specified. Default is 'false'.</xsd:documentation>
752
+ </xsd:annotation>
753
+ </xsd:element>
754
+ </xsd:sequence>
755
+ </xsd:group>
756
+ <!-- ====permissions=================================================================== -->
757
+ <xsd:element name="SituationExchangePermissions">
758
+ <xsd:annotation>
759
+ <xsd:documentation>Participant's permissions to use the service.</xsd:documentation>
760
+ </xsd:annotation>
761
+ <xsd:complexType>
762
+ <xsd:complexContent>
763
+ <xsd:extension base="PermissionsStructure">
764
+ <xsd:sequence>
765
+ <xsd:element name="SituationExchangePermission" type="SituationExchangeServicePermissionStructure" minOccurs="0" maxOccurs="unbounded"/>
766
+ </xsd:sequence>
767
+ </xsd:extension>
768
+ </xsd:complexContent>
769
+ </xsd:complexType>
770
+ </xsd:element>
771
+ <xsd:complexType name="SituationExchangeServicePermissionStructure">
772
+ <xsd:annotation>
773
+ <xsd:documentation>Type for Situation Exchange Service Permissions.</xsd:documentation>
774
+ </xsd:annotation>
775
+ <xsd:complexContent>
776
+ <xsd:extension base="AbstractPermissionStructure">
777
+ <xsd:sequence>
778
+ <xsd:element ref="OperatorPermissions"/>
779
+ <xsd:element ref="LinePermissions"/>
780
+ <xsd:element ref="Extensions" minOccurs="0"/>
781
+ </xsd:sequence>
782
+ </xsd:extension>
783
+ </xsd:complexContent>
784
+ </xsd:complexType>
785
+ </xsd:schema>