-
Notifications
You must be signed in to change notification settings - Fork 39
"bad type cardinality" test #97
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
Comments
The cardinality of Since this document includes an additional context ("...examples/v1"), and since That said, I'm not sure this test case is set up properly for implementers. How can an implementation reasonably guess the correct type based on the given context and the claims in the VC? |
See: #96 (comment) |
I agree with @clehner on this. The VC in https://github.com/w3c/vc-test-suite/blob/gh-pages/test/vc-data-model-1.0/input/example-3-bad-cardinality.jsonld is valid per the data model and therefore it should not be used for a "negative" test in https://github.com/w3c/vc-test-suite/blob/gh-pages/test/vc-data-model-1.0/10-basic.js#L89. |
Could you please explain the meaning of
type
bad cardinality check frombasic
group? It's defined at example-3-bad-cardinality.jsonld as following:From the other hand, the same
type
definition can be found in several other test cases, e.g. inexample-016-jwt.jsonld
which should be processed with no error.The text was updated successfully, but these errors were encountered: