Re: Using PATCH on JSON-LD?

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