generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use JSON Schemas to validate type property existence requirements #131
Comments
This was referenced Apr 3, 2024
Some good inspiration on how this could be implemented from over in
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Created as a result of the work of #109
We have standardized DID and VC type requirements as defined here and here. And part of that standardization is a requirement for the existence of some type properties. For example, a VC
issuanceDate
is always required to exist, but a VCexpirationDate
is not required to exist.Let's use the JSON Schemas to enforce this requirement.
Design proposal
Two possible approaches, and we could choose to do both
jwt/jwt.go
here) -- this would be useful if they were unmarshalling/marshalling the dataThe text was updated successfully, but these errors were encountered: