openid / OpenID4VCI

68 stars 20 forks source link

More detailed specification of the supported credential_definition.credentialSubject.value_types #310

Open peppelinux opened 6 months ago

peppelinux commented 6 months ago

The value_types support string, number, and various image media types such as image/jpeg, as defined in the IANA media type registry for images (https://www.iana.org/assignments/media-types/media-types.xhtml#image). The specification also states that other values MAY also be used.

It would be beneficial to reference all supported JSON types, to provide a comprehensive overview of the possible data types that can be utilized, such as:

The scope of this issue also includes determining which JSON types should not be used.

ref: https://openid.github.io/OpenID4VCI/openid-4-verifiable-credential-issuance-wg-draft.html#appendix-A.1.1.2-3.1.2.2.2.2