Skip to content

Commit d08507f

Browse files
committed
modifications for UMS against SIRI v2.0q
1 parent e0c9aec commit d08507f

8 files changed

+821
-487
lines changed

xsd/siri_model/siri_modes-v1.1.xsd

Lines changed: 125 additions & 306 deletions
Large diffs are not rendered by default.

xsd/siri_model/siri_situation-v2.0.xsd

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Mit XMLSpy v2018 sp1 (x64) (http://www.altova.com) von David Sielaff (Verkehrsverbund Rhein-Sieg GmbH) bearbeitet -->
23
<!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by Christophe Duquesne (Aurige) -->
34
<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.0" id="siri_situation">
5+
<!--
6+
siri_model\siri_situation-v2.0.xsd:
7+
19.12.2017 D. Rubli, Siri_XML-2.0p_a0.2:
8+
- Concequence.Period changed to unbounded.
9+
12.01.2018 D. Rubli, Siri_XML-2.0p synchronisation of recommendation with xsd:
10+
- RelatedToEnumeration Enum value "correctionTo" added according to recommendation document.
11+
- WorkflowStatusEnumeration Enum value "pendingApproval" added according to recommendation document.
12+
- AudienceEnumeration Enum value "authorities" added according to recommendation document.
13+
- AudienceEnumeration Enum value "transportOperators" added according to recommendation document.
14+
13.06.2018 D. Rubli, Siri_XML-2.0p_a0.5:
15+
- StatusGroup.Progress changed from optional to mandatory
16+
- PublicationWindow changed to unbounded
17+
-->
418
<!-- ======================================================================= -->
519
<!--Needed to work around import limitation in JAXB - all namespaces. -->
620
<xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_all-v0.3.xsd"/>
721
<xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_accessibility-v0.3.xsd"/>
822
<xsd:import namespace="http://datex2.eu/schema/2_0RC1/2_0" schemaLocation="../datex2/DATEXIISchema_2_0RC1_2_0.xsd"/>
23+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../xml/xml.xsd"/>
924
<!-- ======================================================================= -->
1025
<xsd:include schemaLocation="siri_situationIdentity-v1.1.xsd"/>
1126
<xsd:include schemaLocation="siri_situationServiceTypes-v1.0.xsd"/>
@@ -472,7 +487,7 @@ Rail transport, Roads and road transport
472487
<xsd:documentation>Type for a source, i.e. provider of information.</xsd:documentation>
473488
</xsd:annotation>
474489
<xsd:sequence>
475-
<xsd:element name="Country" type="xsd:NMTOKEN" minOccurs="0">
490+
<xsd:element name="CountryRef" type="xsd:NMTOKEN" minOccurs="0">
476491
<xsd:annotation>
477492
<xsd:documentation>Country of origin of source element.</xsd:documentation>
478493
</xsd:annotation>
@@ -571,7 +586,7 @@ Rail transport, Roads and road transport
571586
<xsd:restriction base="VerificationStatusEnumeration"/>
572587
</xsd:simpleType>
573588
</xsd:element>
574-
<xsd:element name="Progress" type="WorkflowStatusEnumeration" default="open" minOccurs="0">
589+
<xsd:element name="Progress" type="WorkflowStatusEnumeration" default="open">
575590
<xsd:annotation>
576591
<xsd:documentation>ProgressStatus. 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.</xsd:documentation>
577592
</xsd:annotation>
@@ -651,7 +666,7 @@ Rail transport, Roads and road transport
651666
</xsd:sequence>
652667
</xsd:complexType>
653668
</xsd:element>
654-
<xsd:element name="PublicationWindow" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0">
669+
<xsd:element name="PublicationWindow" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0" maxOccurs="unbounded">
655670
<xsd:annotation>
656671
<xsd:documentation>Publication Window for SITUATION if different from validity period.</xsd:documentation>
657672
</xsd:annotation>
@@ -1053,7 +1068,8 @@ Rail transport, Roads and road transport
10531068
<xsd:documentation>Type for a text that may be overridden.</xsd:documentation>
10541069
</xsd:annotation>
10551070
<xsd:simpleContent>
1056-
<xsd:extension base="NaturalLanguageStringStructure">
1071+
<xsd:extension base="PopulatedStringType">
1072+
<xsd:attribute ref="xml:lang" use="required"/>
10571073
<xsd:attribute name="overridden" type="xsd:boolean" use="optional" default="true">
10581074
<xsd:annotation>
10591075
<xsd:documentation>Whether the text value has been overridden from the generated default. Default is 'true'.</xsd:documentation>
@@ -1119,7 +1135,7 @@ Rail transport, Roads and road transport
11191135
<xsd:documentation>Type for disruption.</xsd:documentation>
11201136
</xsd:annotation>
11211137
<xsd:sequence>
1122-
<xsd:element name="Period" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0">
1138+
<xsd:element name="Period" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0" maxOccurs="unbounded">
11231139
<xsd:annotation>
11241140
<xsd:documentation>Period of effect of disruption, if different from that of SITUATION.</xsd:documentation>
11251141
</xsd:annotation>

0 commit comments

Comments
 (0)