Vehicle
A vehicle owned (or managed) by a workshop client. Multi-tenant: belongs to one company. `manufacturer_name` and `customer_name` are joined-in convenience fields populated by the repository so list rows can render `Fiat Panda — Mario Rossi` without a follow-up request. Rental fields are read-only on this resource. Mutate them via the dedicated rental setup flow.
Properties
| Name | Type | Description |
|---|---|---|
| seq_number | integernull | Number within this company's creation year (the year of created_at). Null for unnumbered legacy records. |
| version | integer | Detail, create and PATCH responses only. Send it back as `If-Match` on PATCH: a save from an older copy is refused with 409. |
| object | string | |
| id | string | |
| license | stringnull | License plate (regional format, free-form string). |
| manufacturer_id | string | |
| manufacturer_name | string | Joined from the manufacturers table for display. Read-only; mutate via `manufacturer_id`. |
| model | string | |
| variant | stringnull | |
| vin | stringnull | Vehicle Identification Number. |
| transmission | stringnull | |
| engine_power_kw | numbernull | Potenza motore in kW, up to two decimals (110.5). On writes, greater than 0 and at most 2000 on every revision (`422` on `/engine_power_kw` otherwise; more decimals are rounded to two; a 0 from a clie |
| engine_displacement_ccm | integernull | |
| engine_code | stringnull | Codice motore. Stored trimmed and upper case (max 64 characters); an empty string or `null` clears it. When empty, officina.it may fill it from the vehicle's registration data. Shown in the app when ` |
| vehicle_weight_kg | integernull | |
| engine_category | stringnull | |
| registered_at | stringnull | |
| comments | stringnull | |
| customer_id | stringnull | |
| customer_name | stringnull | Joined from the owning customer's `full_name` for display. Read-only; mutate via `customer_id`. |
| km | numbernull | Most recently recorded odometer reading. |
| km_registered_at | stringnull | |
| last_inspection_at | stringnull | |
| next_inspection_at | stringnull | |
| next_appointment | stringnull | Earliest upcoming calendar appointment for this vehicle, computed at read time. |
| custom_fields | objectnull | Raw stored values keyed by custom field definition `id` (see `VehicleCustomFieldValues` for the stored shapes), on list rows and detail responses; `null` when the vehicle has none. Includes hidden fie |
| custom_field_values | array | Detail responses only. The company's visible custom field definitions (settings → Campi veicolo) resolved against this vehicle: configured order, display-ready names, "" when the vehicle has no value. |
| documents | array | Detail responses only — the vehicle's Documenti Allegati. `url` is the authenticated download route (`/v1/vehicles/{id}/documents/{documentID}/download`). |
| field_visibility | object | Detail responses only. The company's optional-field toggles (settings → Campi veicolo): the edit form hides — and omits from its PATCH — exactly what the web form hides. All true when never configured |
| is_rental | boolean | Whether this vehicle is part of the workshop's rental fleet. Read-only here — managed by the rental setup flow. |
| rental_daily_price_before_tax | numbernull | |
| rental_daily_price_tax | numbernull | |
| rental_daily_price_after_tax | numbernull | |
| rental_vat_code | stringnull | |
| rental_daily_discount_rate | numbernull | |
| created_at | string | |
| updated_at | string | |
| deleted_at | stringnull | Soft-deletion timestamp. Populated on the response from DELETE /v1/vehicles/{id}. Vehicles with a non-null deleted_at are not returned by list/detail endpoints — this field appears for the delete resp |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/officina-it/json-schema/officina-it-vehicle-schema.json",
"title": "Vehicle",
"description": "A vehicle owned (or managed) by a workshop client.\nMulti-tenant: belongs to one company. `manufacturer_name`\nand `customer_name` are joined-in convenience fields\npopulated by the repository so list rows can render\n`Fiat Panda — Mario Rossi` without a follow-up request.\n\nRental fields are read-only on this resource. Mutate them\nvia the dedicated rental setup flow.\n",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/officina-it-openapi.json#/components/schemas/Vehicle",
"type": "object",
"required": [
"object",
"id",
"manufacturer_id",
"manufacturer_name",
"model",
"is_rental",
"created_at",
"updated_at"
],
"properties": {
"seq_number": {
"type": [
"integer",
"null"
],
"readOnly": true,
"minimum": 1,
"description": "Number within this company's creation year (the year of created_at). Null for unnumbered legacy records."
},
"version": {
"type": "integer",
"description": "Detail, create and PATCH responses only. Send it back as\n`If-Match` on PATCH: a save from an older copy is refused with 409.\n"
},
"object": {
"type": "string",
"const": "vehicle"
},
"id": {
"type": "string"
},
"license": {
"type": [
"string",
"null"
],
"description": "License plate (regional format, free-form string)."
},
"manufacturer_id": {
"type": "string"
},
"manufacturer_name": {
"type": "string",
"description": "Joined from the manufacturers table for display.\nRead-only; mutate via `manufacturer_id`.\n"
},
"model": {
"type": "string"
},
"variant": {
"type": [
"string",
"null"
]
},
"vin": {
"type": [
"string",
"null"
],
"description": "Vehicle Identification Number."
},
"transmission": {
"type": [
"string",
"null"
]
},
"engine_power_kw": {
"type": [
"number",
"null"
],
"minimum": 0.01,
"maximum": 2000,
"description": "Potenza motore in kW, up to two decimals (110.5). On writes, greater than 0 and at most 2000 on every revision (`422` on `/engine_power_kw` otherwise; more decimals are rounded to two; a 0 from a client declaring a revision before 2026-11-09 is stored as empty). Clients declaring a revision before 2026-11-09 read it rounded half away from zero to an integer, and a `PATCH` sending that rounded value back keeps the stored one."
},
"engine_displacement_ccm": {
"type": [
"integer",
"null"
]
},
"engine_code": {
"type": [
"string",
"null"
],
"x-since": "2026-10-05",
"description": "Codice motore. Stored trimmed and upper case (max 64 characters); an empty string or `null` clears it. When empty, officina.it may fill it from the vehicle's registration data. Shown in the app when `field_visibility.engine_code` is on."
},
"vehicle_weight_kg": {
"type": [
"integer",
"null"
]
},
"engine_category": {
"type": [
"string",
"null"
]
},
"registered_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"comments": {
"type": [
"string",
"null"
]
},
"customer_id": {
"type": [
"string",
"null"
]
},
"customer_name": {
"type": [
"string",
"null"
],
"description": "Joined from the owning customer's `full_name` for\ndisplay. Read-only; mutate via `customer_id`.\n"
},
"km": {
"type": [
"number",
"null"
],
"description": "Most recently recorded odometer reading."
},
"km_registered_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"last_inspection_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"next_inspection_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"next_appointment": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Earliest upcoming calendar appointment for this vehicle,\ncomputed at read time.\n"
},
"custom_fields": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Raw stored values keyed by custom field definition `id`\n(see `VehicleCustomFieldValues` for the stored shapes), on\nlist rows and detail responses; `null` when the vehicle has\nnone. Includes hidden fields, and on older records keys of\ndeleted definitions (dropped on the next PATCH that sends\n`custom_fields`). Filled on list rows since revision 2026-11-02\n(served to every revision).\n"
},
"custom_field_values": {
"type": "array",
"description": "Detail responses only. The company's visible custom field\ndefinitions (settings → Campi veicolo) resolved against\nthis vehicle: configured order, display-ready names, \"\"\nwhen the vehicle has no value. Clients render these\ndirectly — no definition lookup needed.\n",
"items": {
"type": "object",
"required": [
"id",
"name",
"type",
"value"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"string",
"integer",
"datetime",
"list"
]
},
"options": {
"type": "array",
"x-since": "2026-10-23",
"items": {
"type": "string"
},
"description": "`list` fields only (omitted on the other types): the\ndropdown choices in order, so the picker renders\nwithout a settings lookup. `value` is one of them, or\n\"\" when unset.\n"
},
"value": {
"type": "string"
}
}
}
},
"documents": {
"type": "array",
"description": "Detail responses only — the vehicle's Documenti Allegati.\n`url` is the authenticated download route\n(`/v1/vehicles/{id}/documents/{documentID}/download`).\n",
"items": {
"$ref": "#/$defs/VehicleDocument"
}
},
"field_visibility": {
"type": "object",
"description": "Detail responses only. The company's optional-field\ntoggles (settings → Campi veicolo): the edit form hides —\nand omits from its PATCH — exactly what the web form\nhides. All true when never configured.\n",
"properties": {
"km": {
"type": "boolean"
},
"numero_telaio": {
"type": "boolean"
},
"transmission": {
"type": "boolean"
},
"engine_category": {
"type": "boolean"
},
"engine_power_kw": {
"type": "boolean"
},
"engine_displacement_ccm": {
"type": "boolean"
},
"engine_code": {
"type": "boolean",
"x-since": "2026-10-05"
},
"vehicle_weight_kg": {
"type": "boolean"
},
"registration_date": {
"type": "boolean"
},
"last_inspection_date": {
"type": "boolean"
},
"next_inspection_date": {
"type": "boolean"
}
}
},
"is_rental": {
"type": "boolean",
"description": "Whether this vehicle is part of the workshop's rental\nfleet. Read-only here — managed by the rental setup flow.\n"
},
"rental_daily_price_before_tax": {
"type": [
"number",
"null"
]
},
"rental_daily_price_tax": {
"type": [
"number",
"null"
]
},
"rental_daily_price_after_tax": {
"type": [
"number",
"null"
]
},
"rental_vat_code": {
"type": [
"string",
"null"
]
},
"rental_daily_discount_rate": {
"type": [
"number",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"deleted_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Soft-deletion timestamp. Populated on the response from\nDELETE /v1/vehicles/{id}. Vehicles with a non-null\ndeleted_at are not returned by list/detail endpoints —\nthis field appears for the delete response only.\n"
}
},
"$defs": {
"VehicleDocument": {
"type": "object",
"required": [
"object",
"id",
"name",
"content_type",
"description",
"url",
"file_size_bytes",
"created_at"
],
"description": "One attachment on a vehicle (Documenti Allegati). `url` is the\nauthenticated download route — fetch it with the bearer and\nhand the bytes to the OS viewer/share sheet.\n",
"properties": {
"object": {
"type": "string",
"const": "vehicle_document"
},
"id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Original file name."
},
"content_type": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"file_size_bytes": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/officina-it-vehicle"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.