{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-email-send-email-request-schema.json",
  "title": "EmailSendEmailRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-email-api-openapi.yml#/components/schemas/EmailSendEmailRequest",
  "type": "object",
  "properties": {
    "FromEmailAddress": {
      "type": "string",
      "description": "The email address to use as the \"From\" address for the email. The address that you specify has to be verified."
    },
    "FromEmailAddressIdentityArn": {
      "type": "string",
      "description": "This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be sender@example.com. For more informati"
    },
    "Destination": {
      "$ref": "#/$defs/EmailDestination"
    },
    "ReplyToAddresses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The \"Reply-to\" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply."
    },
    "FeedbackForwardingEmailAddress": {
      "type": "string",
      "description": "The address that you want bounce and complaint notifications to be sent to."
    },
    "FeedbackForwardingEmailAddressIdentityArn": {
      "type": "string",
      "description": "This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress "
    },
    "Content": {
      "$ref": "#/$defs/EmailContent"
    },
    "EmailTags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailMessageTag"
      },
      "description": "A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events."
    },
    "ConfigurationSetName": {
      "type": "string",
      "description": "The name of the configuration set to use when sending the email."
    },
    "EndpointId": {
      "type": "string",
      "description": "The ID of the multi-region endpoint (global-endpoint)."
    },
    "TenantName": {
      "type": "string",
      "description": "The name of the tenant through which this email will be sent. The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant."
    },
    "ListManagementOptions": {
      "$ref": "#/$defs/ListManagementOptions"
    },
    "ConfigurationOverrides": {
      "$ref": "#/$defs/ConfigurationOverrides"
    }
  },
  "required": [
    "Content"
  ],
  "$defs": {
    "Attachment": {
      "type": "object",
      "properties": {
        "RawContent": {
          "type": "string",
          "format": "byte",
          "description": "The raw data of the attachment. It needs to be base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you."
        },
        "ContentDisposition": {
          "type": "string",
          "enum": [
            "ATTACHMENT",
            "INLINE"
          ],
          "description": "A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ATTACHMENT or INLINE."
        },
        "FileName": {
          "type": "string",
          "description": "The file name for the attachment as it will appear in the email. Amazon SES restricts certain file extensions. To ensure attachments are accepted, check the Unsupported attachment types in the Amazon SES Developer Guide."
        },
        "ContentDescription": {
          "type": "string",
          "description": "A brief description of the attachment content."
        },
        "ContentId": {
          "type": "string",
          "description": "Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content."
        },
        "ContentTransferEncoding": {
          "type": "string",
          "enum": [
            "BASE64",
            "QUOTED_PRINTABLE",
            "SEVEN_BIT"
          ],
          "description": "Specifies how the attachment is encoded. Supported values: BASE64, QUOTED_PRINTABLE, SEVEN_BIT."
        },
        "ContentType": {
          "type": "string",
          "description": "The MIME type of the attachment. Example: application/pdf, image/jpeg"
        }
      },
      "required": [
        "RawContent",
        "FileName"
      ]
    },
    "Body": {
      "type": "object",
      "properties": {
        "Text": {
          "$ref": "#/$defs/Content"
        },
        "Html": {
          "$ref": "#/$defs/Content"
        }
      }
    },
    "ConfigurationOverrides": {
      "type": "object",
      "properties": {
        "Tracking": {
          "$ref": "#/$defs/TrackingConfigurationOverrides"
        }
      }
    },
    "Content": {
      "type": "object",
      "properties": {
        "Data": {
          "type": "string",
          "description": "The textual data of the content."
        },
        "Charset": {
          "type": "string",
          "description": "The character set of the content."
        }
      },
      "required": [
        "Data"
      ]
    },
    "EmailContent": {
      "type": "object",
      "properties": {
        "Simple": {
          "$ref": "#/$defs/EmailMessage"
        },
        "Raw": {
          "$ref": "#/$defs/EmailRawMessage"
        },
        "Template": {
          "$ref": "#/$defs/EmailTemplate"
        }
      }
    },
    "EmailDestination": {
      "type": "object",
      "properties": {
        "ToAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array that contains the email addresses of the \"To\" recipients for the email."
        },
        "CcAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array that contains the email addresses of the \"CC\" (carbon copy) recipients for the email."
        },
        "BccAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array that contains the email addresses of the \"BCC\" (blind carbon copy) recipients for the email."
        }
      }
    },
    "EmailMessage": {
      "type": "object",
      "properties": {
        "Subject": {
          "$ref": "#/$defs/EmailContent"
        },
        "Body": {
          "$ref": "#/$defs/Body"
        },
        "Headers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MessageHeader"
          },
          "description": "The list of message headers that will be added to the email message."
        },
        "Attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Attachment"
          },
          "description": "The List of attachments to include in your email. All recipients will receive the same attachments."
        }
      },
      "required": [
        "Subject",
        "Body"
      ]
    },
    "EmailMessageTag": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the message tag. The message tag name has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters."
        },
        "Value": {
          "type": "string",
          "description": "The value of the message tag. The message tag value has to meet the following criteria: It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters."
        }
      },
      "required": [
        "Name",
        "Value"
      ]
    },
    "EmailRawMessage": {
      "type": "object",
      "properties": {
        "Data": {
          "type": "string",
          "format": "byte",
          "description": "The raw email message. The message has to meet the following criteria: The message has to contain a header and a body, separated by one blank line. All of the required header fields must be present in the message. Each part of a multipart MIME message must be formatted properly. Attachments must be in a file format that the Amazon SES supports. The raw data of the message needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you. If any of the"
        }
      },
      "required": [
        "Data"
      ]
    },
    "EmailTemplate": {
      "type": "object",
      "properties": {
        "TemplateName": {
          "type": "string",
          "description": "The name of the template. You will refer to this name when you send email using the SendEmail or SendBulkEmail operations."
        },
        "TemplateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the template."
        },
        "TemplateContent": {
          "$ref": "#/$defs/EmailTemplateContent"
        },
        "TemplateData": {
          "type": "string",
          "description": "An object that defines the values to use for message variables in the template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the value to use for that variable."
        },
        "Headers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MessageHeader"
          },
          "description": "The list of message headers that will be added to the email message."
        },
        "Attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Attachment"
          },
          "description": "The List of attachments to include in your email. All recipients will receive the same attachments."
        }
      }
    },
    "EmailTemplateContent": {
      "type": "object",
      "properties": {
        "Subject": {
          "type": "string",
          "description": "The subject line of the email."
        },
        "Text": {
          "type": "string",
          "description": "The email body that will be visible to recipients whose email clients do not display HTML."
        },
        "Html": {
          "type": "string",
          "description": "The HTML body of the email."
        }
      }
    },
    "ListManagementOptions": {
      "type": "object",
      "properties": {
        "ContactListName": {
          "type": "string",
          "description": "The name of the contact list."
        },
        "TopicName": {
          "type": "string",
          "description": "The name of the topic."
        }
      },
      "required": [
        "ContactListName"
      ]
    },
    "MessageHeader": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the message header. The message header name has to meet the following criteria: Can contain any printable ASCII character (33 - 126) except for colon (:). Can contain no more than 126 characters."
        },
        "Value": {
          "type": "string",
          "description": "The value of the message header. The message header value has to meet the following criteria: Can contain any printable ASCII character. Can contain no more than 995 characters. The combined length of the header name and value must not exceed 996 characters."
        }
      },
      "required": [
        "Name",
        "Value"
      ]
    },
    "TrackingConfigurationOverrides": {
      "type": "object",
      "properties": {
        "OpenTrackingEnabled": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Specifies whether Amazon SES tracks when the recipient opens this message. Can be one of the following: ENABLED – Amazon SES tracks opens for this message, even when your account-level and configuration set settings don't enable open tracking. DISABLED – Amazon SES doesn't track opens for this message, even when your account-level or configuration set settings enable open tracking. Amazon SES doesn't add the tracking image to the message. If you don't specify this value, Amazon SES uses the open tracking setting that would otherwise apply to the message."
        },
        "ClickTrackingEnabled": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Specifies whether Amazon SES tracks when the recipient clicks a link in this message. Can be one of the following: ENABLED – Amazon SES tracks clicks for this message, even when your account-level and configuration set settings don't enable click tracking. DISABLED – Amazon SES doesn't track clicks for this message, even when your account-level or configuration set settings enable click tracking. Amazon SES doesn't rewrite the links in the message. If you don't specify this value, Amazon SES uses the click tracking setting that would otherwise apply to the message. Enabling open or click track"
        }
      }
    }
  }
}