W3C home > Mailing lists > Public > public-json-ld-wg@w3.org > July 2020

Introducing CBOR-LD...

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 23 Jul 2020 21:37:06 -0400
To: W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
Message-ID: <d6ea00c2-cb2d-1ae6-4bdf-144589c27eaf@digitalbazaar.com>
Hi JSON-LD WG (bcc: JSON-LD CG),

This email introduces CBOR-LD, the Concise Binary Object Representation
for Linked Data.

CBOR-LD provides a general purpose algorithm to compress JSON-LD
documents, such as W3C Verifiable Credentials and W3C Decentralized
Identifier Documents, to a compact binary representation. Using this new
technology, it is possible to achieve compression ratios north of 300%,
resulting in new ecosystem capabilities like being able to squeeze a
digitally signed Verifiable Credential into a relatively small QR Code,
store 3x as many VCs in a digital wallet, and other gains in storage
efficiency. The algorithm is generalized and is able to achieve these
gains for many types of JSON-LD inputs.

An introductory presentation on CBOR-LD is attached as a PDF. The latest
copy of the presentation is here:

https://docs.google.com/presentation/d/1ksh-gUdjJJwDpdleasvs9aRXEmeRvqhkVWqeitx5ZAE/edit

There is an implementation of the concepts outlined in the presentation
above here in Node.js (browser-based version coming soon-ish):

https://github.com/digitalbazaar/cborld

A very rough specification is forming here:

https://digitalbazaar.github.io/cbor-ld-spec/

This is mostly just a notification for work that is ready for public
circulation, discussion, and feedback. Digital Bazaar feels pretty
confident in the direction of the work at this point, but also caution
that this is merely a start and there will need to be many more months
of work put into it to discover bugs, finalize the general algorithm,
and other perform other nascent technology gyrations. We would not
recommend that anyone implement the technology at this time without
reading the source implementation above. There are known bugs and this
technology isn't ready for prime time -- DO NOT use it for production
deployments unless you really know what you're doing -- expect things to
change.

We will have a public presentation on CBOR-LD in a few weeks and will
let this group know when and where that is happening. In the meantime,
questions and feedback via the mailing list and via the appropriate
Github issue tracker is appreciated.

-- manu

-- 
Manu Sporny - https://www.linkedin.com/in/manusporny/
Founder/CEO - Digital Bazaar, Inc.
blog: Veres One Decentralized Identifier Blockchain Launches
https://tinyurl.com/veres-one-launches


Received on Friday, 24 July 2020 01:37:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 24 July 2020 01:37:30 UTC