[Jmap] JSContact: gender property

Robert Stepanek <rsto@fastmailteam.com> Thu, 23 December 2021 13:38 UTC

Return-Path: <rsto@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 19DC23A0964; Thu, 23 Dec 2021 05:38:15 -0800 (PST)
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=upPch1Kg; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WfUzKl9B
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 PqxbVUNyXxNq; Thu, 23 Dec 2021 05:38:10 -0800 (PST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18E073A095D; Thu, 23 Dec 2021 05:38:09 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A7BDA5C0159; Thu, 23 Dec 2021 08:38:08 -0500 (EST)
Received: from imap43 ([10.202.2.93]) by compute6.internal (MEProxy); Thu, 23 Dec 2021 08:38:08 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:date:from:to:cc :subject:content-type; s=fm1; bh=SRhmK1ZTALxlImmO0jO1yY55/6Aw7MA zsdPwYVyZ1xs=; b=upPch1KgoZCOC2fgihfnYOQqJsU7b7Pj/9emsUaUW8wmB1o 0yaBgtaz2l46SapVOpPKzzAHydGHvSWLNQ7JBuYZmn43tMS2QeBAuQ3LZmkKWbKW l471b4n8m5SoirBqYIINz7ovOlstdqDHEPRQhWKQ6WT8Ayr4cWbcbEUjq0hpR/rI NjB5wTT/7Qk4uJH45aioVuazmIC2qGLEW4LzqsnFY9ES5ZzMAS0O/PIej3xvjslA p8vg9saRKdkh+lDc7zeUhvcq0sbzvCDyMi6yF/DWrFsbwtqwVHAT2Bvv+bidAKrN rKNJllphSj6LDe5eDdRGsicUKSFCjamkp6lySFA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=SRhmK1ZTALxlImmO0jO1yY55/6Aw7 MAzsdPwYVyZ1xs=; b=WfUzKl9Bnk8HB1fUnMP7TIuVIiqIFaJSPaxzH61Tg8CfT 59EWzhuyYJJQvbO/u3C8QycoD9UqDqmWf3cmLiWO5fyABRZixo34MCQZ/yuu6CXI FPXVlD/zuRtnVog+wRbtIxfAiuprdKIQ1pPGo2gJH+5/o4DPmjIx+YsqRITfZeUq NsSEevDnZ8B1qw3t0wBtw8rOuJyCoMih+ZWNN4Il1bVtB654iKatoF13AudnBZyj OFE4S+ybtmN2K/xuT97KF868ZHoUg6ltlF0KSUcupoNIsTVH1QbK/F3BuS+aZJLi fywOGQHKlC5Y/4eVswirW4zUWG/V1wOboxduUpYSw==
X-ME-Sender: <xms:wHvEYcvSqpS4S8jMQacv3p5XkpTyn8MWtrSuOYQVUdw4GBemaBAQtw> <xme:wHvEYZc-OGv3pXVG0Gomb-Iz6RlM2xe6WSnqn40hwqvA-WK-fiSYhiAHnSbOaSp8W sDGo8nm-_nmHQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddtkedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedftfhosggvrhhtucfuthgvphgrnhgvkhdfuceorhhsthhosehf rghsthhmrghilhhtvggrmhdrtghomheqnecuggftrfgrthhtvghrnhepffevgefhiefgvd dttdetvdetjefggeffveettdegleetueeghfevleehleeggfelnecuffhomhgrihhnpehi vghtfhdrohhrghdpfihikhhiphgvughirgdrohhrghdpthhhvghlrghntggvthdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrshht ohesfhgrshhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:wHvEYXyowstyrjrauvCAhPTfNZunLYE7rWh06em1A5DH_YFpe03qtw> <xmx:wHvEYfOQdMQBUhfg3nOH6MbYJYabMEaVXjI5vQdPitqgrawg0-vdkA> <xmx:wHvEYc_NI_ap22VIi5jEScdIICURyH2w_LiRPVdSrQ1UAuiXXeSPnA> <xmx:wHvEYVINtwW_7KyLqLbvY-afO9i0vNXIZCLvkeZOnnrK6BvmEPzbjg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7056CAC03DB; Thu, 23 Dec 2021 08:38:08 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b
Mime-Version: 1.0
Message-Id: <d78004af-bd2e-4d26-a5fc-174d2e5da0e3@www.fastmail.com>
Date: Thu, 23 Dec 2021 14:37:46 +0100
From: Robert Stepanek <rsto@fastmailteam.com>
To: jmap@ietf.org
Cc: calsify@ietf.org
Content-Type: multipart/alternative; boundary="57940cacf5d34d45897250108bf030d8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/YzXaBSO55yWfATzmeTb1bcPydtE>
Subject: [Jmap] JSContact: gender property
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: Thu, 23 Dec 2021 13:38:15 -0000

One open question for JSContact was if and how to store gender-specific information for a contact. In the next RFC version, we intend to address this by introduction of the "grammaticalGender" property. We look forward to your feedback.
 * The "grammaticalGender" property defines which grammatical gender to use to address or refer to the contact that is represented by the JSContact object.
 * For example, several human languages require a grammatical gender for salutations. In German the salutations "Sehr geehrte" and "Sehr geehrter" are used for single-person female and male  addreeses, respectively. The "grammaticalGender" property defines which gender to use in this case. Its value can be overridden per language in the "localizations" property.
 * The allowed values are (in alphabetical order): "animate", "female", "inanimate", "male", "neuter". Other grammatical genders need to be registered.

A related property in VCARD is the GENDER <https://datatracker.ietf.org/doc/html/rfc6350#section-6.2.7> property, which aims to store both the biological sex and the gender identity of a contact. However, GENDER does not adequately address the purpose of the "grammaticalGender" property:
 * human sex and grammatical gender of a contact may differ, so the biological sex component of GENDER is no indicator how to grammatically address this contact.
 * the gender identity of GENDER is a free-text value, which introduces ambiguity which grammatical gender to use. The examples for GENDER strengthen this assumption.

This leaves the question if we need to introduce an additional property to map GENDER to JSContact. We do not think so:
 * It seems that the majority of applications used the biological sex component of GENDER to store the grammatical gender of a contact. This now is provided by the "grammaticalGender" property and mapping from VCARD to JSContact should be straight-forward.
 * For applications that actually require to store biological sex, the current definition of the GENDER sex component seems inadequate. While it allows for a superset of ISO/IEC 521 <https://en.wikipedia.org/wiki/ISO/IEC_5218>8, it  does not support for "intersex" (Note how the examples for GENDER suggest to store "intersex" as gender identity, which does not allow intersex persons to define a preferred gender identity). In addition, even biological sex seems to be ambiguous <https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(19)32764-3/fulltext>.
 * We do not know if a free-text gender identity is useful for applications. Gender studies suggest that gender identities may differ by context and that there as many genders likely to exist as human beings. This suggests that more complex value types might be required. Most likely, processing of gender is application-specific and we are no experts to provide a standard that fits all requirements.

Cheers,
Robert

P.S.: Cross-posting this both to JMAP and CALEXT as both working groups have expertise on address book and contact applications.