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 TariffzoneFilter to TripDataFilterGroup #282

Merged
merged 5 commits into from
Dec 16, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
15 changes: 15 additions & 0 deletions OJP/OJP_Trips.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
<xs:documentation>Filter for VEHICLE and TRAIN NUMBERs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TariffzoneFilter" type="TariffzoneFilterStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Filter for trips using only specific tariff zones.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="TripPolicyGroup">
Expand Down Expand Up @@ -210,6 +215,16 @@
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TariffzoneFilterStructure">
<xs:sequence>
<xs:element name="Exclude" type="xs:boolean" default="false" minOccurs="0">
ue71603 marked this conversation as resolved.
Show resolved Hide resolved
<xs:annotation>
<xs:documentation>Whether to include or exclude given tariff zones in the list from the search. Default is include.</xs:documentation>
skinkie marked this conversation as resolved.
Show resolved Hide resolved
</xs:annotation>
</xs:element>
<xs:element name="TariffZones" type="TariffZoneListInAreaStructure"/>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>========================================== TripResponse definitions ==========================================</xs:documentation>
</xs:annotation>
Expand Down
Loading