{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autoza-co-uk/json-schema/autoza-co-uk-vehicle-summary-schema.json",
  "title": "VehicleSummary",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autoza-co-uk-openapi.json#/components/schemas/VehicleSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "make": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "year": {
      "type": "integer"
    },
    "price": {
      "type": [
        "number",
        "null"
      ],
      "description": "Asking price in GBP; null when the price is on request."
    },
    "price_on_request": {
      "type": "boolean",
      "description": "True when the dealer gives no price (never published as 0)."
    },
    "currency": {
      "type": "string"
    },
    "mileage": {
      "type": "integer"
    },
    "fuel_type": {
      "type": "string"
    },
    "transmission": {
      "type": "string"
    },
    "body_type": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "images": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "caution_line": {
      "type": "string",
      "description": "The seller's own words about the car, for example 'Seller states: Category S'. Present only on a car whose seller states a problem; it is the seller's wording, not Autoza's verdict."
    }
  }
}