Re: [Json] JSON Schema Language, Draft 01

Ulysse Carion <ulysse@segment.com> Fri, 07 June 2019 03:04 UTC

Return-Path: <ulysse@segment.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 7CF07120156 for <json@ietfa.amsl.com>; Thu, 6 Jun 2019 20:04:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=segment.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 moWxRf4YQeIX for <json@ietfa.amsl.com>; Thu, 6 Jun 2019 20:04:12 -0700 (PDT)
Received: from mail-it1-x12c.google.com (mail-it1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 33F7A12010D for <json@ietf.org>; Thu, 6 Jun 2019 20:04:12 -0700 (PDT)
Received: by mail-it1-x12c.google.com with SMTP id a186so630937itg.0 for <json@ietf.org>; Thu, 06 Jun 2019 20:04:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=segment.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2qr4H8IEbTS+kkuBWryiE+pGaNjwsrU0qG7W480PEUM=; b=oBwZRrTuzvJ309XCwmeB9qXlgnUoKTQ4P153X5vFBBJo85CWS+GQ3shBj6vpcffohB bGwql+WV4dXURTHjnSAi01uuWcJGBTsmxdfT3enCoAMCu5zGxycva7B/IocP0WrIyY03 N4zjZOagPuEWCNqmshQHRGqp0PMUfgX1dF2hM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2qr4H8IEbTS+kkuBWryiE+pGaNjwsrU0qG7W480PEUM=; b=oSZzoaYFO6+ozpCslfWUfA9C1Zp0gGkdHdFIwrA56JzwVto+6qzZ3DJwpWZhfUSp9D BlHSzZ3HTiBSxaa0/LIuZMJweF5kS1L1QeI/dxJen8XxwoKcGL+lW65MiKWZ9fRXIXwg RX2ixdZTv/xdeIasfnwnFiYvXMo/YP99fcF7sPKuacQc0h2NqzJxAH/xxBef/aIWrmoK Fj4RPd6E11pIImZFLPK4qEmOJy8uNA5fsbLbUnwlQOBsxtjM63WyAbo+UCMIWyX5Fijo IzEAUbTdhtZYW6Q6mpz0DyyATMLsxbrIOApt8tvcl+2NKrpFh5ZDBAd1NHwOp7RUriLO lItg==
X-Gm-Message-State: APjAAAUqyN+HhZGss5O99z19aYBtYLuq0vPDCa7lfv79PevKdIQ7YngM 2FxLkP+Mkxhzx+T1kqL3WoEcfgV6g7WuJMy6BYI4XwTR
X-Google-Smtp-Source: APXvYqxv6iD6AY2kS7ZOxTdkcMauUx3NSnM5W7NT0XtxobUcdxEz4m+9Gy0zz1gT0kPISuJ7HUTr62cYnTr+nzAopfw=
X-Received: by 2002:a24:da83:: with SMTP id z125mr2834898itg.126.1559876651278; Thu, 06 Jun 2019 20:04:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAJK=1Rh6gQE5-4aOu7ZM9Fc-q_hW79U_Q7wkmWwVRS0=GPAnxA@mail.gmail.com>
In-Reply-To: <CAJK=1Rh6gQE5-4aOu7ZM9Fc-q_hW79U_Q7wkmWwVRS0=GPAnxA@mail.gmail.com>
From: Ulysse Carion <ulysse@segment.com>
Date: Thu, 06 Jun 2019 20:04:00 -0700
Message-ID: <CAJK=1Ri=SeJFrkk7QeSmg2wQWqJF_5kbZ99CW6UVZHSZ7=bprQ@mail.gmail.com>
To: JSON WG <json@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b18155058ab3152c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/b54srjy8vMhahNgEbkv1DkKwYLg>
Subject: Re: [Json] JSON Schema Language, Draft 01
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: Fri, 07 Jun 2019 03:04:14 -0000

Oh wait, another big change -- I got rid of the URI-based reference stuff.
Thanks to Tim Bray for pointing out it's kind of needlessly complex.

On Thu, Jun 6, 2019 at 5:18 PM Ulysse Carion <ulysse@segment.com> wrote:

> Hi folks,
>
> Working off discussion in this mailing list, I've published a draft -01 of
> JSON Schema Language:
>
> https://tools.ietf.org/html/draft-json-schema-language-01
>
> Notable changes are the addition of "timestamp" (RFC3339) as a type, as
> well as the addition of enums. The syntax of JSL is now defined mostly
> through CDDL, and an informative appendix maps some JSL schemas to CDDL
> ones. The rest of the changes mostly serve to make the spec easier to read
> and implement, nothing dramatic.
>
> Would love feedback! What more should be removed or added to move this
> forward?
>
> Best,
> Ulysse
>