{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stickerbyvin-com/json-schema/stickerbyvin-com-decode-schema.json",
  "title": "Decode",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stickerbyvin-com-openapi.json#/components/schemas/Decode",
  "type": "object",
  "properties": {
    "vin": {
      "type": "string"
    },
    "vehicle": {
      "$ref": "#/$defs/Vehicle"
    },
    "recallCount": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Recall campaigns for the model year; null when NHTSA could not be checked (unknown, not zero)"
    }
  },
  "$defs": {
    "Vehicle": {
      "type": "object",
      "properties": {
        "vin": {
          "type": [
            "string",
            "null"
          ]
        },
        "make": {
          "type": [
            "string",
            "null"
          ]
        },
        "model": {
          "type": [
            "string",
            "null"
          ]
        },
        "trim": {
          "type": [
            "string",
            "null"
          ]
        },
        "trimSource": {
          "type": [
            "string",
            "null"
          ]
        },
        "series": {
          "type": [
            "string",
            "null"
          ]
        },
        "bodyClass": {
          "type": [
            "string",
            "null"
          ]
        },
        "driveType": {
          "type": [
            "string",
            "null"
          ]
        },
        "engine": {
          "type": [
            "string",
            "null"
          ]
        },
        "fuel": {
          "type": [
            "string",
            "null"
          ]
        },
        "transmission": {
          "type": [
            "string",
            "null"
          ]
        },
        "doors": {
          "type": [
            "string",
            "null"
          ]
        },
        "plant": {
          "type": [
            "string",
            "null"
          ]
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ]
        },
        "vehicleType": {
          "type": [
            "string",
            "null"
          ]
        },
        "gvwr": {
          "type": [
            "string",
            "null"
          ]
        },
        "electrification": {
          "type": [
            "string",
            "null"
          ]
        },
        "year": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  }
}