-
Notifications
You must be signed in to change notification settings - Fork 11
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
adaption of IdTypes #348
adaption of IdTypes #348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that at least the following id's would also have to be updated: FromLegIdRef, ToLegIdRef (OJP_FareSupport.xsd and OJP_Fare.xsd), TripId (in TripSummarStructure), FromTripIdRef and ToTripIdRef (OJP_Fare.xsd). But I somehow don't understand the logic or intent of the ...IdRef... names.
Many ref point to a reference structure. But here, when it is just within the Trip I reference directly the ObjectIdType. I adapted it just as you suggested and fixed one that I missed before. |
OJP/OJP_Fare.xsd
Outdated
@@ -208,22 +214,22 @@ | |||
</xs:annotation> | |||
<xs:sequence> | |||
<xs:element ref="FareProductRef"/> | |||
<xs:element name="FromTripIdRef" type="ObjectIdType"> | |||
<xs:element name="FromTripIdRef" type="LegObjectIdType"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be TripObjectIdType ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and now it is. tnx
Each Id has now its own type