addedInput schema / properties / locale / description
Added value: +"Response language, one of the 20 published languages (en, ro, fr, de, es, it, sr, hr, pt, pl, cs, sk, hu, no, sv, el, bg, da, ar, tr). Spec labels and enum values come back translated. Default: en."
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "data": {
+ "description": "Matches, best first; empty when nothing matches",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "battery_kwh": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Traction battery capacity, kWh; null without one"
+ },
+ "body_type_en": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Body type, English label"
+ },
+ "brand": {
+ "type": "string"
+ },
+ "display_name": {
+ "description": "Full variant name",
+ "type": "string"
+ },
+ "fuel_slug": {
+ "description": "Fuel type, English label (e.g. Electric, Petrol)",
+ "type": "string"
+ },
+ "generation": {
+ "description": "Generation name",
+ "type": "string"
+ },
+ "generation_id": {
+ "description": "Opaque generation id — tells same-named variants of different generations apart",
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "model_id": {
+ "description": "Opaque model id, e.g. m_1a2b3c4d. Pass it to list_generations.",
+ "type": "string"
+ },
+ "power_hp": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Power, hp"
+ },
+ "price_new_eur": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "New list price, EUR"
+ },
+ "variant_id": {
+ "description": "Opaque variant id, e.g. v_1a2b3c4d. Pass it to get_specs / get_images / compare_variants.",
+ "type": "string"
+ },
+ "years": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Production years, e.g. '2019–2024'; an open range '2021–' is still in production"
+ }
+ },
+ "required": [
+ "variant_id",
+ "generation_id",
+ "model_id",
+ "display_name",
+ "brand",
+ "model",
+ "generation",
+ "fuel_slug",
+ "body_type_en",
+ "years",
+ "power_hp",
+ "battery_kwh",
+ "price_new_eur"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+}