verify_credential
Check the authenticity, integrity, and revocation status of verifiable credentials. Validates signatures, issuer legitimacy, and compliance with status lists for secure credential verification.
Instructions
Verify a verifiable credential for authenticity, integrity, and revocation status. Checks signature, issuer validity, and status list compliance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
credential | Yes | The verifiable credential to verify |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {},
"properties": {
"credential": {
"additionalProperties": true,
"description": "The verifiable credential to verify",
"properties": {
"@context": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"credentialStatus": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"credentialSubject": {
"anyOf": [
{
"additionalProperties": true,
"properties": {},
"type": "object"
},
{
"items": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"type": "array"
}
]
},
"expirationDate": {
"type": "string"
},
"id": {
"type": "string"
},
"issuanceDate": {
"type": "string"
},
"issuer": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"properties": {},
"type": "object"
}
]
},
"proof": {
"anyOf": [
{
"additionalProperties": true,
"properties": {},
"type": "object"
},
{
"items": {
"additionalProperties": true,
"properties": {},
"type": "object"
},
"type": "array"
}
]
},
"type": {
"items": {
"type": "string"
},
"type": "array"
},
"validFrom": {
"type": "string"
},
"validUntil": {
"type": "string"
}
},
"required": [
"type",
"issuer",
"credentialSubject"
],
"type": "object"
}
},
"required": [
"credential"
],
"type": "object"
}