Re: [Json] JSON Schema Language

Carsten Bormann <cabo@tzi.org> Wed, 08 May 2019 15:46 UTC

Return-Path: <cabo@tzi.org>
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 00B6F12013C for <json@ietfa.amsl.com>; Wed, 8 May 2019 08:46:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=0.001] autolearn=ham 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 OVsy3oTgA68S for <json@ietfa.amsl.com>; Wed, 8 May 2019 08:46:22 -0700 (PDT)
Received: from smtp.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DFE1120043 for <json@ietf.org>; Wed, 8 May 2019 08:46:22 -0700 (PDT)
Received: from [192.168.217.106] (p54A6CC75.dip0.t-ipconnect.de [84.166.204.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 44zgn819BFzyNF; Wed, 8 May 2019 17:46:20 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <646abf11-496b-c120-45d6-2a1aeab051a8@codalogic.com>
Date: Wed, 08 May 2019 17:46:19 +0200
Cc: Ulysse Carion <ulysse@segment.com>, JSON WG <json@ietf.org>
X-Mao-Original-Outgoing-Id: 579023177.252328-62deaaede997e7f8288bd17aeeed7a87
Content-Transfer-Encoding: quoted-printable
Message-Id: <8224451C-F21B-41E5-A834-A9005050CB1F@tzi.org>
References: <CAJK=1RjV1uv0eOdtFZ8cKn-FfCwCiGP5r2hOz1UamiM6YV4H1A@mail.gmail.com> <CAHBU6itE8kub1qtdRoW8BqxaOmzMv=vUo1aDeuAr3HX141NUGg@mail.gmail.com> <77994bdb-a400-be90-5893-b846a8e13899@gmail.com> <20190507154201.GP21049@localhost> <CEF72901-5077-4305-BA68-60624DCE952D@bzfx.net> <69ea0c99-e983-5972-c0aa-824ddeecb7c4@dret.net> <CAMm+LwjyVjnJuWE4+a9Ea=_X1uuEGuK+O4KojzN3uVQ+s+HqUQ@mail.gmail.com> <058f58a3-dd27-998e-5f54-4874aff5f2f0@dret.net> <20190507221726.GR21049@localhost> <CAJK=1Rj7PBD-bbwvsqgjQQzp4Aoidb-W2q5Lj6asMHHDHaTVYQ@mail.gmail.com> <646abf11-496b-c120-45d6-2a1aeab051a8@codalogic.com>
To: Pete Cordell <petejson@codalogic.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/7X7dUQCr9R306wLIJbiIIZ8j9eI>
Subject: Re: [Json] JSON Schema Language
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 08 May 2019 15:46:25 -0000

On May 8, 2019, at 15:48, Pete Cordell <petejson@codalogic.com> wrote:
> 
> Writing XML Schema becomes more bearable if you have XML Schema aware editors.  Being XML aware alone isn't sufficient.

Writing is not the main activity.  Reading is.  That is nearly unbearable without tools.

If I have to work on a W3C Schema(*), I convert it to Relax-NG compact first.  True, I’ll lose some information, but as a net result I'll digest much more information out of the W3C Schema document than if I had directly looked at that.

At the time when I was closer to the XML community, the hallway consensus was that W3C Schema was *designed* to sell more tools.

(Hence my short note yesterday giving the CDDL translations for JSL; that would probably be the way I would be reading — or writing — JSL.)

Grüße, Carsten

(*) The data description spec that W3C called XML Schema