{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eusend-dev/json-schema/eusend-dev-broadcast-schema.json",
  "title": "Broadcast",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eusend-dev-openapi.json#/components/schemas/Broadcast",
  "type": "object",
  "required": [
    "id",
    "name",
    "status",
    "fromAddress",
    "subject",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "organizationId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "scheduled",
        "sending",
        "sent",
        "paused",
        "held",
        "cancelled"
      ],
      "description": "`held` is a send stopped for review; unlike `paused` it is not resumable by the customer."
    },
    "audienceId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "fromAddress": {
      "type": "string"
    },
    "replyTo": {
      "type": [
        "string",
        "null"
      ]
    },
    "subject": {
      "type": "string"
    },
    "html": {
      "type": [
        "string",
        "null"
      ]
    },
    "reactSource": {
      "type": [
        "string",
        "null"
      ]
    },
    "editorJson": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    },
    "templateId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "templateVariables": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "heldReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recipientCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "sentCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "trackOpens": {
      "type": "boolean"
    },
    "trackClicks": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}