Skip to main content
Version: Next

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
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",
"keyId": "key-identifier-001",
"credentialSubject": {
"id": "did:example:subject",
"name": "Subject Name"
},
"revocable": true
}