{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eusend-dev/json-schema/eusend-dev-update-broadcast-request-schema.json",
  "title": "UpdateBroadcastRequest",
  "description": "Only a draft, scheduled or paused broadcast can be updated. Setting `scheduled_at` to null unschedules it back to draft.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eusend-dev-openapi.json#/components/schemas/UpdateBroadcastRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "audience_id": {
      "type": "string",
      "format": "uuid"
    },
    "topic_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Narrows the audience to the contacts subscribed to this topic. Omit (or send `null`) to reach the whole audience."
    },
    "from": {
      "type": "string"
    },
    "reply_to": {
      "type": [
        "string",
        "null"
      ]
    },
    "subject": {
      "type": "string",
      "minLength": 1
    },
    "html": {
      "type": "string"
    },
    "editor_json": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    },
    "template_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "template_variables": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "scheduled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "track_opens": {
      "type": "boolean"
    },
    "track_clicks": {
      "type": "boolean"
    }
  }
}