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
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Rail transport, Roads and Road transport
<xsd:documentation>A VEHICLE JOURNEY with a set of frequencies that may be used to represent a set of similar journeys differing only by their time of departure.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="SequenceOfJourneys"/>
</xsd:choice>
</xsd:extension>
</xsd:complexContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,41 @@ Rail transport, Roads and Road transport
</xsd:restriction>
</xsd:simpleType>
<!-- ======================================================================= -->
<xsd:simpleType name="SequenceOfJourneysIdType">
<xsd:annotation>
<xsd:documentation>Type for identifier of a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="ObjectIdType"/>
</xsd:simpleType>
<xsd:element name="SequenceOfJourneysRef" type="SequenceOfJourneysRefStructure">
<xsd:annotation>
<xsd:documentation>Reference to a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="SequenceOfJourneysRefStructure">
<xsd:annotation>
<xsd:documentation>Type for a reference to a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:restriction base="VersionOfObjectRefStructure">
<xsd:attribute name="ref" type="SequenceOfJourneysIdType" use="required">
<xsd:annotation>
<xsd:documentation>Identifier of a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="serviceJourneyRefs_RelStructure">
<xsd:annotation>
<xsd:documentation>Type for a list of VEHICLE JOURNEYs.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="oneToManyRelationshipStructure">
<xsd:sequence>
<xsd:element ref="ServiceJourneyRef" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
Original file line number Diff line number Diff line change
Expand Up @@ -725,5 +725,68 @@ The VIEW includes derived ancillary data from referenced entities.</xsd:document
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ==Sequence of Journeys============================================================ -->
<xsd:element name="SequenceOfJourneys" abstract="false">
<xsd:annotation>
<xsd:documentation>An ordered sequence of SERVICE JOURNEYs with the following constraints:
they shall all share the same CALENDAR/DAY TYPES
there shall be at least one phycal VEHICLE shared between 2 consecutive SERVICE JOURNEY
There is an implicit INTERCHANGE between 2 consecutive SERVICE JOURNEY (can be made explicit if needed)

This is expected to be a published offer for passengers.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="SequenceOfJourneys_VersionStructure">
<xsd:sequence>
<xsd:sequence>
<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="DataManagedObjectGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="SequenceOfJourneysGroup"/>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute name="id" type="SequenceOfJourneysIdType"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="SequenceOfJourneys_VersionStructure">
<xsd:annotation>
<xsd:documentation>Type for a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="DataManagedObjectStructure">
<xsd:sequence>
<xsd:group ref="SequenceOfJourneysGroup"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="SequenceOfJourneysGroup">
<xsd:annotation>
<xsd:documentation>Elements for a SEQUENCE OF JOURNEYS.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ServiceJourneys" type="serviceJourneyRefs_RelStructure">
<xsd:annotation>
<xsd:documentation>Ordered Services in the sequence.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FromStopPointRef" type="ScheduledStopPointRefStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Point at which this SEQUENCE OF JOURNEYS starts.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ToStopPointRef" type="ScheduledStopPointRefStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Point at which this SEQUENCE OF JOURNEYS ends.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ======================================================================= -->
</xsd:schema>