{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-broadcast-recipient-schema.json",
  "title": "BroadcastRecipient",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-broadcasts-api-openapi.yml#/components/schemas/BroadcastRecipient",
  "type": "object",
  "properties": {
    "object": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "broadcast": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "customer": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "sent",
        "delivered",
        "bounced",
        "complained",
        "failed"
      ]
    },
    "sent_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "delivered_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "opened_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "clicked_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "unsubscribed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "open_count": {
      "type": "integer"
    },
    "click_count": {
      "type": "integer"
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "object",
    "id",
    "broadcast",
    "address",
    "customer",
    "status",
    "sent_at",
    "delivered_at",
    "opened_at",
    "clicked_at",
    "unsubscribed_at",
    "open_count",
    "click_count",
    "error",
    "created_at"
  ]
}