Skip to content

Fix associated_trip schema inconsistency in 0.3.2 #347

@rf-

Description

@rf-

When I submitted #297, I was under the impression that the existing JSON schema allowed an associated_trip value for any event_type_reason. It turns out that this is incorrect and the schema only allows an associated_trip for user_pick_up and user_drop_off events. If an event with a different reason has an associated_trip, both branches of the oneOf clause are true and the schema validation fails.

Now that the spec unambiguously states that any event can have an associated_trip if it ends a trip, we should update the schema to be consistent with this. I'm not sure how schema-only changes have been handled w/r/t the versioning/release process so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions