Skip to content

Commit

Permalink
Restricted lines & MultiPointTripRequest (#426)
Browse files Browse the repository at this point in the history
* Moved IncludeAllRestrictedLines, PassengerCategory

* Lint and update documentation tables

* Create MultipointTrip_002_Request_IncludeAllRest.xml

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthias Günter <[email protected]>
  • Loading branch information
3 people authored Oct 26, 2023
1 parent 2e4ac83 commit 8cf242f
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 19 deletions.
10 changes: 10 additions & 0 deletions OJP/OJP_JourneySupport.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,16 @@
<xs:documentation>Whether the trip calculation should take elevation data into account (bike, foot). Default is FALSE.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeAllRestrictedLines" type="xs:boolean" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>There might exist lines that have special restrictions and are not generally available to the public. E.g. school buses, company shuttles. dragLifts need to have an ACCESS MODE ski. Lines with ACCESS MODE bicycle will be included as well. If this flag is set, then existing restricted lines are considered by the router, irrespective of the selected passenger categories or the MotorisedMainTravelMode. The results are marked as restricted in the ServiceGroup. The usage could also be detailed with Attribute elements. Restricted trumps PassengerCategory, for example. If Restricted is set to true, all services are displayed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PassengerCategory" type="PassengerCategoryEnumeration" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Sequence of all passenger categories, for which this search shall be conducted. In rare cases additional offerings may be available (e.g., demand responsive service with certain areas being reserved for seniors). If multiple PassengerCategories are provided, then Services are shown when they are available for at least one PassengerCategory.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="BaseTripMobilityFilterGroup">
Expand Down
10 changes: 0 additions & 10 deletions OJP/OJP_Trips.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,6 @@
<xs:documentation>Whether alternative options should be presented as well. Mainly important for dominated journeys or in the case of ContinuousLegs the second-best route. Should be optimised for the user expectance (see. e.g https://theses.hal.science/tel-01848737). However, what the alternative options are may vary widely depending on the optimisation methods and filters.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeAllRestrictedLines" type="xs:boolean" minOccurs="0" default="false">
<xs:annotation>
<xs:documentation>There might exist lines that have special restrictions and are not generally available to the public. E.g. school buses, company shuttles. dragLifts need to have an ACCESS MODE ski. Lines with ACCESS MODE bicycle will be included as well. If this flag is set, then existing restricted lines are considered by the router, irrespective of the selected passenger categories or the MotorisedMainTravelMode. The results are marked as restricted in the ServiceGroup. The usage could also be detailed with Attribute elements. Restricted trumps PassengerCategory, for example. If Restricted is set to true, all services are displayed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PassengerCategory" type="PassengerCategoryEnumeration" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Sequence of all passenger categories, for which this search shall be conducted. In rare cases additional offerings may be available (e.g., demand responsive service with certain areas being reserved for seniors). If multiple PassengerCategories are provided, then Services are shown when they are available for at least one PassengerCategory.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
</xs:sequence>
Expand Down
Loading

0 comments on commit 8cf242f

Please sign in to comment.