{
  "type": "object",
  "required": [
    "OrganizationId",
    "DomainName"
  ],
  "name": "RegisterMailDomainRequest",
  "properties": {
    "ClientToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IdempotencyClientToken"
        },
        {
          "description": "Idempotency token used when retrying requests."
        }
      ]
    },
    "OrganizationId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OrganizationId"
        },
        {
          "description": "The WorkMail organization under which you're creating the domain."
        }
      ]
    },
    "DomainName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WorkMailDomainName"
        },
        {
          "description": "The name of the mail domain to create in WorkMail and SES."
        }
      ]
    }
  },
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workmail/refs/heads/main/json-structure/workmail-register-mail-domain-request-structure.json",
  "description": "RegisterMailDomainRequest schema from Amazon WorkMail API"
}