question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSON-LD Parsing Error Blocking VC Data Model Integration

See original GitHub issue

https://uniresolver.io/#did:btcr:xxcl-lzpq-q83a-0d5

https://raw.githubusercontent.com/OR13/self/master/ddo.jsonld

Per https://www.w3.org/TR/vc-data-model/#proofs-signatures-0

If the cryptographic suite expects a proofPurpose property, it is expected to exist and be a valid value, such as assertionMethod.

However, assertionMethod is stripped from the btcr did document above by the universal resolver… this cause verification of credentials to fail when using the universal resolver as a document loader.

The solution is not to remove any of the properties defined in https://www.w3.org/ns/did/v1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
JaceHensleycommented, Jun 24, 2020

Ran into this while using this context: "https://w3id.org/security/v2" since it has "version": 1.1. Maybe it should use https://github.com/filip26/titanium-json-ld instead since that supports json-ld 1.1?

1reaction
peacekeepercommented, Jan 25, 2020

https://raw.githubusercontent.com/OR13/self/master/ddo.jsonld seems to have these @contexts:

Neither of those define assertionMethod.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON-LD 1.1 - W3C
JSON is a useful data serialization and messaging format. This specification defines JSON-LD 1.1, a JSON-based format to serialize Linked Data.
Read more >
JSON-LD Community Group
... JSON-LD is used as a native way to represent RDF, but also simply because it's JSON. ... For describing SHEX expressions, tabular...
Read more >
Verifiable Credentials Data Model v2.0 - W3C on GitHub
This version: https://w3c.github.io/vc-data-model/ ... JSON-LD-based processors MUST produce an error when a JSON-LD context redefines any ...
Read more >
Available CRAN Packages By Name
Available CRAN Packages By Name ; afpt, Tools for Modelling of Animal Flight Performance ; AFR, Toolkit for Regression Analysis of Kazakhstan Banking...
Read more >
OneRoster v1.1 Final Specification - 1EdTech
Section 4 shows the data models that are required to be bound. Parsers MUST be capable of parsing the JSON data (see Section...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found