{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emporix/json-schema/emporix-chat-response-schema.json",
  "title": "ChatResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-agent-chat-api-openapi.yml#/components/schemas/ChatResponse",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "description": "Unique identifier of the agent."
    },
    "agentType": {
      "$ref": "#/$defs/AgentType"
    },
    "sessionId": {
      "type": "string",
      "description": "Unique identifier of the session. Send this value back as the `session-id` header on later chat and attachment calls."
    },
    "message": {
      "type": "string",
      "description": "Agent message."
    }
  },
  "$defs": {
    "AgentType": {
      "type": "string",
      "description": "Type of the agent handling the request.",
      "enum": [
        "generic",
        "complaint",
        "anti_fraud"
      ]
    }
  }
}