Credential Issuer Metadata value_type for dates
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 125
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
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"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files, tests, or entry points. Begin by reviewing the existing Credential Issuer Metadata definition and related value_type handling, then determine whether RFC3339-based date values are supported and which forms are needed. Done means reaching a decision and documenting the accepted metadata and credential representations.
Written by the indexing model from the issue text.
Assessment
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100