Open filip26 opened 1 year ago
I believe the context needs to be in the registered contexts here: https://github.com/digitalbazaar/cborld/blob/main/lib/codecs/registeredContexts.js
I could be wrong about this one (haven't worked with cbor much)
https://www.w3.org/2018/credentials/examples/v1
I don't believe has a cbor-ld context yet.
Yeah, so, the VC 1.0 context IS registered with the cborld library, but the VC Examples context is not. (We should probably do that, for this exact reason - so that people can compile the example VC from the spec, to cborld)
Hi, try this example:
it fails with
ERR_UNKNOWN_CBORLD_TERM: ... degree ...
butdegree
is defined in https://www.w3.org/2018/credentials/examples/v1.