{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/supermailos-com/json-schema/supermailos-com-reply-request-schema.json",
  "title": "ReplyRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/supermailos-com-openapi.json#/components/schemas/ReplyRequest",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "`text` or `html` is required."
    },
    "html": {
      "type": "string"
    },
    "replyAll": {
      "type": "boolean",
      "default": false,
      "description": "Reply to everyone on the last message (To + Cc)."
    },
    "from": {
      "type": "string",
      "format": "email",
      "description": "The conversation's mailbox or one of its aliases. Default: the address the mail arrived on."
    },
    "to": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "description": "Override the computed recipients."
    },
    "cc": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "description": "Added to the computed Cc."
    },
    "bcc": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "subject": {
      "type": "string",
      "description": "Default: `Re: <subject>`."
    },
    "quote": {
      "type": "boolean",
      "default": false,
      "description": "Append the previous message, quoted."
    },
    "idempotencyKey": {
      "type": "string",
      "description": "Alternative to the Idempotency-Key header (/reply only)."
    }
  }
}