{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insuremo-com/json-schema/insuremo-com-email-request-schema.json",
  "title": "EmailRequest",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/insuremo-com-attachment-openapi.yml#/components/schemas/EmailRequest",
  "type": "object",
  "properties": {
    "Attachments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAttachmentRequest"
      }
    },
    "BusinessRelate": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "CcAccounts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "EmailContent": {
      "type": "string"
    },
    "EmailSubject": {
      "type": "string"
    },
    "RecipientAccounts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "RelBusinessNo": {
      "type": "string"
    },
    "RelBusinessType": {
      "type": "string"
    },
    "SendAccount": {
      "type": "string"
    },
    "SendAlias": {
      "type": "string"
    },
    "SignatureName": {
      "type": "string"
    },
    "TemplateCode": {
      "type": "string"
    },
    "TemplateParams": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  },
  "$defs": {
    "EmailAttachmentRequest": {
      "type": "object",
      "properties": {
        "AttachmentContent": {
          "type": "string"
        },
        "AttachmentName": {
          "type": "string"
        }
      }
    }
  }
}