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

Allow any status change to include an associated_trip #353

Conversation

rf-
Copy link
Contributor

@rf- rf- commented Aug 21, 2019

PR #297 already updated the spec language to make it clear that any status change is allowed to have an associated_trip, but I didn't realize this was incompatible with the existing schema. The schema should now match the spec, which states that user_pick_up and user_drop_off events must have an associated_trip but other events may have one when applicable.

Is this a breaking change

It's not really clear whether this should be considered a breaking change. I could see arguments either way, but I think it's moot if the intention is for this to be included in the 0.4.0 release.

Provider or agency

provider

PR openmobilityfoundation#297 already updated the spec language to make it clear that any
status change is allowed to have an `associated_trip`, but I didn't
realize this was incompatible with the existing schema. The schema
should now match the spec, which states that `user_pick_up` and
`user_drop_off` events must have an `associated_trip` but other events
may have one when applicable.
Copy link
Collaborator

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @rf- for the catch and the fix.

@thekaveman thekaveman added this to the 0.4.0 milestone Sep 17, 2019
@thekaveman thekaveman added Schema Implications for JSON Schema or OpenAPI Provider Specific to the Provider API labels Sep 17, 2019
@hunterowens hunterowens merged commit 8e4a297 into openmobilityfoundation:dev Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Provider Specific to the Provider API Schema Implications for JSON Schema or OpenAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants