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

Credential Issuer Metadata value_type for dates #90

Open
bruno-zimmermann-bit opened this issue Oct 20, 2023 · 0 comments
Open

Credential Issuer Metadata value_type for dates #90

bruno-zimmermann-bit opened this issue Oct 20, 2023 · 0 comments

Comments

@bruno-zimmermann-bit
Copy link

For holders and verifiers to being able to parse dates dynamically in credentials it would be beneficial to have the date format encoded in the metadata.

Have there been any considerations for how to handle date and datetime values?

I would see a solution to use the RFC3339 for value_type.

Example Issuer Metadata

"credentialSubject": {
        "birthday": {
                "value_type": "full-date"
        },
        "graduation_year": {
                "value_type": "date-fullyear"
        }
}

Example Credential Data

"credentialSubject": {
        "birthday": "1970-01-01"
        "graduation_year": "2023"
}
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

2 participants