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,168 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
+ <annotation>
4
+ <appinfo source="urn:x-ogc:specification:gml:schema-xsd:gmlBase:3.2.1">gmlBase.xsd</appinfo>
5
+ <documentation>See ISO/DIS 19136 7.2.
6
+ The gmlBase schema components establish the GML model and syntax, in particular
7
+ - a root XML type from which XML types for all GML objects should be derived,
8
+ - a pattern and components for GML properties,
9
+ - patterns for collections and arrays, and components for generic collections and arrays,
10
+ - components for associating metadata with GML objects,
11
+ - components for constructing definitions and dictionaries.
12
+
13
+ GML is an OGC Standard.
14
+ Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
15
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
16
+ </documentation>
17
+ </annotation>
18
+ <include schemaLocation="basicTypes.xsd"/>
19
+ <!--SOME GML ELEMENTS HAVE BEEN DROPPED TO MINIMSE DEPENDENCIES-->
20
+ <element name="AbstractObject" abstract="true">
21
+ <annotation>
22
+ <documentation>This element has no type defined, and is therefore implicitly (according to the rules of W3C XML Schema) an XML Schema anyType. It is used as the head of an XML Schema substitution group which unifies complex content and certain simple content elements used for datatypes in GML, including the gml:AbstractGML substitution group.</documentation>
23
+ </annotation>
24
+ </element>
25
+ <element name="AbstractGML" type="gml:AbstractGMLType" abstract="true" substitutionGroup="gml:AbstractObject">
26
+ <annotation>
27
+ <documentation>The abstract element gml:AbstractGML is "any GML object having identity". It acts as the head of an XML Schema substitution group, which may include any element which is a GML feature, or other object, with identity. This is used as a variable in content models in GML core and application schemas. It is effectively an abstract superclass for all GML objects.</documentation>
28
+ </annotation>
29
+ </element>
30
+ <complexType name="AbstractGMLType" abstract="true">
31
+ <sequence>
32
+ <group ref="gml:StandardObjectProperties"/>
33
+ </sequence>
34
+ <attribute ref="gml:id" use="required"/>
35
+ </complexType>
36
+ <group name="StandardObjectProperties">
37
+ <sequence>
38
+ <element ref="gml:descriptionReference" minOccurs="0"/>
39
+ <element ref="gml:identifier" minOccurs="0"/>
40
+ <element ref="gml:name" minOccurs="0" maxOccurs="unbounded"/>
41
+ </sequence>
42
+ </group>
43
+ <attributeGroup name="AssociationAttributeGroup">
44
+ <annotation>
45
+ <documentation>XLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML.</documentation>
46
+ </annotation>
47
+ <attribute name="nilReason" type="gml:NilReasonType"/>
48
+ </attributeGroup>
49
+ <element name="abstractAssociationRole" type="gml:AssociationRoleType" abstract="true">
50
+ <annotation>
51
+ <documentation>Applying this pattern shall restrict the multiplicity of objects in a property element using this content model to exactly one. An instance of this type shall contain an element representing an object, or serve as a pointer to a remote object.
52
+ Applying the pattern to define an application schema specific property type allows to restrict
53
+ - the inline object to specified object types,
54
+ - the encoding to "by-reference only" (see 7.2.3.7),
55
+ - the encoding to "inline only" (see 7.2.3.8).</documentation>
56
+ </annotation>
57
+ </element>
58
+ <complexType name="AssociationRoleType">
59
+ <sequence minOccurs="0">
60
+ <any namespace="##any"/>
61
+ </sequence>
62
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
63
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
64
+ </complexType>
65
+ <attributeGroup name="OwnershipAttributeGroup">
66
+ <annotation>
67
+ <documentation>Encoding a GML property inline vs. by-reference shall not imply anything about the "ownership" of the contained or referenced GML Object, i.e. the encoding style shall not imply any "deep-copy" or "deep-delete" semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be "owned".
68
+ When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object.</documentation>
69
+ </annotation>
70
+ <attribute name="owns" type="boolean" default="false"/>
71
+ </attributeGroup>
72
+ <element name="abstractStrictAssociationRole" type="gml:AssociationRoleType" abstract="true">
73
+ <annotation>
74
+ <documentation>This element shows how an element
75
+ declaration may include a Schematron constraint to limit the property to act
76
+ in either inline or by-reference mode, but not both.</documentation>
77
+ </annotation>
78
+ </element>
79
+ <element name="abstractReference" type="gml:ReferenceType" abstract="true">
80
+ <annotation>
81
+ <documentation>gml:abstractReference may be used as the head of a subtitution group of more specific elements providing a value by-reference.</documentation>
82
+ </annotation>
83
+ </element>
84
+ <complexType name="ReferenceType">
85
+ <annotation>
86
+ <documentation>gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding.</documentation>
87
+ </annotation>
88
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
89
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
90
+ </complexType>
91
+ <element name="abstractInlineProperty" type="gml:InlinePropertyType" abstract="true">
92
+ <annotation>
93
+ <documentation>gml:abstractInlineProperty may be used as the head of a subtitution group of more specific elements providing a value inline.</documentation>
94
+ </annotation>
95
+ </element>
96
+ <complexType name="InlinePropertyType">
97
+ <sequence>
98
+ <any namespace="##any"/>
99
+ </sequence>
100
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
101
+ </complexType>
102
+ <element name="reversePropertyName" type="string">
103
+ <annotation>
104
+ <documentation>If the value of an object property is another object and that object contains also a property for the association between the two objects, then this name of the reverse property may be encoded in a gml:reversePropertyName element in an appinfo annotation of the property element to document the constraint between the two properties. The value of the element shall contain the qualified name of the property element.</documentation>
105
+ </annotation>
106
+ </element>
107
+ <element name="descriptionReference" type="gml:ReferenceType">
108
+ <annotation>
109
+ <documentation>The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description.</documentation>
110
+ </annotation>
111
+ </element>
112
+ <element name="name" type="gml:CodeType">
113
+ <annotation>
114
+ <documentation>The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace.</documentation>
115
+ </annotation>
116
+ </element>
117
+ <element name="identifier" type="gml:CodeWithAuthorityType">
118
+ <annotation>
119
+ <documentation>Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers.</documentation>
120
+ </annotation>
121
+ </element>
122
+ <attribute name="id" type="ID">
123
+ <annotation>
124
+ <documentation>The attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.</documentation>
125
+ </annotation>
126
+ </attribute>
127
+ <complexType name="AbstractMemberType" abstract="true">
128
+ <annotation>
129
+ <documentation>To create a collection of GML Objects that are not all features, a property type shall be derived by extension from gml:AbstractMemberType.
130
+ This abstract property type is intended to be used only in object types where software shall be able to identify that an instance of such an object type is to be interpreted as a collection of objects.
131
+ By default, this abstract property type does not imply any ownership of the objects in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of an object in the collection. A collection shall not own an object already owned by another object.
132
+ </documentation>
133
+ </annotation>
134
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
135
+ </complexType>
136
+ <attributeGroup name="AggregationAttributeGroup">
137
+ <annotation>
138
+ <documentation>A GML Object Collection is any GML Object with a property element in its content model whose content model is derived by extension from gml:AbstractMemberType.
139
+ In addition, the complex type describing the content model of the GML Object Collection may also include a reference to the attribute group gml:AggregationAttributeGroup to provide additional information about the semantics of the object collection. This information may be used by applications to group GML objects, and optionally to order and index them.
140
+ The allowed values for the aggregationType attribute are defined by gml:AggregationType. See 8.4 of ISO/IEC 11404:1996 for the meaning of the values in the enumeration.</documentation>
141
+ </annotation>
142
+ <attribute name="aggregationType" type="gml:AggregationType"/>
143
+ </attributeGroup>
144
+ <simpleType name="AggregationType" final="#all">
145
+ <restriction base="string">
146
+ <enumeration value="set"/>
147
+ <enumeration value="bag"/>
148
+ <enumeration value="sequence"/>
149
+ <enumeration value="array"/>
150
+ <enumeration value="record"/>
151
+ <enumeration value="table"/>
152
+ </restriction>
153
+ </simpleType>
154
+ <complexType name="AbstractMetadataPropertyType" abstract="true">
155
+ <annotation>
156
+ <documentation>To associate metadata described by any XML Schema with a GML object, a property element shall be defined whose content model is derived by extension from gml:AbstractMetadataPropertyType.
157
+ The value of such a property shall be metadata. The content model of such a property type, i.e. the metadata application schema shall be specified by the GML Application Schema.
158
+ By default, this abstract property type does not imply any ownership of the metadata. The owns attribute of gml:OwnershipAttributeGroup may be used on a metadata property element instance to assert ownership of the metadata.
159
+ If metadata following the conceptual model of ISO 19115 is to be encoded in a GML document, the corresponding Implementation Specification specified in ISO/TS 19139 shall be used to encode the metadata information.
160
+ </documentation>
161
+ </annotation>
162
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
163
+ </complexType>
164
+ <element name="targetElement" type="string"/>
165
+ <element name="associationName" type="string"/>
166
+ <element name="defaultCodeSpace" type="anyURI"/>
167
+ <element name="gmlProfileSchema" type="anyURI"/>
168
+ </schema>
@@ -0,0 +1,120 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
+ <annotation>
4
+ <appinfo source="urn:x-ogc:specification:gml:schema-xsd:geometryBasic2d:3.2.1">geometryBasic2d.xsd</appinfo>
5
+ <documentation>See ISO/DIS 19136 Clause 10.
6
+
7
+ GML is an OGC Standard.
8
+ Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
9
+ To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
10
+ </documentation>
11
+ </annotation>
12
+ <include schemaLocation="geometryBasic0d1d-extract.xsd"/>
13
+ <complexType name="AbstractSurfaceType" abstract="true">
14
+ <annotation>
15
+ <documentation>gml:AbstractSurfaceType is an abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane.</documentation>
16
+ </annotation>
17
+ <complexContent>
18
+ <extension base="gml:AbstractGeometricPrimitiveType"/>
19
+ </complexContent>
20
+ </complexType>
21
+ <element name="AbstractSurface" type="gml:AbstractSurfaceType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive">
22
+ <annotation>
23
+ <documentation>The AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements.</documentation>
24
+ </annotation>
25
+ </element>
26
+ <complexType name="SurfacePropertyType">
27
+ <annotation>
28
+ <documentation>A property that has a surface as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.</documentation>
29
+ </annotation>
30
+ <sequence minOccurs="0">
31
+ <element ref="gml:AbstractSurface"/>
32
+ </sequence>
33
+ <attributeGroup ref="gml:AssociationAttributeGroup"/>
34
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
35
+ </complexType>
36
+ <element name="surfaceProperty" type="gml:SurfacePropertyType">
37
+ <annotation>
38
+ <documentation>This property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSurface.</documentation>
39
+ </annotation>
40
+ </element>
41
+ <complexType name="SurfaceArrayPropertyType">
42
+ <annotation>
43
+ <documentation>gml:SurfaceArrayPropertyType is a container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.</documentation>
44
+ </annotation>
45
+ <sequence minOccurs="0" maxOccurs="unbounded">
46
+ <element ref="gml:AbstractSurface"/>
47
+ </sequence>
48
+ <attributeGroup ref="gml:OwnershipAttributeGroup"/>
49
+ </complexType>
50
+ <complexType name="PolygonType">
51
+ <complexContent>
52
+ <extension base="gml:AbstractSurfaceType">
53
+ <sequence>
54
+ <element ref="gml:exterior" minOccurs="0"/>
55
+ <element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
56
+ </sequence>
57
+ </extension>
58
+ </complexContent>
59
+ </complexType>
60
+ <element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:AbstractSurface">
61
+ <annotation>
62
+ <documentation>A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior.
63
+ The elements exterior and interior describe the surface boundary of the polygon.</documentation>
64
+ </annotation>
65
+ </element>
66
+ <element name="exterior" type="gml:AbstractRingPropertyType">
67
+ <annotation>
68
+ <documentation>A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.</documentation>
69
+ </annotation>
70
+ </element>
71
+ <element name="interior" type="gml:AbstractRingPropertyType">
72
+ <annotation>
73
+ <documentation>A boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings.</documentation>
74
+ </annotation>
75
+ </element>
76
+ <complexType name="AbstractRingType" abstract="true">
77
+ </complexType>
78
+ <element name="AbstractRing" type="gml:AbstractRingType" abstract="true" substitutionGroup="gml:AbstractObject">
79
+ <annotation>
80
+ <documentation>An abstraction of a ring to support surface boundaries of different complexity.
81
+ The AbstractRing element is the abstract head of the substitution group for all closed boundaries of a surface patch.</documentation>
82
+ </annotation>
83
+ </element>
84
+ <complexType name="AbstractRingPropertyType">
85
+ <annotation>
86
+ <documentation>A property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface.</documentation>
87
+ </annotation>
88
+ <sequence>
89
+ <element ref="gml:AbstractRing"/>
90
+ </sequence>
91
+ </complexType>
92
+ <complexType name="LinearRingType">
93
+ <complexContent>
94
+ <extension base="gml:AbstractRingType">
95
+ <sequence>
96
+ <choice>
97
+ <choice minOccurs="4" maxOccurs="unbounded">
98
+ <element ref="gml:pos"/>
99
+ <element ref="gml:pointProperty"/>
100
+ </choice>
101
+ <element ref="gml:posList"/>
102
+ </choice>
103
+ </sequence>
104
+ </extension>
105
+ </complexContent>
106
+ </complexType>
107
+ <element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:AbstractRing">
108
+ <annotation>
109
+ <documentation>A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates shall be coincident. The number of direct positions in the list shall be at least four.</documentation>
110
+ </annotation>
111
+ </element>
112
+ <complexType name="LinearRingPropertyType">
113
+ <annotation>
114
+ <documentation>A property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary.</documentation>
115
+ </annotation>
116
+ <sequence>
117
+ <element ref="gml:LinearRing"/>
118
+ </sequence>
119
+ </complexType>
120
+ </schema>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2008 (http://www.altova.com) by Nicholas Knowles Knowles (Kizoom Ltd) -->
3
+ <schema xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
4
+ <!-- ===Dependencies ======================================= -->
5
+ <!-- ====================================================================== -->
6
+ <!-- ====================================================================== -->
7
+ <!--SOME GML ELEMENTS HAVE BEEN DROPPED TO MINIMSE DEPENDECIES-->
8
+ <include schemaLocation="basicTypes.xsd"/>
9
+ <include schemaLocation="geometryBasic0d1d-extract.xsd"/>
10
+ <include schemaLocation="gmlBase-extract.xsd"/>
11
+ <include schemaLocation="gmlBasic2d-extract.xsd"/>
12
+ </schema>
@@ -0,0 +1,254 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3" id="ifopt_administration">
3
+ <xsd:annotation>
4
+ <xsd:appinfo>
5
+ <Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
6
+ <Aggregation>main schema</Aggregation>
7
+ <Audience>e-service developers</Audience>
8
+ <Coverage>Europe</Coverage>
9
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
10
+ <Date>
11
+ <Created>2006-08-12</Created>
12
+ </Date>
13
+ <Date>
14
+ <Modified>2006-09-22</Modified>
15
+ </Date>
16
+ <Date>
17
+ <Modified>2007-03-29</Modified>
18
+ </Date>
19
+ <Description>
20
+ <p>Fixed Objects in Public Transport. This subschema defines data administration base types.</p>
21
+ </Description>
22
+ <Format>
23
+ <MediaType>text/xml</MediaType>
24
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
25
+ <Description>XML schema, W3C Recommendation 2001</Description>
26
+ </Format>
27
+ <Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_administration.xsd</Identifier>
28
+ <Language>[ISO 639-2/B] ENG</Language>
29
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
30
+ <Rights><!--Unclassified-->
31
+ <Copyright>CEN, Crown Copyright 2006-2021</Copyright>
32
+ </Rights>
33
+ <Source>
34
+ <ul>
35
+ <li>Derived from the SIRI standards.</li>
36
+ </ul>
37
+ </Source>
38
+ <Status>Version 2.1</Status>
39
+ <Subject>
40
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
41
+ Air transport, Airports,
42
+ Ports and maritime transport, Ferries (marine),
43
+ Public transport, Bus services, Coach services, Bus stops and stations,
44
+ Rail transport, Railway stations and track, Train services, Underground trains,
45
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
46
+ Rail transport, Roads and road transport
47
+ </Category>
48
+ <Project>CEN TC278 WG3 SG6</Project>
49
+ </Subject>
50
+ <Title>IFOPT Fixed Objects in Public Transport - Base Types. </Title>
51
+ <Type>Standard</Type>
52
+ </Metadata>
53
+ </xsd:appinfo>
54
+ <xsd:documentation>Data administration types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
55
+ </xsd:annotation>
56
+ <xsd:include schemaLocation="ifopt_modification.xsd"/>
57
+ <xsd:include schemaLocation="ifopt_types.xsd"/>
58
+ <xsd:include schemaLocation="ifopt_countries.xsd"/>
59
+ <!-- ===== Administrator Identifiers================================================================== -->
60
+ <xsd:simpleType name="AdministratorCodeType">
61
+ <xsd:annotation>
62
+ <xsd:documentation>Type for identifier of an ORGANISATION with administrative responsibility.</xsd:documentation>
63
+ </xsd:annotation>
64
+ <xsd:restriction base="xsd:NMTOKEN"/>
65
+ </xsd:simpleType>
66
+ <xsd:complexType name="AdministratorRefStructure">
67
+ <xsd:annotation>
68
+ <xsd:documentation>Type for a reference to an ORGANISATION with administrative responsibility.</xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:simpleContent>
71
+ <xsd:extension base="AdministratorCodeType"/>
72
+ </xsd:simpleContent>
73
+ </xsd:complexType>
74
+ <xsd:complexType name="AdministratorVersionedRefStructure">
75
+ <xsd:annotation>
76
+ <xsd:documentation>Type for a versioned reference to an ORGANISATION with administrative responsibility.</xsd:documentation>
77
+ </xsd:annotation>
78
+ <xsd:simpleContent>
79
+ <xsd:extension base="AdministratorCodeType">
80
+ <xsd:attributeGroup ref="ModificationDetailsGroup"/>
81
+ </xsd:extension>
82
+ </xsd:simpleContent>
83
+ </xsd:complexType>
84
+ <!-- ===== ADMINISTRATIVE ZONE / Administrative Area identifiers================================================================== -->
85
+ <xsd:simpleType name="AdministrativeAreaCodeType">
86
+ <xsd:annotation>
87
+ <xsd:documentation>Type for identifier of ADMINISTRATIVE ZONE.</xsd:documentation>
88
+ </xsd:annotation>
89
+ <xsd:restriction base="xsd:NMTOKEN">
90
+ <xsd:pattern value="[0-9]{3}"/>
91
+ </xsd:restriction>
92
+ </xsd:simpleType>
93
+ <xsd:complexType name="AdministrativeAreaRefStructure">
94
+ <xsd:annotation>
95
+ <xsd:documentation>Type for a reference to an ADMINISTRATIVE ZONE.</xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:simpleContent>
98
+ <xsd:extension base="AdministrativeAreaCodeType"/>
99
+ </xsd:simpleContent>
100
+ </xsd:complexType>
101
+ <xsd:complexType name="AdministrativeAreaVersionedRefStructure">
102
+ <xsd:annotation>
103
+ <xsd:documentation>Type for a versioned reference to anADMINISTRATIVE ZONE.</xsd:documentation>
104
+ </xsd:annotation>
105
+ <xsd:simpleContent>
106
+ <xsd:extension base="AdministrativeAreaCodeType">
107
+ <xsd:attributeGroup ref="ModificationDetailsGroup"/>
108
+ </xsd:extension>
109
+ </xsd:simpleContent>
110
+ </xsd:complexType>
111
+ <xsd:complexType name="AdministrativeAreaRefsStructure">
112
+ <xsd:annotation>
113
+ <xsd:documentation>Type for a collection of one or more references to ADMINISTRATIVE ZONEs.</xsd:documentation>
114
+ </xsd:annotation>
115
+ <xsd:sequence>
116
+ <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaVersionedRefStructure" maxOccurs="unbounded">
117
+ <xsd:annotation>
118
+ <xsd:documentation>Reference to the identifier of an ADMINISTRATIVE ZONE.</xsd:documentation>
119
+ </xsd:annotation>
120
+ </xsd:element>
121
+ </xsd:sequence>
122
+ </xsd:complexType>
123
+ <!-- ===== RESPONSIBILITY ROLE / AdministrativeRole identifiers=============================================================== -->
124
+ <xsd:simpleType name="AdministrativeRoleTypeEnumeration">
125
+ <xsd:annotation>
126
+ <xsd:documentation>Enumeration of allowed values for RESPONSIBILITY ROLEs.</xsd:documentation>
127
+ </xsd:annotation>
128
+ <xsd:restriction base="xsd:string">
129
+ <xsd:enumeration value="all"/>
130
+ <xsd:enumeration value="collects"/>
131
+ <xsd:enumeration value="validates"/>
132
+ <xsd:enumeration value="aggregates"/>
133
+ <xsd:enumeration value="distributes"/>
134
+ <xsd:enumeration value="redistributes"/>
135
+ </xsd:restriction>
136
+ </xsd:simpleType>
137
+ <!-- =====Namespace Identifiers=============================================================== -->
138
+ <xsd:simpleType name="NamespaceTypeCodeType">
139
+ <xsd:annotation>
140
+ <xsd:documentation>Type for identifier of type of Namespace.</xsd:documentation>
141
+ </xsd:annotation>
142
+ <xsd:restriction base="xsd:NMTOKEN"/>
143
+ </xsd:simpleType>
144
+ <xsd:complexType name="NamespaceTypeRefStructure">
145
+ <xsd:annotation>
146
+ <xsd:documentation>Type for a reference to an Namespace.</xsd:documentation>
147
+ </xsd:annotation>
148
+ <xsd:simpleContent>
149
+ <xsd:extension base="NamespaceTypeCodeType"/>
150
+ </xsd:simpleContent>
151
+ </xsd:complexType>
152
+ <xsd:simpleType name="NamespaceIdType">
153
+ <xsd:annotation>
154
+ <xsd:documentation>The type for identifier of Namespace.</xsd:documentation>
155
+ </xsd:annotation>
156
+ <xsd:restriction base="xsd:NMTOKEN"/>
157
+ </xsd:simpleType>
158
+ <xsd:simpleType name="NamespaceValueType">
159
+ <xsd:annotation>
160
+ <xsd:documentation>Type for a value of a namespace.</xsd:documentation>
161
+ </xsd:annotation>
162
+ <xsd:restriction base="xsd:string"/>
163
+ </xsd:simpleType>
164
+ <!-- =====Region======================================================== -->
165
+ <xsd:simpleType name="RegionCodeType">
166
+ <xsd:annotation>
167
+ <xsd:documentation>Type for a Identifier of Region.</xsd:documentation>
168
+ </xsd:annotation>
169
+ <xsd:restriction base="xsd:NMTOKEN"/>
170
+ </xsd:simpleType>
171
+ <xsd:complexType name="RegionRefStructure">
172
+ <xsd:annotation>
173
+ <xsd:documentation>Type for a Reference to identifier of Region.</xsd:documentation>
174
+ </xsd:annotation>
175
+ <xsd:simpleContent>
176
+ <xsd:extension base="RegionCodeType"/>
177
+ </xsd:simpleContent>
178
+ </xsd:complexType>
179
+ <!-- ======================================================================= -->
180
+ <xsd:simpleType name="AuthorityCodeType">
181
+ <xsd:annotation>
182
+ <xsd:documentation>Type for identifier of AUTHORITY.</xsd:documentation>
183
+ </xsd:annotation>
184
+ <xsd:restriction base="xsd:NMTOKEN">
185
+ <xsd:maxLength value="2"/>
186
+ </xsd:restriction>
187
+ </xsd:simpleType>
188
+ <xsd:complexType name="AuthorityRefStructure">
189
+ <xsd:annotation>
190
+ <xsd:documentation>Type for a reference to an AUTHORITY.</xsd:documentation>
191
+ </xsd:annotation>
192
+ <xsd:simpleContent>
193
+ <xsd:extension base="AuthorityCodeType"/>
194
+ </xsd:simpleContent>
195
+ </xsd:complexType>
196
+ <!-- ======================================================================= -->
197
+ <xsd:complexType name="VersionedObjectStructure" abstract="true">
198
+ <xsd:annotation>
199
+ <xsd:documentation>Abstract Type for a versioned object.</xsd:documentation>
200
+ </xsd:annotation>
201
+ <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
202
+ </xsd:complexType>
203
+ <xsd:group name="VersionedObjectGroup">
204
+ <xsd:annotation>
205
+ <xsd:documentation>Version related properties.</xsd:documentation>
206
+ </xsd:annotation>
207
+ <xsd:sequence>
208
+ <xsd:element name="CreationDateTime" type="xsd:dateTime">
209
+ <xsd:annotation>
210
+ <xsd:documentation>Date on which element was created.</xsd:documentation>
211
+ </xsd:annotation>
212
+ </xsd:element>
213
+ <xsd:element name="LastUpdateDateTime" type="xsd:dateTime">
214
+ <xsd:annotation>
215
+ <xsd:documentation>Date on which element was last updated.</xsd:documentation>
216
+ </xsd:annotation>
217
+ </xsd:element>
218
+ <xsd:element name="VersionFrame" type="xsd:string" minOccurs="0">
219
+ <xsd:annotation>
220
+ <xsd:documentation>Version of data.</xsd:documentation>
221
+ </xsd:annotation>
222
+ </xsd:element>
223
+ </xsd:sequence>
224
+ </xsd:group>
225
+ <xsd:complexType name="DataManagedObjectStructure" abstract="true">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Abstract Type for DATA MANAGED OBJECT, that is an object that may be assigned a RESPONSIBILITY SET dictating a responsible ORGANISATION and/or ADMINISTRATIVE ZONE.</xsd:documentation>
228
+ </xsd:annotation>
229
+ <xsd:complexContent>
230
+ <xsd:extension base="VersionedObjectStructure">
231
+ <xsd:sequence>
232
+ <xsd:group ref="DataManagedObjectGroup"/>
233
+ </xsd:sequence>
234
+ </xsd:extension>
235
+ </xsd:complexContent>
236
+ </xsd:complexType>
237
+ <xsd:group name="DataManagedObjectGroup">
238
+ <xsd:annotation>
239
+ <xsd:documentation>Elements for a DATA MANAGED OBJECT.</xsd:documentation>
240
+ </xsd:annotation>
241
+ <xsd:sequence>
242
+ <xsd:element name="ManagedByAreaRef" type="AdministrativeAreaRefStructure" minOccurs="0">
243
+ <xsd:annotation>
244
+ <xsd:documentation>ADMINISTRATIVE ZONEthat manages object. If absent then manager same as for containing parent of object.</xsd:documentation>
245
+ </xsd:annotation>
246
+ </xsd:element>
247
+ <xsd:element name="InfoLinks" type="InfoLinksStructure" minOccurs="0">
248
+ <xsd:annotation>
249
+ <xsd:documentation>Collection of URL's associated with object.</xsd:documentation>
250
+ </xsd:annotation>
251
+ </xsd:element>
252
+ </xsd:sequence>
253
+ </xsd:group>
254
+ </xsd:schema>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- SIRI Model - All SIRI IFOPT STOP PLACE packagaes
3
+ Copyright CEN 2004-2021
4
+
5
+ -->
6
+ <!--
7
+ The Purpose of this file is to overcome a technical limitation in Xerces (and possibly other) widely used XML processors.
8
+
9
+ Xerces has a limitation in that it only notices the first import for a given namespace that it encounters - all others are effectively ignored. Thus if one imports seperate individual xsd files from the same namespace as separate import statements, only the elements in the first are found. This applies on a per-schema basis, i.e. when processing a complex depedency graph with multiple files referencing the same namespace, once the first import for a namespace has been loaded no further files are imported for that namespace during the whole JAXB run.
10
+
11
+ The practical effect of this limitation is that you should always import all of the types in a namespace, not just the ones that the current file requires.
12
+
13
+ This file provides a single declaration of all the ifopt Stop Model data elements for use in such an import.
14
+
15
+ -->
16
+ <xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:acsb="http://www.ifopt.org.uk/acsb" xmlns:siri="http://www.siri.org.uk/siri" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3" id="ifopt_allStopPlace">
17
+ <!-- ===Global include of all ACSB namespace elements neeeded to work around XERCES limitation=====-->
18
+ <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_all.xsd"/>
19
+ <!-- ======================================================================= -->
20
+ <xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_utility/siri_location.xsd"/>
21
+ <xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_utility/siri_types.xsd"/>
22
+ <xsd:include schemaLocation="ifopt_administration.xsd"/>
23
+ <xsd:include schemaLocation="ifopt_countries.xsd"/>
24
+ <xsd:include schemaLocation="ifopt_location.xsd"/>
25
+ <xsd:include schemaLocation="ifopt_modification.xsd"/>
26
+ <xsd:include schemaLocation="ifopt_path.xsd"/>
27
+ <xsd:include schemaLocation="ifopt_equipment.xsd"/>
28
+ <xsd:include schemaLocation="ifopt_stop.xsd"/>
29
+ <xsd:include schemaLocation="ifopt_time.xsd"/>
30
+ <xsd:include schemaLocation="ifopt_types.xsd"/>
31
+ <xsd:include schemaLocation="ifopt_checkpoint.xsd"/>
32
+ <xsd:include schemaLocation="ifopt_modes.xsd"/>
33
+ </xsd:schema>