Skip to main content

SelectiveDisclosure

SD-JWT selective disclosure configuration. Every key in fields must exactly match a key in credentialData — a mismatch results in a 400 error. Fields absent from fields are always disclosed. Omit selectiveDisclosure entirely rather than sending null.

fields objectrequired

Map of credential data keys to disclosure configuration. Keys must match credentialData keys exactly. 1–100 entries; credentialStatus is reserved and cannot be listed.

property name* SelectiveDisclosureField
sdboolean

When true, the field is wrapped as an individually disclosable claim in the SD-JWT credential, letting the holder choose whether to share it with a verifier.

Example: true
SelectiveDisclosure
{
"fields": {
"givenName": {
"sd": true
},
"familyName": {
"sd": true
},
"dateOfBirth": {
"sd": true
}
}
}