{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-broadcast-object-schema.json",
  "title": "broadcastObject",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-broadcasts-api-openapi.yml#/components/schemas/broadcastObject",
  "x-scalar-ignore": true,
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/broadcast_id"
    },
    "deduplicate_id": {
      "$ref": "#/$defs/deduplicate_id"
    },
    "name": {
      "type": "string",
      "description": "The name of the broadcast.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "The type of broadcast.",
      "enum": [
        "triggered_broadcast"
      ]
    },
    "created": {
      "$ref": "#/$defs/created"
    },
    "updated": {
      "$ref": "#/$defs/updated"
    },
    "active": {
      "type": "boolean",
      "description": "If true, the broadcast is active."
    },
    "state": {
      "type": "string",
      "description": "The state of the broadcast.",
      "enum": [
        "running",
        "draft"
      ]
    },
    "actions": {
      "type": "array",
      "description": "A list of actions used by the broadcast.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier for the action."
          },
          "type": {
            "type": "string",
            "description": "The type of action.",
            "enum": [
              "email",
              "webhook",
              "push",
              "sms",
              "slack"
            ]
          }
        }
      }
    },
    "msg_template_ids": {
      "$ref": "#/$defs/msg_template_ids"
    },
    "first_started": {
      "type": "integer",
      "format": "unix timestamp",
      "description": "The date and time when you activated the broadcast."
    },
    "tags": {
      "type": "array",
      "description": "An array of tags you set on this broadcast.",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "broadcast_id": {
      "x-scalar-ignore": true,
      "type": "integer",
      "description": "The identifier for a broadcast."
    },
    "created": {
      "x-scalar-ignore": true,
      "type": "integer",
      "format": "unix timestamp",
      "description": "The date time when the referenced ID was created.",
      "readOnly": true
    },
    "deduplicate_id": {
      "x-scalar-ignore": true,
      "type": "string",
      "readOnly": true,
      "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated."
    },
    "msg_template_ids": {
      "x-scalar-ignore": true,
      "type": "array",
      "deprecated": true,
      "description": "Indicates the message template(s) used in this broadcast.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The identifier for the template."
          },
          "type": {
            "type": "string",
            "description": "The type of template.",
            "enum": [
              "email",
              "webhook",
              "push",
              "sms",
              "slack"
            ]
          }
        }
      }
    },
    "updated": {
      "x-scalar-ignore": true,
      "type": "integer",
      "format": "unix timestamp",
      "description": "The date time when the referenced ID was last updated.",
      "readOnly": true
    }
  }
}