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

Avoid confusion about TripSummary #109

Merged
merged 2 commits into from
Nov 11, 2020
Merged
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
27 changes: 7 additions & 20 deletions OJP_Trips.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@
<xs:documentation>For each mode in this list a separate monomodal trip shall be found - in addition to inter-modal solutions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AcceptDeferredDelivery" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If yes, then with the first response a summary of the trip solution(s) is enough. Full trip information is sent actively by the server to the Address stated in RequestorEndpointGroup. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="TripMobilityFilterGroup">
Expand Down Expand Up @@ -163,6 +158,11 @@
<xs:documentation>Whether the result should include operating day information - as encoded bit string and in natural language.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TripSummaryOnly" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If true, then the response will contain only summaries of the found trips. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:simpleType name="OptimisationMethodEnumeration">
Expand Down Expand Up @@ -244,7 +244,7 @@
</xs:element>
<xs:element name="TripSummary" type="TripSummaryStructure">
<xs:annotation>
<xs:documentation>Summary on trip. Only if requestor accepts deferrred delivery of trip details.</xs:documentation>
<xs:documentation>Summary on trip. Only if requestor set TripSummaryOnly in request.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
Expand Down Expand Up @@ -826,7 +826,7 @@
<xs:group ref="TripDataFilterGroup"/>
<xs:group ref="TripMobilityFilterGroup"/>
<xs:group ref="MultiPointTripPolicyGroup"/>
<xs:group ref="MultiPointTripContentFilterGroup"/>
<xs:group ref="TripContentFilterGroup"/>
<xs:element name="FareParam" type="FareParamStructure" minOccurs="0"/>
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
</xs:sequence>
Expand Down Expand Up @@ -864,19 +864,6 @@
<xs:enumeration value="eachDestination"/>
</xs:restriction>
</xs:simpleType>
<xs:group name="MultiPointTripContentFilterGroup">
<xs:annotation>
<xs:documentation>Parameters that control the level of detail of the trip results.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="TripContentFilterGroup"/>
<xs:element name="IncludeLegs" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include leg information. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="MultiPointTripResponseGroup">
<xs:annotation>
<xs:documentation>Multi-point trip response structure.</xs:documentation>
Expand Down