Re: [calsify] Working Group Last call for jscontact drafts

Daniel Migault <mglt.ietf@gmail.com> Tue, 10 January 2023 14:00 UTC

Return-Path: <mglt.ietf@gmail.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 71645C1CA533 for <calsify@ietfa.amsl.com>; Tue, 10 Jan 2023 06:00:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 iURnvazgFsJ1 for <calsify@ietfa.amsl.com>; Tue, 10 Jan 2023 06:00:34 -0800 (PST)
Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 D9A95C1BE88F for <calsify@ietf.org>; Tue, 10 Jan 2023 06:00:34 -0800 (PST)
Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-14fb7fdb977so12160276fac.12 for <calsify@ietf.org>; Tue, 10 Jan 2023 06:00:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=br5TkXP6UTebTO9Bj0I/OQAv/5+464cFv+GGe/vOmlM=; b=IftQI1rrhI9VHgskWE2+U44khWfj3mf1ycb9PL7Nf1j8omi3TB6Q0F6dZMOotOEJnA VyV32kQFIr85mtgG6WY76AuqZplSkPnc94ewRSGgvWrfyGSAq/zjaStQ+G4WYwZpKCv7 ofsmEmvOmqtm/s9XAJtOYKCSW7ibYdUgGtd3HiItKYNHsoPwORv3TBetv4tYbkldDFk6 yoREfSogL5uTZffqrVKCgDgHElFVTHO21jVnqQ2WyyBLVBpSt+P/wg+bqgN21anbzCxF gOibpC7IPPzJsmcZFqagwRzcD4zN2M543xe8GuYKybY4HeM1lXsa5zrAA4aCsATuRzjU v8ww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=br5TkXP6UTebTO9Bj0I/OQAv/5+464cFv+GGe/vOmlM=; b=qEGqHGjudWMLuqxvobv3H51X9QG627LH77odWwJiPUeg0oyijrJFLbR/7pSt+ttbTR qlrh0JPny5CBEu8E9k7yzr6L/BL6GivEhyEjp3k45zGl5O98+k/idNOh6tyAD4nuidDP L9MaYhmJ3tFw2aRbXlf9Kjex+r03L9FGQsnVsjzs2yvzAlh3tEycnCMJL1FcS9vqBFLL nlWX3974Hxruyy/727fB4OmRik9SDqYP1UQihAFgRMPOsU9Y/xkti/2XTIQ1+pzJVvdk tcEeIMQQrPb2mzL6Z/Dpz2OCx/HrM17dc6HJVe3/sP3Ux4Nnb+SCuFaQsDgWQWang93J tODQ==
X-Gm-Message-State: AFqh2krfNCXi5pxgRGwhZGWdGYEnzeOPLu5G4jkdM/7Yr/pUbNEDaeVn 85g2wOX86TPI2s5nW5UtrQX3pJnylHCXaNAARjY5w7GO/vw=
X-Google-Smtp-Source: AMrXdXuXQiRQ6EsN3UQnhAlPjd/ynBWo/KTrzg9ndZhbmIvDRp/VLG3xIxIUGPcyUvtTx4clgzf81mg+uoK7MWrQ7pg=
X-Received: by 2002:a05:6871:291:b0:15b:b7df:a970 with SMTP id i17-20020a056871029100b0015bb7dfa970mr45595oae.115.1673359233322; Tue, 10 Jan 2023 06:00:33 -0800 (PST)
MIME-Version: 1.0
References: <CADZyTkn_08H3zaG6PHwYOrN3sJZP_+_HUEF2ynWhsVBtg1bM4g@mail.gmail.com> <23d97a2d-0927-a046-83cf-bf2a3f300d4a@audriga.com> <77ba2bd4-98c4-421d-a237-848a048cf50b@app.fastmail.com> <36c0a914-25a9-4c06-97bd-a17e0251514b@app.fastmail.com> <CADZyTknzYwn9XLY-CKerK99W0m1Chna6L2ynd5JGWRE1EqfASA@mail.gmail.com> <c6532221-e93d-41b5-8781-ffdb5abe0d91@app.fastmail.com> <CADZyTknD1aXS8jjMu0EEVp_1drF9edF2+0B402tT30EYzeBrkw@mail.gmail.com> <a3e8ff46-ed4a-45b1-8614-5f9bf70ef511@app.fastmail.com> <CADZyTkksfg8i-B1UNjSENnOSBrF1HRNaMMQYvfSBekmZ__-=-Q@mail.gmail.com> <44833205-f654-4320-93c8-cbeb13a748ed@app.fastmail.com>
In-Reply-To: <44833205-f654-4320-93c8-cbeb13a748ed@app.fastmail.com>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Tue, 10 Jan 2023 09:01:05 -0500
Message-ID: <CADZyTkkoM+vjLYX4ZWKCkwzFY-YpD78c-g2Ktfia+G_cqs9n6A@mail.gmail.com>
To: Robert Stepanek <rsto@fastmailteam.com>
Cc: calsify@ietf.org
Content-Type: multipart/alternative; boundary="000000000000af12ee05f1e94e28"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/kgOiifu6setOpCfhurFbw3JcGys>
Subject: Re: [calsify] Working Group Last call for jscontact drafts
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: Tue, 10 Jan 2023 14:00:39 -0000

Hi Robert,

Thanks for the responses. I will move the docs forwards and also send it
for review to the IANA. Please see inline some comments.

Yours,

Daniel

On Tue, Jan 10, 2023 at 5:02 AM Robert Stepanek <rsto@fastmailteam.com>
wrote:

> Hi Daniel,
>
> thanks again for the document review. Please see my replies below.
>
> On Wed, Jan 4, 2023, at 11:46 PM, Daniel Migault wrote:
>
> 1.  Introduction
>
>    This document defines a data model for contact card data normally
>    used in address book or directory applications and services.  It aims
>    to be an alternative to the vCard data format [RFC6350] and to
>    provide a JSON-based standard representation of contact card data.
>
> <mglt>
> Maybe I am not enough familiar with the terminology, but I am expecting
> from thes eline the vCard format to be expressed in JSON which is already
> done by jCard.
> I believe that JSCard i sprimarily a new (or updated) data model used by
> vCard and the fact it is expressed as JSON seems sort of secondary.
> If I am correct, I am wondering what indicates JSCard is not simply a
> translation to JSON.
> </mglt>
>
>
> Thanks, I simply removed the "provide a JSON-based standard representation
> of contact card data" part.
>
>
>    The key design considerations for this data model are as follows:
>
>    *  Most of the initial set of attributes should be taken from the
>       vCard data format [RFC6350] and extensions ([RFC6473], [RFC6474],
>       [RFC6715], [RFC6869], [RFC8605]).  The specification should add
>       new attributes or value types, or not support existing ones, where
>       appropriate.  Conversion between the data formats need not fully
>       preserve semantic meaning.
>
> <mglt>
> I found the formulation a bit strange, especially the sentence:
> """
>  The specification should add
>       new attributes or value types, or not support existing ones, where
>       appropriate.
> """
> I am just checking I understand it correctly.
>  "not supporting ones" confused me and raised my attention as it could
> sound - at least to me - as SHOULD NOT support existing ones, which I do
> not think was the purpose. I think the specification should take most of
> the existing attributes. Since this is "most" it means some attributes have
> been left over and these are not supported. I do think this is implicit. In
> addition the spec adds new attributes.
> Am I correct ?
>
> I let you decide whether the text can be clearer or not.
> </mglt>
> [...]
>
>
> I now made more clear that JSContact may choose to not define equivalent
> properties for vCard attributes, if the vCard ones are considered to be
> obsolete or otherwise inappropriate.
>
>
>
> 1.3.  Type Signatures
> ...
>    *  A[] - An array of values of type A.
>
> <mglt>
> Maybe we should have a JSON array to remain coherent with the other
> definition.
> </mglt>
>    *  A|B - The value is either of type A or of type B.
>
>
> Done
>
> 1.5.3.  The pref property
>
>    Type: UnsignedInt
>
>    This property allows to define a preference order for contact
>    information.  For example, a card holder may have two email addresses
>    and prefer to be contacted with one of them.
> ...
>
> <mglt>
> It seems to be more a ranking than a preference no ? I understand the
> higher the preference is the least it is preferred. If that is correct, I
> am wondering if that is common practice or if we think that could be more
> coherent.
> </mglt>
>
>
> We chose "pref" as this matches the name of the equivalent "PREF" property
> in vCard.
>
>
>
> 2.2.2.  name
> [...]
>
> <mglt>
> If I get it right the names components are ordered as the "one entering
> them" wishes them to be printed. This order may vary, so rank can clarifies
> this.
>
> sortAs indicates how to handle these names components for sorting.
> However, I suspect that sorting may also depend on the culture and for
> example a list of participants in country A or country B will be sorted
> differently.
> I am wondering if that is correct or if I am missing something.
>
> </mglt>
>
>
> Correct, rank is more culture-specific and tells how same-typed name
> components rank within a name. sortAs defines how to sort by name component
> among multiple addressbook entries. As it is likely that an addressbook
> contains entries from multiple cultures, the sortAs property defines a
> generic sort. If an application wants to support multiple sorts depending
> on the culture of the viewer, they need to derive that by themselves.
>
>
>
> 2.3.3.  phones
> [...]
> <mglt>
> I understand "voice" is "phone" i.e a non mobile phone;-)
> </mglt>
>
>
> We chose to use the exact same enumeration values like vCard. They more
> describe the features of a phone, e.g. any smartphone would contain the
> features "voice", "text", "cell", "video". Admittedly, I don't think most
> will bother to set all these features for a personal or business contacts,
> but the option is here. Maybe "cell" is a misnomer in the current time and
> "mobile" would be more appropriate?
>
> That was more a comment. The current designation seems a bit outdated.
However, people are used to handling and displaying them with vCard, so
it's probably better to keep them as it is.  I suspect that having
appropriated term is likely to cause UI bugs.

>
> 2.6.2.  directories
> [...]
>       ...
>        "directories": {
>          ...
>           "dir1": {
>             "@type": "DirectoryResource",
>             "type": "entry",
>             "uri": "http://directory.example.com/address
> books/jdoe/Jean%20Dupont.vcf"
>           },
>          "dir2": {
>            "@type": "DirectoryResource",
>            "type": "directory",
>            "uri":
> "ldap://ldap.tech.example/o=Example%20Tech,ou=Engineering",
>            "pref": 1
>          },
>       ...
>       },
>       ...
>
> <mglt>
> There is a space in address book. I am wondering if that is not a nit.
> </mglt>
>
>
> Thanks, I fixed that when I fixed the long-line errors that idnits found.
>
>
> 4.2.6.  Initial Contents for the "JSContact Properties" Registry
>
>    The following table lists the initial common usage entries of the
>    "JSContact Properties" registry.  The Since Version for all
>    properties is 1.0.  The Until Version for all properties is not set.
>    All RFC section references are for this document.  The change
>    controller for all these properties is IETF.
>
> <mglt>
> The table is a bit too large.
> </mglt>
>
>
> Do you want us to split the table? I might come up with a way to do that,
> but any split would be kind of arbitrary.
>
> I thought that removing the white spaces could do the job maybe, but
otherwise let's see what the IANA or RFC Editor or other people think about
how it should be done.

> Regards,
> Robert
>


-- 
Daniel Migault
Ericsson