{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cadencz-com/json-schema/cadencz-com-brain-conversation-handoff-schema.json",
  "title": "BrainConversationHandoff",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cadencz-com-brain-conversations-api-openapi.yml#/components/schemas/BrainConversationHandoff",
  "properties": {
    "kind": {
      "type": "string",
      "const": "brain_conversation",
      "title": "Kind",
      "default": "brain_conversation"
    },
    "brain_id": {
      "type": "string",
      "title": "Brain Id"
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    },
    "conversation_title": {
      "type": "string",
      "title": "Conversation Title"
    },
    "message_id": {
      "type": "string",
      "title": "Message Id"
    },
    "idea": {
      "type": "string",
      "title": "Idea"
    },
    "platform": {
      "type": "string",
      "title": "Platform"
    },
    "body": {
      "type": "string",
      "title": "Body"
    },
    "agent_run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Run Id"
    },
    "source_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Source Ids"
    }
  },
  "type": "object",
  "required": [
    "brain_id",
    "conversation_id",
    "conversation_title",
    "message_id",
    "idea",
    "platform",
    "body",
    "agent_run_id"
  ]
}