Re: [Json] JSON Schema Language is nearly done: int53

"Manger, James" <James.H.Manger@team.telstra.com> Mon, 29 July 2019 01:02 UTC

Return-Path: <James.H.Manger@team.telstra.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 B9711120075 for <json@ietfa.amsl.com>; Sun, 28 Jul 2019 18:02:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=team.telstra.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 X4cw3YjmZrgw for <json@ietfa.amsl.com>; Sun, 28 Jul 2019 18:02:44 -0700 (PDT)
Received: from ipxcvo.tcif.telstra.com.au (ipxcvo.tcif.telstra.com.au [203.35.135.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69E7412003E for <json@ietf.org>; Sun, 28 Jul 2019 18:02:41 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.64,320,1559484000"; d="scan'208,217";a="206518727"
X-Amp-Result: SKIPPED(no attachment in message)
Received: from unknown (HELO ipcavi.tcif.telstra.com.au) ([10.97.217.200]) by ipocvi.tcif.telstra.com.au with ESMTP; 29 Jul 2019 11:02:38 +1000
Received: from wsmsg3751.srv.dir.telstra.com ([172.49.40.172]) by ipcavi.tcif.telstra.com.au with ESMTP; 29 Jul 2019 11:02:38 +1000
Received: from wsapp6784.srv.dir.telstra.com (10.75.3.133) by wsmsg3751.srv.dir.telstra.com (172.49.40.172) with Microsoft SMTP Server (TLS) id 8.3.485.1; Mon, 29 Jul 2019 11:02:38 +1000
Received: from wsapp5585.srv.dir.telstra.com (10.75.3.67) by wsapp6784.srv.dir.telstra.com (10.75.3.133) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Jul 2019 11:02:37 +1000
Received: from AUS01-ME1-obe.outbound.protection.outlook.com (10.172.101.125) by wsapp5585.srv.dir.telstra.com (10.75.3.67) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 29 Jul 2019 11:02:37 +1000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RO8wNaeOwfP0c28dVCP0R2OH90p28o64orJP3OhbztOwwcbTI9duc9k1LdIYCytr/NboapGDxuKXhmgxMzrBaKmrlzmuST1ZGaX1FNIl+HEbLz4I5b1JF7oWJ0xcgl6a6aEhI9NmbYOVQ81nnYPxu43ZmHcFcu4w8OkH9UAOicvic6knR/EKTXjQ6dO+ulp3fk7KjluGaw6/B2BfGksq0fKWDgd4k9ImHNNAwsyYpTaQ0yFIpWM2zwz3/wNej9ay7dHNBVCHK9sogXnUC2y9DlvRgjCzvhBr1tP05ECXcI2fLfEidi0/qYSuZNBIVyq5bERjdnaZIgTAsZqRoyXNBw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TgDBbHgnN9ZlWddmMYWSwwpZkjIltLyd57p9b8kGpK0=; b=kx4lbt4VmMa3UYdxCkwPfGTAbOT5rZIHapAM2ov28roLjVa+FYIrJtlVDiawv0RzWHvjFjOEYFaK3zZOyW1WVzoOZCdGebTAtAyY9XJc5x/1o76IrJOJoK1aOUxWrpamIf1/D8CWYLESLT9oZsqdvZSGybdoGVqEEmnsr1qRDlFJTMjlsBu+lW+47nIYJPgt+8pTe7d6VvVpa/4HjfuuvNXeDqGDVqPiYOy1rQBiv3TyJu/M7KUfryA4e93mFjs0Bbk/UKVn1BBmOwlGt6DzBZdR8x4wNpoJQjHDQ3IqhU3VKtxpq6wnzOR8unwPqpC7ENqB8QbEt7VvZsNbBN1yQA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=team.telstra.com;dmarc=pass action=none header.from=team.telstra.com;dkim=pass header.d=team.telstra.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=team.telstra.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TgDBbHgnN9ZlWddmMYWSwwpZkjIltLyd57p9b8kGpK0=; b=goh42zFEsM8qk/5Bz6Oo8eWbkSpwN061bpVwxx23jf1ZGwPVPpdUSSMa/dTxUfl5zpSZJaTTAbUECavLHOHU4IkOl0MfJisJj7AiXPvPlbWa+aejoTQXNIaO0dC8xA0zJjS1+LGFjvsqyBDTi8OcPbEdZBqo7QGfDC79iEKiiAw=
Received: from SY2PR01MB2764.ausprd01.prod.outlook.com (52.134.190.138) by SY2PR01MB2988.ausprd01.prod.outlook.com (52.134.187.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.13; Mon, 29 Jul 2019 01:02:36 +0000
Received: from SY2PR01MB2764.ausprd01.prod.outlook.com ([fe80::a080:9084:3e2f:68ab]) by SY2PR01MB2764.ausprd01.prod.outlook.com ([fe80::a080:9084:3e2f:68ab%4]) with mapi id 15.20.2115.005; Mon, 29 Jul 2019 01:02:36 +0000
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: Ulysse Carion <ulysse@segment.com>
CC: JSON WG <json@ietf.org>
Thread-Topic: [Json] JSON Schema Language is nearly done: int53
Thread-Index: AdVFqS7zAUo6y82iShaTcwTHe50WbA==
Date: Mon, 29 Jul 2019 01:02:36 +0000
Message-ID: <SY2PR01MB27642C6983E387C397B11581E5DD0@SY2PR01MB2764.ausprd01.prod.outlook.com>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
authentication-results: spf=none (sender IP is ) smtp.mailfrom=James.H.Manger@team.telstra.com;
x-originating-ip: [203.41.142.253]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 08ec79ae-5a19-40bd-2d0e-08d713c07218
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:SY2PR01MB2988;
x-ms-traffictypediagnostic: SY2PR01MB2988:
x-microsoft-antispam-prvs: <SY2PR01MB2988642B49C4B24B9C323C6EE5DD0@SY2PR01MB2988.ausprd01.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 01136D2D90
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(39860400002)(396003)(136003)(366004)(376002)(346002)(199004)(189003)(6116002)(790700001)(478600001)(229853002)(4744005)(52536014)(3846002)(7696005)(6436002)(99286004)(33656002)(4326008)(5660300002)(14454004)(53936002)(6246003)(6916009)(9686003)(55016002)(6306002)(54896002)(25786009)(6506007)(66446008)(66946007)(66476007)(66556008)(64756008)(76116006)(102836004)(81166006)(81156014)(8676002)(186003)(486006)(66066001)(316002)(26005)(8936002)(2906002)(86362001)(476003)(68736007)(74316002)(256004)(7736002)(71200400001)(71190400001); DIR:OUT; SFP:1102; SCL:1; SRVR:SY2PR01MB2988; H:SY2PR01MB2764.ausprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: team.telstra.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: TRmTsIbde0pJ1KCPJ4XH8O8AZd4VfOXaopW9ukta/1REjTUGg80XKKbD4drfE3tOFo8Ionz/nODkCpfSoTWfY+1iWBLN2lgwTHrG6ZK/GwkzQXNbaC/1U1qgbWGgB0rULNQmPtyoiMv8/lm4+WQO2bB78p3mvSwER2EAOaDsyDA+jQYi0Bw217dgx2qL8YzvDC1FYv6vU/SkbZeKSC77gtU5uivL9zKBve5Q6eGag2VsjScIL0S6mFngKaJILZwInnbZCJIrrDKPI1wpl8eG5l8o467HlM/S8oLzWvZwdSOrXXrn5ZmvM4MUa61msmxqUTouPEeO2CmiE3U4r1w5Lc+OSu/NbD8GHTp3r+ZlkAXY2411A2f6KlSnoGVsEFJhXcs/JCwGnyI2zDfIkXAYJdM+SlOK4g04MNCZMCoi7rM=
Content-Type: multipart/alternative; boundary="_000_SY2PR01MB27642C6983E387C397B11581E5DD0SY2PR01MB2764ausp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 08ec79ae-5a19-40bd-2d0e-08d713c07218
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2019 01:02:36.4480 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 49dfc6a3-5fb7-49f4-adea-c54e725bb854
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: James.H.Manger@team.telstra.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY2PR01MB2988
X-OriginatorOrg: team.telstra.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/vWqAPbh4PxZLvTnr674GzOrgaPg>
Subject: Re: [Json] JSON Schema Language is nearly done: int53
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: Mon, 29 Jul 2019 01:02:47 -0000

> Given that introducing int64 as a JSON number type would be a footgun for many sorts of applications, I agree it should be changed.
>
> How would you feel about simply removing int64/uint64, but otherwise keeping everything else as-is? I don't know if adding "native" support for string-represented bigints is a great idea, as there are so many different options. Smaller specs are the ones most frequently implemented correctly and securely.

Just removing int64/uint64 is ok. I’d prefer to have int53. It covers all integer cases that work sensibly. Other options (int8, unit32, etc) are merely nice-to-have hints that could be omitted for a smaller spec.

--
James Manger