-
Notifications
You must be signed in to change notification settings - Fork 14
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
unwrapping doesn't work as expected #65
Comments
Thanks for reporting @jonnycrunch. This is actually not yet implemented :) Will clarify this in the README and get this implemented. |
Hey @jonnycrunch, would you be able to share links to the complete CDDL and sample JSON-LD document you're attempting to validate? Thanks! |
Oh awesome! I've actually happen to have taken a keen interest in DID and SSIs as of late so this is perfect! Will review and get some tests going based on these examples. |
I'm getting conflicting results of 'valid' cddl from the gem implementation of cddl and this one. The following example fails to validate using your rust CDDL tool but does using the gem tool. The following CDDL is used to validate a JSON-LD document where the value of the
@context
is either a sting or an array of items where the first item as stated below followed by one or moreURIs
. My understanding was the~
is used to unwrap the type and remove the necessary CBOR tag (32).Thoughts? Thanks!
The text was updated successfully, but these errors were encountered: