{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usps/json-schema/usps-qrcode-request-schema.json",
  "title": "QRCodeRequest",
  "description": "Request for a new QR Code",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usps-qr-codes-openapi.yml#/components/schemas/QRCodeRequest",
  "required": [
    "trackingNumber",
    "ZIPCode"
  ],
  "properties": {
    "trackingNumber": {
      "description": "The package tracking number.",
      "type": "string"
    },
    "ZIPCode": {
      "pattern": "^\\d{11}$",
      "type": "string",
      "description": "The 11-digit delivery ZIP Code."
    }
  }
}