{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-certificate-manager/json-schema/amazon-certificate-manager-list-acme-domain-validations-response-schema.json",
  "title": "ListAcmeDomainValidationsResponse",
  "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/ListAcmeDomainValidationsResponse",
  "type": "object",
  "properties": {
    "AcmeDomainValidations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AcmeDomainValidationSummary"
      },
      "description": "The list of domain validations."
    },
    "NextToken": {
      "type": "string",
      "description": "A token for pagination."
    }
  },
  "$defs": {
    "AcmeDomainValidationSummary": {
      "type": "object",
      "properties": {
        "AcmeDomainValidationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the ACME domain validation."
        },
        "AcmeEndpointArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the ACME endpoint."
        },
        "DomainName": {
          "type": "string",
          "description": "The domain name being validated."
        },
        "PrevalidationType": {
          "type": "string",
          "enum": [
            "DNS_PREVALIDATION"
          ],
          "description": "The type of prevalidation used."
        },
        "PrevalidationDetails": {
          "$ref": "#/$defs/PrevalidationDetails"
        },
        "Status": {
          "type": "string",
          "enum": [
            "VALIDATING",
            "VALID",
            "INVALID",
            "DELETING"
          ],
          "description": "The status of the domain validation."
        },
        "FailureDetails": {
          "$ref": "#/$defs/FailureDetails"
        },
        "CreatedAt": {
          "type": "string",
          "description": "The time at which the domain validation was created."
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The time at which the domain validation was last updated."
        }
      }
    },
    "DnsPrevalidationDetails": {
      "type": "object",
      "properties": {
        "DomainScope": {
          "$ref": "#/$defs/DomainScope"
        },
        "HostedZoneId": {
          "type": "string",
          "description": "The Route 53 hosted zone ID for DNS validation."
        },
        "ResourceRecord": {
          "$ref": "#/$defs/ResourceRecord"
        }
      }
    },
    "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."
        }
      }
    },
    "FailureDetails": {
      "type": "object",
      "properties": {
        "Reason": {
          "type": "string",
          "enum": [
            "ACCESS_DENIED",
            "DOMAIN_MISMATCH",
            "DOMAIN_NOT_ALLOWED",
            "ENDPOINT_NOT_ACTIVE",
            "HOSTED_ZONE_NOT_FOUND",
            "INTERNAL_FAILURE",
            "INVALID_CHANGE_BATCH",
            "INVALID_PUBLIC_DOMAIN",
            "TIMED_OUT"
          ],
          "description": "The reason for the failure."
        },
        "Message": {
          "type": "string",
          "description": "A message describing the failure."
        }
      }
    },
    "PrevalidationDetails": {
      "type": "object",
      "properties": {
        "DnsPrevalidation": {
          "$ref": "#/$defs/DnsPrevalidationDetails"
        }
      },
      "description": "Exactly one member is set."
    },
    "ResourceRecord": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the DNS record to create in your domain. This is supplied by ACM."
        },
        "Type": {
          "type": "string",
          "enum": [
            "CNAME"
          ],
          "description": "The type of DNS record. Currently this can be CNAME."
        },
        "Value": {
          "type": "string",
          "description": "The value of the CNAME record to add to your DNS database. This is supplied by ACM."
        }
      },
      "required": [
        "Name",
        "Type",
        "Value"
      ]
    }
  }
}