-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add operators to PlaceResultStructure and ResponseContext, allow multiple per ServiceGroup #220
Conversation
IMHO this addition is useful and necessary so that operator data can be properly included for the new modes like taxi, sharing, etc.. Without this addition, it would be hard to include all potential operators (e.g. all taxi companies) for such legs. |
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.
Isn't there still a parameter missing in the TripRefine request to select a specific sharing provider when requesting a specific trip with that provider?
OJP/OJP_Common.xsd
Outdated
@@ -87,6 +87,11 @@ | |||
<xs:documentation>Reference to an Operator ([TMv6] company providing public transport services.) </xs:documentation> | |||
</xs:annotation> | |||
</xs:element> | |||
<xs:complexType name="OperatorRelStructure"> |
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 it should be operatorRefs_RelStructure.
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.
done
OJP/OJP_RequestSupport.xsd
Outdated
@@ -166,11 +166,28 @@ | |||
<xs:element name="Place" type="PlaceStructure" maxOccurs="unbounded"/> | |||
</xs:sequence> | |||
</xs:complexType> | |||
<xs:complexType name="OperatorsStructure"> |
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 this one operators_RelStructure
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.
done
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 don't like the newly introduced _Rel, the use of underscore and Rel stands out quite uniquely. But I gueass the others understand meaning and usefulness of it better than me.
0f6cda8
to
0e21b03
Compare
# Conflicts: # docs/generated/index.html
# Conflicts: # OJP/OJP_Places.xsd # docs/generated/index.html
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.
Looks OK.
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.
Changes OK.
… PlaceResult and in Service for ALTERNATIVE MODEs
This allows to tell which TAXI or VEHICLE SHARING operations are active at a place or in a ContinuousLeg.
fixes: #212