{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vehicle-databases/json-schema/vehicle-databases-vehicle-list-response-schema.json",
  "title": "VehicleListResponse",
  "description": "List of vehicles matching make/model/year lookup",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vehicle-databases-vehicles-api-openapi.yml#/components/schemas/VehicleListResponse",
  "type": "object",
  "properties": {
    "vehicles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VehicleDetail"
      }
    },
    "count": {
      "type": "integer"
    }
  },
  "$defs": {
    "VehicleDetail": {
      "type": "object",
      "description": "Detailed vehicle information from VIN or lookup",
      "properties": {
        "vin": {
          "type": "string",
          "description": "17-character VIN"
        },
        "vehicleId": {
          "type": "string",
          "description": "Internal vehicle identifier for API requests"
        },
        "make": {
          "type": "string",
          "description": "Vehicle make"
        },
        "model": {
          "type": "string",
          "description": "Vehicle model"
        },
        "year": {
          "type": "integer",
          "description": "Model year"
        },
        "engine": {
          "type": "string",
          "description": "Engine description"
        },
        "trim": {
          "type": "string",
          "description": "Trim level"
        },
        "bodyStyle": {
          "type": "string",
          "description": "Vehicle body style"
        },
        "fuelType": {
          "type": "string",
          "description": "Fuel type"
        },
        "transmission": {
          "type": "string",
          "description": "Transmission type"
        },
        "driveType": {
          "type": "string",
          "description": "Drive type (FWD, RWD, AWD, 4WD)"
        },
        "plantCountry": {
          "type": "string",
          "description": "Country of manufacture"
        }
      }
    }
  }
}