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": {
+ "accel_0_100_s": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "0–100 km/h, seconds"
+ },
+ "battery_kwh": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Traction battery capacity, kWh"
+ },
+ "brand_slug": {
+ "type": "string"
+ },
+ "display_name": {
+ "description": "Full variant name",
+ "type": "string"
+ },
+ "last_synced_at": {
+ "description": "ISO-8601 time the data was last synced — surface it with the specs",
+ "type": "string"
+ },
+ "locale": {
+ "description": "Language the response is in",
+ "enum": [
+ "en",
+ "ro",
+ "fr",
+ "de",
+ "es",
+ "it",
+ "sr",
+ "hr",
+ "pt",
+ "pl",
+ "cs",
+ "sk",
+ "hu",
+ "no",
+ "sv",
+ "el",
+ "bg",
+ "da",
+ "ar",
+ "tr"
+ ],
+ "type": "string"
+ },
+ "model_slug": {
+ "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"
+ },
+ "specs": {
+ "additionalProperties": {
+ "additionalProperties": {},
+ "properties": {
+ "confidence": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Confidence score 0–1 for this value; null when not scored"
+ },
+ "label": {
+ "description": "Spec name in the requested language",
+ "type": "string"
+ },
+ "unit": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Unit of the value (km, kW, l/100km, …); null when unitless"
+ },
+ "value": {
+ "description": "The value: a string, number or boolean, already localized. Absent when the source holds no value"
+ }
+ },
+ "required": [
+ "label",
+ "unit",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "description": "Every spec the variant carries, keyed by spec key (e.g. range_wltp_km)",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "top_speed_kmh": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Top speed, km/h"
+ },
+ "torque_nm": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Torque, Nm"
+ },
+ "variant_id": {
+ "description": "Opaque variant id, e.g. v_1a2b3c4d. Pass it to get_specs / get_images / compare_variants.",
+ "type": "string"
+ },
+ "year_from": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "First production year"
+ },
+ "year_to": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Last production year; 0 or null while still in production"
+ }
+ },
+ "required": [
+ "variant_id",
+ "locale",
+ "display_name",
+ "brand_slug",
+ "model_slug",
+ "year_from",
+ "year_to",
+ "power_hp",
+ "battery_kwh",
+ "top_speed_kmh",
+ "torque_nm",
+ "accel_0_100_s",
+ "price_new_eur",
+ "last_synced_at",
+ "specs"
+ ],
+ "type": "object"
+}