OpenID4VCI icon indicating copy to clipboard operation
OpenID4VCI copied to clipboard

do we need `mandatory` in VCI metadata?

Open Sakurann opened this issue 11 months ago • 3 comments

          Is there any use case for using a `mandatory` set to `false` (or absent)? I.e. is including a _claims description object_ for a given claim path with `mandatory` set to `false` (or absent) the same as not including that _claims description object_?

Originally posted by @pmhsfelix in https://github.com/openid/OpenID4VCI/pull/276#discussion_r1882374777

Sakurann avatar Dec 17 '24 10:12 Sakurann

At least we need to be precise about what it means when the claims description object is not present.

danielfett avatar Dec 17 '24 19:12 danielfett

I think mandatory attributes can be useful since it enforces the integrity of the verifiable credential in some cases, some vc do not have any sense with null values for certain claims.

patatoid avatar Dec 20 '24 06:12 patatoid

labelling 1.1 because, if we decide to, we can remove this post 1.0 in a backward compatible manner

Sakurann avatar Jan 24 '25 15:01 Sakurann