Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coherent use of ObjectIdType #316

Merged
merged 2 commits into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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