{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-send-message-schema.json",
  "title": "SendMessage",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-messages-api-openapi.yml#/components/schemas/SendMessage",
  "type": "object",
  "required": [
    "visitorId",
    "text"
  ],
  "properties": {
    "visitorId": {
      "type": "string",
      "description": "Unique identifier of the visitor to send the message to."
    },
    "text": {
      "type": "string",
      "description": "Text content of the message."
    },
    "agentId": {
      "type": "string",
      "description": "Unique identifier of the agent sending the message."
    },
    "agentName": {
      "type": "string",
      "description": "Display name of the agent."
    }
  }
}