US ride types
Built: 2026-11-04.
This is for US operators setting up their ride types, and for whoever maintains the code.
The ladder
US riders expect the same ride types they know from Uber and Lyft. In a US market, Admin → Pricing → Vehicle types suggests these types:
| Type | Seats | Car rule | What makes it different |
|---|---|---|---|
| Standard | 4 | Up to 15 years old | The everyday ride. |
| Comfort | 4 | Up to 7 years old | Newer cars, a higher fare. |
| Green | 4 | Electric only | Only cars recorded as electric. Counts toward California Clean Miles and NYC Green Rides. |
| XL | 6 | Up to 15 years old | Six seats. |
| Black | 4 | Up to 6 years old | Premium. Check your city's rules for commercial plates and insurance. |
| Pet | 4 | Pet-friendly cars | Only cars marked pet_friendly. The pet fee is included in the base fare. |
| WAV | 4 | Ramp or lift | Only cars equipped for a wheelchair. Costs the same as Standard. |
| Assist | 4 | Certified drivers | Only drivers certified to assist riders. Costs the same as Standard. |
The fares are suggestions in US cents. Set your own fares before you go live.
WAV and Assist must not cost more than Standard. The ADA bars charging a rider more for an accessible ride, so the suggested fares are equal. If you change Standard's fare, change these two to match. Confirm the rules for your area with local counsel.
Adding them
There are two ways:
- Add suggested types adds every suggested type you have not set up yet, in one click. A type is treated as already set up when one has the same name. WAV, Pet and Assist are added only when the market offers their service option. A "WAV" without the wheelchair option would match any car, so it is skipped instead.
- + Vehicle Type → Start from a template fills the form from one suggested type, including its service option, so you can adjust it before saving.
What riders see
- Every type with a service option shows a badge on the fare card: ♿ Wheelchair, 🤝 Assist or 🐕 Pets. Screen readers announce the badge too.
- WAV, Assist and Pet are never labelled "Cheapest" or "Fastest".
- When the rider's chosen type has surge pricing, the app may suggest a cheaper type. It only suggests one with the same service options. A rider who did not ask for a WAV is never sent to one, and the few accessible cars stay free for the riders who need them.
Matching is covered in accessibility. It works like this:
- WAV and Pet rides go only to cars with the matching equipment.
- Assist rides go only to certified drivers.
- Green rides go only to electric cars.
Code
backend/src/fleet/ride-type-templates.ts:- the US ladder, with
serviceAttributeson each template; planTemplates, which decides what to add and what to skip.
Spec:
ride-type-templates.spec.ts.- the US ladder, with
POST /catalog/vehicle-types/from-templatesadds the suggested types. It needs thepricing.managepermission and is audited asvehicleType.fromTemplates./pricing/estimatereturns each type'soptions(wheelchair,assist,pet_friendly).Admin:
app/(dashboard)/pricing/page.tsx. The button's test ID istypes-add-suggested.Rider app:
app/(app)/confirm.tsxshows the badges;src/lib/fare-badges.tsandsrc/lib/surge-note.tsleave service-option types out of the rankings and the surge suggestion.