{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-staff-reply-body-schema.json",
  "title": "StaffReplyBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-bots-api-openapi.yml#/components/schemas/StaffReplyBody",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 8000,
      "title": "Text",
      "default": ""
    },
    "attachments": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attachments"
    },
    "clear_handoff": {
      "type": "boolean",
      "title": "Clear Handoff",
      "default": false
    },
    "require_handoff": {
      "type": "boolean",
      "title": "Require Handoff",
      "default": false
    },
    "source_agent_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Agent Id"
    },
    "source_kind": {
      "type": "string",
      "maxLength": 32,
      "title": "Source Kind",
      "default": "staff"
    }
  },
  "type": "object"
}