{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-certificate-manager/json-schema/amazon-certificate-manager-create-acme-domain-validation-request-schema.json",
  "title": "CreateAcmeDomainValidationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-certificate-manager-acme-domain-validation-api-openapi.yml#/components/schemas/CreateAcmeDomainValidationRequest",
  "type": "object",
  "properties": {
    "IdempotencyToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure idempotency of the request."
    },
    "AcmeEndpointArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the ACME endpoint."
    },
    "DomainName": {
      "type": "string",
      "description": "The domain name to validate."
    },
    "PrevalidationOptions": {
      "$ref": "#/$defs/PrevalidationOptions"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags to associate with the domain validation."
    }
  },
  "required": [
    "AcmeEndpointArn",
    "DomainName",
    "PrevalidationOptions"
  ],
  "$defs": {
    "DnsPrevalidationOptions": {
      "type": "object",
      "properties": {
        "DomainScope": {
          "$ref": "#/$defs/DomainScope"
        },
        "HostedZoneId": {
          "type": "string",
          "description": "The Route 53 hosted zone ID for DNS validation."
        }
      }
    },
    "DomainScope": {
      "type": "object",
      "properties": {
        "ExactDomain": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Whether validation applies to the exact domain."
        },
        "Subdomains": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Whether validation applies to subdomains."
        },
        "Wildcards": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "Whether validation applies to wildcard domains."
        }
      }
    },
    "PrevalidationOptions": {
      "type": "object",
      "properties": {
        "DnsPrevalidation": {
          "$ref": "#/$defs/DnsPrevalidationOptions"
        }
      },
      "description": "Exactly one member is set."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      },
      "required": [
        "Key"
      ]
    }
  }
}