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-789
proofTypeType of proof used for the credential (string)required
Type of proof used for the credential
Possible values: [ldp
, jwt
]
Example:
ldp
keyIdstring
Optional key identifier associated with the credential
Example:
key-identifier-001
credentialSubject object
The credential subject details
idstringrequired
Example:
did:example:subject-1
revocablebooleanrequired
Indicates whether the credential is revocable
Example:
true
CredentialConfigDto
{
"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
}