{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiopod-ai/json-schema/audiopod-ai-agent-chat-request-schema.json",
  "title": "AgentChatRequest",
  "description": "Chat request to the audio agent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiopod-ai-audio-agent-api-openapi.yml#/components/schemas/AgentChatRequest",
  "properties": {
    "session_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Id"
    },
    "message": {
      "type": "string",
      "maxLength": 20000,
      "title": "Message"
    },
    "attachments": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array",
          "maxItems": 10
        },
        {
          "type": "null"
        }
      ],
      "title": "Attachments"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80,
          "minLength": 16,
          "pattern": "^[A-Za-z0-9_-]+$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Id"
    }
  },
  "type": "object",
  "required": [
    "message"
  ]
}