Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions xsd/siri_model/siri_reference.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -868,4 +868,25 @@ Values for these elements can be specified on an annual schedule and will be inh
<xsd:extension base="ControlActionCodeType"/>
</xsd:simpleContent>
</xsd:complexType>
<!-- ======================================================================= -->
<!-- References to PT CONSEQUENCE ========================================= -->
<xsd:element name="ConsequenceRef" type="ConsequenceRefStructure">
<xsd:annotation>
<xsd:documentation>Reference to a Consequence associated with the element.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType name="ConsequenceCodeType">
<xsd:annotation>
<xsd:documentation>Identifier of a PT CONSEQUENCE</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>
<xsd:complexType name="ConsequenceRefStructure">
<xsd:annotation>
<xsd:documentation>Type for reference to a PT CONSEQUENCE.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ConsequenceCodeType"/>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
5 changes: 5 additions & 0 deletions xsd/siri_model/siri_situation.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,11 @@ Note that if the ControlAction is the master ControlAction of a GroupOfControlAc
<xsd:documentation>Type for disruption.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ConsequenceCode" type="xsd:NMTOKEN" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Unique identifier of the Consequence, facilitating its link with the ParametrisedActionStructure.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Period" type="HalfOpenTimestampOutputRangeStructure" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Period of effect of disruption, if different from that of SITUATION.</xsd:documentation>
Expand Down
12 changes: 11 additions & 1 deletion xsd/siri_model/siri_situationActions.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,22 @@ Rail transport, Roads and road transport
<xsd:documentation>Data associated with action.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PublicationRef" type="xsd:NMTOKEN" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Unique identifier of the Published Action, intended to faciliate its tracking by data consumers.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PublicationWindow" type="ClosedTimestampRangeStructure" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines a number of publication windows. When not sent, then the publication windows of higher level are valid. Can be overwritten by deeper level.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:element name="ConsequenceRef" type="ConsequenceRefStructure" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Refers to the unique identifier of one or several Consequences that trigerred this Action.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Expand Down