Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format-specific Credential Issuer Metadata: value_type: image is a string #75

Open
danielfett opened this issue Sep 18, 2023 · 2 comments

Comments

@danielfett
Copy link
Contributor

For W3C credentials, the field value_type is defined as

String value determining the type of value of the claim. A non-exhaustive list of valid values defined by this specification are string, number, and image media types such as image/jpeg as defined in IANA media type registry for images (https://www.iana.org/assignments/media-types/media-types.xhtml#image).

I suppose that image/jpeg is a subtype of string and there is some encoding applied. If that's correct, both facts should be made explicit in the spec.

@Sakurann
Copy link
Collaborator

i think this is related to #90 (cc @jogu :D)

@jogu
Copy link
Contributor

jogu commented Nov 10, 2023

The same text also appears in the ISO mDL section.

I think the 'A non-exhaustive list of valid values defined by this specification' part of the sentence is very weird too, as I can't find anywhere else where this spec defines values.

We also don't use value_type in any of the examples. We probably should...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants