Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Create JSON-LD context for DID spec #9

Closed
msporny opened this issue Jul 14, 2017 · 6 comments
Closed

Create JSON-LD context for DID spec #9

msporny opened this issue Jul 14, 2017 · 6 comments

Comments

@msporny
Copy link
Contributor

msporny commented Jul 14, 2017

We need to create a JSON-LD context for the DID spec.

@msporny
Copy link
Contributor Author

msporny commented Feb 12, 2018

A preliminary JSON-LD Context has been created and is published here: https://w3id.org/did/v1

The repo link is here: https://github.com/w3c-ccg/did-spec/blob/05af3fe12eae7c8818ff2b039e1d52a1babd9b28/did-v1.jsonld

The issue has been addressed, closing.

@msporny msporny closed this as completed Feb 12, 2018
@peacekeeper
Copy link
Member

My JSON-LD library doesn't support 1.1 and throws an error on the @version keyword. Can we remove this and remain compatible with JSON-LD 1.0?

@peacekeeper peacekeeper reopened this Feb 12, 2018
@msporny
Copy link
Contributor Author

msporny commented Feb 12, 2018

My JSON-LD library doesn't support 1.1 and throws an error on the @Version keyword. Can we remove this and remain compatible with JSON-LD 1.0?

No, we can't do that /and/ generate the properly structured claims and signatures for DIDs or Verifiable Credentials. There are multiple problems that we'd recreate by using JSON-LD 1.0 -- we've been wanting to move to named graphs for signatures for a while -- much cleaner. There is full 1.1 support in the Javascript and Python packages. I expect Java will follow suit as soon as they can.

The better option may be to add named graph support in your JSON-LD library in an experimental branch because I think that's the only 1.1 option you'd need. @gkellogg -- any ideas on if the Java implementation is planning an upgrade to 1.1?

@gkellogg
Copy link
Member

I’ve seen various 1.1 updates on https://github.com/jsonld-java/jsonld-java, but I don’t know if there’s a concerted effort here (see jsonld-java/jsonld-java#219). Also, I haven’t seen them on the CG calls. Lobbying be the user base is probably most effective, short of doing a PR.

There are enogh examples of 1.1 compliant systems out there that updating jsonld-java should be straightforward.

Cc /@ansell

@ansell
Copy link

ansell commented Feb 19, 2018

Hi Greg/all,

I have been out of the space for a while (>2 years), but have been accepting and merging PR's and doing trivial fixes to keep it going.

Would appreciate any help with maintenance or PR's to keep it up to scratch with upcoming/new standards.

Thanks,

Peter

@msporny
Copy link
Contributor Author

msporny commented Mar 6, 2018

Closing this issue, noting that the Java implementation doesn't support JSON-LD 1.1 and that that is a separate issue. This issue was about having a DID JSON-LD context, which we have now. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants