{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-qr-code-response-schema.json",
  "title": "QrCodeResponse",
  "description": "Response containing QR code details after creation or update",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-individual-qr-code-api-openapi.yml#/components/schemas/QrCodeResponse",
  "type": "object",
  "required": [
    "code",
    "prefilled_message",
    "deep_link_url"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Unique 14-character identifier for the QR code. This code is used\nfor future updates or deletions.\n",
      "pattern": "^[A-Z2-7]{14}$"
    },
    "prefilled_message": {
      "type": "string",
      "description": "The pre-filled message text associated with this QR code.\nThis text appears when customers use the QR code.\n"
    },
    "deep_link_url": {
      "type": "string",
      "format": "uri",
      "description": "WhatsApp deep link URL that can be used directly without QR code scanning.\nCustomers can click this link to start a conversation with the pre-filled message.\n"
    },
    "qr_image_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to download the QR code image. Only present if generate_qr_image\nparameter was specified in the request. Image format matches the requested format.\n"
    }
  }
}