{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-send-email-request-schema.json",
  "title": "SendEmailRequest",
  "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/SendEmailRequest",
  "type": "object",
  "properties": {
    "Source": {
      "type": "string",
      "description": "The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide. If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide. Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, "
    },
    "Destination": {
      "$ref": "#/$defs/Destination"
    },
    "Message": {
      "$ref": "#/$defs/Message"
    },
    "ReplyToAddresses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address receives the reply."
    },
    "ReturnPath": {
      "type": "string",
      "description": "The email address that bounces and complaints are forwarded to when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message is returned from the recipient's ISP; this message is forwarded to the email address specified by the ReturnPath parameter. The ReturnPath parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES."
    },
    "SourceArn": {
      "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 send for the email address specified in the Source 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 send from user@example.com, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@example.com. For more information about sending authorization,"
    },
    "ReturnPathArn": {
      "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 ReturnPath 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 ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedback@example.com. For more information about sending autho"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MessageTag"
      },
      "description": "A list of tags, in the form of name/value pairs, to apply to an email that you send using SendEmail. 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 you send an email using SendEmail."
    }
  },
  "required": [
    "Source",
    "Destination",
    "Message"
  ],
  "$defs": {
    "Body": {
      "type": "object",
      "properties": {
        "Text": {
          "$ref": "#/$defs/Content"
        },
        "Html": {
          "$ref": "#/$defs/Content"
        }
      }
    },
    "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"
      ]
    },
    "Destination": {
      "type": "object",
      "properties": {
        "ToAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The recipients to place on the To: line of the message."
        },
        "CcAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The recipients to place on the CC: line of the message."
        },
        "BccAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The recipients to place on the BCC: line of the message."
        }
      }
    },
    "Message": {
      "type": "object",
      "properties": {
        "Subject": {
          "$ref": "#/$defs/Content"
        },
        "Body": {
          "$ref": "#/$defs/Body"
        }
      },
      "required": [
        "Subject",
        "Body"
      ]
    },
    "MessageTag": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the tag. The name must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain 256 characters or fewer."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. The value must meet the following requirements: Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). Contain 256 characters or fewer."
        }
      },
      "required": [
        "Name",
        "Value"
      ]
    }
  }
}