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

Rename accessibility_options_used -> accessibility_options in Trips payload #17

Conversation

avatarneil
Copy link

Also add more descriptive description :)

agency/README.md Outdated Show resolved Hide resolved
@avatarneil avatarneil merged commit 6066652 into add-taxi-mode Sep 8, 2020
@avatarneil avatarneil deleted the feature/neil/extend-accessibility-options-in-trips-payload branch September 8, 2020 14:15
@@ -378,7 +378,7 @@ The reservation method enum describes the different ways in which a passenger ca
| distance | Float | Conditionally Required | Total distance of the trip in meters (required if trip was completed) |
| cancellation_reason | string | Conditionally Required | The reason why a *driver* cancelled a reservation. (required if a driver cancelled a trip, and a `driver_cancellation` event_type was part of the trip) |
| fare | [Fare](#fare) | Conditionally Required | Fare for the trip (required if trip was completed) |
| accessibility_options | Enum[] | Optional | The **union** of any accessibility options requested, and used. E.g. if the passenger requests a vehicle with `wheelchair_boarding`, but doesn’t utilize the features during the trip, the trip payload will include `accessibility_options: ['wheelchair_boarding']`. See [accessibility-options][accessibility-options] |
| accessibility_options | Enum[] | Optional | The **union** of any accessibility options requested, and used. E.g. if the passenger requests a vehicle with `wheelchair_accessible`, but doesn’t utilize the features during the trip, the trip payload will include `accessibility_options: ['wheelchair_accessible']`. See [accessibility-options][accessibility-options] |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is supposed to be in the payload if the accessibility option is requested AND is used?

The link "accessibility-options" redirects to the agency spec, but that doesn't contain any mention of accessibility-options

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link ought to redirect to general-information.md, hm. In the case that it's requested and used, it's inclusive, so it should just be the same as if it was only requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants