{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-channel-query-response-schema.json",
  "title": "ChannelQueryResponse",
  "description": "Single channel query in API responses.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-channel-api-openapi.yml#/components/schemas/ChannelQueryResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "sender_agent": {
      "type": "string",
      "title": "Sender Agent"
    },
    "topic": {
      "type": "string",
      "title": "Topic"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "target_agent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Agent"
    },
    "target_role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Role"
    },
    "timestamp": {
      "type": "number",
      "title": "Timestamp"
    },
    "expires_at": {
      "type": "number",
      "title": "Expires At"
    },
    "resolved": {
      "type": "boolean",
      "title": "Resolved"
    }
  },
  "type": "object",
  "required": [
    "id",
    "sender_agent",
    "topic",
    "content",
    "target_agent",
    "target_role",
    "timestamp",
    "expires_at",
    "resolved"
  ]
}