Skip to main content
Version: v4

RequestedCredentialDto

credentialDefinitionIdstring

AnonCreds credential definition the presentation is restricted to

Example: did:webvh:QmaZYZF4aaHUTWzaKu23TowgvsX7JWfCRgQZX488EAssPQ:dm.chatbot.demos.dev.2060.io/resources/zQmevazUUyXBhGoXJwJNNEqXgvPPQ5WrwTE8G5MdhfWsmxM
jsonSchemaCredentialIdstring

JSON Schema Credential the presentation is restricted to

Example: https://dm.gov-id-tr.demos.dev.2060.io/vt/schemas-gov-id-jsc.json
attributesstring[]

Attributes asked of this credential. Every attribute of the schema when omitted.

Example: ["firstName","lastName"]
RequestedCredentialDto
{
"credentialDefinitionId": "did:webvh:QmaZYZF4aaHUTWzaKu23TowgvsX7JWfCRgQZX488EAssPQ:dm.chatbot.demos.dev.2060.io/resources/zQmevazUUyXBhGoXJwJNNEqXgvPPQ5WrwTE8G5MdhfWsmxM",
"jsonSchemaCredentialId": "https://dm.gov-id-tr.demos.dev.2060.io/vt/schemas-gov-id-jsc.json",
"attributes": [
"firstName",
"lastName"
]
}