[Jmap] Blob draft question: type vs datatype

Bron Gondwana <brong@fastmailteam.com> Fri, 08 October 2021 12:56 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 719CD3A1711 for <jmap@ietfa.amsl.com>; Fri, 8 Oct 2021 05:56:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=yynqZpcR; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ee9RS6xF
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 Jbj-NZzaH1ia for <jmap@ietfa.amsl.com>; Fri, 8 Oct 2021 05:55:57 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 523CA3A170D for <jmap@ietf.org>; Fri, 8 Oct 2021 05:55:57 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B25C15C009E for <jmap@ietf.org>; Fri, 8 Oct 2021 08:55:56 -0400 (EDT)
Received: from imap43 ([10.202.2.93]) by compute6.internal (MEProxy); Fri, 08 Oct 2021 08:55:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:date:from:to:subject :content-type; s=fm3; bh=7Q+q5aBDhL+luZjIUd76fzzx/ngge6UuFznMF1j trqY=; b=yynqZpcRxYIWWLZlsTrQAKJhFuXqCsYp4c/CUg2V+VISvPraWLw4TD5 T0OYi2zXEtgrfjoL7UKe0zGYgmy0yQ/2/fNduMaoc9DVJlTyxKv/rzldyVSD9RAW 32syHcJ9483FWb5Gy73HfD8ibhbpn26wwlURsu0DzfQNJtk0CMlQsFIBC6stfnGa ynhH4kLiHa11ufD9UF7TSV54z+ZZS+s6YbnopvHrObBpYzevbHvBxodGDo64Wsm3 a+HHxhQ0FOKmjzlIbJy+aRDZIcr5YRrAnByG7yn3br9Ba9agW0Mrd8TFFbmfnk8c OwoazIaME8SuoJa6Gf1H01dp7hZX5LA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=7Q+q5aBDhL+luZjIUd76fzzx/ngge 6UuFznMF1jtrqY=; b=ee9RS6xFZbanr91L5Ung+qJazrZBLKDZOHIb7l6V/3KUe Q+Q/ukE9lhf1P6dWEtJxRcnz02LDO3qgw+KnqmEntWMsvfqBH8LACFH8YKH1xe61 kfDxJQOM8UUPa5h4SXODqA2wdyK4Jss8RlxAqP8+pq5lHZ7GQe9H/62p0FM/A37D zaDoKpbZW16ckKXkSx+88petjv+fmIbu+F6a6ckR6+S8oYm+dAUEkrnlmycBHPCa 9pvB/lzzZgQJZcqEly69BZTjO2P5Xf69Lquoyq6sEZ8Q019yHFJJDkRJTG5bwh1O mtU43q7JrNwj16BIl8gdZdY4J8d5WzdPr3BwU1+Mg==
X-ME-Sender: <xms:3D9gYUjLaaD1SPWlbgO8yOchFQHX-Om18s2LcQnbTUXtfriHyRlzAw> <xme:3D9gYdBZBHgGLi8qC6sVx9PZFxVZOMVBNveMpRXgqXZZkL4k_q0EWIVyxJXW86L5x KjwdLhl6Pg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddttddgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfuehrohhnucfiohhnugifrghnrgdfuceosghrohhnghesfhgr shhtmhgrihhlthgvrghmrdgtohhmqeenucggtffrrghtthgvrhhnpefgvdeglefhteeige dtudefuedvffdtfeduueelhedviefgudfggedvjedvledtjeenucffohhmrghinhepghhi thhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepsghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:3D9gYcF1qyWPcKIutnxRdNP4HW1WBgHbr00ruRJ7T9JQP-p4WMaj0A> <xmx:3D9gYVT1m0bHf8YGu65zMPaR_2Pq6bS0SywVBV0o3kA0kibKrWbhJA> <xmx:3D9gYRyxhGzG-SaXNSPAGRIqjBsTHNxZvaF9nLssUfnVmTgyw-0CZQ> <xmx:3D9gYQ9XnQhWQZKyqQaiZ_Z688FiVX7pSfjzuf8gpo18VYUS5ADKkQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 95A8FAC0380; Fri, 8 Oct 2021 08:55:56 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1345-g8441cd7852-fm-20211006.001-g8441cd78
Mime-Version: 1.0
Message-Id: <50b210f0-f3c7-41b5-a26d-e308eea91299@dogfood.fastmail.com>
Date: Fri, 08 Oct 2021 23:55:35 +1100
From: Bron Gondwana <brong@fastmailteam.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary="7545cac62e044dbd90444b8f8b86fa2e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/4gx4tK8wyLPlTkrVPDXHUrPgUSI>
Subject: [Jmap] Blob draft question: type vs datatype
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Oct 2021 12:56:03 -0000

https://github.com/brong/draft-gondwana-jmap-blob/issues/1

I've partially renamed things from 'datatype' to 'type', but the problem is that "type" is also used for mimetype, which could cause some confusion.

But also "types" is used in RFC8620 for PushSubscriptions.

....

Suggestions, what would people prefer?  I'm working with "datatype", "data type", "type", "typename" and "type name" as ways to describe it, and they all have pros and cons.

--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  brong@fastmailteam.com