{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vehicle-databases/json-schema/vehicle-databases-recall-list-response-schema.json",
  "title": "RecallListResponse",
  "description": "NHTSA recalls for a vehicle",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vehicle-databases-recalls-api-openapi.yml#/components/schemas/RecallListResponse",
  "type": "object",
  "properties": {
    "vehicleId": {
      "type": "string"
    },
    "recalls": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Recall"
      }
    },
    "count": {
      "type": "integer"
    }
  },
  "$defs": {
    "Recall": {
      "type": "object",
      "description": "NHTSA safety recall for a vehicle",
      "properties": {
        "recallId": {
          "type": "string",
          "description": "NHTSA recall identifier"
        },
        "component": {
          "type": "string",
          "description": "Vehicle component affected"
        },
        "summary": {
          "type": "string",
          "description": "Recall risk summary"
        },
        "recallDate": {
          "type": "string",
          "format": "date",
          "description": "Recall initiation date"
        },
        "remedyDate": {
          "type": "string",
          "format": "date",
          "description": "Remedy available date"
        },
        "remedyDescription": {
          "type": "string",
          "description": "Description of the remedy"
        },
        "remedyStatus": {
          "type": "string",
          "enum": [
            "pending",
            "available",
            "complete"
          ],
          "description": "Recall remedy status"
        }
      }
    }
  }
}