Skip to main content
Version: v4

OpenId4VcPresentationRecordDto

proofExchangeIdstringrequired

Identifier of the verification session

Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
jsonSchemaCredentialIdstring

Credential type of the request

Example: employee
requestedClaimsstring[]

Claim names the request asked for

Example: ["name","role"]
statestringrequired

State of the verification session

Possible values: [RequestCreated, RequestUriRetrieved, ResponseVerified, Error]

createdAtstring<date-time>required

When the agent created the request

updatedAtstring<date-time>required

When the session last changed

errorMessagestring

Error message on the session. The agent sets it if the flow stops.

cryptographicVerifiedbooleanrequired

True once the agent verified the response, the holder binding, the signature and the chain

acceptedbooleanrequired

True only for the verdict TRUSTED_AUTHORIZED

trust object

The trust verdict, once the agent verified the response

verdictstringrequired

The trust verdict

Possible values: [TRUSTED_AUTHORIZED, TRUSTED_NOT_AUTHORIZED, UNTRUSTED, RESOLVER_UNAVAILABLE]

evidence objectrequired

The basis of the verdict

didstringnullablerequired

DID of the issuer: iss when it is a DID, else the URI SAN of the leaf certificate

trustStatusstringnullablerequired

Trust status the resolver returned

Possible values: [TRUSTED, UNTRUSTED]

jsonSchemaCredentialIdstringnullablerequired

Credential type of the request

credentialSchemaIdnumbernullablerequired

CredentialSchema of the request, which the authorized read names

authorizedbooleannullablerequired

Whether the resolver authorizes the issuer for the credential type

queriesstring[]required

Resolver queries the agent ran

notestring

Why the verdict was not TRUSTED_AUTHORIZED

credential object

The presented credential, once verified

vctstringrequired

SD-JWT VC type of the presented credential

Example: https://ecosystem.example/vt/vct/144
disclosedClaims objectrequired

The claims the wallet disclosed

property name*any

The claims the wallet disclosed

Example: {"name":"Ada Lovelace"}
OpenId4VcPresentationRecordDto
{
"proofExchangeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jsonSchemaCredentialId": "employee",
"requestedClaims": [
"name",
"role"
],
"state": "RequestCreated",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"errorMessage": "string",
"cryptographicVerified": true,
"accepted": true,
"trust": {
"verdict": "TRUSTED_AUTHORIZED",
"evidence": {
"did": "string",
"trustStatus": "TRUSTED",
"jsonSchemaCredentialId": "string",
"credentialSchemaId": 0,
"authorized": true,
"queries": [
"string"
],
"note": "string"
}
},
"credential": {
"vct": "https://ecosystem.example/vt/vct/144",
"disclosedClaims": {
"name": "Ada Lovelace"
}
}
}