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

Mario Loffredo <mario.loffredo@iit.cnr.it> Wed, 19 June 2019 08:03 UTC

Return-Path: <mario.loffredo@iit.cnr.it>
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 2B2C91200F1 for <dispatch@ietfa.amsl.com>; Wed, 19 Jun 2019 01:03:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 DkrUbmEJIGy5 for <dispatch@ietfa.amsl.com>; Wed, 19 Jun 2019 01:03:09 -0700 (PDT)
Received: from smtp.iit.cnr.it (mx4.iit.cnr.it [146.48.98.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98BCB1200FA for <dispatch@ietf.org>; Wed, 19 Jun 2019 01:03:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.iit.cnr.it (Postfix) with ESMTP id 30CB8B8051D; Wed, 19 Jun 2019 10:03:06 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mx4.iit.cnr.it
Received: from smtp.iit.cnr.it ([127.0.0.1]) by localhost (mx4.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RX286cMdNUGt; Wed, 19 Jun 2019 10:03:03 +0200 (CEST)
Received: from [192.12.193.108] (pc-loffredo.nic.it [192.12.193.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.iit.cnr.it (Postfix) with ESMTPSA id 0A2A0B801F5; Wed, 19 Jun 2019 10:03:03 +0200 (CEST)
To: Marten Gajda <marten@dmfs.org>, dispatch@ietf.org
References: <96bef250-7821-4a85-85f5-f9df8128e96a@www.fastmail.com> <8af1f5e8-3799-7358-cc78-06c4afaaa7db@dmfs.org> <6ed41ace-0198-4e7a-8258-ca8ab06b020e@www.fastmail.com> <8d11eb06-07cb-2de6-3d43-e2f0d6c3b1ac@dmfs.org>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
Message-ID: <7877562f-55fc-3fa4-00af-01170c3db993@iit.cnr.it>
Date: Wed, 19 Jun 2019 10:02:19 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
MIME-Version: 1.0
In-Reply-To: <8d11eb06-07cb-2de6-3d43-e2f0d6c3b1ac@dmfs.org>
Content-Type: multipart/alternative; boundary="------------7EE48B250E400B9FC6B7083C"
Content-Language: it
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/aq-dVn9YvbXXnTDidWrpFAgrnu0>
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: Wed, 19 Jun 2019 08:03:12 -0000

Hi Marten,


Il 19/06/2019 00:04, Marten Gajda ha scritto:
>
>
> Am 18.06.19 um 16:09 schrieb Robert Stepanek:
>> What would you gain in your use cases from a StructuredName type?
> Mostly a cleaner data model.
>>
>> 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.
>
> I've never seen a vCard with more than one N or FN property. Since a 
> single FN is the normal case we could use a plain string for the name 
> and put only the additional names into an array:
>
> {
>     "name": "default formatted name goes here",
>     "additionalNames": ["other formatted names", "go into this array"],
>     …
> }
>
This case is not unusual in the context of both Domain Name Registries 
and Regional Internet Registries. The contact information about name and 
address can be either structured or unstructured and can be provided in 
multilingual form.

In jCard, it is possible to do that. In my opinion, jscontact should do 
likewise.


Cheers,

mario

> or maybe join this with the nickname fields and give the names a label
>
> {
>     "name": "default formatted name goes here",
>     "aliases": {
>         "formatted": "other formatted name",
>         "nickname": "nick"
>     },
>     …
> }
>
> Just thinking out loud here
>
>>
>>> * 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.
>
> how about supporting both?
>
> {
>     "name": "John Doe",
>     "phones": [{
>         "type": "home",
>         "value": "+1234567890",
>         "href": "tel:+1-234-567-890"
>     }]
> }
>
> A client which doesn't support both is supposed to remove the other 
> one when it updates either.
>
> Cheers,
>
> Marten
>
>> _______________________________________________
>> dispatch mailing list
>> dispatch@ietf.org
>> https://www.ietf.org/mailman/listinfo/dispatch
> -- 
> Marten Gajda
> CEO
>
> dmfs GmbH
> Schandauer Straße 34
> 01309 Dresden
> GERMANY
>
> phone: +49 177 4427167
> email:marten@dmfs.org
>
> Managing Director: Marten Gajda
> Registered address: Dresden
> Registered No.: AG Dresden HRB 34881
> VAT Reg. No.: DE303248743
>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch

-- 
Dr. Mario Loffredo
Servizi Internet e Sviluppo Tecnologico
CNR - Istituto di Informatica e Telematica
via G. Moruzzi 1, I-56124 PISA, Italy
E-Mail: mario.loffredo@iit.cnr.it
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo