W3C home > Mailing lists > Public > public-linked-json@w3.org > September 2017

Re: JSON Pointers, References and Templates

From: Adam Sobieski <adamsobieski@hotmail.com>
Date: Mon, 25 Sep 2017 03:43:08 +0000
To: Henry Andrews <henry@cloudflare.com>
CC: "public-credentials@w3.org" <public-credentials@w3.org>, "public-linked-json@w3.org" <public-linked-json@w3.org>
Message-ID: <DM5PR01MB32752A680223BD105F5914B3C57A0@DM5PR01MB3275.prod.exchangelabs.com>
Henry,

Thank you for sharing the Relative JSON Pointer hyperlink.

After downloading the JSON Schema Core specification and observing the use of “$ref” (http://json-schema.org/latest/json-schema-core.html#rfc.section.8), it could be that a general-purpose “JSON include” solution might resemble:

{ "$include": "..." }

What do you think?


Best regards,
Adam

P.S.: https://www.w3.org/TR/xinclude-11/

From: Henry Andrews<mailto:henry@cloudflare.com>
Sent: ‎Sunday‎, ‎September‎ ‎24‎, ‎2017 ‎7‎:‎49‎ ‎PM
To: Adam Sobieski<mailto:adamsobieski@hotmail.com>
Cc: public-credentials@w3.org<mailto:public-credentials@w3.org>, public-linked-json@w3.org<mailto:public-linked-json@w3.org>

Note that since the JSON Schema / JSON Hyper-Schema project re-launched and began producing drafts roughly every six months again, we have include JSON Reference in the JSON Schema Core specification rather than continuing with it as an outside concept.  That is why the last JSON Reference draft is so old.

This doesn't mean that someone else couldn't pick up JSON Reference as a stand-alone specification.  It was just more useful for us to put some limits on how it is used in the context of JSON Schema, which meant it was specified enough for our purposes within the JSON Schema Core spec.

Somewhat related: we may be reviving the Relative JSON Pointer proposal, btw (whether separately or as part of one of our specs is not entirely clear yet).  https://tools.ietf.org/html/draft-luff-relative-json-pointer-00


thanks,
-henry


On Sun, Sep 24, 2017 at 4:04 PM, Adam Sobieski <adamsobieski@hotmail.com<mailto:adamsobieski@hotmail.com>> wrote:
JSON and JSON-LD enthusiasts,

JSON Pointers
https://tools.ietf.org/html/rfc6901


JSON References
https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03


JSON Templates
https://w3c-ccg.github.io/verifiable-news/sketchpad.html#templates



Best regards,
Adam Sobieski
http://www.phoster.com/contents/





--

  *

Henry Andrews  |  Systems Engineer
henry@cloudflare.com<mailto:henry@cloudflare.com>

<https://www.cloudflare.com/>

1 888 99 FLARE  |  www.cloudflare.com<https://www.cloudflare.com/>

  *
Received on Monday, 25 September 2017 03:43:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:50 UTC