|
1 | 1 | <?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 --> |
2 | 3 | <!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by Christophe Duquesne (Aurige) -->
|
3 | 4 | <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 | +--> |
4 | 18 | <!-- ======================================================================= -->
|
5 | 19 | <!--Needed to work around import limitation in JAXB - all namespaces. -->
|
6 | 20 | <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_all-v0.3.xsd"/>
|
7 | 21 | <xsd:import namespace="http://www.ifopt.org.uk/acsb" schemaLocation="../acsb/acsb_accessibility-v0.3.xsd"/>
|
8 | 22 | <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"/> |
9 | 24 | <!-- ======================================================================= -->
|
10 | 25 | <xsd:include schemaLocation="siri_situationIdentity-v1.1.xsd"/>
|
11 | 26 | <xsd:include schemaLocation="siri_situationServiceTypes-v1.0.xsd"/>
|
@@ -472,7 +487,7 @@ Rail transport, Roads and road transport
|
472 | 487 | <xsd:documentation>Type for a source, i.e. provider of information.</xsd:documentation>
|
473 | 488 | </xsd:annotation>
|
474 | 489 | <xsd:sequence>
|
475 |
| - <xsd:element name="Country" type="xsd:NMTOKEN" minOccurs="0"> |
| 490 | + <xsd:element name="CountryRef" type="xsd:NMTOKEN" minOccurs="0"> |
476 | 491 | <xsd:annotation>
|
477 | 492 | <xsd:documentation>Country of origin of source element.</xsd:documentation>
|
478 | 493 | </xsd:annotation>
|
@@ -571,7 +586,7 @@ Rail transport, Roads and road transport
|
571 | 586 | <xsd:restriction base="VerificationStatusEnumeration"/>
|
572 | 587 | </xsd:simpleType>
|
573 | 588 | </xsd:element>
|
574 |
| - <xsd:element name="Progress" type="WorkflowStatusEnumeration" default="open" minOccurs="0"> |
| 589 | + <xsd:element name="Progress" type="WorkflowStatusEnumeration" default="open"> |
575 | 590 | <xsd:annotation>
|
576 | 591 | <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>
|
577 | 592 | </xsd:annotation>
|
@@ -651,7 +666,7 @@ Rail transport, Roads and road transport
|
651 | 666 | </xsd:sequence>
|
652 | 667 | </xsd:complexType>
|
653 | 668 | </xsd:element>
|
654 |
| - <xsd:element name="PublicationWindow" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0"> |
| 669 | + <xsd:element name="PublicationWindow" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0" maxOccurs="unbounded"> |
655 | 670 | <xsd:annotation>
|
656 | 671 | <xsd:documentation>Publication Window for SITUATION if different from validity period.</xsd:documentation>
|
657 | 672 | </xsd:annotation>
|
@@ -1053,7 +1068,8 @@ Rail transport, Roads and road transport
|
1053 | 1068 | <xsd:documentation>Type for a text that may be overridden.</xsd:documentation>
|
1054 | 1069 | </xsd:annotation>
|
1055 | 1070 | <xsd:simpleContent>
|
1056 |
| - <xsd:extension base="NaturalLanguageStringStructure"> |
| 1071 | + <xsd:extension base="PopulatedStringType"> |
| 1072 | + <xsd:attribute ref="xml:lang" use="required"/> |
1057 | 1073 | <xsd:attribute name="overridden" type="xsd:boolean" use="optional" default="true">
|
1058 | 1074 | <xsd:annotation>
|
1059 | 1075 | <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
|
1119 | 1135 | <xsd:documentation>Type for disruption.</xsd:documentation>
|
1120 | 1136 | </xsd:annotation>
|
1121 | 1137 | <xsd:sequence>
|
1122 |
| - <xsd:element name="Period" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0"> |
| 1138 | + <xsd:element name="Period" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0" maxOccurs="unbounded"> |
1123 | 1139 | <xsd:annotation>
|
1124 | 1140 | <xsd:documentation>Period of effect of disruption, if different from that of SITUATION.</xsd:documentation>
|
1125 | 1141 | </xsd:annotation>
|
|
0 commit comments