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

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 29 August 2019 05:42 UTC

Return-Path: <anders.rundgren.net@gmail.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 A6437120271 for <json@ietfa.amsl.com>; Wed, 28 Aug 2019 22:42:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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=gmail.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 Yje9Jvlp6YUj for <json@ietfa.amsl.com>; Wed, 28 Aug 2019 22:42:19 -0700 (PDT)
Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 6F241120020 for <json@ietf.org>; Wed, 28 Aug 2019 22:42:19 -0700 (PDT)
Received: by mail-wm1-x330.google.com with SMTP id y135so1203927wmc.1 for <json@ietf.org>; Wed, 28 Aug 2019 22:42:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=m8WejJiOJKhqbOCjY57r7Q9iN135oV5Xg4k54xgFVvc=; b=lbLp9fhJNQQxh/BnpdGaFO5tX6SHUSj5CzVgFeJ2a75w/gKZBvJHnjd1LIFpSYnlfH hPkz6DA8bz7cSCMURCoccddWqkdFKqGboRntLvnjqCTJsrIoIEBLWp6eHZmQ4CxdCrqi vaWLAuqyraSf92JhC4CPpOEqcYsUVaMaMiDIhz1cej5oqvUfLnyvt0oPa+1Z8hg3VpJH i5IEeRt6jkGmoE1jx2rNcgU/rufhcnmja1hEx9Astg4yvGpwK0ZHXPnw3j9V7MiaOXYx KTTrGURfDlr+rE/gXg6uLMf/OtiMKKPmo1JPO/SbtrzczpnnbJ3LxxpV+P5vRdyK39wN nlaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=m8WejJiOJKhqbOCjY57r7Q9iN135oV5Xg4k54xgFVvc=; b=KHTeq2DMZ38LuAINOlr+VqjcL3jkiNsZnNb+oLW9QF7UqpBv3guU5YW76rZVH8AYTd Hk3AMHOgPWBLCMjP/rRka4+D1BuIcnohjdxP6OGz1QTSL3quHrddL1jWYPv6Pi8SQyH7 rmisiJPIytFvmfum3Lb2C4uXreAH03nNBkEQe5r/65xrtCi9XA94OJ3+rS7C3G1ZNZcs yKnBv1mdDCIHTOAqLfxIlFmeZe76Idr5TEiKuW0bIFMIQdg5uGMR0EpPkRlu4uJG4plx ZSdkoHcfNNlyjAEniZG4Va0mkTMnv5N0xSqLgmXMzkspqEtUfaFz1OiFPUfb5MF2HJKw feuA==
X-Gm-Message-State: APjAAAVimo7PogstOz+Takz6sVe4znUqhdr696lPs0shSJp19CQXGeu7 Ye58hf+eRZhFHsQfU9KW9JvZ6q/k
X-Google-Smtp-Source: APXvYqy4VSoTIzVNAR/PL2V75goEO+AbS+knACSI4gHgD7rnA//q+j9GuLJSkMl27YBw8B6BFInHQg==
X-Received: by 2002:a1c:a546:: with SMTP id o67mr2872838wme.55.1567057336793; Wed, 28 Aug 2019 22:42:16 -0700 (PDT)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id b144sm3776431wmb.3.2019.08.28.22.42.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 22:42:15 -0700 (PDT)
To: Ulysse Carion <ulysse@segment.com>, JSON WG <json@ietf.org>
References: <CAJK=1Rj6zW_MffKvsOiQh28KY5yDeoALGSYqve+vGj52s1Owag@mail.gmail.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <ae20ffbc-d1d6-f18e-76aa-f71b9415d728@gmail.com>
Date: Thu, 29 Aug 2019 07:42:11 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CAJK=1Rj6zW_MffKvsOiQh28KY5yDeoALGSYqve+vGj52s1Owag@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/qbEM0Z37AKFdI1DmWuB3WcJI-3E>
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 05:42:22 -0000

    "The principle of common patterns in JSON is why JDDF does not support
     64-bit integers, as these are usually transmitted over JSON in a non-
     interoperable (i.e., ignoring the recommendations in Section 2.2 of
     [RFC7493]) or mutually inconsistent (e.g., using hexadecimal versus
     base64) ways"

I understand the motivation but since the world outside of the JSON WG
have proved to be fairly capable dealing with these issues, I don't agree
with this design principle.

IMO this is rather simple problem; make format/representation a separate
item, unrelated to the number type itself. That some combinations may be
ridiculous or very unlikely to be found in the wild shouldn't be a
problem for a properly designed schema processor.

There could though be reasonable (whatever that is...) defaults.


I may have read the draft in too much haste but I didn't see any support
for binary data.  Yeah, supporting that would also put JDDF on a more
difficult path and my stock of silver bullets is essentially empty :-)

Anders

On 2019-08-28 21:57, Ulysse Carion 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
>