Re: [VCARDDAV] JSON representation

Joe Marcus Clarke <jclarke@cisco.com> Thu, 07 June 2012 05:28 UTC

Return-Path: <jclarke@cisco.com>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F093D11E80E8 for <vcarddav@ietfa.amsl.com>; Wed, 6 Jun 2012 22:28:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_54=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f2KaY-FhNrWx for <vcarddav@ietfa.amsl.com>; Wed, 6 Jun 2012 22:28:13 -0700 (PDT)
Received: from av-tac-rtp.cisco.com (av-tac-rtp.cisco.com [64.102.19.209]) by ietfa.amsl.com (Postfix) with ESMTP id 489C911E80E9 for <vcarddav@ietf.org>; Wed, 6 Jun 2012 22:28:13 -0700 (PDT)
X-TACSUNS: Virus Scanned
Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id q575SCpJ011412; Thu, 7 Jun 2012 01:28:12 -0400 (EDT)
Received: from sjc-vpn7-1722.cisco.com (sjc-vpn7-1722.cisco.com [10.21.150.186]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id q575SBg7004675; Thu, 7 Jun 2012 01:28:12 -0400 (EDT)
Message-ID: <4FD03BEB.5060402@cisco.com>
Date: Thu, 07 Jun 2012 01:28:11 -0400
From: Joe Marcus Clarke <jclarke@cisco.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4FCFFECA.8010507@stpeter.im>
In-Reply-To: <4FCFFECA.8010507@stpeter.im>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] JSON representation
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jun 2012 05:28:14 -0000

On 6/6/12 9:07 PM, Peter Saint-Andre wrote:
> Dear VCARDDAV WG,
> 
> My colleague Raghu Bhat and I have submitted the initial version of a
> JSON representation for vCard4, and would welcome your feedback.
> 
> http://www.ietf.org/id/draft-bhat-vcarddav-json-00.txt

Cool!  vCard+JSON will be nice when it comes to automation.

A few things.  I don't agree that the type can always be ascertained
from the media type of the file.  This assumes well-behaved servers.  I
would think there is value in including an umbrella class to specify
that this is a vcard.  Could you not embed this into some other JSON
structure where it would be good to know that the type of this object is
a vCard?

Figure 4: The JSON is not equivalent to the plain text vCard format.
The JSON is missing the version :-).

I think there should be an example of CLARK notation when it comes to
vCard+JSON extensibility.

Joe

-- 
Joe Marcus Clarke, CCIE #5384,         |          |
SCJP, SCSA, SCNA, SCSECA, VCP        |||||      |||||
Distinguished Support Engineer  ..:|||||||||::|||||||||:..
Phone: +1 (919) 392-2867         c i s c o  S y s t e m s
Email: jclarke@cisco.com

----------------------------------------------------------------------------