# Vocabularies

Every closed list the API uses, so no value in a filter or an answer is one you have to guess.

## The endpoint

`GET /v1/vocabularies`

Returns every list with its values, their display labels and the spellings that fold into each. It is what a filter interface needs to build its menus without hard-coding ours.

**Response**

```json
{
  "vocabularies": {
    "powertrain_kind": {
      "description": "What turns the wheels.",
      "values": [
        { "value": "combustion", "label": "Combustion", "folds": ["ice"] },
        { "value": "hybrid", "label": "Hybrid", "folds": ["mhev", "fhev", "phev"] },
        { "value": "electric", "label": "Electric", "folds": ["bev"] },
        { "value": "fuel_cell", "label": "Fuel cell", "folds": [] }
      ]
    }
  },
  "cycle_rank": ["wltp", "wltc", "cltc", "epa", null, "nedc", "nedc_equivalent"],
  "units": { "energy_consumption": "kWh/100km", "electric_range": "km", "co2": "g/km" }
}
```

A filter takes the `value`, never the label. A value outside its list is a `400` that names the list.

## The lists

The lists are `vehicle_type`, `make_tier`, `market`, `body`, `fuel`, `powertrain_kind`, `hybrid`, `drive`, `transmission`, `final_drive`, `aspiration`, `cylinder_layout`, `engine_position`, `engine_orientation`, `cooling`, `injection`, `valvetrain`, `suspension`, `springs`, `brakes`, `steering`, `steering_assistance`, `battery_chemistry`, `motor_type`, `motor_position`, `tyre_position`, `cycle`, `measure`, `value_source`, `bound`, `emission_family`, `feature`. Their current values:

### `vehicle_type`

What kind of vehicle a model is. Cars include vans and pickups; motorcycles include scooters and mopeds.

| Value | Label |
|---|---|
| `car` | Car |
| `motorcycle` | Motorcycle |

### `make_tier`

What kind of maker a make is. mainstream: series production sold through ordinary dealers, budget to premium. luxury: series-production luxury and supercar makers. exotic: hypercar and boutique makers building a few hundred vehicles a year at most. specialist: the rest of the low-volume makers, such as kit cars, tuners and coachbuilders.

| Value | Label |
|---|---|
| `mainstream` | Mainstream |
| `luxury` | Luxury |
| `exotic` | Exotic |
| `specialist` | Specialist |

### `market`

Where a make sells, or sold, new vehicles through its own dealers in ordinary numbers. europe includes the UK and Turkey; cis is Russia and the other former Soviet states outside the EU; india includes its neighbours.

| Value | Label |
|---|---|
| `europe` | Europe |
| `cis` | Russia and CIS |
| `north_america` | North America |
| `latin_america` | Latin America |
| `china` | China |
| `japan` | Japan |
| `south_korea` | South Korea |
| `india` | India |
| `southeast_asia` | Southeast Asia |
| `oceania` | Oceania |
| `middle_east` | Middle East |
| `africa` | Africa |

### `body`

Body shape. Roof styles, marketing names and purposes are not shapes. From scooter onwards the values are a motorcycle's category.

| Value | Label |
|---|---|
| `sedan` | Sedan |
| `hatchback` | Hatchback |
| `liftback` | Liftback |
| `wagon` | Station wagon |
| `coupe` | Coupe |
| `cabriolet` | Cabriolet |
| `roadster` | Roadster |
| `suv` | SUV |
| `crossover` | Crossover |
| `off_road` | Off-road |
| `pickup` | Pickup |
| `minivan` | Minivan |
| `van` | Van |
| `quadricycle` | Quadricycle |
| `scooter` | Scooter |
| `sport` | Sport |
| `naked` | Naked |
| `cruiser` | Cruiser |
| `touring` | Touring |
| `sport_touring` | Sport touring |
| `allround` | Allround |
| `classic` | Classic |
| `enduro` | Enduro |
| `motocross` | Motocross |
| `supermoto` | Supermoto |
| `trial` | Trial |
| `minibike` | Minibike |
| `atv` | ATV |
| `speedway` | Speedway |

### `fuel`

What goes into the car. A list, so a bi-fuel car carries two.

| Value | Label |
|---|---|
| `petrol` | Petrol |
| `diesel` | Diesel |
| `electricity` | Electricity |
| `lpg` | LPG |
| `cng` | CNG |
| `ethanol_e85` | Ethanol (E85) |
| `ethanol_e100` | Ethanol (E100) |
| `hydrogen` | Hydrogen |
| `synthetic_petrol` | Synthetic petrol |

### `powertrain_kind`

What turns the wheels.

| Value | Label |
|---|---|
| `combustion` | Combustion |
| `hybrid` | Hybrid |
| `electric` | Electric |
| `fuel_cell` | Fuel cell |

### `hybrid`

Only for a hybrid.

| Value | Label |
|---|---|
| `mild` | Mild |
| `full` | Full |
| `plug_in` | Plug-in |

### `drive`

Driven wheels.

| Value | Label |
|---|---|
| `fwd` | Front (FWD) |
| `rwd` | Rear (RWD) |
| `awd` | All (AWD) |

### `transmission`

Gearbox type. An electric car's single reduction gear is direct_drive. automatic is an automatic whose type was not stated.

| Value | Label |
|---|---|
| `manual` | Manual |
| `torque_converter` | Automatic (torque converter) |
| `dual_clutch` | Dual clutch |
| `automated_manual` | Automated manual |
| `cvt` | CVT |
| `direct_drive` | Direct drive |
| `automatic` | Automatic (type not stated) |

### `final_drive`

How a motorcycle's gearbox turns its rear wheel.

| Value | Label |
|---|---|
| `chain` | Chain |
| `belt` | Belt |
| `shaft` | Shaft |

### `aspiration`

How air is fed. The intercooler is a separate flag.

| Value | Label |
|---|---|
| `naturally_aspirated` | Naturally aspirated |
| `turbo` | Turbo |
| `twin_turbo` | Twin turbo |
| `quad_turbo` | Quad turbo |
| `supercharged` | Supercharged |
| `twincharged` | Twincharged |

### `cylinder_layout`

| Value | Label |
|---|---|
| `inline` | Inline |
| `v` | V |
| `flat` | Flat (boxer) |
| `w` | W |
| `vr` | VR |
| `rotary` | Rotary |

### `engine_position`

| Value | Label |
|---|---|
| `front` | Front |
| `mid` | Mid |
| `rear` | Rear |

### `engine_orientation`

| Value | Label |
|---|---|
| `transverse` | Transverse |
| `longitudinal` | Longitudinal |

### `cooling`

How the engine sheds heat.

| Value | Label |
|---|---|
| `air` | Air |
| `liquid` | Liquid |
| `air_oil` | Air and oil |

### `injection`

| Value | Label |
|---|---|
| `carburettor` | Carburettor |
| `single_point` | Single point |
| `multi_point` | Multi point |
| `direct` | Direct |
| `direct_and_multi_point` | Direct and multi-point |
| `common_rail` | Common rail |
| `unit_injector` | Unit injector |
| `indirect` | Indirect (pre-chamber) |

### `valvetrain`

Cam layout. VANOS, VVT and the like are the variable timing flag.

| Value | Label |
|---|---|
| `dohc` | DOHC |
| `sohc` | SOHC |
| `ohc` | OHC |
| `ohv` | OHV |

### `suspension`

Suspension layout, front or rear. The anti-roll bar is a separate flag. The forks, monoshock, twin_shock and rigid are motorcycle layouts.

| Value | Label |
|---|---|
| `macpherson` | MacPherson strut |
| `double_wishbone` | Double wishbone |
| `multi_link` | Multi-link |
| `torsion_beam` | Torsion beam |
| `live_axle` | Live axle |
| `leaf_spring` | Leaf spring |
| `air` | Air |
| `de_dion` | De Dion |
| `telescopic_fork` | Telescopic fork |
| `upside_down_fork` | Upside-down fork |
| `girder_fork` | Girder fork |
| `leading_link` | Leading link |
| `monoshock` | Monoshock |
| `twin_shock` | Twin shock |
| `rigid` | Rigid |

### `springs`

The spring medium, which is not the layout.

| Value | Label |
|---|---|
| `coil` | Coil |
| `leaf` | Leaf |
| `torsion_bar` | Torsion bar |
| `air` | Air |
| `hydropneumatic` | Hydropneumatic |

### `brakes`

| Value | Label |
|---|---|
| `disc` | Disc |
| `ventilated_disc` | Ventilated disc |
| `drum` | Drum |
| `carbon_ceramic` | Carbon ceramic |

### `steering`

| Value | Label |
|---|---|
| `rack_and_pinion` | Rack and pinion |
| `recirculating_ball` | Recirculating ball |

### `steering_assistance`

| Value | Label |
|---|---|
| `none` | None |
| `hydraulic` | Hydraulic |
| `electro_hydraulic` | Electro-hydraulic |
| `electric` | Electric |

### `battery_chemistry`

| Value | Label |
|---|---|
| `li_ion` | Li-ion |
| `lfp` | LFP |
| `nmc` | NMC |
| `nca` | NCA |
| `ncma` | NCMA |
| `lipo` | Li-polymer |
| `nimh` | NiMH |

### `motor_type`

| Value | Label |
|---|---|
| `synchronous` | Synchronous |
| `asynchronous` | Asynchronous |

### `motor_position`

| Value | Label |
|---|---|
| `front` | Front |
| `rear` | Rear |

### `tyre_position`

Which wheel a tyre size is for, where front and rear differ.

| Value | Label |
|---|---|
| `front` | Front |
| `rear` | Rear |

### `cycle`

Test cycle. A measurement without one is unlabelled.

| Value | Label |
|---|---|
| `wltp` | WLTP |
| `wltc` | WLTC |
| `cltc` | CLTC |
| `epa` | EPA |
| `nedc` | NEDC |
| `nedc_equivalent` | NEDC equivalent |

### `measure`

Figures a regulator measures, recorded per test cycle. fuel_consumption is the combined figure; urban and extra-urban are its two parts.

| Value | Label |
|---|---|
| `fuel_consumption` | Fuel consumption, combined |
| `fuel_consumption_urban` | Fuel consumption, urban |
| `fuel_consumption_extra_urban` | Fuel consumption, extra-urban |
| `energy_consumption` | Energy consumption |
| `electric_range` | Electric range |
| `co2` | CO2 emissions |

### `value_source`

Whether the maker published a figure or it was calculated from others.

| Value | Label |
|---|---|
| `published` | Published |
| `calculated` | Calculated |

### `bound`

A figure given as "under 4 s" is at_most.

| Value | Label |
|---|---|
| `at_most` | At most |
| `at_least` | At least |

### `emission_family`

| Value | Label |
|---|---|
| `euro` | Euro |
| `china` | China |
| `us_epa` | US EPA |
| `us_carb` | US CARB |
| `japan` | Japan |
| `bharat` | Bharat |

### `feature`

| Value | Label |
|---|---|
| `abs` | ABS |
| `four_wheel_steering` | Four-wheel steering |
| `start_stop` | Start and stop |
| `particulate_filter` | Particulate filter |
