Skip to main content
Version: v0.10.0

CredentialMessage

@contextstring[]required
Example: ["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
typestringrequired
Example: CredentialMessage
issuerPidstringrequired
holderPidstringrequired
statusstringrequired

Possible values: [ISSUED, REJECTED]

rejectionReasonstring
credentials object[]
  • Array [
  • typestringrequired
    payloadstringrequired
    credentialTypestringrequired
    formatstringrequired
  • ]
  • CredentialMessage
    {
    "@context": [
    "https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"
    ],
    "type": "CredentialMessage",
    "issuerPid": "string",
    "holderPid": "string",
    "status": "ISSUED",
    "rejectionReason": "string",
    "credentials": [
    {
    "type": "string",
    "payload": "string",
    "credentialType": "string",
    "format": "string"
    }
    ]
    }