[Json] Do not use ABNF for JSON schemas!

Carsten Bormann <cabo@tzi.org> Sat, 15 March 2014 17:03 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46A201A0139 for <json@ietfa.amsl.com>; Sat, 15 Mar 2014 10:03:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level:
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001] autolearn=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 ok5whD1bnijg for <json@ietfa.amsl.com>; Sat, 15 Mar 2014 10:03:30 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 7254C1A00F9 for <json@ietf.org>; Sat, 15 Mar 2014 10:03:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id s2FH3KcF017877; Sat, 15 Mar 2014 18:03:20 +0100 (CET)
Received: from [192.168.217.105] (p548923DB.dip0.t-ipconnect.de [84.137.35.219]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 271C4410; Sat, 15 Mar 2014 18:03:19 +0100 (CET)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <890D8059-2280-48D5-820B-2E75852AF334@vpnc.org>
Date: Sat, 15 Mar 2014 18:03:17 +0100
X-Mao-Original-Outgoing-Id: 416595797.791958-03ad7fd4002fe2a0569a6b97c4c5995b
Content-Transfer-Encoding: quoted-printable
Message-Id: <619B38E7-B8FD-4640-97A8-B523AF655B9E@tzi.org>
References: <53238F2E.5010105@cisco.com> <CAHBU6itv0q7ZTrran+dKTcUxoSxNHYnND7yLmSPF35--iUMA+w@mail.gmail.com> <CAMm+Lwi6Ha0r55vb3VNsgz40Bds6HYZ-aM9u-JwyVmoRDuZaWw@mail.gmail.com> <420F0699-9F27-435E-924C-28966A743EAF@vpnc.org> <CAHBU6iv=pUmq1Jdi+VkFnEG0+Ef7pBnSMtPdVNaHFxu6x5RFBQ@mail.gmail.com> <D93BF076-90B2-4AF0-BDD6-29BF4332AABF@vpnc.org> <CAK3OfOhqfJWX747jZs40amrdRV5T3aTxrMHsCvW-5jdN9zq40w@mail.gmail.com> <C77851F1-FBB2-47AD-B263-565593899D8C@vpnc.org> <890D8059-2280-48D5-820B-2E75852AF334@vpnc.org>
To: Paul Hoffman <paul.hoffman@vpnc.org>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/json/L_FKme0KWfYro7ldIeReBl3_Nq8
Cc: IETF JSON WG <json@ietf.org>
Subject: [Json] Do not use ABNF for JSON schemas!
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Sat, 15 Mar 2014 17:03:32 -0000

On 15 Mar 2014, at 17:50, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> Here's a JSON format that could definitely use a simple JSON description language of some sort. The draft authors went the ABNF route, and it's completely unclear where they are going until you look at the examples and realize how trivial the format really is.

One extremely useful result this WG could have is eliciting an IESG statement that ABNF representations of JSON schemas are verboten.

Grüße, Carsten