{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-trigger-preview-request-schema.json",
  "title": "TriggerPreviewRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-ai-agents-api-openapi.yml#/components/schemas/TriggerPreviewRequest",
  "properties": {
    "event_kind": {
      "type": "string",
      "enum": [
        "incoming_call",
        "incoming_message",
        "blockchain"
      ],
      "title": "Event Kind"
    },
    "channel_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Channel Type"
    },
    "channel_account_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Channel Account Id"
    },
    "thread_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thread Id"
    },
    "thread_kind": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "dm",
            "group",
            "channel",
            "livechat",
            "voice_call"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Thread Kind"
    },
    "message_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message Text"
    },
    "from_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "From Id"
    },
    "blockchain_tx_data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Blockchain Tx Data"
    }
  },
  "type": "object",
  "required": [
    "event_kind"
  ]
}