{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumail-io/json-schema/lumail-io-transactional-email-input-schema.json",
  "title": "TransactionalEmailInput",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumail-io-openapi.json#/components/schemas/TransactionalEmailInput",
  "type": "object",
  "required": [
    "to",
    "from",
    "subject",
    "content"
  ],
  "properties": {
    "to": {
      "type": "string",
      "format": "email"
    },
    "from": {
      "type": "string",
      "format": "email"
    },
    "subject": {
      "type": "string",
      "minLength": 1
    },
    "content": {},
    "contentType": {
      "type": "string",
      "enum": [
        "MARKDOWN",
        "HTML",
        "TIPTAP"
      ],
      "default": "MARKDOWN"
    },
    "preview": {
      "type": "string"
    },
    "replyTo": {
      "type": "string",
      "format": "email"
    },
    "tracking": {
      "type": "object",
      "properties": {
        "links": {
          "type": "boolean",
          "default": true
        },
        "open": {
          "type": "boolean",
          "default": true
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}