Update JSON Schemas for reconciled state machine #526
Labels
Agency
Specific to the Agency API
Provider
Specific to the Provider API
Schema
Implications for JSON Schema or OpenAPI
State Machine
Changes in the vehicle state events and state machine diagram
Milestone
After #506 is merged, we'll have a reconciled state machine between Agency and Provider. A follow-up task is to update the JSON Schemas with the new set of
vehicle_state
andevent_type
.If possible, we'd also like to indicate which combinations of those values are considered valid under the state machine as is done now within the
status_changes.json
Schema. This could be difficult because the new model allows an array ofevent_type
pervehicle_state
, and intermediate states are "hidden" by the final valid event transition. See discussion on #271 for more details.The text was updated successfully, but these errors were encountered: