Re: [Json] JSON Schema (Was: JSON Concluded? Well, maybe not)

Pete Cordell <petejson@codalogic.com> Mon, 01 January 2018 14:30 UTC

Return-Path: <petejson@codalogic.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98BC1124239 for <json@ietfa.amsl.com>; Mon, 1 Jan 2018 06:30:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.401
X-Spam-Level:
X-Spam-Status: No, score=-0.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n9i09pQjGKHv for <json@ietfa.amsl.com>; Mon, 1 Jan 2018 06:30:32 -0800 (PST)
Received: from ppsa-online.com (ppsa-online.com [217.199.162.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C369C124207 for <json@ietf.org>; Mon, 1 Jan 2018 06:30:31 -0800 (PST)
Received: (qmail 31670 invoked from network); 1 Jan 2018 14:20:55 +0000
Received: from host109-158-28-63.range109-158.btcentralplus.com (HELO ?192.168.1.72?) (109.158.28.63) by lvps217-199-162-217.vps.webfusion.co.uk with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 1 Jan 2018 14:20:55 +0000
To: Tim Bray <tbray@textuality.com>
Cc: "json@ietf.org" <json@ietf.org>
References: <13860352-ef8e-1d4b-2eff-27e275c25e3a@gmail.com> <CALH+fvqBGu0i=LcciYgOLSwbQJXfqgcXTdd=rxvfHfqiRyBj7g@mail.gmail.com> <CAHBU6itC+XAKhc_m_ywG5O2bpky9DnmzfiNVqP3WrxLaE7uenA@mail.gmail.com>
From: Pete Cordell <petejson@codalogic.com>
Message-ID: <c767915b-bb0e-cd90-3b32-7d0cba5aacd8@codalogic.com>
Date: Mon, 01 Jan 2018 14:30:27 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CAHBU6itC+XAKhc_m_ywG5O2bpky9DnmzfiNVqP3WrxLaE7uenA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/DKoqXGkrprJaqmx7W3c4yuqee1E>
Subject: Re: [Json] JSON Schema (Was: JSON Concluded? Well, maybe not)
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Jan 2018 14:30:34 -0000

On the JSON schema topic, Andy Newton and I, with the help of a number 
of people active in the IETF, have been working on something called 
"JSON Content Rules".  The current I-D is at:

   https://www.ietf.org/id/draft-newton-json-content-rules-09.txt

The aim is for it to be easy to write, and easy to understand.  It's a 
"JSON-like" syntax, as it was felt restricting it to pure JSON made the 
syntax harder to write and read.

There's a few more details at the following address, including details 
of implementations so far:

   http://json-content-rules.org

We're happy to discuss it with anyone, either here, using my send 
address, or via contact@json-content-rules.org .

Happy New Year!

Pete.

On 31/12/2017 18:50, Tim Bray wrote:
> If I were going to make an argument for keeping the WG alive, it would 
> require someone to get energized and submit an I-D for a plausible JSON 
> schema system, or maybe even a much-needed formalization of JSONPath. We 
> use JSONPath a lot at AWS.
> 
> On Sun, Dec 31, 2017 at 10:43 AM, Richard Gibson 
> <richard.gibson@gmail.com <mailto:richard.gibson@gmail.com>> wrote:
> 
>     On the topic of JSON normalization, I believe that
>     canonicaljson-spec
>     <http://gibson042.github.io/canonicaljson-spec/> covers all cases
>     while respecting prior art like
>     https://tools.ietf.org/html/draft-staykov-hu-json-canonical-form-00
>     <https://tools.ietf.org/html/draft-staykov-hu-json-canonical-form-00> and
>     RFC 7638. I'd like to get it published as an RFC to handle scenarios
>     like those mentioned by Anders Rundgren, but am not sure how to go
>     about doing so. Is this a good place to ask for assistance?
> 
>     On Sun, Dec 31, 2017 at 12:24 AM, Anders Rundgren
>     <anders.rundgren.net@gmail.com
>     <mailto:anders.rundgren.net@gmail.com>> wrote:
> 
>         Congratulations everybody to the revised JSON RFC!
> 
>         Does this mean that JSON is "done" for good?
> 
>         Probably not because the concept I have mentioned from time to
>         time, the ability adding a digital signature to a JSON object
>         (in contrast to signing arbitrary Base64Url-encoded data), is
>         still very much alive.  In fact, there is an I-D in preparation
>         aiming at reducing the current proliferation of "DIY-standards"
>         for dealing with this highly requested feature.  The only real
>         challenge is agreeing on a suitable way "normalizing" JSON data
>         during parsing and serialization.  Such a scheme will be like an
>         extended version of I-JSON (RFC7493), potentially having an
>         impact on "ordinary" uses of JSON as well.
> 
>         Happy New [and optionally signed] JSON Year
>         Anders Rundgren
> 
>         _______________________________________________
>         json mailing list
>         json@ietf.org <mailto:json@ietf.org>
>         https://www.ietf.org/mailman/listinfo/json
>         <https://www.ietf.org/mailman/listinfo/json>
> 
> 
> 
>     _______________________________________________
>     json mailing list
>     json@ietf.org <mailto:json@ietf.org>
>     https://www.ietf.org/mailman/listinfo/json
>     <https://www.ietf.org/mailman/listinfo/json>
> 
> 
> 
> 
> -- 
> - Tim Bray (If you’d like to send me a private message, see 
> https://keybase.io/timbray)
> 
> 
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>