Re: [Json] JSON Schema Language

Anders Rundgren <anders.rundgren.net@gmail.com> Sun, 05 May 2019 05:57 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 298261201A5 for <json@ietfa.amsl.com>; Sat, 4 May 2019 22:57:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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_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 c_ljJEAcEFFH for <json@ietfa.amsl.com>; Sat, 4 May 2019 22:57:55 -0700 (PDT)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 6064612019E for <json@ietf.org>; Sat, 4 May 2019 22:57:55 -0700 (PDT)
Received: by mail-wm1-x32c.google.com with SMTP id q15so11764823wmf.3 for <json@ietf.org>; Sat, 04 May 2019 22:57:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UxFuaKHtQ36hLZDgeN22L73prkAVdHoCKnCRFNeh7qk=; b=B9G7IaHVDUsqCx6FkQQOMkawXYCXuqfX60zBbCVJUSi11nFqUF0Bc4pnscXN5KEgnx m/VjU1kb2CjpDu3Toe0avZAE+nHhgdFO9l8Ouh9t3LlTmOkUKETDfd+WVpDyTQuKLd6u 2gFjkw9LfEy3cMWm1qtEXijUPgOapvZ1W4W90s2IlRnH0wUiGe8Fl7MsA6s5h0pA5Qh3 pDsYGyQr2nQdKaX2v0YCDvUlKXqJrY0oG60QgmTimYLXGPtwBAWDJIdCHYDu3NNSeBbd dXfMBaJnGHWd6HlLfPH4us2ML9xg1ki2K19uqCO1NadEv0nhc4gF0QCdyMbDJUrh/rQQ xTdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UxFuaKHtQ36hLZDgeN22L73prkAVdHoCKnCRFNeh7qk=; b=S4BFY/lBU0BVT6oKMmh/vOfS7pOUJMjheXGDy5mHmcu5GTAWCkm9hVhOJIBaQ7mpVh +k7o7Vz8IfZMCaZW9LTvfsOphL9MmBrcpeQw9lg7UOcNij2HGn3ydodHdKFrzsc7zsQE QxudxoAJeg7j+xDCOjH02nWNoDZy/oUpu/vN/MPRIxBXNVkw2yqLSDelItlZNhHvSFVq xlcd5rO1oMusFN7Ky1YHNKJ5emAp8fbTCMr2MIhZ56bT7siBpSs6tx5dEFyxEYGMorWr Hgt7gG6GUa/qLU/PqqT704n34/wwwXMYxmF3fg96I9/XOoYwsPVa/PdU/r6HxdolF3Sl 4nYQ==
X-Gm-Message-State: APjAAAWuo08UvqPcsVFIy4MuChh43NTdB6azULoD3vHDICBgx9K6W52c 18K8OFigxC69xsRkp+Wu/Bg=
X-Google-Smtp-Source: APXvYqyj9ihLLMbPXGqJi03jBfDCRv3Wlq211RilF7F4xXgVUEW3YKqWzB6QtaDHZWb2qRzF5h2KaQ==
X-Received: by 2002:a1c:7404:: with SMTP id p4mr12599517wmc.104.1557035873821; Sat, 04 May 2019 22:57:53 -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 f3sm9461831wmb.1.2019.05.04.22.57.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2019 22:57:52 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>, Austin Wright <aaa@bzfx.net>
Cc: json@ietf.org, Ulysse Carion <ulysse@segment.com>
References: <CAJK=1RjV1uv0eOdtFZ8cKn-FfCwCiGP5r2hOz1UamiM6YV4H1A@mail.gmail.com> <39682ec8-f993-a44c-d3e2-1638d2c1608f@gmail.com> <29CAE1CE-D6CB-4796-B2F2-2095BE921385@tzi.org> <AD5ABD9C-F5F2-477D-B862-529C890D5472@bzfx.net> <DA1767B8-22D6-4EA9-8112-4B36B79E9039@tzi.org> <D21B379B-23CC-48B3-BE10-D2777308E2E0@bzfx.net> <D8551AB2-48D4-4B64-85F4-058CCAD3432A@tzi.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <fe33a25f-d594-08b8-514f-0990d926d321@gmail.com>
Date: Sun, 05 May 2019 07:57:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <D8551AB2-48D4-4B64-85F4-058CCAD3432A@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/DwKOMma-1ssC-vknVqgcff_JKOc>
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: Sun, 05 May 2019 05:57:57 -0000

On 2019-05-05 07:56, Carsten Bormann wrote:
> On May 5, 2019, at 04:51, Austin Wright <aaa@bzfx.net> wrote:
>>
>>> On that web page, it also says “For consistency, integer JSON numbers SHOULD NOT be encoded with a fractional part.”
>>>
>>> What does that mean?
>>
>> It’s a non-normative suggestion
> 
> RFC 2119:
> 
> 4. SHOULD NOT   This phrase, or the phrase "NOT RECOMMENDED" mean that
>     there may exist valid reasons in particular circumstances when the
>     particular behavior is acceptable or even useful, but the full
>     implications should be understood and the case carefully weighed
>     before implementing any behavior described with this label.
> 
> Very much normative.  This is an RFC 2119 interoperability keyword because it creates an expectation in peers that they can mostly rely on this behavior, except for exceptional circumstances (which, by the way, should be spelled out with the SHOULD NOT).
> 
> I’m asking because we have a lot of experience with specifications that purport to use a base standard but instead attempt to create their own fork of that base standard by making mandates that meddle with the functioning of that base standard.  Not good.

+100

> 
> Grüße, Carsten
>