Re: [apps-discuss] Announce: JSON Schema, I-D version 4

Mark Nottingham <mnot@mnot.net> Tue, 05 February 2013 00:54 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B0ED21F8AB0 for <apps-discuss@ietfa.amsl.com>; Mon, 4 Feb 2013 16:54:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.006
X-Spam-Level:
X-Spam-Status: No, score=-106.006 tagged_above=-999 required=5 tests=[AWL=-3.407, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZADSFj0rc5wC for <apps-discuss@ietfa.amsl.com>; Mon, 4 Feb 2013 16:54:30 -0800 (PST)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by ietfa.amsl.com (Postfix) with ESMTP id 8D11221F8A8F for <apps-discuss@ietf.org>; Mon, 4 Feb 2013 16:54:30 -0800 (PST)
Received: from [192.168.1.80] (unknown [118.209.138.158]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 770CA22E253; Mon, 4 Feb 2013 19:54:23 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CALcybBAthjz264t5pr1RYANojbCaA3Getgfk-+M5OAuH-du92g@mail.gmail.com>
Date: Tue, 05 Feb 2013 11:54:22 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <CDD4B65A-CB4D-4BCF-8CE4-0800C1B43218@mnot.net>
References: <CALcybBAthjz264t5pr1RYANojbCaA3Getgfk-+M5OAuH-du92g@mail.gmail.com>
To: Francis Galiegue <fgaliegue@gmail.com>
X-Mailer: Apple Mail (2.1499)
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] Announce: JSON Schema, I-D version 4
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Feb 2013 00:54:31 -0000

FWIW, since people are talking about it:

I'm about +0.25 on doing this.

On the one hand, XML Schema has created a lot of damage (the more so because many many people still don't understand how harmful it is / can be).

On the other hand, this is not XML Schema. AFAICT it does not try to do nearly as much as XML Schema did. As has been discussed ad nauseum, the major use cases for a schema language are doing QA and documentation, and JSON could use help on both fronts.

So, if it were possible to get enough review / input to assure that it didn't create any of the same problems (in particular, I want to look at how it supports / fails to support format evolution), it'd probably do some amount of good without too much risk. However, we'd have to do that without killing the community around it (i.e., the architects among us would need to restrain themselves).

Just my .02.

Cheers,


On 02/02/2013, at 2:59 AM, Francis Galiegue <fgaliegue@gmail.com> wrote:

> Hello,
> 
> JSON Schema is now up to version 4.
> 
> Links to the specifications:
> 
> * http://tools.ietf.org/html/draft-zyp-json-schema-04 (core specification),
> * http://tools.ietf.org/html/draft-fge-json-schema-validation-00
> (validation specification),
> * http://tools.ietf.org/html/draft-luff-json-hyper-schema-00
> (hyperschema specification).
> 
> It is dependent on two other I-Ds:
> 
> * JSON Reference,
> * JSON Pointer (as a consequence of the first).
> 
> Reviews appreciated. For the recall, JSON Schema has its Google group:
> json-schema@googlegroups.com
> 
> All the best,
> --
> Francis Galiegue, fgaliegue@gmail.com
> Try out your JSON Schemas: http://json-schema-validator.herokuapp.com
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss

--
Mark Nottingham   http://www.mnot.net/