Re: [calsify] jscontact - Inquiries about the "label" and "contexts" properties

Robert Stepanek <rsto@fastmailteam.com> Mon, 22 January 2024 17:31 UTC

Return-Path: <rsto@fastmailteam.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24962C151066 for <calsify@ietfa.amsl.com>; Mon, 22 Jan 2024 09:31:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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="oIpGNpkw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="axJ+9wIo"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id boUvPAHurK5P for <calsify@ietfa.amsl.com>; Mon, 22 Jan 2024 09:31:48 -0800 (PST)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E0F7C151069 for <calsify@ietf.org>; Mon, 22 Jan 2024 09:31:48 -0800 (PST)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 93A373200312 for <calsify@ietf.org>; Mon, 22 Jan 2024 12:31:45 -0500 (EST)
Received: from imap43 ([10.202.2.93]) by compute5.internal (MEProxy); Mon, 22 Jan 2024 12:31:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1705944705; x= 1706031105; bh=xSNmRO6MrH5VBuNHFDbHdA58oPeZa1npM618pz/BDx8=; b=o IpGNpkw8c4csbTgeBl2pzXS586i4M0HusXcyP+c7dms0/1xRwKLmwirzYK6yAFOP y9nMgXjgcnTpYB7Adb6D6d/u6YtwX9r726MBGwvMc72B43HVxLQUP5cWzxxwpR/Z G5JSe/yLIBCourVZ1W5SXG5O7qYP7AqncuTKwMJYG+h7NEe6PdRAcGJSE0TLIYXz bN6afSwZqGo2ymKbYu7OIFZbPinkKAZsMAsOVlq3dqVcrPoD89UIRjZ7/9NDAB1c CLQfml4PFWezUbpsdQn6P3tbFSau4Wn8YFbkOoxwHiRIC/9HSdtSsPEnXOJp0a0H owqntHWOpiaTDhOuv781A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1705944705; x=1706031105; bh=xSNmRO6MrH5VBuNHFDbHdA58oPeZ a1npM618pz/BDx8=; b=axJ+9wIo3lHoUnlStwTEbzZq3S3/5fPyoOGWulsmWwPa CYd/5oLCVs11yLEo4qmm2P5YtGat1E6lxv08bN6KkCS085U980B12iI4FX17bf2d dsABlYo9EMex3v9vzvf6TkIPFyho8O8CzcIW5H0ZnIFUi6ET0j63uR89O4knvu/d qL+62As3d8ByzzT5s652iieKG0E8TLCmzCawEfWadB3mxJ0vRD33I9ym8iZq54GD SQ1Qd8+A+L5L2FPzlfCXMXFHUEV9Sh7/sLsUKVKG1JrTqvKrlDJOWpKkRqFwPc+R CmISUucSVbDaeXqq+g7Xh20Fb6pMhn5Vl4WsJ9zl4A==
X-ME-Sender: <xms:gKauZZ9pC0P2uzgaF8FD5Na53kp4q7s6bMfWVCU5RhI5zApvQRySKQ> <xme:gKauZdvuSlUQNR1SCK5THOcz6vVPgkEHDyqXOV1ektEDozARlUbWM1r8R1g3YZjMi 0EQZfi3mhaS7w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekiedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrg dtreerreertdenucfhrhhomhepfdftohgsvghrthcuufhtvghprghnvghkfdcuoehrshht ohesfhgrshhtmhgrihhlthgvrghmrdgtohhmqeenucggtffrrghtthgvrhhnpefhudektd ekgffhtedugfehieehveeuffejkeffhfdtjeegffelgedthfekleeuleenucffohhmrghi nhepihgrnhgrrdhorhhgpdhivghtfhdrohhrghdpfiefrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhhsthhosehfrghsthhmrghi lhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:gKauZXDNxLagrk-fKJXRaXpvq9xYAxat5dGFpdjVU_EQv1BTEXTWwA> <xmx:gKauZdeEgWrmSW1zcjhZCy3JUDWT2xXGg2h-mQKtsaThahfb-7mHTA> <xmx:gKauZeN99tqIcPewopKlj6Hsfo_zYj0-Y95eFlMaPvYmU6KOBv4vqQ> <xmx:gaauZUbJXUwwwGuKTNZnggUx00lLGrSije-2xGKXX8InAydFskjusw>
Feedback-ID: ia5d944da:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id D71F52D4008E; Mon, 22 Jan 2024 12:31:44 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-132-g1613819e2a-fm-20240115.001-g1613819e
MIME-Version: 1.0
Message-Id: <555b4ec4-7513-46b2-99c4-c27ee294bb74@app.fastmail.com>
In-Reply-To: <DSj0gtUNr0ZqIYLhu0Fhv-LtZX8eN7b5kexmybzn7SlMU_E0TV7L1_IxJYNB3QPctQXx6UAIkm7ORnbjYvhdSj9gbUasPHnEZxc9Oz8m0TI=@proton.me>
References: <DSj0gtUNr0ZqIYLhu0Fhv-LtZX8eN7b5kexmybzn7SlMU_E0TV7L1_IxJYNB3QPctQXx6UAIkm7ORnbjYvhdSj9gbUasPHnEZxc9Oz8m0TI=@proton.me>
Date: Mon, 22 Jan 2024 18:30:18 +0100
From: Robert Stepanek <rsto@fastmailteam.com>
To: calsify@ietf.org
Content-Type: multipart/alternative; boundary="f92d219875114c228c113ac7f68034a9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/Sw-Lko9C0Fk41q91qXmK32O2udo>
Subject: Re: [calsify] jscontact - Inquiries about the "label" and "contexts" properties
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Calendaring and Scheduling Standards Simplification <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jan 2024 17:31:53 -0000

Hi,

thank you for your input.

On Fri, Jan 19, 2024, at 9:00 AM, skedastically wrote:
> Therefore, I would think it is more beneficial to combine them into one, with enumerated values of "work" and "private" being "special" values. This is similar to how the TYPE property parameter was implemented in VCard. Furthermore, I would think it would be better to name them as "tags" instead of contexts or label(s).

This is not how I understand the definition of the TYPE property. Section 5.6 of RFC 6350 states: "[...] Most of the time, its value is a comma-separated subset of a predefined enumeration".

The "most of the time" sentence part is ambiguous (does it refer to "comma-separated" or "predefined enumeration"?). But all properties making use of TYPE in RFC 6350 then enumerate all possible values. The complete list of allowed values per property is defined here: https://www.iana.org/assignments/vcard-elements/vcard-elements.xhtml#parameter-values

> - Is "contexts" intended to be used as a keyword system similar to the above idea?

The "contexts" property is meant to only contain predefined, enumerated values. New values can be registered following the procedures outlined in the "Registry Policy and Change Procedures" section of draft-ietf-calext-jscontact-16 <https://www.ietf.org/archive/id/draft-ietf-calext-jscontact-16.html#name-registry-policy-and-change->, once this RFC is published.

> If so, what is the extra use of a single "label", given that tags are already assigned? Furthermore, would it be better to rename the parameter to "tags" or a similarly generic term instead?

The "label" property is meant to contain a user-defined free-text value. It is the result of the non-standard X-ABLabel property repeatedly showing up in vCard data generated by a couple of implementations, notably Apple's, and goes back to at least 2002 (see https://www.w3.org/2002/12/cal/vcard-notes.html). I don't want to change it to a multi-valued property value in JSContact as the semantics would then differ from vCard.

Instead, I would suggest you to start registering a new "keywords" property once JSContact is published. That would include defining how it converts with vCard. It would only require a minor version bump (say, "1.0" to "1.1") and might not even require a RFC draft to be written.

Does that sound good to you?

Thanks,
Robert