{"openapi":"3.1.0","info":{"title":"AutoSpec API","description":"\nA read-only view of the car catalogue: **make, model, generation, version**.\n\nEvery endpoint needs an API key, issued in the dashboard. Send it either way:\n\n    X-API-Key: as_live_...\n    Authorization: Bearer as_live_...\n\n`/health` is open, so an uptime check does not need a key.\n\n**Credits.** Every request costs **one credit**, drawn from your account's\ndaily budget, which resets at UTC midnight and is shared by every key on the\naccount. A request that fails (any 4xx) costs nothing, and so does\n`/v1/usage`, which answers even when the budget is spent. Every answer carries\nthe meter:\n\n    X-Credits-Charged    what this request cost\n    X-Credits-Limit      the account's daily budget\n    X-Credits-Used       spent today, after this request\n    X-Credits-Remaining  what is left\n    X-Credits-Reset      when it resets, as an instant\n    X-RateLimit-Limit    requests a minute, per account\n\nSpend it all and you get `429 DAILY_BUDGET_EXHAUSTED`, with a `Retry-After`\npointing at the reset. Go over the per-minute limit and you get\n`429 RATE_LIMITED`, with a `Retry-After` in seconds.\n\n**Identifiers.** Every resource has a numeric `id`, which never changes, and a\n`path` of slugs (`volkswagen/golf/mk7-5g`), which reads well but moves when\nsomething is renamed. `/v1/lookup?path=` resolves a path.\n\n**Quantities** are objects in one canonical unit per measure: mm, kg, litres,\nkW (with hp beside it), Nm, km/h, seconds, l/100km, kWh, kWh/100km, g/km. A\nfigure nobody published is `null`, never zero and never left out.\n\n**Lists** page by cursor: follow `next_cursor` until it is empty.\n\nOnly published records are returned. Unticking *Published* in the dashboard is\nwhat hides a record here, and hiding a make hides everything beneath it.\n","version":"2.0.0"},"paths":{"/v1/health":{"get":{"tags":["meta"],"summary":"Liveness check","description":"Open, so a load balancer does not need a key.","operationId":"health_v1_health_get","parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/vocabularies":{"get":{"tags":["meta"],"summary":"Every closed list, with labels and what folds into each value","description":"Enough to build a filter interface without hard-coding our lists.","operationId":"vocabularies_v1_vocabularies_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vocabularies"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/languages":{"get":{"tags":["meta"],"summary":"The languages names and labels can be asked for in","operationId":"languages_v1_languages_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Languages"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/translations":{"get":{"tags":["meta"],"summary":"The words used to put names together, in one language","description":"For a client that builds its own labels from a generation's parts:\nthe word for a facelift, the pattern for \"5-door\", and the rest.","operationId":"translations_v1_translations_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translations"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/coverage":{"get":{"tags":["meta"],"summary":"How many versions carry each field, per powertrain","operationId":"coverage_v1_coverage_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"vehicle_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"car or motorcycle, a comma for both. Left out, it is car.","title":"Vehicle Type"},"description":"car or motorcycle, a comma for both. Left out, it is car."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Coverage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lookup":{"get":{"tags":["meta"],"summary":"Resolve a slug path","description":"Walk the tree by slug, as far as the path resolves.","operationId":"lookup_v1_lookup_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Slugs joined by /, as every resource's path field gives them: volkswagen/golf/mk7-5g/2-0-tdi-150hp-dsg.","title":"Path"},"description":"Slugs joined by /, as every resource's path field gives them: volkswagen/golf/mk7-5g/2-0-tdi-150hp-dsg."},{"name":"make","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Make slug, for example volkswagen.","title":"Make"},"description":"Make slug, for example volkswagen."},{"name":"model","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Model slug within that make.","title":"Model"},"description":"Model slug within that make."},{"name":"generation","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Generation slug within that model.","title":"Generation"},"description":"Generation slug within that model."},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Version slug within that generation.","title":"Version"},"description":"Version slug within that generation."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lookup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes":{"get":{"tags":["makes"],"summary":"List makes","description":"Alphabetical by default.\n\n| Filter | Type | Operators | Meaning |\n|---|---|---|---|\n| `q` | custom | `=` | Matches the name or the slug. |\n| `country` | text | `=` | Matches the country. |\n| `popular` | custom | `=` | true: only the makes that sell in numbers in Europe, for the kind of vehicle asked for. false: the rest. |\n| `tier` | one of `make_tier` | `=` `.not` | Only makes of this kind: mainstream, luxury, exotic or specialist. A comma means any of several. `.not` leaves those kinds out instead. |\n| `market` | one of `market` | `=` | Only makes sold in this market, now or in the past, such as europe. A comma means any of several. |\n| `powertrain_kind` | one of `powertrain_kind` | `=` | Only makes with a published version of this powertrain: combustion, hybrid, electric, fuel_cell. A comma means any of several. The counts on the page then count only what matches. |\n| `vehicle_type` | one of `vehicle_type` | `=` | Which kind of makes: car or motorcycle. A comma means either. Left out, it is car. |","operationId":"list_makes_v1_makes_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"name or id, - to reverse.","title":"Sort"},"description":"name or id, - to reverse."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The next_cursor of the previous page. Leave out for the first page.","title":"Cursor"},"description":"The next_cursor of the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Rows per page, up to 200.","default":50,"title":"Limit"},"description":"Rows per page, up to 200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Make_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes/logos":{"get":{"tags":["makes"],"summary":"Every logo in one image: where each make sits in it","description":"The index of the sprite: its URL, and the cell of each make that has a logo.","operationId":"get_logo_sprite_index_v1_makes_logos_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"theme","in":"query","required":false,"schema":{"type":"string","pattern":"^(light|dark)$","description":"light: logos for a light background. dark: for a dark one, falling back to the ordinary logo where a make has none.","default":"light","title":"Theme"},"description":"light: logos for a light background. dark: for a dark one, falling back to the ordinary logo where a make has none."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","description":"Cell size in pixels: 32, 64 or 128. Use twice the size you display for a sharp image on a high-density screen.","default":64,"title":"Size"},"description":"Cell size in pixels: 32, 64 or 128. Use twice the size you display for a sharp image on a high-density screen."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoSprite"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes/logos/sprite.png":{"get":{"tags":["makes"],"summary":"Every logo in one image","operationId":"get_logo_sprite_v1_makes_logos_sprite_png_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"theme","in":"query","required":false,"schema":{"type":"string","pattern":"^(light|dark)$","description":"light: logos for a light background. dark: for a dark one, falling back to the ordinary logo where a make has none.","default":"light","title":"Theme"},"description":"light: logos for a light background. dark: for a dark one, falling back to the ordinary logo where a make has none."},{"name":"size","in":"query","required":false,"schema":{"type":"integer","description":"Cell size in pixels: 32, 64 or 128. Use twice the size you display for a sharp image on a high-density screen.","default":64,"title":"Size"},"description":"Cell size in pixels: 32, 64 or 128. Use twice the size you display for a sharp image on a high-density screen."},{"name":"v","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The version in sprite_url. It changes when any logo does.","title":"V"},"description":"The version in sprite_url. It changes when any logo does."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"image/png":{},"image/jpeg":{},"image/webp":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes/{make_ref}":{"get":{"tags":["makes"],"summary":"One make, by id or slug","operationId":"get_make_v1_makes__make_ref__get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"make_ref","in":"path","required":true,"schema":{"type":"string","title":"Make Ref"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Make"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes/{make_ref}/logo":{"get":{"tags":["makes"],"summary":"The make's logo, for a light background","operationId":"get_make_logo_v1_makes__make_ref__logo_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"make_ref","in":"path","required":true,"schema":{"type":"string","title":"Make Ref"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"image/png":{},"image/jpeg":{},"image/webp":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/makes/{make_ref}/logo/dark":{"get":{"tags":["makes"],"summary":"The make's logo, for a dark background","operationId":"get_make_logo_dark_v1_makes__make_ref__logo_dark_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"make_ref","in":"path","required":true,"schema":{"type":"string","title":"Make Ref"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"image/png":{},"image/jpeg":{},"image/webp":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models":{"get":{"tags":["models"],"summary":"List models","description":"| Filter | Type | Operators | Meaning |\n|---|---|---|---|\n| `make` | custom | `=` | Make id or slug. A comma means any of several. |\n| `q` | text | `=` | Matches the name. |\n| `year` | custom | `=` `.between` `.gte` `.lte` | On sale at some point in this year (or span). |\n| `body` | one of `body` | `=` | Has a generation with this body. A comma means any of several. |\n| `tier` | one of `make_tier` | `=` `.not` | Only models from makes of this kind: mainstream, luxury, exotic or specialist. A comma means any of several. `.not` leaves those kinds out instead. |\n| `market` | one of `market` | `=` | Only models from makes sold in this market, now or in the past, such as europe. A comma means any of several. |\n| `powertrain_kind` | one of `powertrain_kind` | `=` | Only models with a published version of this powertrain: combustion, hybrid, electric, fuel_cell. A comma means any of several. The counts on the page then count only what matches. |\n| `vehicle_type` | one of `vehicle_type` | `=` | Which kind of model: car or motorcycle. A comma means either. Left out, it is car. |","operationId":"list_models_v1_models_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"name, year_start or id, - to reverse.","title":"Sort"},"description":"name, year_start or id, - to reverse."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The next_cursor of the previous page. Leave out for the first page.","title":"Cursor"},"description":"The next_cursor of the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Rows per page, up to 200.","default":50,"title":"Limit"},"description":"Rows per page, up to 200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Model_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/models/{model_id}":{"get":{"tags":["models"],"summary":"One model","operationId":"get_model_v1_models__model_id__get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"integer","title":"Model Id"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Model"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generations":{"get":{"tags":["generations"],"summary":"List generations","description":"| Filter | Type | Operators | Meaning |\n|---|---|---|---|\n| `make` | custom | `=` | Make id or slug. A comma means any of several. |\n| `model` | custom | `=` | Model id. A comma means any of several. |\n| `q` | text | `=` | Matches the name. |\n| `body` | one of `body` | `=` | Has this body. A comma means any of several. |\n| `chassis_code` | custom | `=` | Carries this chassis code, exactly as written: 5G, W205. |\n| `year` | custom | `=` `.between` `.gte` `.lte` | Built at some point in this year (or span). |\n| `facelift` | bool | `=` | true for a facelift, false for an original. |\n| `power_kw` | custom | `.gte` `.lte` `.gt` `.lt` `.between` | Has a version with output in this band, in kW. |\n| `tier` | one of `make_tier` | `=` `.not` | Only generations from makes of this kind: mainstream, luxury, exotic or specialist. A comma means any of several. `.not` leaves those kinds out instead. |\n| `market` | one of `market` | `=` | Only generations from makes sold in this market, now or in the past, such as europe. A comma means any of several. |\n| `powertrain_kind` | one of `powertrain_kind` | `=` | Only generations with a published version of this powertrain: combustion, hybrid, electric, fuel_cell. A comma means any of several. The counts on the page then count only what matches. |\n| `vehicle_type` | one of `vehicle_type` | `=` | Which kind of generation: car or motorcycle. A comma means either. Left out, it is car. |","operationId":"list_generations_v1_generations_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"name, year_start or id, - to reverse.","title":"Sort"},"description":"name, year_start or id, - to reverse."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The next_cursor of the previous page. Leave out for the first page.","title":"Cursor"},"description":"The next_cursor of the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Rows per page, up to 200.","default":50,"title":"Limit"},"description":"Rows per page, up to 200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Generation_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generations/{generation_id}":{"get":{"tags":["generations"],"summary":"One generation","operationId":"get_generation_v1_generations__generation_id__get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"generation_id","in":"path","required":true,"schema":{"type":"integer","title":"Generation Id"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/versions":{"get":{"tags":["versions"],"summary":"The main query","description":"**Filters** combine with AND. A comma inside one filter means OR. Numbers take\n`.gt`, `.gte`, `.lt`, `.lte` and `.between=low,high`: `power_kw.gte=150`,\n`year.between=2015,2020`, `fuel=diesel,petrol`. An unknown filter, operator or\nvocabulary value is a 400, never ignored.\n\n**Groups**: `fields=output,efficiency` returns only those groups (the identity\nfields always come back). `fields=all` returns everything. A list returns\nproduction, powertrain, output and body unless told otherwise; one version\nreturns every group.\n\n**Flat**: `shape=flat` returns one level of scalars in canonical units\n(`power_kw`, `kerb_weight_kg`), dropping ranges and test cycles on purpose.\n\n**Ranges**: a test-cycle figure published as a range (5.1-5.4 l/100km) comes\nwith `min` and `max`, and its `value` is the midpoint, so every figure has one\nnumber. Filters, sorting and the flat shape use that value.\n\n**Paging**: follow `next_cursor` until it is empty.\n\n\n| Filter | Type | Operators | Meaning |\n|---|---|---|---|\n| `tier` | one of `make_tier` | `=` `.not` | Only versions from makes of this kind: mainstream, luxury, exotic or specialist. A comma means any of several. `.not` leaves those kinds out instead. |\n| `market` | one of `market` | `=` | Only versions from makes sold in this market, now or in the past, such as europe. A comma means any of several. |\n| `vehicle_type` | one of `vehicle_type` | `=` | Which kind of version: car or motorcycle. A comma means either. Left out, it is car. |\n| `make` | custom | `=` | Make id or slug. A comma means any of several. |\n| `model` | custom | `=` | Model id. A comma means any of several. |\n| `generation` | custom | `=` | Generation id. A comma means any of several. |\n| `q` | text | `=` | Matches the version name. |\n| `year` | custom | `=` `.between` `.gte` `.lte` | In production at some point in this year (or span). |\n| `in_production` | custom | `=` | true: still being built. false: production has ended. |\n| `production_start` | date | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Production start date. |\n| `production_end` | date | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Production end date. |\n| `powertrain_kind` | one of `powertrain_kind` | `=` | A comma means any of several. |\n| `hybrid` | one of `hybrid` | `=` | A comma means any of several. |\n| `plug_in` | bool | `=` | Anything that plugs in. |\n| `fuel` | one of `fuel` | `=` | Takes this fuel. A comma means any of several. |\n| `two_stroke` | bool | `=` |  |\n| `power_kw` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | System power. |\n| `power_hp` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | System power in hp. |\n| `torque_nm` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | System torque. |\n| `displacement_cc` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Engine displacement. |\n| `cylinders` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Number of cylinders. |\n| `cylinder_layout` | one of `cylinder_layout` | `=` | A comma means any of several. |\n| `aspiration` | one of `aspiration` | `=` | A comma means any of several. |\n| `injection` | one of `injection` | `=` | A comma means any of several. |\n| `battery_net_kwh` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Usable battery capacity. |\n| `battery_chemistry` | one of `battery_chemistry` | `=` | A comma means any of several. |\n| `transmission` | one of `transmission` | `=` | A comma means any of several. |\n| `gears` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Number of gears. |\n| `drive` | one of `drive` | `=` | A comma means any of several. |\n| `final_drive` | one of `final_drive` | `=` | A comma means any of several. |\n| `cooling` | one of `cooling` | `=` | A comma means any of several. |\n| `seat_height_mm` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Seat height of a motorcycle. |\n| `dry_weight_kg` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Weight without fuel and fluids. |\n| `top_speed_kmh` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Top speed. |\n| `accel_0_100_s` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | 0-100 km/h. |\n| `electric_range_km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred electric range figure. |\n| `fuel_consumption_l_100km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred consumption, liquid fuels. |\n| `fuel_consumption_kg_100km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred consumption, CNG and hydrogen. |\n| `fuel_consumption_urban_l_100km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred urban consumption, liquid fuels. |\n| `fuel_consumption_extra_urban_l_100km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred extra-urban consumption, liquid fuels. |\n| `energy_consumption_kwh_100km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred energy consumption. |\n| `co2_g_km` | number | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Preferred CO2 figure. |\n| `emission_family` | one of `emission_family` | `=` | A comma means any of several. |\n| `emission_level` | text | `=` | Matches the level: 6, 5, IV. |\n| `body_type` | one of `body` | `=` | A comma means any of several. |\n| `doors` | int list | `=` | Offered with this many doors. |\n| `seats` | int list | `=` | Offered with this many seats. |\n| `length_mm` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Length. |\n| `width_mm` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Width. |\n| `height_mm` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Height. |\n| `wheelbase_mm` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Wheelbase. |\n| `kerb_weight_kg` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Kerb weight (the lower figure of a range). |\n| `boot_min_l` | integer | `=` `.gt` `.gte` `.lt` `.lte` `.between` | Boot, seats up. |\n| `front_suspension` | one of `suspension` | `=` | A comma means any of several. |\n| `rear_suspension` | one of `suspension` | `=` | A comma means any of several. |\n| `feature` | one of `feature` | `=` | Has this feature. A comma means any of several. |\n\nSort by `id`, `name`, `production_start`, `power_kw`, `torque_nm`, `top_speed_kmh`, `accel_0_100_s`, `kerb_weight_kg`, `length_mm`, `battery_net_kwh`, `electric_range_km`, `co2_g_km`, prefixed with - to reverse. Empty values sort last either way.","operationId":"list_versions_v1_versions_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A sortable field, - to reverse.","title":"Sort"},"description":"A sortable field, - to reverse."},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Groups to return: all, or a comma list such as output,efficiency.","title":"Fields"},"description":"Groups to return: all, or a comma list such as output,efficiency."},{"name":"shape","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(nested|flat)$"},{"type":"null"}],"description":"flat: one level of scalars in canonical units.","title":"Shape"},"description":"flat: one level of scalars in canonical units."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The next_cursor of the previous page. Leave out for the first page.","title":"Cursor"},"description":"The next_cursor of the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Rows per page, up to 200.","default":50,"title":"Limit"},"description":"Rows per page, up to 200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Version_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/versions/{version_id}":{"get":{"tags":["versions"],"summary":"One version, with its whole specification","operationId":"get_version_v1_versions__version_id__get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"integer","title":"Version Id"}},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Groups to return: all, or a comma list such as output,efficiency.","title":"Fields"},"description":"Groups to return: all, or a comma list such as output,efficiency."},{"name":"shape","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(nested|flat)$"},{"type":"null"}],"description":"flat: one level of scalars in canonical units.","title":"Shape"},"description":"flat: one level of scalars in canonical units."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/changes":{"get":{"tags":["changes"],"summary":"Change feed","description":"Oldest first. Keep the last next_cursor and poll with it to see only what is new.\n\nPublishing a record counts as added and unpublishing it as removed, because\nthat is when it appears in or disappears from this API.","operationId":"changes_v1_changes_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Only changes at or after this moment, for example 2026-09-26T00:00:00Z.","title":"Since"},"description":"Only changes at or after this moment, for example 2026-09-26T00:00:00Z."},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The next_cursor of the previous page. Leave out for the first page.","title":"Cursor"},"description":"The next_cursor of the previous page. Leave out for the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"description":"Rows per page, up to 200.","default":50,"title":"Limit"},"description":"Rows per page, up to 200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CursorPage_Change_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage":{"get":{"tags":["usage"],"summary":"Today's credits","description":"**Free**, and it answers while the budget is exhausted.\n\nA balance you must pay to read burns the thing it measures, and the one\ncall that explains a refusal must not be hidden behind it. It is still\nrate limited.","operationId":"usage_v1_usage_get","security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}],"parameters":[{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en.","title":"Lang"},"description":"The language of names and labels: en, bg, bs, cnr, cs, da, de, el, es, fr, hr, hu, it, nl, pl, pt, ro, sk, sl, sr. Left out, it is en."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Aspiration":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"intercooled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Intercooled"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"The maker's own words, kept beside the fact."}},"additionalProperties":false,"type":"object","required":["type","intercooled","label"],"title":"Aspiration"},"Battery":{"properties":{"gross":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"net":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"chemistry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chemistry"},"voltage":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["gross","net","chemistry","voltage"],"title":"Battery"},"Body":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"doors":{"anyOf":[{"$ref":"#/components/schemas/Options"},{"type":"null"}]},"seats":{"anyOf":[{"$ref":"#/components/schemas/Options"},{"type":"null"}]},"dimensions_mm":{"$ref":"#/components/schemas/Dimensions"},"weights_kg":{"$ref":"#/components/schemas/Weights"},"capacities_l":{"$ref":"#/components/schemas/Capacities"}},"additionalProperties":false,"type":"object","required":["type","doors","seats","dimensions_mm","weights_kg","capacities_l"],"title":"Body"},"Brakes":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"diameter_mm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Diameter Mm"},"thickness_mm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thickness Mm"}},"additionalProperties":false,"type":"object","required":["type","diameter_mm","thickness_mm"],"title":"Brakes"},"Capacities":{"properties":{"boot_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Boot Min"},"boot_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Boot Max"},"fuel_tank":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fuel Tank"}},"additionalProperties":false,"type":"object","required":["boot_min","boot_max","fuel_tank"],"title":"Capacities"},"Change":{"properties":{"id":{"type":"integer","title":"Id","description":"Increasing. Also usable as a cursor."},"at":{"type":"string","format":"date-time","title":"At"},"action":{"type":"string","title":"Action","description":"added, updated or removed. Publishing counts as added and unpublishing as removed."},"resource":{"type":"string","title":"Resource","description":"make, model, generation or version."},"resource_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Resource Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"The record's name. Null on removals."},"fields":{"items":{"type":"string"},"type":"array","title":"Fields","description":"The fields an update changed."}},"additionalProperties":false,"type":"object","required":["id","at","action","resource","resource_id","label","fields"],"title":"Change"},"Chassis":{"properties":{"front_suspension":{"anyOf":[{"$ref":"#/components/schemas/Suspension"},{"type":"null"}]},"rear_suspension":{"anyOf":[{"$ref":"#/components/schemas/Suspension"},{"type":"null"}]},"springs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Springs"},"front_brakes":{"anyOf":[{"$ref":"#/components/schemas/Brakes"},{"type":"null"}]},"rear_brakes":{"anyOf":[{"$ref":"#/components/schemas/Brakes"},{"type":"null"}]},"rake_deg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rake Deg","description":"Steering head angle of a motorcycle."},"trail_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Trail Mm"},"steering":{"anyOf":[{"$ref":"#/components/schemas/Steering"},{"type":"null"}]},"tyres":{"items":{"$ref":"#/components/schemas/Tyre"},"type":"array","title":"Tyres"}},"additionalProperties":false,"type":"object","required":["front_suspension","rear_suspension","springs","front_brakes","rear_brakes","rake_deg","trail_mm","steering","tyres"],"title":"Chassis"},"Coverage":{"properties":{"versions":{"type":"integer","title":"Versions","description":"Published versions."},"by_powertrain":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Powertrain","description":"Versions per powertrain kind."},"fields":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object","title":"Fields","description":"For each field, how many versions carry it: in total and per powertrain."}},"additionalProperties":false,"type":"object","required":["versions","by_powertrain","fields"],"title":"Coverage"},"CursorPage_Change_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Change"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= for the next page. Empty on the last page."},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["items","next_cursor","limit"],"title":"CursorPage[Change]"},"CursorPage_Generation_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Generation"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= for the next page. Empty on the last page."},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["items","next_cursor","limit"],"title":"CursorPage[Generation]"},"CursorPage_Make_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Make"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= for the next page. Empty on the last page."},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["items","next_cursor","limit"],"title":"CursorPage[Make]"},"CursorPage_Model_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Model"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= for the next page. Empty on the last page."},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["items","next_cursor","limit"],"title":"CursorPage[Model]"},"CursorPage_Version_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/Version"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass as ?cursor= for the next page. Empty on the last page."},"limit":{"type":"integer","title":"Limit"}},"additionalProperties":false,"type":"object","required":["items","next_cursor","limit"],"title":"CursorPage[Version]"},"CycleBlock":{"properties":{"preferred":{"anyOf":[{"$ref":"#/components/schemas/Measured"},{"type":"null"}],"description":"The first cycle with a figure, in the order wltp, wltc, cltc, epa, unlabelled, nedc, nedc_equivalent."},"measurements":{"items":{"$ref":"#/components/schemas/Measured"},"type":"array","title":"Measurements"}},"additionalProperties":false,"type":"object","required":["preferred","measurements"],"title":"CycleBlock"},"Dimensions":{"properties":{"length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Length"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"wheelbase":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Wheelbase"},"front_track":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Front Track"},"rear_track":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rear Track"},"ground_clearance":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ground Clearance"},"seat_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seat Height","description":"A motorcycle's saddle."}},"additionalProperties":false,"type":"object","required":["length","width","height","wheelbase","front_track","rear_track","ground_clearance","seat_height"],"title":"Dimensions"},"Efficiency":{"properties":{"electric_range":{"$ref":"#/components/schemas/CycleBlock"},"fuel_consumption":{"$ref":"#/components/schemas/CycleBlock","description":"Combined."},"fuel_consumption_urban":{"$ref":"#/components/schemas/CycleBlock"},"fuel_consumption_extra_urban":{"$ref":"#/components/schemas/CycleBlock"},"energy_consumption":{"$ref":"#/components/schemas/CycleBlock"},"co2":{"$ref":"#/components/schemas/CycleBlock"}},"additionalProperties":false,"type":"object","required":["electric_range","fuel_consumption","fuel_consumption_urban","fuel_consumption_extra_urban","energy_consumption","co2"],"title":"Efficiency"},"Electric":{"properties":{"motors":{"items":{"$ref":"#/components/schemas/Motor"},"type":"array","title":"Motors"},"battery":{"anyOf":[{"$ref":"#/components/schemas/Battery"},{"type":"null"}]},"recuperation_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recuperation Kw"}},"additionalProperties":false,"type":"object","required":["motors","battery","recuperation_kw"],"title":"Electric"},"EmissionStandard":{"properties":{"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"}},"additionalProperties":false,"type":"object","required":["family","level","variant"],"title":"EmissionStandard"},"Emissions":{"properties":{"standard":{"anyOf":[{"$ref":"#/components/schemas/EmissionStandard"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["standard"],"title":"Emissions"},"Engine":{"properties":{"displacement":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"cylinders":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cylinders"},"layout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layout"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"orientation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Orientation"},"aspiration":{"anyOf":[{"$ref":"#/components/schemas/Aspiration"},{"type":"null"}]},"injection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Injection"},"valvetrain":{"anyOf":[{"$ref":"#/components/schemas/Valvetrain"},{"type":"null"}]},"bore_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bore Mm"},"stroke_mm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stroke Mm"},"compression_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compression Ratio","description":"10.5 for 10.5:1."},"cooling":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cooling"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},"additionalProperties":false,"type":"object","required":["displacement","cylinders","layout","position","orientation","aspiration","injection","valvetrain","bore_mm","stroke_mm","compression_ratio","cooling","code"],"title":"Engine"},"Generation":{"properties":{"id":{"type":"integer","title":"Id"},"path":{"type":"string","title":"Path"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"vehicle_type":{"type":"string","title":"Vehicle Type","description":"car or motorcycle, from its model."},"make":{"$ref":"#/components/schemas/Ref"},"model":{"$ref":"#/components/schemas/Ref"},"ordinal":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ordinal","description":"7 for a Mk7."},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant","description":"The maker's own name for this one: Avant, Allroad, Stepway. Empty when it is simply the model in one body, which the body field then names."},"facelift_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Facelift Year","description":"2019 for a 2019 facelift."},"chassis_codes":{"items":{"type":"string"},"type":"array","title":"Chassis Codes"},"body":{"items":{"type":"string"},"type":"array","title":"Body","description":"Values from the body vocabulary."},"production":{"$ref":"#/components/schemas/YearSpan"},"facelift_of":{"anyOf":[{"$ref":"#/components/schemas/Ref"},{"type":"null"}],"description":"The generation this one refreshed."},"version_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version Count"},"power_kw":{"anyOf":[{"$ref":"#/components/schemas/PowerBand"},{"type":"null"}],"description":"Lowest and highest output of its versions."},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","path","slug","name","vehicle_type","make","model","ordinal","variant","facelift_year","chassis_codes","body","production","facelift_of","version_count","power_kw","notes","updated_at"],"title":"Generation"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Health":{"properties":{"status":{"type":"string","title":"Status"},"database":{"type":"string","title":"Database"}},"additionalProperties":false,"type":"object","required":["status","database"],"title":"Health"},"Language":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name","description":"The language's own name for itself."}},"additionalProperties":false,"type":"object","required":["code","name"],"title":"Language"},"Languages":{"properties":{"default":{"type":"string","title":"Default"},"languages":{"items":{"$ref":"#/components/schemas/Language"},"type":"array","title":"Languages"}},"additionalProperties":false,"type":"object","required":["default","languages"],"title":"Languages"},"LogoSprite":{"properties":{"sprite_url":{"type":"string","title":"Sprite Url","description":"The image, relative to the API root. Its v changes whenever a logo does, so it can be cached for good."},"theme":{"type":"string","title":"Theme"},"size":{"type":"integer","title":"Size","description":"Width and height of every cell, in pixels."},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"logos":{"items":{"$ref":"#/components/schemas/SpriteCell"},"type":"array","title":"Logos","description":"Every published make with a logo, by slug."}},"additionalProperties":false,"type":"object","required":["sprite_url","theme","size","width","height","logos"],"title":"LogoSprite"},"Lookup":{"properties":{"make":{"anyOf":[{"$ref":"#/components/schemas/Make"},{"type":"null"}]},"model":{"anyOf":[{"$ref":"#/components/schemas/Model"},{"type":"null"}]},"generation":{"anyOf":[{"$ref":"#/components/schemas/Generation"},{"type":"null"}]},"version":{"anyOf":[{"$ref":"#/components/schemas/Version"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"Lookup"},"Make":{"properties":{"id":{"type":"integer","title":"Id"},"path":{"type":"string","title":"Path"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"The logo for a light background, relative to the API root. Empty without one."},"logo_dark_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Dark Url","description":"The logo for a dark background, relative to the API root. Empty without one."},"popular_for":{"items":{"type":"string"},"type":"array","title":"Popular For","description":"The kinds of vehicle this make sells in numbers in Europe: car, motorcycle."},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier","description":"What kind of maker this is: mainstream, luxury, exotic or specialist. Empty where nobody has said."},"markets":{"items":{"type":"string"},"type":"array","title":"Markets","description":"Where the make sells, or sold, new vehicles: europe, north_america, china and so on. See the market vocabulary."},"model_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Model Count"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","path","slug","name","country","website","logo_url","logo_dark_url","popular_for","tier","markets","model_count","notes","updated_at"],"title":"Make"},"Measured":{"properties":{"value":{"type":"number","title":"Value","description":"The figure, or the midpoint of a range."},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min","description":"Lower end, when published as a range."},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max","description":"Upper end, when published as a range."},"unit":{"type":"string","title":"Unit"},"cycle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cycle","description":"Test cycle. Empty when the figure named none."},"fuel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fuel"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"additionalProperties":false,"type":"object","required":["value","unit","cycle"],"title":"Measured","description":"Always a single ``value``. A figure published as a range also has ``min``\nand ``max``, and then ``value`` is their midpoint."},"Model":{"properties":{"id":{"type":"integer","title":"Id"},"path":{"type":"string","title":"Path"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"vehicle_type":{"type":"string","title":"Vehicle Type","description":"car or motorcycle."},"make":{"$ref":"#/components/schemas/Ref"},"production":{"$ref":"#/components/schemas/YearSpan"},"generation_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Generation Count"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","path","slug","name","vehicle_type","make","production","generation_count","notes","updated_at"],"title":"Model"},"Motor":{"properties":{"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"power":{"anyOf":[{"$ref":"#/components/schemas/Power"},{"type":"null"}]},"torque":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["position","type","power","torque"],"title":"Motor"},"Options":{"properties":{"options":{"items":{"type":"integer"},"type":"array","title":"Options","description":"A choice between variants, not a range: 3/5 doors."}},"additionalProperties":false,"type":"object","required":["options"],"title":"Options"},"Output":{"properties":{"power":{"anyOf":[{"$ref":"#/components/schemas/Power"},{"type":"null"}],"description":"The whole system, whatever drives it."},"torque":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"engine_power":{"anyOf":[{"$ref":"#/components/schemas/Power"},{"type":"null"}]},"motor_power":{"anyOf":[{"$ref":"#/components/schemas/Power"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["power","torque","engine_power","motor_power"],"title":"Output"},"Performance":{"properties":{"top_speed":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"acceleration_0_100":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"acceleration_0_60_mph":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["top_speed","acceleration_0_100","acceleration_0_60_mph"],"title":"Performance"},"Power":{"properties":{"kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Kw"},"hp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hp"},"at_rpm":{"anyOf":[{"$ref":"#/components/schemas/RpmRange"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["kw","hp"],"title":"Power"},"PowerBand":{"properties":{"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"}},"additionalProperties":false,"type":"object","required":["min","max"],"title":"PowerBand"},"Powertrain":{"properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind","description":"combustion, hybrid, electric or fuel_cell."},"hybrid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hybrid","description":"mild, full or plug_in. Only for a hybrid."},"plug_in":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plug In"},"fuels":{"items":{"type":"string"},"type":"array","title":"Fuels"},"two_stroke":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Two Stroke"}},"additionalProperties":false,"type":"object","required":["kind","hybrid","plug_in","fuels","two_stroke"],"title":"Powertrain"},"Production":{"properties":{"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End","description":"Empty while it is still being built."},"in_production":{"type":"boolean","title":"In Production"}},"additionalProperties":false,"type":"object","required":["start","end","in_production"],"title":"Production"},"Quantity":{"properties":{"value":{"type":"number","title":"Value"},"unit":{"type":"string","title":"Unit"},"at_rpm":{"anyOf":[{"$ref":"#/components/schemas/RpmRange"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note","description":"electronically_limited on a top speed."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"published or calculated."},"bound":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bound","description":"at_most for a figure given as \"under 4 s\"."}},"additionalProperties":false,"type":"object","required":["value","unit"],"title":"Quantity","description":"A scalar in a canonical unit, with optional qualifiers."},"Ref":{"properties":{"id":{"type":"integer","title":"Id"},"path":{"type":"string","title":"Path","description":"Slugs from the make down, for example volkswagen/golf/mk7-5g."},"name":{"type":"string","title":"Name"}},"additionalProperties":false,"type":"object","required":["id","path","name"],"title":"Ref"},"RpmRange":{"properties":{"min":{"type":"integer","title":"Min"},"max":{"type":"integer","title":"Max"}},"additionalProperties":false,"type":"object","required":["min","max"],"title":"RpmRange"},"SpriteCell":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"x":{"type":"integer","title":"X","description":"Left edge of the make's cell, in pixels."},"y":{"type":"integer","title":"Y","description":"Top edge of the make's cell, in pixels."},"fallback":{"type":"boolean","title":"Fallback","description":"True when the dark sprite shows the ordinary logo, because the make has no logo for a dark background."}},"additionalProperties":false,"type":"object","required":["id","slug","name","x","y","fallback"],"title":"SpriteCell"},"Steering":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"assistance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assistance"}},"additionalProperties":false,"type":"object","required":["type","assistance"],"title":"Steering"},"Suspension":{"properties":{"layout":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layout"},"anti_roll_bar":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Anti Roll Bar"},"travel_mm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Mm","description":"Wheel travel."}},"additionalProperties":false,"type":"object","required":["layout","anti_roll_bar","travel_mm"],"title":"Suspension"},"Translations":{"properties":{"language":{"type":"string","title":"Language"},"name":{"type":"string","title":"Name"},"terms":{"additionalProperties":{"type":"string"},"type":"object","title":"Terms","description":"Patterns, with {} where a number or letter goes: facelift, {}-door, {} on."},"phrases":{"additionalProperties":{"type":"string"},"type":"object","title":"Phrases","description":"Ordinary words that appear inside names."}},"additionalProperties":false,"type":"object","required":["language","name","terms","phrases"],"title":"Translations"},"Transmission":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"gears":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Gears"},"drive":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Drive"},"final_drive":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Drive","description":"A motorcycle's chain, belt or shaft."}},"additionalProperties":false,"type":"object","required":["type","gears","drive","final_drive"],"title":"Transmission"},"Tyre":{"properties":{"width":{"type":"integer","title":"Width"},"aspect":{"type":"integer","title":"Aspect"},"rim":{"type":"number","title":"Rim"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position","description":"front or rear, where the two differ."}},"additionalProperties":false,"type":"object","required":["width","aspect","rim"],"title":"Tyre"},"Usage":{"properties":{"day":{"type":"string","title":"Day","description":"The UTC day being counted."},"credits_used":{"type":"integer","title":"Credits Used"},"credits_remaining":{"type":"integer","title":"Credits Remaining"},"credits_per_day":{"type":"integer","title":"Credits Per Day","description":"The account's daily budget."},"requests":{"type":"integer","title":"Requests","description":"Requests today, failed ones included. Beside the credits because the ratio is what shows a runaway job."},"resets_at":{"type":"string","format":"date-time","title":"Resets At","description":"The next UTC midnight."},"requests_per_minute":{"type":"integer","title":"Requests Per Minute","description":"The rate limit, per account."},"account":{"type":"string","title":"Account","description":"The account these figures belong to."},"scope":{"type":"string","title":"Scope"}},"additionalProperties":false,"type":"object","required":["day","credits_used","credits_remaining","credits_per_day","requests","resets_at","requests_per_minute","account","scope"],"title":"Usage"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Valvetrain":{"properties":{"cam":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cam"},"valves_per_cylinder":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Valves Per Cylinder"},"variable_timing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Variable Timing"},"variable_lift":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Variable Lift"}},"additionalProperties":false,"type":"object","required":["cam","valves_per_cylinder","variable_timing","variable_lift"],"title":"Valvetrain"},"Version":{"properties":{"id":{"type":"integer","title":"Id"},"path":{"type":"string","title":"Path"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name","description":"The version, for example 2.0 TDI 150hp DSG."},"vehicle_type":{"type":"string","title":"Vehicle Type","description":"car or motorcycle, from its model."},"make":{"$ref":"#/components/schemas/Ref"},"model":{"$ref":"#/components/schemas/Ref"},"generation":{"$ref":"#/components/schemas/Ref"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"production":{"anyOf":[{"$ref":"#/components/schemas/Production"},{"type":"null"}]},"powertrain":{"anyOf":[{"$ref":"#/components/schemas/Powertrain"},{"type":"null"}]},"output":{"anyOf":[{"$ref":"#/components/schemas/Output"},{"type":"null"}]},"engine":{"anyOf":[{"$ref":"#/components/schemas/Engine"},{"type":"null"}]},"electric":{"anyOf":[{"$ref":"#/components/schemas/Electric"},{"type":"null"}]},"transmission":{"anyOf":[{"$ref":"#/components/schemas/Transmission"},{"type":"null"}]},"performance":{"anyOf":[{"$ref":"#/components/schemas/Performance"},{"type":"null"}]},"efficiency":{"anyOf":[{"$ref":"#/components/schemas/Efficiency"},{"type":"null"}]},"emissions":{"anyOf":[{"$ref":"#/components/schemas/Emissions"},{"type":"null"}]},"body":{"anyOf":[{"$ref":"#/components/schemas/Body"},{"type":"null"}]},"chassis":{"anyOf":[{"$ref":"#/components/schemas/Chassis"},{"type":"null"}]},"features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Features"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"additionalProperties":false,"type":"object","required":["id","path","slug","name","vehicle_type","make","model","generation","updated_at"],"title":"Version","description":"Every group is present unless ``fields=`` asked for fewer."},"Vocabularies":{"properties":{"vocabularies":{"additionalProperties":{"$ref":"#/components/schemas/Vocabulary"},"type":"object","title":"Vocabularies"},"cycle_rank":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array","title":"Cycle Rank","description":"The order a preferred figure is picked in. null is a figure with no cycle."},"units":{"additionalProperties":{"type":"string"},"type":"object","title":"Units"}},"additionalProperties":false,"type":"object","required":["vocabularies","cycle_rank","units"],"title":"Vocabularies"},"Vocabulary":{"properties":{"description":{"type":"string","title":"Description"},"values":{"items":{"$ref":"#/components/schemas/VocabularyValue"},"type":"array","title":"Values"}},"additionalProperties":false,"type":"object","required":["description","values"],"title":"Vocabulary"},"VocabularyValue":{"properties":{"value":{"type":"string","title":"Value"},"label":{"type":"string","title":"Label"},"folds":{"items":{"type":"string"},"type":"array","title":"Folds","description":"Other spellings that fold into this value."}},"additionalProperties":false,"type":"object","required":["value","label","folds"],"title":"VocabularyValue"},"Weight":{"properties":{"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"}},"additionalProperties":false,"type":"object","title":"Weight"},"Weights":{"properties":{"kerb":{"anyOf":[{"$ref":"#/components/schemas/Weight"},{"type":"null"}]},"max":{"anyOf":[{"$ref":"#/components/schemas/Weight"},{"type":"null"}]},"dry":{"anyOf":[{"$ref":"#/components/schemas/Weight"},{"type":"null"}],"description":"Without fuel and fluids."}},"additionalProperties":false,"type":"object","required":["kerb","max","dry"],"title":"Weights"},"YearSpan":{"properties":{"start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"YearSpan"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","description":"A key issued in the dashboard. `Authorization: Bearer <key>` also works.","in":"header","name":"X-API-Key"},"HTTPBearer":{"type":"http","description":"The same key as a bearer token.","scheme":"bearer"}}}}