Re: [apps-discuss] JSON Schema considered harmful

Julian Reschke <julian.reschke@gmx.de> Thu, 20 September 2012 18:46 UTC

Return-Path: <julian.reschke@gmx.de>
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 C65B521E8084 for <apps-discuss@ietfa.amsl.com>; Thu, 20 Sep 2012 11:46:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.024
X-Spam-Level:
X-Spam-Status: No, score=-104.024 tagged_above=-999 required=5 tests=[AWL=-1.425, 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 QWo8taXuZOoF for <apps-discuss@ietfa.amsl.com>; Thu, 20 Sep 2012 11:46:01 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id CCC7421E8039 for <apps-discuss@ietf.org>; Thu, 20 Sep 2012 11:46:00 -0700 (PDT)
Received: (qmail invoked by alias); 20 Sep 2012 18:45:59 -0000
Received: from p5DD95893.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.88.147] by mail.gmx.net (mp041) with SMTP; 20 Sep 2012 20:45:59 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+os7tissioG6N+AwjYjJ3dfzV20KnY8Zmmwwd4Tr dAd90EGL7MYscS
Message-ID: <505B6464.30908@gmx.de>
Date: Thu, 20 Sep 2012 20:45:56 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: Phillip Hallam-Baker <hallam@gmail.com>
References: <CAMm+LwjYj0gd3Cxjj8WFcLy-zgBwfVDCPaRGcNSgOHD9m_07yw@mail.gmail.com> <999913AB42CC9341B05A99BBF358718D01DF0684@FIESEXC035.nsn-intra.net> <CAK3OfOgU-Kepre2Z2dg_S8DAVCU413SRvuWMvJcC3BmE0BjNbQ@mail.gmail.com> <505B43B3.7050503@berkeley.edu> <CAHBU6iupyZEhENRVYJ2sMNk79RSZbOVAawr6vP42uzNyO0z+Nw@mail.gmail.com> <CAMm+LwiG5i2UMabjWC5NDieMD90mWPU+rd=H6LiDeser_CiFUA@mail.gmail.com> <505B585D.3050401@gmx.de> <CAMm+LwgE+7BFKy-JHC__WbrX1QUmCuW4ayCon30viQTNQEW2UQ@mail.gmail.com>
In-Reply-To: <CAMm+LwgE+7BFKy-JHC__WbrX1QUmCuW4ayCon30viQTNQEW2UQ@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] JSON Schema considered harmful
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: Thu, 20 Sep 2012 18:46:01 -0000

On 2012-09-20 20:38, Phillip Hallam-Baker wrote:
>
>
> On Thu, Sep 20, 2012 at 1:54 PM, Julian Reschke <julian.reschke@gmx.de
> <mailto:julian.reschke@gmx.de>> wrote:
>
>     On 2012-09-20 19:47, Phillip Hallam-Baker wrote:
>
>         ...
>         ...
>
>              - Do not use multiple syntaxes for the same protocol. Pick
>         one of
>              XML or JSON and stick with it.
>
>
>         Agree but note that this conflicts with the REST notion of using URL
>         encoded requests and JSON responses. Which I think is yucky but some
>         insist on.
>         ...
>
>
>     Where does that notion come from? I don't see what this has to with
>     being restful or not (there, I said it; I'll probably regret it :-).
>
>
> I asked Roy Fielding that and he gave me much the same answer.
>
> But I am going to have to implement that to use my compiler to do OAUTH
> and specs already using that style.
> https://tools.ietf.org/html/draft-ietf-oauth-v2-30
> ...

You may or may not enjoy reading 
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=17725>.

Best regards, Julian