Skip to content

Need examples for how to handle multiple status messages #66

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

Closed
mprorock opened this issue May 24, 2023 · 2 comments
Closed

Need examples for how to handle multiple status messages #66

mprorock opened this issue May 24, 2023 · 2 comments

Comments

@mprorock
Copy link
Contributor

see pr #65 - need to add an example section

@mprorock
Copy link
Contributor Author

a minimal example of how to set status messages with the way things are written now:

"message": [
  {"status":"0x00", "value":"valid"},
  {"status":"0x01", "value":"invalid"},
  {"status":"0x02", "value":"hold"},
  ...
]

but this could obviously be extended with hints around whether to verify a credential (if that were appropriate for the use case - not all statuses are related to whether or not to verify a credential):

"message": [
  {"status":"0x00", "value":"valid", "verify": true},
  {"status":"0x01", "value":"invalid", "verify": false},
  {"status":"0x02", "value":"hold", "verify": true},
  ...
]

@OR13
Copy link
Contributor

OR13 commented Jun 8, 2023

See also w3c-ccg/vc-api#225

mprorock added a commit to mesur-io/vc-status-list-2021 that referenced this issue Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants