Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TripStatusGroup #116

Merged
merged 2 commits into from
Dec 3, 2020
Merged
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
33 changes: 33 additions & 0 deletions OJP/OJP_Trips.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@
</xs:element>
<xs:group ref="OperatingDaysGroup" minOccurs="0"/>
<xs:element ref="SituationFullRef" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="TripStatusGroup" minOccurs="0"/>
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
Expand Down Expand Up @@ -921,4 +922,36 @@
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="TripStatusGroup">
<xs:annotation>
<xs:documentation>Parameters which describe the current status of a TRIP</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Unplanned" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip is an additional one that has not been planned. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Cancelled" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip is cancelled and will not be run. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Deviation" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip deviates from the planned service pattern. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Delayed" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip is delayed. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Infeasible" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip cannot be used, due to operational delays and impossible transfers. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
</xs:schema>