{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zoho-mail/json-schema/zoho-mail-send-message-request-schema.json",
  "title": "SendMessageRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-mail-messages-api-openapi.yml#/components/schemas/SendMessageRequest",
  "type": "object",
  "required": [
    "fromAddress",
    "toAddress",
    "subject"
  ],
  "properties": {
    "fromAddress": {
      "type": "string",
      "format": "email",
      "description": "Sender email address"
    },
    "toAddress": {
      "type": "string",
      "description": "Recipient email addresses (comma-separated)"
    },
    "ccAddress": {
      "type": "string",
      "description": "CC email addresses (comma-separated)"
    },
    "bccAddress": {
      "type": "string",
      "description": "BCC email addresses (comma-separated)"
    },
    "subject": {
      "type": "string",
      "description": "Email subject"
    },
    "content": {
      "type": "string",
      "description": "Email body content"
    },
    "mailFormat": {
      "type": "string",
      "enum": [
        "html",
        "plaintext"
      ],
      "description": "Format of the email body"
    },
    "encoding": {
      "type": "string",
      "description": "Character encoding for the email"
    }
  }
}