Skip to content

Commit 006c11b

Browse files
committed
improved on the Notes
1 parent efed989 commit 006c11b

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

OJP/OJP_FareSupport.xsd

+27-5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@
88
<xs:annotation>
99
<xs:documentation>========================================== Fare Authority ==========================================</xs:documentation>
1010
</xs:annotation>
11+
<xs:complexType name="BookingNoteStructure">
12+
<xs:annotation>
13+
<xs:documentation>A structure for booking notes.</xs:documentation>
14+
</xs:annotation>
15+
<xs:sequence>
16+
<xs:element name="BookingNote" type="BookingNoteType" minOccurs="1" maxOccurs="unbounded"/>
17+
</xs:sequence>
18+
</xs:complexType>
19+
<xs:complexType name="BookingNoteType">
20+
<xs:annotation>
21+
<xs:documentation>An element of the BookingNotes or as a single BookingNote.</xs:documentation>
22+
</xs:annotation>
23+
<xs:attribute name="order" type="xs:positiveInteger"/>
24+
</xs:complexType>
1125
<xs:simpleType name="FareAuthorityCodeType">
1226
<xs:annotation>
1327
<xs:documentation>Identifier of a Fare Authority.</xs:documentation>
@@ -446,11 +460,19 @@
446460
<xs:documentation>URL for booking.</xs:documentation>
447461
</xs:annotation>
448462
</xs:element>
449-
<xs:element name="BookingNote" type="InternationalTextStructure" minOccurs="0" maxOccurs="unbounded">
450-
<xs:annotation>
451-
<xs:documentation>Note about booking the FLEXIBLE LINE.</xs:documentation>
452-
</xs:annotation>
453-
</xs:element>
463+
<xs:choice>
464+
<xs:element name="BookingNote" type="BookingNoteType" minOccurs="0">
465+
<xs:annotation>
466+
<xs:documentation>Note about booking the (FLEXIBLE) LINE (depreciated).</xs:documentation>
467+
</xs:annotation>
468+
</xs:element>
469+
<xs:element name="BookingNotes" type="BookingNoteStructure" minOccurs="0">
470+
<xs:annotation>
471+
<xs:documentation>Notes about booking the (FLEXIBLE) LINE.</xs:documentation>
472+
</xs:annotation>
473+
</xs:element>
474+
</xs:choice>
475+
454476
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
455477
</xs:sequence>
456478
</xs:group>

0 commit comments

Comments
 (0)