OpenID4VCI: order in credential formats

Issue #1882 resolved
Takahiko Kawasaki created an issue

Credential Issuer Metadata in the OpenID4VCI specification explains order as follows.

order: OPTIONAL. An array of claims.display.name values that lists them in the order they should be displayed by the Wallet.

I think that “claims.display.name values” should be changed to “claim names”.

The following are reasons that I think “claims.display.name” is inappropriate.

(1) When the display array contains more than one element like the following example, what does “claims.display.name” refer to?

{
  "credentialSubject": {
    "last_name": {
      "display": [
        {
          "name": "Surname",
          "locale": "en-US"
        },
        {
          "name": "姓",
          "locale": "ja"
        }
      ]
    }
  }  
}

(2) In addition, display is optional. How should claims be ordered if there are claims that do not have display like below? Should claims having no display come first or last? How should the claims having no display be ordered among them?

{
  "credentialSubject": {
    "given_name": {},
    "last_name": {
      "display": [
        {
          "name": "Surname",
          "locale": "en-US"
        }
      ]
    },
    "degree": {}
  }
}

Comments (4)

  1. Kristina Yasuda
    • changed status to open

    SIOP april-07 call (1) it's trying to differentiate between the display.name for the credential issuer and the individual claim names (2) up to the wallet if issuer is not giving the guidance

  2. Log in to comment