{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-register-domain-request-schema.json",
  "title": "RegisterDomainRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-domain-api-openapi.yml#/components/schemas/RegisterDomainRequest",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string",
      "description": "The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. The domain name can contain only the following characters: Letters a through z. Domain names are not case sensitive. Numbers 0 through 9. Hyphen (-). You can't specify a hyphen at the beginning or end of a label. Period (.) to separate the labels in the name, such as the . in example.com. Internationalized domain names are not supported for some top-"
    },
    "IdnLangCode": {
      "type": "string",
      "description": "Reserved for future use."
    },
    "DurationInYears": {
      "type": "integer",
      "description": "The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. Default: 1"
    },
    "AutoRenew": {
      "type": "boolean",
      "description": "Indicates whether the domain will be automatically renewed (true) or not (false). Auto renewal only takes effect after the account is charged. Default: true"
    },
    "AdminContact": {
      "$ref": "#/$defs/ContactDetail"
    },
    "RegistrantContact": {
      "$ref": "#/$defs/ContactDetail"
    },
    "TechContact": {
      "$ref": "#/$defs/ContactDetail"
    },
    "PrivacyProtectAdminContact": {
      "type": "boolean",
      "description": "Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the admin contact. You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts. Default: true"
    },
    "PrivacyProtectRegistrantContact": {
      "type": "boolean",
      "description": "Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the registrant contact (the domain owner). You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts. Default: true"
    },
    "PrivacyProtectTechContact": {
      "type": "boolean",
      "description": "Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the technical contact. You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts. Default: true"
    },
    "BillingContact": {
      "$ref": "#/$defs/ContactDetail"
    },
    "PrivacyProtectBillingContact": {
      "type": "boolean",
      "description": "Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specify false, WHOIS queries return the information that you entered for the billing contact. You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts."
    },
    "Consent": {
      "$ref": "#/$defs/Consent"
    }
  },
  "required": [
    "DomainName",
    "DurationInYears",
    "AdminContact",
    "RegistrantContact",
    "TechContact"
  ],
  "$defs": {
    "Consent": {
      "type": "object",
      "properties": {
        "MaxPrice": {
          "type": "number",
          "description": "The maximum amount that you agree to accept."
        },
        "Currency": {
          "type": "string",
          "description": "The currency for the MaxPrice."
        }
      },
      "required": [
        "MaxPrice",
        "Currency"
      ]
    },
    "ContactDetail": {
      "type": "object",
      "properties": {
        "FirstName": {
          "type": "string",
          "description": "First name of contact."
        },
        "LastName": {
          "type": "string",
          "description": "Last name of contact."
        },
        "ContactType": {
          "type": "string",
          "enum": [
            "PERSON",
            "COMPANY",
            "ASSOCIATION",
            "PUBLIC_BODY",
            "RESELLER"
          ],
          "description": "Indicates whether the contact is a person, company, association, or public organization. Note the following: If you specify a value other than PERSON, you must also specify a value for OrganizationName. For some TLDs, the privacy protection available depends on the value that you specify for Contact Type. For the privacy protection settings for your TLD, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide For .es domains, the value of ContactType must be PERSON for all three contacts."
        },
        "OrganizationName": {
          "type": "string",
          "description": "Name of the organization for contact types other than PERSON."
        },
        "AddressLine1": {
          "type": "string",
          "description": "First line of the contact's address."
        },
        "AddressLine2": {
          "type": "string",
          "description": "Second line of contact's address, if any."
        },
        "City": {
          "type": "string",
          "description": "The city of the contact's address."
        },
        "State": {
          "type": "string",
          "description": "The state or province of the contact's city."
        },
        "CountryCode": {
          "type": "string",
          "enum": [
            "AC",
            "AD",
            "AE",
            "AF",
            "AG",
            "AI",
            "AL",
            "AM",
            "AN",
            "AO",
            "AQ",
            "AR",
            "AS",
            "AT",
            "AU",
            "AW",
            "AX",
            "AZ",
            "BA",
            "BB",
            "BD",
            "BE",
            "BF",
            "BG",
            "BH",
            "BI",
            "BJ",
            "BL",
            "BM",
            "BN",
            "BO",
            "BQ",
            "BR",
            "BS",
            "BT",
            "BV",
            "BW",
            "BY",
            "BZ",
            "CA",
            "CC",
            "CD",
            "CF",
            "CG",
            "CH",
            "CI",
            "CK",
            "CL",
            "CM",
            "CN",
            "CO",
            "CR",
            "CU",
            "CV",
            "CW",
            "CX",
            "CY",
            "CZ",
            "DE",
            "DJ",
            "DK",
            "DM",
            "DO",
            "DZ",
            "EC",
            "EE",
            "EG",
            "EH",
            "ER",
            "ES",
            "ET",
            "FI",
            "FJ",
            "FK",
            "FM",
            "FO",
            "FR",
            "GA",
            "GB",
            "GD",
            "GE",
            "GF",
            "GG",
            "GH",
            "GI",
            "GL",
            "GM",
            "GN",
            "GP",
            "GQ",
            "GR",
            "GS",
            "GT",
            "GU",
            "GW",
            "GY",
            "HK",
            "HM",
            "HN",
            "HR",
            "HT",
            "HU",
            "ID",
            "IE",
            "IL",
            "IM",
            "IN",
            "IO",
            "IQ",
            "IR",
            "IS",
            "IT",
            "JE",
            "JM",
            "JO",
            "JP",
            "KE",
            "KG",
            "KH",
            "KI",
            "KM",
            "KN",
            "KP",
            "KR",
            "KW",
            "KY",
            "KZ",
            "LA",
            "LB",
            "LC",
            "LI",
            "LK",
            "LR",
            "LS",
            "LT",
            "LU",
            "LV",
            "LY",
            "MA",
            "MC",
            "MD",
            "ME",
            "MF",
            "MG",
            "MH",
            "MK",
            "ML",
            "MM",
            "MN",
            "MO",
            "MP",
            "MQ",
            "MR",
            "MS",
            "MT",
            "MU",
            "MV",
            "MW",
            "MX",
            "MY",
            "MZ",
            "NA",
            "NC",
            "NE",
            "NF",
            "NG",
            "NI",
            "NL",
            "NO",
            "NP",
            "NR",
            "NU",
            "NZ",
            "OM",
            "PA",
            "PE",
            "PF",
            "PG",
            "PH",
            "PK",
            "PL",
            "PM",
            "PN",
            "PR",
            "PS",
            "PT",
            "PW",
            "PY",
            "QA",
            "RE",
            "RO",
            "RS",
            "RU",
            "RW",
            "SA",
            "SB",
            "SC",
            "SD",
            "SE",
            "SG",
            "SH",
            "SI",
            "SJ",
            "SK",
            "SL",
            "SM",
            "SN",
            "SO",
            "SR",
            "SS",
            "ST",
            "SV",
            "SX",
            "SY",
            "SZ",
            "TC",
            "TD",
            "TF",
            "TG",
            "TH",
            "TJ",
            "TK",
            "TL",
            "TM",
            "TN",
            "TO",
            "TP",
            "TR",
            "TT",
            "TV",
            "TW",
            "TZ",
            "UA",
            "UG",
            "US",
            "UY",
            "UZ",
            "VA",
            "VC",
            "VE",
            "VG",
            "VI",
            "VN",
            "VU",
            "WF",
            "WS",
            "YE",
            "YT",
            "ZA",
            "ZM",
            "ZW"
          ],
          "description": "Code for the country of the contact's address."
        },
        "ZipCode": {
          "type": "string",
          "description": "The zip or postal code of the contact's address."
        },
        "PhoneNumber": {
          "type": "string",
          "description": "The phone number of the contact. Constraints: Phone number must be specified in the format \"+[country dialing code].[number including any area code>]\". For example, a US phone number might appear as \"+1.1234567890\"."
        },
        "Email": {
          "type": "string",
          "description": "Email address of the contact."
        },
        "Fax": {
          "type": "string",
          "description": "Fax number of the contact. Constraints: Phone number must be specified in the format \"+[country dialing code].[number including any area code]\". For example, a US phone number might appear as \"+1.1234567890\"."
        },
        "ExtraParams": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ExtraParam"
          },
          "description": "A list of name-value pairs for parameters required by certain top-level domains."
        }
      }
    },
    "ExtraParam": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "DUNS_NUMBER",
            "BRAND_NUMBER",
            "BIRTH_DEPARTMENT",
            "BIRTH_DATE_IN_YYYY_MM_DD",
            "BIRTH_COUNTRY",
            "BIRTH_CITY",
            "DOCUMENT_NUMBER",
            "AU_ID_NUMBER",
            "AU_ID_TYPE",
            "CA_LEGAL_TYPE",
            "CA_BUSINESS_ENTITY_TYPE",
            "CA_LEGAL_REPRESENTATIVE",
            "CA_LEGAL_REPRESENTATIVE_CAPACITY",
            "ES_IDENTIFICATION",
            "ES_IDENTIFICATION_TYPE",
            "ES_LEGAL_FORM",
            "FI_BUSINESS_NUMBER",
            "FI_ID_NUMBER",
            "FI_NATIONALITY",
            "FI_ORGANIZATION_TYPE",
            "IT_NATIONALITY",
            "IT_PIN",
            "IT_REGISTRANT_ENTITY_TYPE",
            "RU_PASSPORT_DATA",
            "SE_ID_NUMBER",
            "SG_ID_NUMBER",
            "VAT_NUMBER",
            "UK_CONTACT_TYPE",
            "UK_COMPANY_NUMBER",
            "EU_COUNTRY_OF_CITIZENSHIP",
            "AU_PRIORITY_TOKEN",
            "AU_ELIGIBILITY_TYPE",
            "AU_POLICY_REASON",
            "AU_REGISTRANT_NAME"
          ],
          "description": "The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require: .au, .com.au, and .net.au AU_REGISTRANT_NAME AU_ID_NUMBER AU_ID_TYPE Valid values include the following: ABN (Australian business number) ACN (Australian company number) TM (Trademark number) AU_ELIGIBILITY_TYPE Valid values include the following: CHARITABLE_TRUST (Charitable trust) CHARITY (Charity) CHILD_CARE_CENTRE (Child care centre) CLUB (Club) COMMERCIAL_STATUTORY_BODY (Commercial statutory body) C"
        },
        "Value": {
          "type": "string",
          "description": "The value that corresponds with the name of an extra parameter."
        }
      },
      "required": [
        "Name",
        "Value"
      ]
    }
  }
}