{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-private-ca/refs/heads/main/json-schema/amazon-private-ca-general-name-schema.json",
"title": "GeneralName",
"description": "Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.",
"type": "object",
"properties": {
"OtherName": {
"allOf": [
{
"$ref": "#/components/schemas/OtherName"
},
{
"description": "Represents GeneralName using an OtherName object."
}
]
},
"Rfc822Name": {
"allOf": [
{
"$ref": "#/components/schemas/String256"
},
{
"description": "Represents GeneralName as an RFC 822 email address."
}
]
},
"DnsName": {
"allOf": [
{
"$ref": "#/components/schemas/String253"
},
{
"description": "Represents GeneralName as a DNS name."
}
]
},
"DirectoryName": {
"$ref": "#/components/schemas/ASN1Subject"
},
"EdiPartyName": {
"allOf": [
{
"$ref": "#/components/schemas/EdiPartyName"
},
{
"description": "Represents GeneralName as an EdiPartyName object."
}
]
},
"UniformResourceIdentifier": {
"allOf": [
{
"$ref": "#/components/schemas/String253"
},
{
"description": "Represents GeneralName as a URI."
}
]
},
"IpAddress": {
"allOf": [
{
"$ref": "#/components/schemas/String39"
},
{
"description": "Represents GeneralName as an IPv4 or IPv6 address."
}
]
},
"RegisteredId": {
"allOf": [
{
"$ref": "#/components/schemas/CustomObjectIdentifier"
},
{
"description": " Represents GeneralName as an object identifier (OID)."
}
]
}
}
}