Skip to main content

Issuer

Loading ....

Source :

{
"$id": "agntcy.identity.core.v1alpha1.Issuer.jsonschema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "A Identity Issuer",
"patternProperties": {
"^(auth_type)$": {
"anyOf": [
{
"enum": [
"ISSUER_AUTH_TYPE_UNSPECIFIED",
"ISSUER_AUTH_TYPE_IDP",
"ISSUER_AUTH_TYPE_SELF"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "This field specifies the authentication mechanism used by the issuer.\n It determines whether the issuer uses an external Identity Provider (IDP)\n or a self-issued key for authentication.",
"title": "Issuer Auth Type"
},
"^(common_name)$": {
"description": "The common name of the issuer\n Could be a FQDN or a FQDA",
"type": "string"
},
"^(private_key)$": {
"$ref": "agntcy.identity.core.v1alpha1.Jwk.jsonschema.json",
"description": "This field is optional\n The private key of the issuer in JWK format"
},
"^(public_key)$": {
"$ref": "agntcy.identity.core.v1alpha1.Jwk.jsonschema.json",
"description": "This field is optional\n The keys of the issuer in JWK format\n The public key is used to verify the signature of the different claims"
},
"^(sub_organization)$": {
"description": "The sub organization of the issuer",
"type": "string"
}
},
"properties": {
"authType": {
"anyOf": [
{
"enum": [
"ISSUER_AUTH_TYPE_UNSPECIFIED",
"ISSUER_AUTH_TYPE_IDP",
"ISSUER_AUTH_TYPE_SELF"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "This field specifies the authentication mechanism used by the issuer.\n It determines whether the issuer uses an external Identity Provider (IDP)\n or a self-issued key for authentication.",
"title": "Issuer Auth Type"
},
"commonName": {
"description": "The common name of the issuer\n Could be a FQDN or a FQDA",
"type": "string"
},
"organization": {
"description": "The organization of the issuer",
"type": "string"
},
"privateKey": {
"$ref": "agntcy.identity.core.v1alpha1.Jwk.jsonschema.json",
"description": "This field is optional\n The private key of the issuer in JWK format"
},
"publicKey": {
"$ref": "agntcy.identity.core.v1alpha1.Jwk.jsonschema.json",
"description": "This field is optional\n The keys of the issuer in JWK format\n The public key is used to verify the signature of the different claims"
},
"subOrganization": {
"description": "The sub organization of the issuer",
"type": "string"
},
"verified": {
"description": "This will be set to true when issuer provides a valid proof of ownership\n of the common name on registration",
"type": "boolean"
}
},
"title": "Issuer",
"type": "object"
}