W3C home > Mailing lists > Public > public-credentials@w3.org > August 2020

Re: Side project: JSON-LD checker

From: Wayne Chang <wyc@fastmail.fm>
Date: Mon, 17 Aug 2020 09:14:13 -0400
Message-Id: <9abaa1b8-929d-42ad-8bc4-f76ffd25bbce@www.fastmail.com>
To: Guillaume <gjgd+transmute@protonmail.com>, "Melvin Carvalho" <melvincarvalho@gmail.com>
Cc: Guillaume <guillaume@transmute.industries>, "W3C Credentials CG" <public-credentials@w3.org>
Thanks for your work on this! Looks slick.

An easy way to check conformance to standards improves interoperability and raises the bar for everyone. You can now call people out with a URL when their implementation is wrong. That's important to the maturity of the ecosystem, kudos.

On Mon, Aug 17, 2020, at 9:09 AM, Guillaume wrote:
> Hi, thanks for trying it out!
> 
> It is a JSON-LD checker, nothing specific to DIDs. We just happened to use "didDocument" as an example of a property that's missing from the context of the default JSON-LD object
> 
> 
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Monday, August 17, 2020 3:04 PM, Melvin Carvalho <melvincarvalho@gmail.com> wrote:
> 
>> Looks great!
>> 
>> When I tried to check the default doc I got:
>> 
>> MISSING_PROPERTIES_IN_CONTEXT
>> ["didDocument"]
>> 
>> Is it a JSON-LD checker or a DID checker too?
>> 
>> On Mon, 17 Aug 2020 at 14:56, Guillaume <guillaume@transmute.industries> wrote:
>>> Hello,
>>> 
>>> At Transmute we found that as we update our JSON-LD credentials, sometimes we don't update the corresponding context and some properties end up being undocumented, making the credential not signable (because invalid JSON-LD)
>>> 
>>> Therefore we created a tool to check credentials (and other JSON-LD objects) automatically:
>>> - https://github.com/gjgd/jsonld-checker
>>> - https://www.jsonld-checker.com
>>> 
>>> JSON-LD checker is a JS SDK and a web app to check JSON-LD objects, with the following features:
>>> - Paste a JSON and check if it's valid JSON-LD and that all the properties are documented in the context
>>> - Paste the url pointing to a file and check that all JSON objects in the files are valid
>>> - (Experimental) Paste the URL of a github repo and check that all JSON objects in all files of the repo are valid
>>> - Shareable URLs
>>> 
>>> Thought we'd share with the community, feedback welcome!
>>> 
>>> Guillaume from Transmute
> 
Received on Monday, 17 August 2020 13:14:51 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:25:02 UTC