Skip to main content

EnvelopedCredential

Loading ....

Source :

{
"$id": "agntcy.identity.core.v1alpha1.EnvelopedCredential.jsonschema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "EnvelopedCredential represents a Credential enveloped in a specific format.",
"patternProperties": {
"^(envelope_type)$": {
"anyOf": [
{
"enum": [
"CREDENTIAL_ENVELOPE_TYPE_UNSPECIFIED",
"CREDENTIAL_ENVELOPE_TYPE_EMBEDDED_PROOF",
"CREDENTIAL_ENVELOPE_TYPE_JOSE"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "EnvelopeType specifies the type of the envelope used to store the credential.",
"title": "Credential Envelope Type"
}
},
"properties": {
"envelopeType": {
"anyOf": [
{
"enum": [
"CREDENTIAL_ENVELOPE_TYPE_UNSPECIFIED",
"CREDENTIAL_ENVELOPE_TYPE_EMBEDDED_PROOF",
"CREDENTIAL_ENVELOPE_TYPE_JOSE"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "EnvelopeType specifies the type of the envelope used to store the credential.",
"title": "Credential Envelope Type"
},
"value": {
"description": "Value is the enveloped credential in the specified format.",
"type": "string"
}
},
"title": "Enveloped Credential",
"type": "object"
}