addedInput schema / properties / limit / description
Added value: +"Maximum number of results, 1–50. Default: 10."
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."
changedInput schema / properties / query / description
Previous value: -"e.g. 'bmw 3 series' or 'tesla model s'"New value: +"Free text matched against brand, model and variant names, accent- and punctuation-insensitive — e.g. 'bmw 3 series' or 'tesla model s'."
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "data": {
+ "description": "Matches, most powerful first",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "brand_slug": {
+ "type": "string"
+ },
+ "display_name": {
+ "description": "Full variant name, localized when a translation exists",
+ "type": "string"
+ },
+ "generation_id": {
+ "description": "Opaque generation id",
+ "type": "string"
+ },
+ "model_slug": {
+ "type": "string"
+ },
+ "variant_id": {
+ "description": "Opaque variant id, e.g. v_1a2b3c4d. Pass it to get_specs_full.",
+ "type": "string"
+ },
+ "year_from": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "First production year of the generation"
+ },
+ "year_to": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Last production year; 0 or null while still in production"
+ }
+ },
+ "required": [
+ "variant_id",
+ "display_name",
+ "brand_slug",
+ "model_slug",
+ "generation_id",
+ "year_from",
+ "year_to"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+}