| Company |
The tenant. A subscribing business whose employees ride. Represented by companies; API status is pending, active, or suspended (pending is the onboarding application state; trial is reserved from the preserved spec and is not used by the API). |
| Manager |
A company employee who runs fleet operations in the Fleet Dashboard. Membership role manager; free seat. |
| Driver |
The person who operates a vehicle on a trip. Membership role driver; free seat. Never "coordinator". |
| Passenger |
An approved company employee who books and rides. Membership role passenger. Never "consumer". |
| Membership |
A user's link to one company, with role and status. Represented by memberships; one company per user. API status is pending, active, rejected, or suspended; "approved" in prose/API enrollment resources means active for a Passenger/Driver membership after Manager approval. |
| Seat |
An approved Passenger membership (subscription Seat). Counts against the Tier's max_users. A Trip seat is separately derived from one approved Booking and counts against trips.seat_capacity; pending Bookings do not occupy Trip seats. |
| Tier |
A subscription plan defining minimum/maximum users. Billing is invoice-only. Represented by tiers; seeded codes are starter, growth, enterprise with max_users 50, 200, and unlimited. |
| Company Code |
A code a Manager generates so employees can request to join a company. Represented by company_codes; rotatable, expirable, and can have a max use count. |
| Vehicle |
A virtual record the fleet Manager creates and manages. The platform owns no vehicles. Represented by vehicles. |
| NavRoute |
A named route with ordered stops. Represented by nav_routes; includes name_ar and stop label_ar. |
| Trip |
One scheduled run of a NavRoute by one Vehicle/Driver. Represented by trips; status is scheduled|in_transit|completed|cancelled, with optional reservation_deadline_at, trip_group_code, and Manager notes. Carries no Passenger price. |
| Trip Group |
A set of trips sharing the same route and departure time, one trip per car. Linked by trip_group_code. |
| Booking |
A Passenger's reservation on a Trip. Represented by bookings; Slice 4 status is pending|approved|rejected|cancelled, only approved occupies a Trip seat, and Bookings carry no charge. D2D fields belong to a later slice. |
| Boarding |
The act of a Passenger entering the vehicle. Recorded as bookings.boarded_at; marked by tap or QR scan. |
| D2D |
Door-to-door pickup/drop-off at a Passenger-chosen point. Eligibility is controlled by the Company's d2d_settings record and an approved Booking. |
| D2D Settings |
The Company-owned configuration for D2D: master enablement, service zone centre/radius, pickup/drop-off rules, per-trip availability, and the detour limit. Represented by d2d_settings, one row per Company. |
| D2D Request |
A Passenger's request to add D2D pickup/drop-off points to an approved Booking. Represented by d2d_requests; status is pending\|approved\|rejected\|cancelled. At most one active request per Booking. |
| Service Zone |
The Company-configured centre (zone_lat, zone_lng) and service_radius_meters within which D2D points must fall. |
| Detour |
Extra minutes caused by a D2D leg. The limit is stored as d2d_settings.max_detour_minutes (default 15); estimation is future work. |
| Car Request |
A Manager-created extra car for missed or unserved Passengers. Represented by car_requests; Passengers are linked via car_request_passengers. |
| Trip Analysis |
Computed post-trip metrics. Represented by trip_analytics; one record per trip. |
| Review |
A Passenger's 1–5 rating and optional comment after a trip. Represented by trip_reviews. |
| Front Views |
The public website: landing, pricing, and company onboarding. |
| Fleet Dashboard |
The company-facing operations web app. Not Filament. |
| Platform Admin |
The platform owner's admin area. Implemented with Filament and restricted to the administrator role. |