W3C home > Mailing lists > Public > public-json-ld-wg@w3.org > November 2019

Re: Using PATCH on JSON-LD?

From: Benjamin Young <byoung@bigbluehat.com>
Date: Mon, 18 Nov 2019 19:00:24 +0000
To: Leonard Rosenthol <lrosenth@adobe.com>, W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
Message-ID: <SN6PR06MB5167C99E5E7D51269827E10BB24D0@SN6PR06MB5167.namprd06.prod.outlook.com>
Hey Leonard,

JSON Patch can work if you're also restricting the JSON shame (via JSON Schema, framing, SHACL, or some combination of similar tooling).

Alternatively, you should checkout Linked Data Patch (aka LD Patch)
https://www.w3.org/TR/ldpatch/

That actually patches the graph (and is cross format) vs. patching the representation of the graph.

It could probably do with a JSON-LD representation, though.

Amiright, Pierre-Antoine? ;)

Cheers!
Benjamin


--

http://bigbluehat.com/

http://linkedin.com/in/benjaminyoung

________________________________
From: Leonard Rosenthol <lrosenth@adobe.com>
Sent: Monday, November 18, 2019 1:37 PM
To: W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
Subject: Using PATCH on JSON-LD?


Have anyone used JSON Patch (https://tools.ietf.org/html/rfc6902) on JSON-LD?   Are there any concerns about `@context` in this case?   What about schemas and validation?



Thanks,

Leonard
Received on Monday, 18 November 2019 19:00:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:15:27 UTC