CredentialConfigDto
context object[]
A list of JSON-LD contexts applied to the credential
Array [
- string
- object
string
]
typestring[]
Types that classify the credential
Example:
["DataSpaceMembershipCredential"]idCredential IDrequired
Unique identifier for the credential configuration
Example:
credential-id-789proofTypeType of proof used for the credentialrequired
Type of proof used for the credential
Possible values: [ldp, jwt]
Example:
ldpkeyIdstring
Optional key identifier associated with the credential
Example:
key-identifier-001credentialSubject objectrequired
The credential subject details
idstringrequired
Example:
did:example:subject-1evidence object
Evidence attached to the verifiable credential
property name*any
Evidence attached to the verifiable credential
revocablebooleanrequired
Indicates whether the credential is revocable
Example:
truevalidityDurationMsnumber
Optional validity duration in milliseconds. Defaults to 3 months
Example:
3600000CredentialConfigDto
{
"context": [
"https://dataspace.example/context",
{
"gx": "https://w3id.org/gaia-x/core#"
}
],
"type": [
"DataSpaceMembershipCredential"
],
"id": "credential-id-789",
"proofType": "ldp",
"keyId": "key-identifier-001",
"credentialSubject": {
"id": "did:example:subject",
"name": "Subject Name"
},
"evidence": {},
"revocable": true,
"validityDurationMs": 3600000
}