{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/walletpassbuilder-com/json-schema/walletpassbuilder-com-notification-schema.json",
  "title": "Notification",
  "description": "The full notification record - returned by List Notifications, which spans every pass the account owns.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/walletpassbuilder-com-openapi.yaml#/components/schemas/Notification",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "passId": {
      "type": "string"
    },
    "passTitle": {
      "type": "string"
    },
    "passUrl": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "enum": [
        "immediate",
        "scheduled"
      ]
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "enum": [
        "scheduled",
        "sending",
        "sent",
        "failed",
        "canceled"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "sentAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "error": {
      "type": "string"
    },
    "results": {
      "type": "object",
      "properties": {
        "applePushed": {
          "type": "boolean"
        },
        "googleMessaged": {
          "type": "boolean"
        }
      }
    }
  }
}