{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-certificate-manager/json-schema/amazon-certificate-manager-create-acme-endpoint-request-schema.json",
  "title": "CreateAcmeEndpointRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-certificate-manager-acme-endpoint-api-openapi.yml#/components/schemas/CreateAcmeEndpointRequest",
  "type": "object",
  "properties": {
    "IdempotencyToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure idempotency of the request."
    },
    "AuthorizationBehavior": {
      "type": "string",
      "enum": [
        "PRE_APPROVED"
      ],
      "description": "The authorization behavior for the ACME endpoint."
    },
    "Contact": {
      "type": "string",
      "enum": [
        "REQUIRED",
        "NOT_REQUIRED"
      ],
      "description": "Specifies whether ACME clients must provide contact information during account registration."
    },
    "CertificateAuthority": {
      "$ref": "#/$defs/CertificateAuthority"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags to associate with the ACME endpoint."
    },
    "CertificateTags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Tags to apply to certificates issued through this ACME endpoint."
    }
  },
  "required": [
    "AuthorizationBehavior",
    "CertificateAuthority"
  ],
  "$defs": {
    "CertificateAuthority": {
      "type": "object",
      "properties": {
        "PublicCertificateAuthority": {
          "$ref": "#/$defs/PublicCertificateAuthority"
        }
      },
      "description": "Exactly one member is set."
    },
    "PublicCertificateAuthority": {
      "type": "object",
      "properties": {
        "AllowedKeyAlgorithms": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "RSA_2048",
              "EC_prime256v1",
              "EC_secp384r1"
            ]
          },
          "description": "The key algorithms allowed for certificates issued by this certificate authority."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      },
      "required": [
        "Key"
      ]
    }
  }
}