Booking Flow
From a confirmed match to a completed shared journey.
Confirmation
PENDING_CONFIRMATION
↓
both parties confirm
↓
CONFIRMEDA booking exists only from an eligible, accepted, non-expired match whose compliance status is ALLOW. The booking always names the match that justified it.
Before departure
- Both parties see pickup and dropoff points — generalised commute hubs, not exact addresses.
- The driver starts the journey.
- Live location is shared over WebSocket.
CONFIRMED → IN_PROGRESSDuring
PICKUP_CONFIRMED
JOURNEY_IN_PROGRESS
DROPOFF_CONFIRMED
JOURNEY_COMPLETEDLive updates fall back to POST /journeys/{id}/location when a client cannot hold a WebSocket. The fallback is degraded but not blocked.
Completion
IN_PROGRESS → COMPLETEDTimestamps are recorded: confirmed, started, picked up, dropped off, completed. The result is the event history shown in RTA Proposal §9.
After
- Rate the other party
- Report an incident if needed
- Raise a contribution, only if the active policy enables it
A low rating does not alter a compliance outcome and cannot suspend anyone. Ratings are feedback; safety reporting is a separate path with its own workflow.
Contribution
GET /bookings/{id}/contribution
POST /bookings/{id}/contributionInert unless the active policy enables a mode. There is no demand, time, distance or availability scaling, and no bidding. If the policy is later found to disapprove of the arrangement, historical contributions remain interpretable because each records the policy version in force when it was created.
