CredentialConfigDto
contextstring[]
A list of JSON-LD contexts applied to the credential
Example:
["https://dataspace.example/context"]typestring[]
Types that classify the credential
Example:
["DataSpaceMembershipCredential"]idCredential ID (string)required
Unique identifier for the credential configuration
Example:
credential-id-789proofTypeType of proof used for the credential (string)required
Type of proof used for the credential
Possible values: [ldp, jwt]
Example:
ldpkeyIdstring
Optional key identifier associated with the credential
Example:
key-identifier-001credentialSubject object
The credential subject details
idstringrequired
Example:
did:example:subject-1revocablebooleanrequired
Indicates whether the credential is revocable
Example:
trueCredentialConfigDto
{
"context": [
"https://dataspace.example/context"
],
"type": [
"DataSpaceMembershipCredential"
],
"id": "credential-id-789",
"proofType": "ldp",
"keyId": "key-identifier-001",
"credentialSubject": {
"id": "did:example:subject",
"name": "Subject Name"
},
"revocable": true
}