Re: [Json] Schemas & so on

Tim Bray <tbray@textuality.com> Tue, 03 May 2016 03:04 UTC

Return-Path: <tbray@textuality.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 2035C12D0C9 for <json@ietfa.amsl.com>; Mon, 2 May 2016 20:04:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=textuality-com.20150623.gappssmtp.com
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 JUo7oUgfXztP for <json@ietfa.amsl.com>; Mon, 2 May 2016 20:04:47 -0700 (PDT)
Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7800612B05B for <json@ietf.org>; Mon, 2 May 2016 20:04:47 -0700 (PDT)
Received: by mail-qg0-x230.google.com with SMTP id f74so3172723qge.2 for <json@ietf.org>; Mon, 02 May 2016 20:04:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QE3FjbyW9ekthYDAo/RDqjXvWKvvrOfFVxDtbibsiww=; b=sMgl/u7m+nXBYnHwNFn+tjri1fAPN1cLbvpOXWXW/ip5g9Kn1aizOGth8yiFOkUPUE aCMGwwDbjbSNHoS8N6FjRCdcGrBHakYHyxAnph8yoy1i3a+tkglUGkNHJ0wO57LQ/8Vq p+M52NXtvPQ5bWgKI+UHhygDRS3Ue8r+S8bmN85FnuIzWTBa6FSypk8L1X0iXwx1R9tH N2D+VlNE3+YJPnJQTWWCT5MGAT5/9ChiMm8FF+SOjpL5h82da8Iwcov8JUqq/pqfSTWy tWc78CxstIU6O3POvcb8ELmABfTxrMsYtRg0P6LpTxRhsyJRDIIUw0mMi8U+OLSOTnar YIQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QE3FjbyW9ekthYDAo/RDqjXvWKvvrOfFVxDtbibsiww=; b=PsX5EhWkeASFsBmWsRT50kRGxR8jUyUyFC2S9iSImM2crYtAQ1brXMo4oza4VqVG5x /P3tYOFGl4cSzxO3WDLFi2xP+zHjYHYsaaXvj35FXygeu7/V1NafDKvRC3fXJWOl1lH2 rX3CNU3hbQA3QUR5NxjdugoIAaVVANXpoeDR6daSerA+4nHgCWkQBNFmgHD4J500mVWi Q208MRIXXp1XBbfsS8iR1t67fwZ0/mPJURGa1KuK/bR1uyJk3s6uQqoHByvd8jNera3m TXN42AN5BW04SEpy6/zo7R3et/MnZCGMoZMyiadYLRbxrVHUcO0HV9tfBghNz+Xk4Xtc 7OTw==
X-Gm-Message-State: AOPr4FUOBP/3kdg+xPj82uSGYKZagmsiCiLodkmlTW0MGbTUKJQu9Zhywcq4vymvFkmDa3VH8tB/tJThkazYNQ==
X-Received: by 10.140.40.231 with SMTP id x94mr13670qgx.83.1462244686617; Mon, 02 May 2016 20:04:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.94.201 with HTTP; Mon, 2 May 2016 20:04:27 -0700 (PDT)
X-Originating-IP: [24.84.248.61]
In-Reply-To: <EC4D5AC6-2730-4D6A-BE43-91197602C4CC@mnot.net>
References: <CAHBU6itCV9MXmALdKtE9-vjUPG6-6ZqdqzrmZkcEzSUysi3S-w@mail.gmail.com> <AC93811D-A16A-4527-B2EB-C6A9FC6D4F17@mnot.net> <20160503010109.GA17482@mercury.ccil.org> <EC4D5AC6-2730-4D6A-BE43-91197602C4CC@mnot.net>
From: Tim Bray <tbray@textuality.com>
Date: Mon, 02 May 2016 20:04:27 -0700
Message-ID: <CAHBU6ivnmO2T8g2TO3Bqof_3uQ64x6PD86sMTfq0Y-1Wb2ANbw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary="001a11c11de41ef7c10531e75fb0"
Archived-At: <http://mailarchive.ietf.org/arch/msg/json/OqcxqKAeSAmT0ezcbGBAkGZGvog>
Cc: John Cowan <cowan@mercury.ccil.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Schemas & so on
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 03 May 2016 03:04:49 -0000

On Mon, May 2, 2016 at 6:13 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> > On 3 May 2016, at 11:01 AM, John Cowan <cowan@mercury.ccil.org> wrote:
> >
> > In addition, a way to specify whether other keys are allowed or
> forbidden.
>
> Forbidding unrecognised keys isn't very JSONic, and arguably gets us into
> the same quagmire that XSD became.
>

​Haha, I like that, we’ll MUST-IGNORE-IFY ALL THE APIs!  Simply make​
MUST-UNDERSTAND inexpressible.  Effective if a bit Orwellian.




>
> Cheers,
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>


-- 
- Tim Bray (If you’d like to send me a private message, see
https://keybase.io/timbray)