Skip to content

Commit

Permalink
Add a parameter to FareResult indicating whether it was estimated (#324)
Browse files Browse the repository at this point in the history
* Update OJP_Fare.xsd
* Update OJP/OJP_Fare.xsd
* Update OJP/OJP_Fare.xsd
  • Loading branch information
ue71603 authored Mar 13, 2023
1 parent 7691e00 commit e4dd489
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions OJP/OJP_Fare.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@
<xs:documentation>Problems related to this FARE result.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FareEstimated" type="xs:boolean" default="true" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the fare is only estimated by the service. Estimated can mean different things: For example, the fare may vary depending on age, PassengerCategory, TravelClass, EntitlementProducts. It can also mean that the fare structure used by the service is not entirely accurate or that other factors, such as the time a shared vehicle is used, need to be factored into the price. As a rule, the price should then be given as an approximate and probably lower limit of the actual price. Default is TRUE.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="StopFareResult" type="StopFareResultStructure">
<xs:annotation>
Expand Down
Loading

0 comments on commit e4dd489

Please sign in to comment.