Re: [Json] JSL: Clarifying purpose, and renaming it to JDDF

John Cowan <cowan@ccil.org> Thu, 29 August 2019 12:38 UTC

Return-Path: <cowan@ccil.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 AC616120121 for <json@ietfa.amsl.com>; Thu, 29 Aug 2019 05:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ccil-org.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 Jh7nKGTB67cZ for <json@ietfa.amsl.com>; Thu, 29 Aug 2019 05:38:31 -0700 (PDT)
Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 38FC31200D5 for <json@ietf.org>; Thu, 29 Aug 2019 05:38:31 -0700 (PDT)
Received: by mail-wr1-x434.google.com with SMTP id y8so3228043wrn.10 for <json@ietf.org>; Thu, 29 Aug 2019 05:38:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccil-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rDJCAYV+x0bM1X6OdXDDMG/waDvJDxUiDF587JKjOqo=; b=nWhqCBwibIJ7uxEYnbc2KL/P/1nSvLbEAdYKKUQume7hn8eYaVtYb9d4ftq4jnJsCK Yp6A17hCIGU1VtpTX7KdPBU6Z0mCtLsc8Bsd+K/MOi9urwXPmdhmfEUvi/KXZwaHB2iv VVJKPMTA61YVv9F2tDPC+RVq6ifQKZBYvw0TfFFCQgolXTEOdE06StujgZMkw7++2nAl YZ0QXgg/axBFdbh/V8OFrbUo9hahmw69wSDv6IhAp4MrJHuP2tl8wXf0mGNfdRFS5q0V uieuD2/jHmECgWa4a2pGDWUvpwnccrtygtu1QYS9lQW7swqBMtsP74C2JRvYdjpBwoEB ek5A==
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:cc; bh=rDJCAYV+x0bM1X6OdXDDMG/waDvJDxUiDF587JKjOqo=; b=QTSQR3CfSQO/Vb6V3zG3znbf+plFAmiQlO8a/CC3BJFr5yUowY9SA8s2aR42mA0/cT +2XEk1RFZwDi+ItvQx7mooRz8N8ka8M6aYWHZbcAH+nf92uF8kD+NoaxSir0XYuljHxl ocCpSSTPIarFk7ERl9dv/0NrsALEYN3U+cThr8MPIAduXDI0UoEaYeWK6K/nW5ikRCi5 eC/SaGlkkEEbt7/X4rZMOzCOpStgUKqoB/8Rkpt+adx+nMb3mRCbEuYXTcBEVbvQKwGp Rfqd7j6QIXYXCzMsRuNPokHq3RsdIlVgC6VcPvunZMaEopYjeXbaqw9jr+jAwe/mEpqU BFGw==
X-Gm-Message-State: APjAAAVv3WczER/yTEL4XiUi8rIaTOAzv0sOC0/T4TyznvtkGRn9H++C WHNuCXTbu2Ir+GAsQfhLTpH8SsvWw+Bc11pXnwh2eDuK
X-Google-Smtp-Source: APXvYqyXfOpBPR9/icIc42oAITaam91SbEvxKVOpcGEwmf9INXm3U+isVfrAZl+LSVDmqtS4UnBmtjtxbShb7BeWtrU=
X-Received: by 2002:adf:ea03:: with SMTP id q3mr10961497wrm.219.1567082309629; Thu, 29 Aug 2019 05:38:29 -0700 (PDT)
MIME-Version: 1.0
References: <CAJK=1Rj6zW_MffKvsOiQh28KY5yDeoALGSYqve+vGj52s1Owag@mail.gmail.com>
In-Reply-To: <CAJK=1Rj6zW_MffKvsOiQh28KY5yDeoALGSYqve+vGj52s1Owag@mail.gmail.com>
From: John Cowan <cowan@ccil.org>
Date: Thu, 29 Aug 2019 08:38:15 -0400
Message-ID: <CAD2gp_Qw2=J8vuimyVAta=cZEos9qmzLd-RsK3czkM5LvFSi7g@mail.gmail.com>
To: Ulysse Carion <ulysse@segment.com>
Cc: JSON WG <json@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000066501b059140c8cb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/vVXvXIjMTVjzA9Nw7UM91g-GYmU>
Subject: Re: [Json] JSL: Clarifying purpose, and renaming it to JDDF
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: Thu, 29 Aug 2019 12:38:45 -0000

Proposed schema types for JDDF purposes:

Fixed-length strings and bounded strings: both useful in contexts where
dynamic memory allocation is not allowed for performance, security, or
low-memory reasons.

Fixed-length and bounded arrays: same reasoning.

Tuples:  These are fixed-length JSON arrays where each element potentially
has its own type.  They can be translated into languages that don't have
them natively (as Python does) using a struct/class with synthetic field
names like element0, element1, ... or just _0, _1, ....


On Wed, Aug 28, 2019 at 3:57 PM Ulysse Carion <ulysse@segment.com> wrote:

> Hi folks,
>
> I want to continue to thank y'all for the attention to detail provided
> in past iterations of JSL. The new I-D is published here:
>
> https://tools.ietf.org/html/draft-ucarion-jddf-00
>
> The name of JSON Schema Language has been changed to JSON Data
> Definition Format ("JDDF"). This is to avoid confusion with "JSON
> Schema". The JSON Schema folks asked that I changed the name, and I
> don't mind doing so. Sorry for the confusion.
>
> The most important changes are to the introduction. I've clarified
> what JDDF's niche is (code generation), as well as my position on what
> seems to be ideal for a schema language optimized for code generation:
>
> https://tools.ietf.org/html/draft-ucarion-jddf-00#section-1
>
> I fear we may be at loggerheads on the question of {"type":"int53"}. I
> continue to prefer for its omission from the spec. James, Carsten --
> might we ultimately have to agree to disagree on this question? It
> seems easier to later on add int53 than to later remove it.
>
> Best,
> Ulysse
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>