{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vertesiahq/json-schema/vertesiahq-forward-email-request-schema.json",
  "title": "ForwardEmailRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vertesiahq-email-api-openapi.yml#/components/schemas/ForwardEmailRequest",
  "type": "object",
  "properties": {
    "email": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "html": {
          "type": "string"
        },
        "message_id": {
          "type": "string"
        }
      },
      "required": [
        "from",
        "text"
      ],
      "additionalProperties": false
    },
    "context": {
      "type": "object",
      "additionalProperties": true
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "download_url": {
            "type": "string"
          }
        },
        "required": [
          "filename",
          "content_type",
          "size",
          "download_url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "email"
  ],
  "additionalProperties": false
}