Re: [dispatch] JSCalendar: Updated to draft version 01

"Robert Stepanek" <rsto@fastmailteam.com> Tue, 18 June 2019 14:09 UTC

Return-Path: <rsto@fastmailteam.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0E6D120059 for <dispatch@ietfa.amsl.com>; Tue, 18 Jun 2019 07:09:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.689
X-Spam-Level:
X-Spam-Status: No, score=-2.689 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_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, 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=ixPpswyo; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=oK/bT1ku
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 gKs_HIH00OwD for <dispatch@ietfa.amsl.com>; Tue, 18 Jun 2019 07:09:31 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F66A120046 for <dispatch@ietf.org>; Tue, 18 Jun 2019 07:09:31 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 21A842249A for <dispatch@ietf.org>; Tue, 18 Jun 2019 10:09:30 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute1.internal (MEProxy); Tue, 18 Jun 2019 10:09:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm2; bh=flMoWLu NnItWy90TiEQRPIlCYQrGesbxer7zHSNHUjw=; b=ixPpswyo9nNrqmXW442pHfw o053prJwA0dI9YBaZcMEnYhLdFeIQlJ/wUQ8AgV8UsEdGYP2a5RQ6NZf0RJp4vEc h3vUP+z1vdQUFkGzliSxLzYOy1DOneNgiDj5pgjCEeTHvza0YkY9hJA6gzRc0A5M tphSTjq4krEY4UI0mvRORWc2Xyrm7kXqbXo/fTlGAcZY2Fn0l+L2x0WKQRggVkRV +xbEwz5y8C32h+EiCoY/yShbK6n8MJSSSJjiV9nDhDhyamNLwnCS6nMRe9LKKlX3 VphIap+5bGAn1rUg6TysqaNr/PwHUaqupElqnRqjVNIplTc3/WjUxcEQuVBv4Rg= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=flMoWL uNnItWy90TiEQRPIlCYQrGesbxer7zHSNHUjw=; b=oK/bT1kuW2CuBIyqqTIFns qioG0RSrnVWFk1KamlZgj9YzKTr67O/EwB+qHsal3Ow8TBxkze26nXNKRNCfO22v Wg9u/8NrdGelQyvBLH5aU8BCsUzI0r0QzoTnm0RsHX43pvOv5pmnq+V8yu5ZNBaU 1z+UoKdBVg0dAKeHrLftJhelFdZoWraN29G3VsD16hHXPA/G7zFZOUjJJ6lFMGLP vFUohtUtrGqrNLXVkRXON2YwWaiuWZ3CjehkTnEAAMxcWnn5BE32snuyWzOjpGLT v6rvYudbyXNFZBW3JX0ap2otbBQ5QD9rDG4ii7456IPce1ZV1IcSpmx8am0e47wQ ==
X-ME-Sender: <xms:mfAIXXZakHNI6tB-uSwMORnt5waREyhodVdkTMuFeBPNdP4gXGXRuA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtddtgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreerjeenucfhrhhomhepfdftohgsvghrthcuufhtvghprghnvghkfdcuoehrshhtohes fhgrshhtmhgrihhlthgvrghmrdgtohhmqeenucffohhmrghinhepihgvthhfrdhorhhgne curfgrrhgrmhepmhgrihhlfhhrohhmpehrshhtohesfhgrshhtmhgrihhlthgvrghmrdgt ohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:mfAIXWhojAz89DVq7fvM_NaiWkZLHgCQHHwWh-MC293CQUPIeAOklw> <xmx:mfAIXXxCTOjCSo-GY3S7Ywzw58gsA08XCJA1ud5a-jKUuN-CbZPvOg> <xmx:mfAIXR72eNLkEIwEdg-avCq6fDKbF-o-hW1M_yXbyFZBxuBNTctBbA> <xmx:mvAIXULJVu6VIydJTpjWDY8s0Y3mdemnQ_WRrhARLNTlx8Jb4scAdw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9A8FA180784; Tue, 18 Jun 2019 10:09:29 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-666-gb2312fa-fmstable-20190614v4
Mime-Version: 1.0
Message-Id: <6ed41ace-0198-4e7a-8258-ca8ab06b020e@www.fastmail.com>
In-Reply-To: <8af1f5e8-3799-7358-cc78-06c4afaaa7db@dmfs.org>
References: <96bef250-7821-4a85-85f5-f9df8128e96a@www.fastmail.com> <8af1f5e8-3799-7358-cc78-06c4afaaa7db@dmfs.org>
Date: Tue, 18 Jun 2019 16:09:29 +0200
From: Robert Stepanek <rsto@fastmailteam.com>
To: dispatch@ietf.org
Content-Type: multipart/alternative; boundary="d6215d3b2b554addbec340bfeebf3fb7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/GHhcXG5vAEY6ffhebKx1DxIZRy8>
Subject: Re: [dispatch] JSCalendar: Updated to draft version 01
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jun 2019 14:09:34 -0000

Hi Marten,

thanks for your input.

On Tue, Jun 18, 2019, at 12:25 AM, Marten Gajda wrote:
> here are a few more ideas for consideration:

> * instead of making name components top level elements introduce an object called "structuredName" { firstName, lastName, middleName, prefix, suffix ...}. 


 The reason I kept it top-level is because I deemed names as "too important" for a nested property, and N properties can occur at most once in VCARD4 (RFC6474). But checking VCARD3 (RFC 2426), I see no restriction on cardinality. Any insight if N is safe to assume to occur only once? An array of StructuredName that consists of string array properties would seem to be unnecessarily complex for the majority of uses. What would you gain in your use cases from a StructuredName type?

Mario Loffredo also pointed out to me that FN can occur more than once in VCARD, so fullName might also need to become an array.

> * ContactInformation -> use URIs instead of plain strings? e.g. vCard 4 prefers "tel:" URIs. Not sure if that's a good idea though. They are machine readable, but not necessarily user friendly.


I'd rather keep plain strings, and restrict them to URIs for certain ContactInformation "type" and "label" combinations.

> * Add additional kind "Resource" (i.e. projector, car …). Few years back, we had a TC Resource, not sure whether the results have been published somewhere though


Mario also pointed me to the "application" and "device" kinds (RFC 6473, RFC 6869).

> * Support other kinds of events (i.e. see https://tools.ietf.org/html/rfc6474, also specifies additional location types: place of birth, place of death)


There's also death date for it. Which brings up another topic: VCARD BDAY and DEATHDAY allow all of the following values:

 BDAY:19960415
 BDAY:--0415
 BDAY;19531015T231000Z
 BDAY;VALUE=text:circa 1800

in JSCalendar we require them to be formatted as "YYYY-MM-DD" where any part may be 0s for unknowns. We could at least allow "YYYY-MM-DD" and "YYYY-MM-DDTHH:MM:SSZ" where any date part can be 0 for unknowns, and the time part omitted, if unknown.

> * Relationships (manager of, spouse of, etc), ideally linked via UID, I guess


Yes, we could use a structured similar to the JSCalendar "relatedTo" property (https://tools.ietf.org/html/draft-ietf-calext-jscalendar-14#section-4.1.3)

Cheers,
Robert