@@ -164,7 +164,8 @@ Valid delivery vehicle states are
164164- ` reserved `
165165- ` on_trip `
166166- ` stopped `
167- - ` non_contactable `
167+ - ` non_contactable `
168+ - ` missing `
168169- ` elsewhere `
169170
170171See [ Vehicle States] [ vehicle-states ] for descriptions.
@@ -183,6 +184,7 @@ Valid delivery vehicle event types are
183184- ` comms_restored `
184185- ` compliance_pick_up `
185186- ` decommissioned `
187+ - ` not_located `
186188- ` located `
187189- ` maintenance `
188190- ` maintenance_pick_up `
@@ -237,8 +239,10 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
237239| ` non_operational ` | ` non_contactable ` | N/A | ` comms_lost ` | The vehicle has gone out of comms while not operating commercially |
238240| ` on_trip ` | ` elsewhere ` | N/A | ` leave_jurisdiction ` | The vehicle has left jurisdictional boundaries while on a trip |
239241| ` on_trip ` | ` stopped ` | ` stopped ` | ` trip_pause ` | The vehicle has paused while on a trip |
240- | ` on_trip ` | ` stopped ` | ` stopped ` | ` order_pick_up ` | The vehicle has stopped while on a trip to pick up an order |
242+ | ` on_trip ` | ` stopped ` | ` stopped ` | ` order_pick_up ` | The vehicle has come to pick up the order at the restaurant |
241243| ` on_trip ` | ` non_contactable ` | N/A | ` comms_lost ` | The vehicle has gone out of comms while on a trip to pick up the order |
244+ | ` on_trip ` | ` available ` | N/A | ` order_drop_off ` | The vehicle is at the customer's place and is waiting for them |
245+ | ` on_trip ` | ` stopped ` | N/A | ` order_drop_off ` | The vehicle is at the customer's place and is waiting for them |
242246| ` removed ` | ` non_operational ` | N/A | ` maintenance_end ` | The vehicle has left the depot |
243247| ` removed ` | ` non_operational ` | N/A | ` recommissioned ` | The vehicle has been re-added to the Provider's fleet after being previously ` decommissioned ` |
244248| ` removed ` | ` non_contactable ` | N/A | ` comms_lost ` | The vehicle has gone out of comms while removed |
@@ -251,22 +255,26 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
251255| ` stopped ` | ` available ` | N/A | ` driver_cancellation ` | The driver has canceled the trip while waiting |
252256| ` stopped ` | ` available ` | N/A | ` customer_cancellation ` | The customer has canceled the trip while the vehicle is waiting |
253257| ` stopped ` | ` available ` | N/A | ` provider_cancellation ` | The provider has canceled the trip while the vehicle is waiting |
254- | ` on_trip ` | ` available ` | N/A | ` order_drop_off ` | The delivery vehicle has stopped to wait for the customer to pick up the order |
255258| ` stopped ` | ` available ` | N/A | ` trip_end ` | The trip has been successfully completed |
256259| ` stopped ` | ` on_trip ` | ` on_trip ` | ` trip_resume ` | Resume a trip that was previously paused (e.g. picking up an order) |
257260| ` stopped ` | ` on_trip ` | ` on_trip ` | ` trip_start ` | Start a trip |
258- | ` stopped ` | ` unon_contactable ` | N/A | ` comms_lost ` | The vehicle has gone out of comms while stopped |
261+ | ` stopped ` | ` non_contactable ` | N/A | ` comms_lost ` | The vehicle has gone out of comms while stopped |
259262| ` non_contactable ` | ` available ` | N/A | ` comms_restored ` | The vehicle has come back into comms while available for-hire |
260263| ` non_contactable ` | ` elsewhere ` | N/A | ` comms_restored ` | The vehicle has come back into comms while outside of jurisdictional boundaries |
261264| ` non_contactable ` | ` non_operational ` | N/A | ` comms_restored ` | The vehicle has come back into comms while not operating commercially |
262265| ` non_contactable ` | ` on_trip ` | ` on_trip ` | ` comms_restored ` | The vehicle has come back into comms while on a trip |
263266| ` non_contactable ` | ` removed ` | N/A | ` comms_restored ` | The vehicle has come back into comms while removed |
264267| ` non_contactable ` | ` reserved ` | ` reserved ` | ` comms_restored ` | The vehicle has come back into comms while reserved by a customer |
265268| ` non_contactable ` | ` stopped ` | ` stopped ` | ` comms_restored ` | The vehicle has come back into comms while stopped |
266- | ` on_trip ` | ` stopped ` | ` stopped ` | ` order_pick_up ` | The vehicle has come to pick up the order at the restaurant |
267- | ` on_trip ` | ` available ` | N/A | ` order_drop_off ` | The vehicle is at the customer's place and is waiting for them |
268- | ` on_trip ` | ` stopped ` | ` stopped ` | ` order_pick_up ` | The vehicle has come to pick up the order at the restaurant |
269- | ` on_trip ` | ` stopped ` | N/A | ` order_drop_off ` | The vehicle is at the customer's place and is waiting for them |
269+ | ` non_contactable ` | ` missing ` | N/A | ` not_located ` | The vehicle has gone missing after a period of lost comms |
270+ | ` missing ` | ` available ` | N/A | ` located ` | The vehicle has been located while available for-hire |
271+ | ` missing ` | ` elsewhere ` | N/A | ` located ` | The vehicle has been located while outside of jurisdictional boundaries |
272+ | ` missing ` | ` non_operational ` | N/A | ` located ` | The vehicle has been located while not operating commercially |
273+ | ` missing ` | ` on_trip ` | ` on_trip ` | ` located ` | The vehicle has been located while on a trip |
274+ | ` missing ` | ` removed ` | N/A | ` located ` | The vehicle has been located while removed |
275+ | ` missing ` | ` reserved ` | ` reserved ` | ` located ` | The vehicle has been located while reserved by a customer |
276+ | ` missing ` | ` stopped ` | ` stopped ` | ` located ` | The vehicle has been located while stopped |
277+
270278[ Top] [ toc ]
271279
272280### State Machine Diagram
0 commit comments