{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateCustomDomainRequestContent", "title": "CreateCustomDomainRequestContent", "type": "object", "additionalProperties": false, "required": [ "domain", "type" ], "properties": { "domain": { "type": "string", "description": "Domain name.", "minLength": 3, "maxLength": 255, "pattern": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])$" }, "type": { "$ref": "#/components/schemas/CustomDomainProvisioningTypeEnum" }, "verification_method": { "$ref": "#/components/schemas/CustomDomainVerificationMethodEnum" }, "tls_policy": { "$ref": "#/components/schemas/CustomDomainTlsPolicyEnum" }, "custom_client_ip_header": { "$ref": "#/components/schemas/CustomDomainCustomClientIpHeader" }, "domain_metadata": { "$ref": "#/components/schemas/DomainMetadata" }, "relying_party_identifier": { "type": "string", "description": "Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used.", "maxLength": 255, "format": "hostname" } } }