{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/window-sticker-vin-api/main/json-schema/window-sticker-vin-api-vin-response-schema.json",
  "title": "VinResponse",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/window-sticker-vin-api-vin-api-openapi.yml#/components/schemas/VinResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "vin": {
      "type": "string"
    },
    "warning": {
      "type": [
        "string",
        "null"
      ]
    },
    "vehicle": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "year": {
          "type": [
            "string",
            "null"
          ]
        },
        "make": {
          "type": [
            "string",
            "null"
          ]
        },
        "model": {
          "type": [
            "string",
            "null"
          ]
        },
        "trim": {
          "type": [
            "string",
            "null"
          ]
        },
        "bodyClass": {
          "type": [
            "string",
            "null"
          ]
        },
        "driveType": {
          "type": [
            "string",
            "null"
          ]
        },
        "doors": {
          "type": [
            "string",
            "null"
          ]
        },
        "engine": {
          "type": "object",
          "properties": {
            "displacement": {
              "type": [
                "string",
                "null"
              ]
            },
            "cylinders": {
              "type": [
                "string",
                "null"
              ]
            },
            "fuel": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "transmission": {
          "type": [
            "string",
            "null"
          ]
        },
        "plant": {
          "type": [
            "string",
            "null"
          ]
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "windowSticker": {
      "type": "object",
      "properties": {
        "supported": {
          "type": "boolean",
          "description": "Does this make publish labels at all?"
        },
        "available": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Is there one for this specific VIN?"
        },
        "bytes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "pdf": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "page": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}