Skip to content

Commit

Permalink
Multiple BookingNotes (#370)
Browse files Browse the repository at this point in the history
* Update OJP_FareSupport.xsd

* Lint and update documentation tables

* improved on the Notes

* Lint and update documentation tables

* Update OJP/OJP_FareSupport.xsd

Co-authored-by: trurlurl <82838870+trurlurl@users.noreply.github.com>

* Update OJP_FareSupport.xsd

* Lint and update documentation tables

* reorganises BookingNote and example

* Lint and update documentation tables

* Update OJP/OJP_FareSupport.xsd

* Lint and update documentation tables

* Update annotation documentation

* Lint and update documentation tables

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: trurlurl <82838870+trurlurl@users.noreply.github.com>
Co-authored-by: Stephan Großberndt <s.grossberndt@sidebysite.de>
  • Loading branch information
4 people authored Jun 29, 2023
1 parent 466682b commit f3823f0
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 19 deletions.
22 changes: 17 additions & 5 deletions OJP/OJP_FareSupport.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
<xs:annotation>
<xs:documentation>========================================== Fare Authority ==========================================</xs:documentation>
</xs:annotation>
<xs:complexType name="BookingNotesStructure">
<xs:annotation>
<xs:documentation>A structure for an ordered list of booking notes.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="BookingNote" type="InternationalTextStructure" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Note about booking the LINE.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="FareAuthorityCodeType">
<xs:annotation>
<xs:documentation>Identifier of a Fare Authority.</xs:documentation>
Expand Down Expand Up @@ -182,7 +194,7 @@
<!-- ======================================================================= -->
<xs:simpleType name="BookingMethodEnumeration">
<xs:annotation>
<xs:documentation>Allowed values for Flexible Booking method.</xs:documentation>
<xs:documentation>Allowed values for a booking method.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="callDriver"/>
Expand All @@ -198,12 +210,12 @@
</xs:simpleType>
<xs:complexType name="BookingMethodListOfEnumerations">
<xs:annotation>
<xs:documentation>List of values for Flexible Booking values.</xs:documentation>
<xs:documentation>List of values for booking values.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="BookingMethod" type="BookingMethodEnumeration" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Flexible booking methods.</xs:documentation>
<xs:documentation>Booking methods.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
Expand Down Expand Up @@ -446,9 +458,9 @@
<xs:documentation>URL for booking.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BookingNote" type="InternationalTextStructure" minOccurs="0">
<xs:element name="BookingNotes" type="BookingNotesStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Note about booking the FLEXIBLE LINE.</xs:documentation>
<xs:documentation>Notes about booking the LINE.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
Expand Down
Loading

0 comments on commit f3823f0

Please sign in to comment.