{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stickerbyvin-com/json-schema/stickerbyvin-com-sticker-schema.json",
  "title": "Sticker",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stickerbyvin-com-openapi.json#/components/schemas/Sticker",
  "type": "object",
  "properties": {
    "vin": {
      "type": "string"
    },
    "vehicle": {
      "$ref": "#/$defs/Vehicle"
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "original": {
      "type": "boolean",
      "description": "false for a carmaker's sticker copy stamped 'Unofficial Copy'"
    },
    "sticker": {
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "exteriorColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "interiorColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "engine": {
          "type": [
            "string",
            "null"
          ]
        },
        "transmission": {
          "type": [
            "string",
            "null"
          ]
        },
        "basePrice": {
          "type": [
            "number",
            "null"
          ]
        },
        "destination": {
          "type": [
            "number",
            "null"
          ]
        },
        "totalOptions": {
          "type": [
            "number",
            "null"
          ]
        },
        "totalMsrp": {
          "type": [
            "number",
            "null"
          ]
        },
        "fuelEconomy": {
          "type": [
            "object",
            "null"
          ]
        },
        "assemblyPlant": {
          "type": [
            "string",
            "null"
          ]
        },
        "options": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "price": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "priceText": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "includes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "discounts": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "standardEquipment": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "paint": {
      "$ref": "#/$defs/Paint"
    },
    "pdf": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  },
  "$defs": {
    "Paint": {
      "type": "object",
      "properties": {
        "location": {
          "type": "string"
        },
        "looksLike": {
          "type": "string"
        },
        "guideUrl": {
          "type": "string"
        },
        "codeOnFile": {
          "type": "boolean"
        },
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "colorName": {
          "type": [
            "string",
            "null"
          ]
        },
        "locked": {
          "type": "boolean"
        },
        "note": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "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"
          ]
        }
      }
    }
  }
}