VDVde / OJP

Open API for distributed journey planning. CEN/TS 17118:2017.
https://www.vdv.de/open-journey-planner.aspx
22 stars 12 forks source link

Switches for accessibility information #291

Closed ue71603 closed 1 year ago

ue71603 commented 1 year ago

From the meeting: adding the ability (OJP_TripRequest) to specify the accessibility-related information to return as it may differ depending on the user profile and on what data will be used and presented.

skinkie commented 1 year ago

What I miss in this pull request is the actual 'result structure' for example I want to know what happens if the realtime status would not be available.

trurlurl commented 1 year ago

@skinkie To answer your question as I understand it: IncludeAccessFeatureStatus (in this PR) is used to request or not real time information about access features. As for the result, see PR #238 - there is AccessFeatureStatus (and AccessFeatureStatusText and SituationFullRef) to provide the real time status. If some data is not available, this can be signalled using AccessFeatureWithUnknownAvailability.

Additionally, there is the problem code TRIP_REALTIMEINCOMPLETE that could be used, It should probably also be used by TripRefineRequest, shouldn't it?