Skip to content

Commit

Permalink
Update OJP_Trips.xsd
Browse files Browse the repository at this point in the history
Moving HikingProfile and CyclingProfile out of TripContentFilterGroup
  • Loading branch information
trurlurl authored and ue71603 committed Oct 26, 2023
1 parent 8cf242f commit fbc3c99
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions OJP/OJP_Trips.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -150,29 +150,6 @@
<xs:documentation>Additional time added to all transfers (also to transfers between individual to public transport, not modeled in Transmodel).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="TripContentFilterGroup">
<xs:annotation>
<xs:documentation>Parameters that control the level of detail of the trip results.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="BaseTripContentFilterGroup"/>
<xs:element name="IncludeIntermediateStops" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include intermediate stops (between the passenger's board and alight stops).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeFare" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include fare information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeOperatingDays" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include operating day information - as encoded bit string and in natural language.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HikingProfile" default="easy" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Users hiking profile. The main element to control general walking behaviour is WalkSpeed (together with accessibility constraints). Note: possible explanations in German can be found here: https://akademie.alpinewelten.com/bergwandern/klassifizierung-von-wanderwegen</xs:documentation>
Expand Down Expand Up @@ -221,6 +198,29 @@
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="TripContentFilterGroup">
<xs:annotation>
<xs:documentation>Parameters that control the level of detail of the trip results.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="BaseTripContentFilterGroup"/>
<xs:element name="IncludeIntermediateStops" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include intermediate stops (between the passenger's board and alight stops).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeFare" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include fare information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeOperatingDays" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include operating day information - as encoded bit string and in natural language.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TripSummaryOnly" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If true, then the response will contain only summaries of the found trips. Default is false.</xs:documentation>
Expand Down

0 comments on commit fbc3c99

Please sign in to comment.