CredentialRequest
formatstringrequired
Possible values: [jwt_vc_json-ld
, jwt_vc_json
]
Example:
jwt_vc_json-ld
credential_definition object
proof objectrequired
CredentialRequest
{
"format": "jwt_vc_json-ld",
"credential_definition": {
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential"
],
"credentialSubject": {
"id": {
"mandatory": true,
"value_type": "string",
"display": [
{
"name": "ID",
"locale": "en-US"
}
]
}
}
},
"proof": {
"proof_type": "jwt",
"jwt": "jwt-token-sample"
}
}