light-mode-image
Learn
Types

CredentialQuery

Credential query

Credential query

Properties

Prop

Type

Example

// The following example credential query will request the `birthdate` and `portrait` claims from a `mobile` credential `profile` with `org.iso.18013.5.1.mDL` as a `docType`:
 {
  "profile": "mobile",
  "docType": "org.iso.18013.5.1.mDL",
  "nameSpaces": {
    "org.iso.18013.5.1": {
      "birthdate": {
          "intentToRetain": false
       },
      "portrait": {
        "intentToRetain": false
      },
      "resident_postal_code": {
        "intentToRetain": false
       }
     },
   }
 }

How would you rate this page?

On this page