{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wenmarpro-com/json-schema/wenmarpro-com-overview-schema.json",
  "title": "Overview",
  "description": "Everything held for one model year, in one answer.\n\nA block this server has no data for is `null`: `specs`, `fuel`,\n`fluids` and `tires` are `null` in every answer today, and each is\nfilled when its data arrives. A client must accept an object there.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wenmarpro-com-open-openapi.json#/components/schemas/Overview",
  "type": "object",
  "required": [
    "links",
    "attribution",
    "warnings"
  ],
  "properties": {
    "attribution": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The credit lines the data's licences ask for."
    },
    "bulletins": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/OverviewBulletins",
          "description": "The bulletins of the model year, in brief. `null` when this server\nholds no bulletins, and when a VIN reaches no model year."
        }
      ]
    },
    "complaints": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/OverviewComplaints",
          "description": "What owners reported to NHTSA, as counts. `null` when the server\nholds no complaints, and when a VIN reaches no model year."
        }
      ]
    },
    "decode": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/OverviewDecode",
          "description": "What the VIN decoded to. `null` when the overview was asked for by\nvehicle id."
        }
      ]
    },
    "fluids": {
      "type": [
        "object",
        "null"
      ]
    },
    "fuel": {
      "type": [
        "object",
        "null"
      ]
    },
    "generation": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/Generation",
          "description": "The generation of the model the year belongs to, from corgi-rs's\ntable, as `/v1/models/{make}/{model}` gives it. `null` for a model\nthe table does not list, and when a VIN reaches no model year."
        }
      ]
    },
    "links": {
      "$ref": "#/$defs/OverviewLinks"
    },
    "recalls": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/OverviewRecalls",
          "description": "`null` when this server holds no recalls. A count of `0` with a\nday in `as_of` means none was found."
        }
      ]
    },
    "safety": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/VehicleSafety",
          "description": "NHTSA's crash test ratings for the model year, as\n`/v1/vehicles/{id}/safety` gives them. `null` when this server\nholds no ratings, and when a VIN reaches no model year."
        }
      ]
    },
    "specs": {
      "type": [
        "object",
        "null"
      ]
    },
    "tires": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/TireFitment"
      },
      "description": "The original-equipment tire fitments a person recorded, as the\n`fitments` of `/v1/vehicles/{id}/tires`: every one, never narrowed.\n`null` on a server that holds none."
    },
    "vehicle": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/RecallVehicle",
          "description": "The model year. `null` when a VIN reaches no model year of the\ncatalog; every block is then `null` too."
        }
      ]
    },
    "warnings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Warning"
      }
    }
  },
  "$defs": {
    "Bulletin": {
      "type": "object",
      "description": "One manufacturer communication in a list: a service bulletin, a\nservice campaign, a warranty extension or an over-the-air update.",
      "required": [
        "nhtsa_id",
        "type",
        "type_name",
        "date_added",
        "url"
      ],
      "properties": {
        "component": {
          "type": [
            "string",
            "null"
          ],
          "description": "NHTSA's components, in its words, separated by `; `."
        },
        "date": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer's own date."
        },
        "date_added": {
          "type": "string",
          "description": "The day NHTSA published it. Lists are ordered by it."
        },
        "document": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/BulletinDocument",
              "description": "Where NHTSA's copy of the document is expected to be. `null` when\nno address can be built for it: a communication with no\nmanufacturer's date, or one NHTSA received before July 2017."
            }
          ]
        },
        "document_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer's own number for the document, which a dealer\nlooks it up by."
        },
        "mfr_campaign": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer's campaign id or software version."
        },
        "nhtsa_id": {
          "type": "integer",
          "format": "int64",
          "description": "NHTSA's id number for the communication."
        },
        "summary": {
          "type": [
            "string",
            "null"
          ],
          "description": "NHTSA's summary of the communication. The document itself is the\nmanufacturer's and is not here."
        },
        "type": {
          "type": "string",
          "description": "`service_bulletin`, `service_campaign`, `warranty_extension`,\n`over_the_air`, `emissions` or `other`."
        },
        "type_name": {
          "type": "string",
          "description": "The type in words."
        },
        "url": {
          "type": "string",
          "description": "The bulletin's page on this site."
        }
      }
    },
    "BulletinCount": {
      "type": "object",
      "description": "How many bulletins have one type, component, code or topic.",
      "required": [
        "id",
        "name",
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "id": {
          "type": "string",
          "description": "What to pass as `type`, `component`, `code` or `topic`."
        },
        "name": {
          "type": "string"
        }
      }
    },
    "BulletinDocument": {
      "type": "object",
      "description": "Where NHTSA's copy of a bulletin's document is expected to be.",
      "required": [
        "url",
        "alternate_url",
        "confirmed"
      ],
      "properties": {
        "alternate_url": {
          "type": "string",
          "description": "The address to try when `url` answers \"not found\": NHTSA files\ndocuments under one of two endings, and the data does not say\nwhich."
        },
        "confirmed": {
          "type": "boolean",
          "description": "Always `false`. The addresses are built from a rule that held for\na sample of documents; this API has not asked NHTSA for this one."
        },
        "url": {
          "type": "string",
          "description": "The likelier address of NHTSA's copy (a PDF)."
        }
      }
    },
    "ComponentComplaints": {
      "type": "object",
      "description": "The complaints of a model year that name one component.",
      "required": [
        "id",
        "name",
        "complaints",
        "crashes",
        "fires",
        "injuries"
      ],
      "properties": {
        "complaints": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "crashes": {
          "type": "integer",
          "format": "int32",
          "description": "Complaints that report a crash.",
          "minimum": 0
        },
        "fires": {
          "type": "integer",
          "format": "int32",
          "description": "Complaints that report a fire.",
          "minimum": 0
        },
        "id": {
          "type": "string",
          "description": "A component id, such as `steering` or `brake-pad`."
        },
        "injuries": {
          "type": "integer",
          "format": "int32",
          "description": "Complaints that report at least one person injured.",
          "minimum": 0
        },
        "median_km": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The median of the mileages owners gave, in kilometres. `null` when\nfewer than five gave one.",
          "minimum": 0
        },
        "median_miles": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The same in miles, as NHTSA records it.",
          "minimum": 0
        },
        "name": {
          "type": "string"
        },
        "parent": {
          "type": [
            "string",
            "null"
          ],
          "description": "The system a part belongs to. `null` for a system."
        }
      }
    },
    "FrontRear": {
      "type": "object",
      "description": "A figure for the front and for the rear.",
      "properties": {
        "front": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        },
        "rear": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        }
      }
    },
    "Generation": {
      "type": "object",
      "description": "One generation of a model: a run of model years between redesigns.",
      "required": [
        "name",
        "year_from"
      ],
      "properties": {
        "code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The maker's platform or chassis code, when there is one."
        },
        "name": {
          "type": "string",
          "description": "How the generation is known."
        },
        "ordinal": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Its number, when it has one that is commonly used.",
          "minimum": 0
        },
        "year_from": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "year_to": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Left out while the generation is still made.",
          "minimum": 0
        }
      }
    },
    "MakeLinks": {
      "type": "object",
      "description": "The maker's own pages, found by a person. An address that was not\nfound is `null`. They lead off this service and can move.",
      "required": [
        "checked"
      ],
      "properties": {
        "checked": {
          "type": "string",
          "description": "The day every link was last opened by a person."
        },
        "customer_line": {
          "type": [
            "string",
            "null"
          ],
          "description": "The maker's telephone line for customers."
        },
        "maintenance_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "manual_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "parts_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "recall_lookup_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Where an owner checks a VIN for open recalls."
        },
        "service_info_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "The maker's service information site, where it sells access."
        }
      }
    },
    "OverviewBulletins": {
      "type": "object",
      "description": "The bulletins of a model year, in brief, in an overview.",
      "required": [
        "count",
        "by_type",
        "newest",
        "url"
      ],
      "properties": {
        "as_of": {
          "type": [
            "string",
            "null"
          ],
          "description": "The day the bulletins were current."
        },
        "by_type": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BulletinCount"
          },
          "description": "Every type with at least one, as `counts.by_type` of\n`/v1/vehicles/{id}/bulletins`."
        },
        "count": {
          "type": "integer",
          "format": "int64",
          "description": "Every manufacturer communication that lists the model year.",
          "minimum": 0
        },
        "newest": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Bulletin"
          },
          "description": "The three newest, as `/v1/vehicles/{id}/bulletins` lists them."
        },
        "url": {
          "type": "string",
          "description": "The model year's bulletin page on this site."
        }
      }
    },
    "OverviewComplaints": {
      "type": "object",
      "description": "The complaints of a model year, in brief, in an overview.",
      "required": [
        "verified",
        "complaints",
        "crashes",
        "fires",
        "injuries",
        "top",
        "url"
      ],
      "properties": {
        "as_of": {
          "type": [
            "string",
            "null"
          ]
        },
        "complaints": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "crashes": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "fires": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "injuries": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "median_km": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "median_miles": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "top": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ComponentComplaints"
          },
          "description": "The three most reported components."
        },
        "url": {
          "type": "string",
          "description": "The section of the model year's page on this site."
        },
        "verified": {
          "type": "boolean",
          "description": "Always `false`, as in `VehicleComplaints`."
        }
      }
    },
    "OverviewDecode": {
      "type": "object",
      "description": "What the VIN of an overview decoded to.",
      "required": [
        "vin",
        "valid",
        "engine_settled"
      ],
      "properties": {
        "engine": {
          "type": [
            "string",
            "null"
          ],
          "description": "The engine in short form, such as `2.0L`, when the VIN names one."
        },
        "engine_settled": {
          "type": "boolean",
          "description": "Whether the VIN settles on one engine of the catalog."
        },
        "entry_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The most specific catalog entry the VIN reaches."
        },
        "make": {
          "type": [
            "string",
            "null"
          ]
        },
        "model": {
          "type": [
            "string",
            "null"
          ]
        },
        "trim": {
          "type": [
            "string",
            "null"
          ]
        },
        "valid": {
          "type": "boolean",
          "description": "Whether the check digit, position 9, is right."
        },
        "vin": {
          "type": "string"
        },
        "year": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        }
      }
    },
    "OverviewLinks": {
      "type": "object",
      "description": "Where to read more.",
      "properties": {
        "maker": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/MakeLinks",
              "description": "The maker's own pages. `null` when none are recorded for the make."
            }
          ]
        },
        "page": {
          "type": [
            "string",
            "null"
          ],
          "description": "The model year's page on this site. `null` when the VIN reaches no\nmodel year of the catalog."
        }
      }
    },
    "OverviewRecalls": {
      "type": "object",
      "description": "The recalls of a model year, in brief.",
      "required": [
        "may_apply",
        "count",
        "as_of",
        "do_not_drive",
        "park_outside",
        "newest",
        "lookup",
        "url"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/RecallAsOf"
        },
        "count": {
          "$ref": "#/$defs/RecallCount"
        },
        "do_not_drive": {
          "type": "boolean",
          "description": "Whether any campaign carries NHTSA's advisory not to drive."
        },
        "lookup": {
          "$ref": "#/$defs/RecallLookup"
        },
        "may_apply": {
          "type": "boolean",
          "description": "Always `true`. A campaign lists a year, make and model; only the\nmanufacturer can say whether one vehicle is in it."
        },
        "newest": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Recall"
          },
          "description": "The three newest campaigns. The whole list is at\n`/v1/vehicles/{id}/recalls`."
        },
        "park_outside": {
          "type": "boolean",
          "description": "Whether any campaign carries NHTSA's advisory to park outside."
        },
        "url": {
          "type": "string",
          "description": "The model year's recall page on this site."
        }
      }
    },
    "Recall": {
      "type": "object",
      "description": "One recall campaign in a list.",
      "required": [
        "source",
        "country",
        "campaign",
        "models",
        "url"
      ],
      "properties": {
        "built_from": {
          "type": [
            "string",
            "null"
          ],
          "description": "In an answer about one model year: the first and last build date\nthe campaign gives. Compare them with the date on the door sticker."
        },
        "built_to": {
          "type": [
            "string",
            "null"
          ]
        },
        "campaign": {
          "type": "string",
          "description": "The publisher's campaign number."
        },
        "component": {
          "type": [
            "string",
            "null"
          ],
          "description": "The component, as the source words it."
        },
        "country": {
          "type": "string",
          "description": "`us` or `ca`."
        },
        "date": {
          "type": [
            "string",
            "null"
          ],
          "description": "The day the campaign was reported."
        },
        "do_not_drive": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "NHTSA's advisory not to drive the vehicle until it is repaired.\n`null` for a Canadian campaign: Transport Canada publishes no such\nfield."
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ]
        },
        "match": {
          "type": [
            "string",
            "null"
          ],
          "description": "In an answer about one model year: how the campaign's vehicle text\nreached that model. `exact`, `base` (the campaign names a series or\ntrim of it) or `curated`. `null` in a list that is not about one\nmodel year."
        },
        "mfr_campaign": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer's own campaign number, which a dealer looks a\nrecall up by."
        },
        "models": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "In an answer about one model year: the model names the campaign\nlists that reached it."
        },
        "notification": {
          "type": [
            "string",
            "null"
          ],
          "description": "Transport Canada's notification type, such as `Safety Mfr`."
        },
        "park_outside": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "NHTSA's advisory to park outside, away from buildings."
        },
        "source": {
          "type": "string",
          "description": "Who published it: `nhtsa` or `tc` (Transport Canada)."
        },
        "summary": {
          "type": [
            "string",
            "null"
          ],
          "description": "What is wrong, in the source's words."
        },
        "units": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Units potentially affected.",
          "minimum": 0
        },
        "url": {
          "type": "string",
          "description": "The campaign's page on this site."
        }
      }
    },
    "RecallAsOf": {
      "type": "object",
      "description": "The day each country's recall data was current. `null` for a country\nthis server holds no recalls for.",
      "properties": {
        "ca": {
          "type": [
            "string",
            "null"
          ]
        },
        "us": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "RecallCount": {
      "type": "object",
      "description": "How many recall campaigns list a model year, for each country. `null`\nfor a country this server holds no recalls for; `0` when it holds them\nand none lists the model year.",
      "properties": {
        "ca": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "us": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        }
      }
    },
    "RecallLookup": {
      "type": "object",
      "description": "Where to check one vehicle for open recalls. Neither government\npublishes recalls by VIN as data, so no answer here can say a recall\napplies to a VIN: these lookups can.",
      "required": [
        "nhtsa",
        "tc"
      ],
      "properties": {
        "maker": {
          "type": [
            "string",
            "null"
          ],
          "description": "The maker's own lookup by VIN, where one is on file."
        },
        "nhtsa": {
          "type": "string",
          "description": "NHTSA's lookup by VIN, for the United States."
        },
        "tc": {
          "type": "string",
          "description": "Transport Canada's recall search, for Canada."
        }
      }
    },
    "RecallVehicle": {
      "type": "object",
      "description": "The model year an answer is about.",
      "required": [
        "id",
        "year",
        "make",
        "model"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The id of the year, make and model."
        },
        "make": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "year": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        }
      }
    },
    "SafetyFeatures": {
      "type": "object",
      "description": "The safety features NHTSA lists with a rating. A feature is `standard`,\n`optional`, `both` (standard on some versions, optional on others) or\n`no`. An evaluation is `meets`, `does_not_meet`, `standard_only`,\n`upgrade_only` or `pending`. `null` where NHTSA's file does not say.\n\nFor the four driver-assistance features (forward collision warning,\nlane departure warning, crash imminent braking, dynamic brake support)\nNHTSA's file means two things by its years. Through model year 2022,\n`standard`, `optional` and `both` say the feature is fitted and met\nNHTSA's performance criteria, `no` says it is not fitted or did not\nmeet them, and there is no evaluation. From model year 2023 the value\nsays only whether the feature is fitted, and the evaluation says what\nNHTSA's test found.",
      "properties": {
        "backup_camera": {
          "type": [
            "string",
            "null"
          ]
        },
        "blind_spot_detection": {
          "type": [
            "string",
            "null"
          ]
        },
        "crash_imminent_braking": {
          "type": [
            "string",
            "null"
          ],
          "description": "Automatic emergency braking: the vehicle brakes by itself."
        },
        "crash_imminent_braking_evaluation": {
          "type": [
            "string",
            "null"
          ]
        },
        "dynamic_brake_support": {
          "type": [
            "string",
            "null"
          ],
          "description": "The vehicle adds to the driver's braking."
        },
        "dynamic_brake_support_evaluation": {
          "type": [
            "string",
            "null"
          ]
        },
        "esc": {
          "type": [
            "string",
            "null"
          ],
          "description": "Electronic stability control."
        },
        "forward_collision_warning": {
          "type": [
            "string",
            "null"
          ]
        },
        "forward_collision_warning_evaluation": {
          "type": [
            "string",
            "null"
          ]
        },
        "head_side_airbag": {
          "type": [
            "string",
            "null"
          ],
          "description": "Side air bags for the head, and for the torso."
        },
        "lane_departure_warning": {
          "type": [
            "string",
            "null"
          ]
        },
        "lane_departure_warning_evaluation": {
          "type": [
            "string",
            "null"
          ]
        },
        "torso_side_airbag": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "SafetyRating": {
      "type": "object",
      "description": "One rating NHTSA gave a vehicle of a model year.",
      "required": [
        "description",
        "model",
        "release",
        "match",
        "stars",
        "features",
        "notes"
      ],
      "properties": {
        "body_style": {
          "type": [
            "string",
            "null"
          ]
        },
        "curb_weight_kg": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The weight of the vehicle NHTSA tested. NHTSA gives pounds; the\nkilograms are worked out from them and rounded.",
          "minimum": 0
        },
        "curb_weight_lb": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "description": {
          "type": "string",
          "description": "The vehicle NHTSA rated, in NHTSA's words, on one line."
        },
        "drive": {
          "type": [
            "string",
            "null"
          ]
        },
        "features": {
          "$ref": "#/$defs/SafetyFeatures"
        },
        "match": {
          "type": "string",
          "description": "How NHTSA's model name reached this model: `exact`, `base` (NHTSA\nnames a body or a version of it) or `curated`."
        },
        "model": {
          "type": "string",
          "description": "The model, body style, vehicle type and drive as NHTSA words them."
        },
        "notes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "NHTSA's safety concerns and footnotes: what happened in a test, and\nwhich vehicles the rating does not cover."
        },
        "release": {
          "type": "integer",
          "format": "int32",
          "description": "1 for the first release of a model year; 2 or 3 for a later one\nthat NHTSA rated again.",
          "minimum": 0
        },
        "rollover_risk_percent": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "description": "The chance of a rollover in a single-vehicle crash, in percent."
        },
        "rollover_tip": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether the vehicle tipped up in NHTSA's dynamic test."
        },
        "stars": {
          "$ref": "#/$defs/SafetyStars"
        },
        "vehicle_type": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "SafetyStars": {
      "type": "object",
      "description": "The stars of one rating, each from 1 to 5. `null` where NHTSA gave\nnone: a test it did not run, or a rating older than the overall rating,\nwhich began with model year 2011.",
      "properties": {
        "frontal": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The frontal crash test, overall.",
          "minimum": 0
        },
        "frontal_driver": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "frontal_passenger": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "overall": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "rollover": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "side": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The side crash tests, overall.",
          "minimum": 0
        },
        "side_barrier": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "side_driver": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The side barrier test: the driver, and the rear passenger.",
          "minimum": 0
        },
        "side_front_seat": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The front seat and the rear seat, over the barrier and pole tests.",
          "minimum": 0
        },
        "side_passenger": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "side_pole": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        },
        "side_rear_seat": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "minimum": 0
        }
      }
    },
    "TireFitment": {
      "type": "object",
      "description": "One tire size the maker fitted to a model year, read by a person from\nthe door placard or the owner's manual.",
      "required": [
        "size",
        "trims",
        "source",
        "checked"
      ],
      "properties": {
        "bolt_pattern": {
          "type": [
            "string",
            "null"
          ]
        },
        "checked": {
          "type": "string"
        },
        "lug_torque_lbft": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        },
        "lug_torque_nm": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64"
        },
        "lug_torque_written_in": {
          "type": [
            "string",
            "null"
          ],
          "description": "`nm` or `lbft`."
        },
        "market": {
          "type": [
            "string",
            "null"
          ]
        },
        "pressure_kpa": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/FrontRear",
              "description": "Cold pressure in kilopascals. `null` when none is recorded."
            }
          ]
        },
        "pressure_psi": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/FrontRear",
              "description": "The same in pounds per square inch."
            }
          ]
        },
        "pressure_written_in": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unit the document printed: `kpa`, `bar` or `psi`. The other\nfigures were worked out from it."
        },
        "size": {
          "type": "string",
          "description": "The size as printed. The front size when `size_rear` is given."
        },
        "size_rear": {
          "type": [
            "string",
            "null"
          ],
          "description": "The rear size, only when it differs from the front."
        },
        "source": {
          "type": "string"
        },
        "trims": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The trims the document ties the size to, as it names them. Empty\nwhen it names none."
        }
      }
    },
    "VehicleSafety": {
      "type": "object",
      "description": "NHTSA's crash test ratings for one model year.",
      "required": [
        "vehicle",
        "as_of",
        "ratings",
        "source",
        "source_url",
        "attribution"
      ],
      "properties": {
        "as_of": {
          "type": "string",
          "description": "The day NHTSA's file was current."
        },
        "attribution": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The credit lines the data's licence asks for. NHTSA's asks for none."
        },
        "ratings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SafetyRating"
          },
          "description": "One entry for each vehicle of the model year NHTSA rated or lists,\nby NHTSA's model name, body style and drive. Empty when it lists\nnone."
        },
        "source": {
          "type": "string",
          "description": "Who rates the vehicles."
        },
        "source_url": {
          "type": "string",
          "description": "NHTSA's own pages of ratings."
        },
        "vehicle": {
          "$ref": "#/$defs/RecallVehicle"
        }
      }
    },
    "Warning": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "`invalid_check_digit`, `model_year_unknown`, `no_patterns` or\n`model_unresolved`. More may be added."
        },
        "message": {
          "type": "string"
        },
        "suggestions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "VINs the caller may have meant."
        }
      }
    }
  }
}