Skip to content

Commit

Permalink
Coherent use of ObjectIdType (#316)
Browse files Browse the repository at this point in the history
* Changed type of LegIdRefs and TripIdRefs to ObjectIdType
  • Loading branch information
trurlurl authored Mar 17, 2023
1 parent e5ce837 commit 0908aa2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions OJP/OJP_Fare.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -204,22 +204,22 @@
</xs:annotation>
<xs:sequence>
<xs:element ref="FareProductRef"/>
<xs:element name="FromTripIdRef" type="xs:NMTOKEN">
<xs:element name="FromTripIdRef" type="ObjectIdType">
<xs:annotation>
<xs:documentation>Identifies the "valid from" trip.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FromLegIdRef" type="xs:NMTOKEN" minOccurs="0">
<xs:element name="FromLegIdRef" type="ObjectIdType" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifies the "valid from" LEG. If missing, then valid from the first LEG.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ToTripIdRef" type="xs:NMTOKEN">
<xs:element name="ToTripIdRef" type="ObjectIdType">
<xs:annotation>
<xs:documentation>Identifies the "valid to" trip.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ToLegIdRef" type="xs:NMTOKEN" minOccurs="0">
<xs:element name="ToLegIdRef" type="ObjectIdType" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifies the "valid to" LEG. If missing, then valid to the last LEG.</xs:documentation>
</xs:annotation>
Expand Down
4 changes: 2 additions & 2 deletions OJP/OJP_FareSupport.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,12 @@
<xs:documentation>Range of LEGs (from - to) for which a Fare result (ticket) is valid.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FromLegIdRef" type="xs:NMTOKEN">
<xs:element name="FromLegIdRef" type="ObjectIdType">
<xs:annotation>
<xs:documentation>Identifies the "valid from" LEG.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ToLegIdRef" type="xs:NMTOKEN">
<xs:element name="ToLegIdRef" type="ObjectIdType">
<xs:annotation>
<xs:documentation>Identifies the "valid to" LEG.</xs:documentation>
</xs:annotation>
Expand Down
Loading

0 comments on commit 0908aa2

Please sign in to comment.