Comments (2)
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.
from cborld.
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)
from cborld.
Related Issues (20)
- Fixup default argument usage. HOT 2
- Add tests and checks for default values.
- Add a test to check for plural `@type` and type-alias values that have type-scoped contexts
- Make code more DRY
- Improve error reporting HOT 1
- Add language map tests and support language tags as non-terms
- Ensure that UUID URNs with queries and hash fragments are handled losslessly
- Unable to retrieve documentLoader HOT 1
- Examples don't work with node v16.123.1 HOT 4
- Fix README examples.
- `@vocab` not implemented HOT 4
- Issues with loading certain terms HOT 4
- Encoded byte array prefix does not match the specification HOT 4
- Scoped Contexts Processing Algorithm HOT 1
- Single item array could be compressed as a single value saving one byte
- Multibase term value is not properly compressed when using @vocab
- Term to Code dictionary includes only applied scoped contexts HOT 1
- Ensure codec values are registered in the spec. HOT 2
- Add codec for well-known DI cryptosuite strings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cborld.