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,270 @@
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:gml="http://www.opengis.net/gml/3.2" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_location">
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 SG9 Team.</Contributor>
9
+ <Coverage>Europe</Coverage>
10
+ <Creator>First drafted for version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:schemer@siri.org.uk</Creator>
11
+ <Date>
12
+ <Created>2004-09-29</Created>
13
+ </Date>
14
+ <Date>
15
+ <Modified>2004-10-01</Modified>
16
+ </Date>
17
+ <Date>
18
+ <Modified>2005-02-14</Modified>
19
+ </Date>
20
+ <Date>
21
+ <Modified>2005-05-11</Modified>
22
+ </Date>
23
+ <Date>
24
+ <Modified>2005-05-04</Modified>
25
+ </Date>
26
+ <Date>
27
+ <Modified>2007-03-29</Modified>
28
+ </Date>
29
+ <Date>
30
+ <Modified>2012-03-23</Modified>
31
+ <!-- SIRI v2.0
32
+ Add VelocityType
33
+ Add bounding box for use by StopPoints discovery -->
34
+ </Date>
35
+ <Date>
36
+ <Modified>2012-05-10</Modified>
37
+ <!-- SIRI v2.0
38
+ Add Line Shape by Lines discovery -->
39
+ </Date>
40
+ <Description>
41
+ <p>SIRI is a European CEN standard for the exchange of real-time information. This subschema defines geospatial location elements</p>
42
+ </Description>
43
+ <Format>
44
+ <MediaType>text/xml</MediaType>
45
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
46
+ <Description>XML schema, W3C Recommendation 2001</Description>
47
+ </Format>
48
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_utility/}siri_location.xsd</Identifier>
49
+ <Language>[ISO 639-2/B] ENG</Language>
50
+ <Publisher>CEN</Publisher>
51
+ <Rights><!--Unclassified-->
52
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
53
+ </Rights>
54
+ <Source>
55
+ <ul>
56
+ <li>Derived from the VDV, RTIG XML and Trident standards.</li>
57
+ </ul>
58
+ </Source>
59
+ <Status>Version 2.1</Status>
60
+ <Subject>
61
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
62
+ Air transport, Airports,
63
+ Ports and maritime transport, Ferries (marine),
64
+ Public transport, Bus services, Coach services, Bus stops and stations,
65
+ Rail transport, Railway stations and track, Train services, Underground trains,
66
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
67
+ Rail transport, Roads and road transport
68
+ </Category>
69
+ <Project>CEN TC278 WG3 SG9.</Project>
70
+ </Subject>
71
+ <Title>SIRI XML schema. Geo spatial location subschema </Title>
72
+ <Type>Standard</Type>
73
+ </Metadata>
74
+ </xsd:appinfo>
75
+ <xsd:documentation>SIRI Framewrok Location Types.</xsd:documentation>
76
+ </xsd:annotation>
77
+ <!-- ======================================================================= -->
78
+ <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml/gml_extract_all_objects.xsd"/>
79
+ <!--Actual dependency-->
80
+ <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../gml/gmlBasic2d-extract.xsd"/>
81
+ <!--======WGS84=======================================================================================-->
82
+ <xsd:simpleType name="LongitudeType">
83
+ <xsd:annotation>
84
+ <xsd:documentation>Longitude from Greenwich.</xsd:documentation>
85
+ </xsd:annotation>
86
+ <xsd:restriction base="xsd:decimal">
87
+ <xsd:minInclusive value="-180"/>
88
+ <xsd:maxInclusive value="180"/>
89
+ </xsd:restriction>
90
+ </xsd:simpleType>
91
+ <xsd:simpleType name="LatitudeType">
92
+ <xsd:annotation>
93
+ <xsd:documentation>Latitude from equator.</xsd:documentation>
94
+ </xsd:annotation>
95
+ <xsd:restriction base="xsd:decimal">
96
+ <xsd:minInclusive value="-90"/>
97
+ <xsd:maxInclusive value="90"/>
98
+ </xsd:restriction>
99
+ </xsd:simpleType>
100
+ <xsd:simpleType name="AltitudeType">
101
+ <xsd:annotation>
102
+ <xsd:documentation>Altitude metres from sea level.</xsd:documentation>
103
+ </xsd:annotation>
104
+ <xsd:restriction base="xsd:decimal">
105
+ <xsd:minInclusive value="-1000"/>
106
+ <xsd:maxInclusive value="+5000"/>
107
+ </xsd:restriction>
108
+ </xsd:simpleType>
109
+ <xsd:group name="WgsGroup">
110
+ <xsd:annotation>
111
+ <xsd:documentation>WGS84 Coordinates.</xsd:documentation>
112
+ </xsd:annotation>
113
+ <xsd:sequence>
114
+ <xsd:element name="Longitude" type="LongitudeType">
115
+ <xsd:annotation>
116
+ <xsd:documentation>Longitude from Greenwich Meridian. -180 (West) to +180 (East). Decimal degrees, e.g. 2.356</xsd:documentation>
117
+ </xsd:annotation>
118
+ </xsd:element>
119
+ <xsd:element name="Latitude" type="LatitudeType">
120
+ <xsd:annotation>
121
+ <xsd:documentation>Latitude from equator. -90 (South) to +90 (North). Decimal degrees, e.g. 56.356</xsd:documentation>
122
+ </xsd:annotation>
123
+ </xsd:element>
124
+ <xsd:element name="Altitude" type="AltitudeType" minOccurs="0">
125
+ <xsd:annotation>
126
+ <xsd:documentation>Altitude metres from sea level.</xsd:documentation>
127
+ </xsd:annotation>
128
+ </xsd:element>
129
+ </xsd:sequence>
130
+ </xsd:group>
131
+ <xsd:complexType name="CoordinatesStructure">
132
+ <xsd:annotation>
133
+ <xsd:documentation>Type for GM Coordinates.</xsd:documentation>
134
+ </xsd:annotation>
135
+ <xsd:simpleContent>
136
+ <xsd:extension base="xsd:NMTOKENS"/>
137
+ </xsd:simpleContent>
138
+ </xsd:complexType>
139
+ <xsd:simpleType name="SrsNameType">
140
+ <xsd:annotation>
141
+ <xsd:documentation>Type for coordinate reference system.</xsd:documentation>
142
+ </xsd:annotation>
143
+ <xsd:restriction base="xsd:string"/>
144
+ </xsd:simpleType>
145
+ <xsd:element name="SrsName" type="SrsNameType">
146
+ <xsd:annotation>
147
+ <xsd:documentation>GML Spatial coordinate reference system.</xsd:documentation>
148
+ </xsd:annotation>
149
+ </xsd:element>
150
+ <!--====== LOCATION ============================================================-->
151
+ <xsd:complexType name="LocationStructure">
152
+ <xsd:annotation>
153
+ <xsd:documentation>Type for geospatial Position of a point. May be expressed in concrete WGS 84 Coordinates or any gml compatible point coordinates format.</xsd:documentation>
154
+ </xsd:annotation>
155
+ <xsd:sequence>
156
+ <xsd:choice>
157
+ <xsd:sequence>
158
+ <xsd:group ref="WgsGroup"/>
159
+ </xsd:sequence>
160
+ <xsd:element name="Coordinates" type="CoordinatesStructure">
161
+ <xsd:annotation>
162
+ <xsd:documentation>Coordinates of points in a GML compatibe format, as indicated by srsName attribute.</xsd:documentation>
163
+ </xsd:annotation>
164
+ </xsd:element>
165
+ </xsd:choice>
166
+ <xsd:element name="Precision" type="DistanceType" minOccurs="0">
167
+ <xsd:annotation>
168
+ <xsd:documentation>Precision for point measurement. In meters.</xsd:documentation>
169
+ </xsd:annotation>
170
+ </xsd:element>
171
+ </xsd:sequence>
172
+ <xsd:attribute name="id" type="xsd:NMTOKEN">
173
+ <xsd:annotation>
174
+ <xsd:documentation>Identifier of POINT.</xsd:documentation>
175
+ </xsd:annotation>
176
+ </xsd:attribute>
177
+ <xsd:attribute name="srsName" type="SrsNameType">
178
+ <xsd:annotation>
179
+ <xsd:documentation>identifier of data reference system for geocodes if point is specified as gml compatible Coordinates. A gml value. If not specified taken from system configuration.</xsd:documentation>
180
+ </xsd:annotation>
181
+ </xsd:attribute>
182
+ </xsd:complexType>
183
+ <xsd:complexType name="BoundingBoxStructure">
184
+ <xsd:annotation>
185
+ <xsd:documentation>Defines a bounding box using two corner points. GML terminology. +SIRI v2.0</xsd:documentation>
186
+ </xsd:annotation>
187
+ <xsd:sequence>
188
+ <xsd:element name="UpperLeft" type="LocationStructure">
189
+ <xsd:annotation>
190
+ <xsd:documentation>Upper Left corner as a geospatial point.</xsd:documentation>
191
+ </xsd:annotation>
192
+ </xsd:element>
193
+ <xsd:element name="LowerRight" type="LocationStructure">
194
+ <xsd:annotation>
195
+ <xsd:documentation>Lower right corner as a geospatial point.</xsd:documentation>
196
+ </xsd:annotation>
197
+ </xsd:element>
198
+ </xsd:sequence>
199
+ </xsd:complexType>
200
+ <xsd:complexType name="LineShapeStructure">
201
+ <xsd:annotation>
202
+ <xsd:documentation>Defines a line shape +SIRI v2.0</xsd:documentation>
203
+ </xsd:annotation>
204
+ <xsd:sequence>
205
+ <xsd:element name="Point" type="LocationStructure" minOccurs="2" maxOccurs="unbounded">
206
+ <xsd:annotation>
207
+ <xsd:documentation>A geospatial point. +SIRI v2.0</xsd:documentation>
208
+ </xsd:annotation>
209
+ </xsd:element>
210
+ </xsd:sequence>
211
+ </xsd:complexType>
212
+ <xsd:complexType name="CircularAreaStructure">
213
+ <xsd:annotation>
214
+ <xsd:documentation>Type for a circular area centered around a point that may be expressed in concrete WGS 84 Coordinates or any gml compatible point coordinates format. +SIRI v2.1</xsd:documentation>
215
+ </xsd:annotation>
216
+ <xsd:complexContent>
217
+ <xsd:extension base="LocationStructure">
218
+ <xsd:sequence>
219
+ <xsd:element name="Radius" type="DistanceType" minOccurs="0">
220
+ <xsd:annotation>
221
+ <xsd:documentation>Radius around the center point in meters.</xsd:documentation>
222
+ </xsd:annotation>
223
+ </xsd:element>
224
+ </xsd:sequence>
225
+ </xsd:extension>
226
+ </xsd:complexContent>
227
+ </xsd:complexType>
228
+ <xsd:complexType name="FlexibleAreaStructure">
229
+ <xsd:annotation>
230
+ <xsd:documentation>Bounding box, circular area or gml:polyon of the area where stops of a flexible service are called. +SIRI v2.1
231
+ A flexible area is used in cases where a pre-booked service allows pick-up/drop-off anywhere in a designated area and provides a possible interchange to a higher-frequency service.</xsd:documentation>
232
+ </xsd:annotation>
233
+ <xsd:choice>
234
+ <xsd:element name="BoundingBox" type="BoundingBoxStructure">
235
+ <xsd:annotation>
236
+ <xsd:documentation>Flexible area specified as a rectangular bounding box.</xsd:documentation>
237
+ </xsd:annotation>
238
+ </xsd:element>
239
+ <xsd:element name="CircularArea" type="CircularAreaStructure">
240
+ <xsd:annotation>
241
+ <xsd:documentation>Flexible area specified as a circular area (center coordinates and radius).</xsd:documentation>
242
+ </xsd:annotation>
243
+ </xsd:element>
244
+ <xsd:element ref="gml:Polygon">
245
+ <xsd:annotation>
246
+ <xsd:documentation>Flexible area specified as a gml:Polygon that consists of an interior and exterior linear ring.</xsd:documentation>
247
+ </xsd:annotation>
248
+ </xsd:element>
249
+ </xsd:choice>
250
+ </xsd:complexType>
251
+ <!--======Distance ============================================================-->
252
+ <xsd:simpleType name="DistanceType">
253
+ <xsd:annotation>
254
+ <xsd:documentation>Distance (metres) as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres. ALternative units may be specifed by context.</xsd:documentation>
255
+ </xsd:annotation>
256
+ <xsd:restriction base="xsd:nonNegativeInteger"/>
257
+ </xsd:simpleType>
258
+ <xsd:simpleType name="VelocityType">
259
+ <xsd:annotation>
260
+ <xsd:documentation>Distance (metres per second) ALternative unist may be specifed by context.</xsd:documentation>
261
+ </xsd:annotation>
262
+ <xsd:restriction base="xsd:nonNegativeInteger"/>
263
+ </xsd:simpleType>
264
+ <xsd:simpleType name="AbsoluteBearingType">
265
+ <xsd:annotation>
266
+ <xsd:documentation>Type for absolute bearing.</xsd:documentation>
267
+ </xsd:annotation>
268
+ <xsd:restriction base="xsd:float"/>
269
+ </xsd:simpleType>
270
+ </xsd:schema>
@@ -0,0 +1,79 @@
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_participant">
3
+ <!-- ======================================================================= -->
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 SG9 Team.</Contributor>
10
+ <Coverage>Europe</Coverage>
11
+ <Creator>First drafted for version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:schemer@siri.org.uk</Creator>
12
+ <Date>
13
+ <Created>2004-09-29</Created>
14
+ </Date>
15
+ <Date>
16
+ <Modified>2007-05-15</Modified>
17
+ </Date>
18
+ <Date>
19
+ <Modified>2008-07-015</Modified>
20
+ <!-- drop use of partipant pair -->
21
+ </Date>
22
+ <Date>
23
+ <Modified>2012-03-22</Modified>
24
+ <!-- SIRI 2.0
25
+ Move Capability-->
26
+ </Date>
27
+ <Description>
28
+ <p>SIRI is a European CEN standard for the exchange of real-time information. This subschema defines common Participant type elements</p>
29
+ </Description>
30
+ <Format>
31
+ <MediaType>text/xml</MediaType>
32
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
33
+ <Description>XML schema, W3C Recommendation 2001</Description>
34
+ </Format>
35
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_utility/}siri_participant.xsd</Identifier>
36
+ <Language>[ISO 639-2/B] ENG</Language>
37
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
38
+ <Rights><!--Unclassified-->
39
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
40
+ </Rights>
41
+ <Source>
42
+ <ul>
43
+ <li>Derived from the VDV, RTIGXML and Trident standards.</li>
44
+ </ul>
45
+ </Source>
46
+ <Status>Version 2.1</Status>
47
+ <Subject>
48
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
49
+ Air transport, Airports,
50
+ Ports and maritime transport, Ferries (marine),
51
+ Public transport, Bus services, Coach services, Bus stops and stations,
52
+ Rail transport, Railway stations and track, Train services, Underground trains,
53
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
54
+ Rail transport, Roads and road transport
55
+ </Category>
56
+ <Project>CEN TC278 WG3 SG9.</Project>
57
+ </Subject>
58
+ <Title>SIRI XML schema. Participant type elements. </Title>
59
+ <Type>Standard</Type>
60
+ </Metadata>
61
+ </xsd:appinfo>
62
+ <xsd:documentation>SIRI Framework Participant Types.</xsd:documentation>
63
+ </xsd:annotation>
64
+ <!-- ======================================================================= -->
65
+ <xsd:simpleType name="ParticipantCodeType">
66
+ <xsd:annotation>
67
+ <xsd:documentation>Type for Unique identifier of participant.</xsd:documentation>
68
+ </xsd:annotation>
69
+ <xsd:restriction base="xsd:NMTOKEN"/>
70
+ </xsd:simpleType>
71
+ <xsd:complexType name="ParticipantRefStructure">
72
+ <xsd:annotation>
73
+ <xsd:documentation>Reference to Unique identifier of participant.</xsd:documentation>
74
+ </xsd:annotation>
75
+ <xsd:simpleContent>
76
+ <xsd:extension base="ParticipantCodeType"/>
77
+ </xsd:simpleContent>
78
+ </xsd:complexType>
79
+ </xsd:schema>
@@ -0,0 +1,135 @@
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_permissions">
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 SG9 Team.</Contributor>
9
+ <Coverage>Europe</Coverage>
10
+ <Creator>First drafted for version 2.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:schemer@siri.org.uk</Creator>
11
+ <Date>
12
+ <Created>2012-03-24</Created>
13
+ </Date>
14
+ <Date>
15
+ <Modified>2012-03-23</Modified>
16
+ <!-- SIRI v2.0
17
+ Add error number to Error structure -->
18
+ </Date>
19
+ <Description>
20
+ <p>SIRI is a European CEN standard for the exchange of real-time information. This subschema defines common request processing elements</p>
21
+ </Description>
22
+ <Format>
23
+ <MediaType>text/xml</MediaType>
24
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
25
+ <Description>XML schema, W3C Recommendation 2001</Description>
26
+ </Format>
27
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_utility/}siri_permissions.xsd</Identifier>
28
+ <Language>[ISO 639-2/B] ENG</Language>
29
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
30
+ <Relation>
31
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_types.xsd</Requires>
32
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_utility.xsd</Requires>
33
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_uility/siri_participant.xsd</Requires>
34
+ </Relation>
35
+ <Rights><!--Unclassified-->
36
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
37
+ </Rights>
38
+ <Source>
39
+ <ul>
40
+ <li>Derived from the VDV, RTIGXML and Trident standards.</li>
41
+ </ul>
42
+ </Source>
43
+ <Status>Version 2.1</Status>
44
+ <Subject>
45
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
46
+ Air transport, Airports,
47
+ Ports and maritime transport, Ferries (marine),
48
+ Public transport, Bus services, Coach services, Bus stops and stations,
49
+ Rail transport, Railway stations and track, Train services, Underground trains,
50
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
51
+ Rail transport, Roads and road transport
52
+ </Category>
53
+ <Project>CEN TC278 WG3 SG9.</Project>
54
+ </Subject>
55
+ <Title>SIRI XML schema. Common Permission model subschema. </Title>
56
+ <Type>Standard</Type>
57
+ </Metadata>
58
+ </xsd:appinfo>
59
+ <xsd:documentation>SIRI Framework Permission Types.</xsd:documentation>
60
+ </xsd:annotation>
61
+ <xsd:include schemaLocation="siri_types.xsd"/>
62
+ <xsd:include schemaLocation="siri_utility.xsd"/>
63
+ <xsd:include schemaLocation="siri_participant.xsd"/>
64
+ <!-- ======================================================================= -->
65
+ <!-- ====Permissions================================================= -->
66
+ <xsd:complexType name="AbstractTopicPermissionStructure">
67
+ <xsd:annotation>
68
+ <xsd:documentation>Type for Abstract Permission Topic.</xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:sequence>
71
+ <xsd:element name="Allow" type="xsd:boolean" default="true">
72
+ <xsd:annotation>
73
+ <xsd:documentation>Whether the participant may access this topic. Default is 'true'.</xsd:documentation>
74
+ </xsd:annotation>
75
+ </xsd:element>
76
+ </xsd:sequence>
77
+ </xsd:complexType>
78
+ <xsd:element name="AllowAll" type="xsd:boolean">
79
+ <xsd:annotation>
80
+ <xsd:documentation>Allow access to all topics known to the service.</xsd:documentation>
81
+ </xsd:annotation>
82
+ </xsd:element>
83
+ <xsd:complexType name="CapabilityAccessControlStructure">
84
+ <xsd:annotation>
85
+ <xsd:documentation>Type for Common Access control capabilities.</xsd:documentation>
86
+ </xsd:annotation>
87
+ <xsd:sequence>
88
+ <xsd:element name="RequestChecking" type="xsd:boolean" default="false">
89
+ <xsd:annotation>
90
+ <xsd:documentation>Whether access control of requests is supported. Default is 'false'.</xsd:documentation>
91
+ </xsd:annotation>
92
+ </xsd:element>
93
+ </xsd:sequence>
94
+ </xsd:complexType>
95
+ <!-- ======================================================================= -->
96
+ <xsd:complexType name="AbstractPermissionStructure">
97
+ <xsd:annotation>
98
+ <xsd:documentation>Type for Abstract Permission.</xsd:documentation>
99
+ </xsd:annotation>
100
+ <xsd:sequence>
101
+ <xsd:choice>
102
+ <xsd:element name="AllParticipants" type="EmptyType">
103
+ <xsd:annotation>
104
+ <xsd:documentation>Parmissions apply by default to All particpants. May be overidden by other separate permissions for individual.</xsd:documentation>
105
+ </xsd:annotation>
106
+ </xsd:element>
107
+ <xsd:element name="ParticipantRef" type="ParticipantRefStructure">
108
+ <xsd:annotation>
109
+ <xsd:documentation>Permission applies to specified participant.</xsd:documentation>
110
+ </xsd:annotation>
111
+ </xsd:element>
112
+ </xsd:choice>
113
+ <xsd:element name="GeneralCapabilities" minOccurs="0">
114
+ <xsd:annotation>
115
+ <xsd:documentation>Permissions for general capabilities.</xsd:documentation>
116
+ </xsd:annotation>
117
+ <xsd:complexType>
118
+ <xsd:sequence>
119
+ <xsd:element name="RequestResponse" type="xsd:boolean" default="true">
120
+ <xsd:annotation>
121
+ <xsd:documentation>Participant may make direct requests for data. Default is 'true'.</xsd:documentation>
122
+ </xsd:annotation>
123
+ </xsd:element>
124
+ <xsd:element name="PublishSubscribe" type="xsd:boolean" default="true">
125
+ <xsd:annotation>
126
+ <xsd:documentation>Participant may create subscriptions. Default True.</xsd:documentation>
127
+ </xsd:annotation>
128
+ </xsd:element>
129
+ </xsd:sequence>
130
+ </xsd:complexType>
131
+ </xsd:element>
132
+ </xsd:sequence>
133
+ </xsd:complexType>
134
+ <!-- ====Discovery================================================ -->
135
+ </xsd:schema>
@@ -0,0 +1,166 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:core="http://www.govtalk.gov.uk/core" xmlns="http://www.siri.org.uk/siri" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_types">
3
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../xml/2009/01/XMLSchema.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
+ <Coverage>Europe</Coverage>
10
+ <Creator>First drafted for version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:schemer@siri.org.uk</Creator>
11
+ <Date>
12
+ <Created>2005-10-03</Created>
13
+ </Date>
14
+ <Date>
15
+ <Modified>2005-10-04</Modified>
16
+ </Date>
17
+ <Date>
18
+ <Modified>2005-05-11</Modified>
19
+ </Date>
20
+ <Date>
21
+ <Modified>2007-04-17</Modified>
22
+ </Date>
23
+ <Date>
24
+ <Modified>2012-03-23</Modified>
25
+ <!-- SIRI v2.0
26
+ Drop unused IP address type -->
27
+ </Date>
28
+ <Description>
29
+ <p>SIRI is a European CEN standard for the exchange of real-time information .</p>
30
+ </Description>
31
+ <Format>
32
+ <MediaType>text/xml</MediaType>
33
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
34
+ <Description>XML schema, W3C Recommendation 2001</Description>
35
+ </Format>
36
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_utility/}siri_types.xsd</Identifier>
37
+ <Language>[ISO 639-2/B] ENG</Language>
38
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
39
+ <Rights><!--Unclassified-->
40
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
41
+ </Rights>
42
+ <Source>
43
+ <ul>
44
+ <li>Derived from the VDV, RTIG CML and Trident standards.</li>
45
+ </ul>
46
+ </Source>
47
+ <Status>Version 2.1</Status>
48
+ <Subject>
49
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
50
+ Air transport, Airports,
51
+ Ports and maritime transport, Ferries (marine),
52
+ Public transport, Bus services, Coach services, Bus stops and stations,
53
+ Rail transport, Railway stations and track, Train services, Underground trains,
54
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
55
+ Rail transport, Roads and road transport
56
+ </Category>
57
+ <Project>CEN TC278 WG3 SG9.</Project>
58
+ </Subject>
59
+ <Title>SIRI XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Subschema of time types.</Title>
60
+ <Type>Standard</Type>
61
+ </Metadata>
62
+ </xsd:appinfo>
63
+ <xsd:documentation>SIRI Framework Base Types.</xsd:documentation>
64
+ </xsd:annotation>
65
+ <!--==== Basic Types =======================================================================-->
66
+ <xsd:simpleType name="VersionString">
67
+ <xsd:annotation>
68
+ <xsd:documentation>A string indicating the versioin of a SIRI data structure.</xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:restriction base="xsd:NMTOKEN"/>
71
+ </xsd:simpleType>
72
+ <xsd:simpleType name="PopulatedStringType">
73
+ <xsd:annotation>
74
+ <xsd:documentation>A restriction of W3C XML Schema's string that requires at least one character of text.</xsd:documentation>
75
+ </xsd:annotation>
76
+ <xsd:restriction base="xsd:string">
77
+ <xsd:minLength value="1"/>
78
+ </xsd:restriction>
79
+ </xsd:simpleType>
80
+ <xsd:complexType name="NaturalLanguageStringStructure">
81
+ <xsd:annotation>
82
+ <xsd:documentation>Tyoe for a string in a specified language.</xsd:documentation>
83
+ </xsd:annotation>
84
+ <xsd:simpleContent>
85
+ <xsd:extension base="PopulatedStringType">
86
+ <xsd:attribute ref="xml:lang" use="optional"/>
87
+ </xsd:extension>
88
+ </xsd:simpleContent>
89
+ </xsd:complexType>
90
+ <xsd:simpleType name="PopulatedPlaceNameType">
91
+ <xsd:annotation>
92
+ <xsd:documentation>A name that requires at least one character of text and forbids certain reserved characters.</xsd:documentation>
93
+ </xsd:annotation>
94
+ <xsd:restriction base="PopulatedStringType">
95
+ <xsd:pattern value="[^,\[\]\{\}\?$%\^=@#;:]+"/>
96
+ </xsd:restriction>
97
+ </xsd:simpleType>
98
+ <xsd:complexType name="NaturalLanguagePlaceNameStructure">
99
+ <xsd:annotation>
100
+ <xsd:documentation>@lang. ISO language code (default is 'en')
101
+ A string containing a phrase in a natural language name that requires at least one character of text and forbids certain reserved characters.</xsd:documentation>
102
+ </xsd:annotation>
103
+ <xsd:simpleContent>
104
+ <xsd:extension base="PopulatedPlaceNameType">
105
+ <xsd:attribute ref="xml:lang" use="optional"/>
106
+ </xsd:extension>
107
+ </xsd:simpleContent>
108
+ </xsd:complexType>
109
+ <xsd:simpleType name="IdType">
110
+ <xsd:annotation>
111
+ <xsd:documentation>Id type for document references.</xsd:documentation>
112
+ </xsd:annotation>
113
+ <xsd:restriction base="xsd:NMTOKEN"/>
114
+ </xsd:simpleType>
115
+ <xsd:simpleType name="DurationType">
116
+ <xsd:annotation>
117
+ <xsd:documentation>Limited version of duration that allows for precise time arithmetic. Only Month, Day, Hour, Minute Second terms should be used. Milliseconds should not be used. Year should not be used. Negative values allowed. e.g. PT1004199059S", "PT130S", "PT2M10S", "P1DT2S", "-P1DT2S".</xsd:documentation>
118
+ </xsd:annotation>
119
+ <xsd:restriction base="xsd:duration"/>
120
+ </xsd:simpleType>
121
+ <xsd:simpleType name="PositiveDurationType">
122
+ <xsd:annotation>
123
+ <xsd:documentation>Limited version of duration. Must be positive.</xsd:documentation>
124
+ </xsd:annotation>
125
+ <xsd:restriction base="DurationType"/>
126
+ </xsd:simpleType>
127
+ <xsd:simpleType name="PhoneType">
128
+ <xsd:annotation>
129
+ <xsd:documentation>International phonenumber +41675601 etc.</xsd:documentation>
130
+ </xsd:annotation>
131
+ <xsd:restriction base="xsd:string"/>
132
+ </xsd:simpleType>
133
+ <xsd:simpleType name="EmailAddressType">
134
+ <xsd:annotation>
135
+ <xsd:documentation>Email address type.</xsd:documentation>
136
+ </xsd:annotation>
137
+ <xsd:restriction base="xsd:string"/>
138
+ </xsd:simpleType>
139
+ <xsd:simpleType name="LengthType">
140
+ <xsd:annotation>
141
+ <xsd:documentation>Length type for short distances. System for Units can be specified on frame. Normally (metres) as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres.</xsd:documentation>
142
+ </xsd:annotation>
143
+ <xsd:restriction base="xsd:decimal"/>
144
+ </xsd:simpleType>
145
+ <xsd:simpleType name="WeightType">
146
+ <xsd:annotation>
147
+ <xsd:documentation>Weight type for mass. System for Units can be specified on Frame. Normal default is (kilos) as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres.</xsd:documentation>
148
+ </xsd:annotation>
149
+ <xsd:restriction base="xsd:decimal"/>
150
+ </xsd:simpleType>
151
+ <xsd:simpleType name="NumberOfPassengers">
152
+ <xsd:annotation>
153
+ <xsd:documentation>Number of passengers - capacity.</xsd:documentation>
154
+ </xsd:annotation>
155
+ <xsd:restriction base="xsd:nonNegativeInteger"/>
156
+ </xsd:simpleType>
157
+ <xsd:simpleType name="PercentageType">
158
+ <xsd:annotation>
159
+ <xsd:documentation>Specifies a percentage from 0 to 100.
160
+ The value range is normally 0-100, but could in some circumstances go beyond 100%, e.g. when representing the OccupancyPercentage of an over-crowded vehicle or in similar cases.</xsd:documentation>
161
+ </xsd:annotation>
162
+ <xsd:restriction base="xsd:decimal">
163
+ <xsd:minInclusive value="0"/>
164
+ </xsd:restriction>
165
+ </xsd:simpleType>
166
+ </xsd:schema>