[VCARDDAV] JSON format for vCard

Cyrus Daboo <cyrus@daboo.name> Wed, 14 November 2012 17:29 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id E806B21F8721 for <vcarddav@ietfa.amsl.com>; Wed, 14 Nov 2012 09:29:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id 6ow-i-cvlvNz for <vcarddav@ietfa.amsl.com>; Wed, 14 Nov 2012 09:29:39 -0800 (PST)
Received: from daboo.name (daboo.name []) by ietfa.amsl.com (Postfix) with ESMTP id 6C0E421F86FF for <vcarddav@ietf.org>; Wed, 14 Nov 2012 09:29:39 -0800 (PST)
Received: from localhost (localhost []) by daboo.name (Postfix) with ESMTP id CF27E354FE63 for <vcarddav@ietf.org>; Wed, 14 Nov 2012 12:29:38 -0500 (EST)
X-Virus-Scanned: amavisd-new at example.com
Received: from daboo.name ([]) by localhost (daboo.name []) (amavisd-new, port 10024) with ESMTP id dl2TKqIqnMNI for <vcarddav@ietf.org>; Wed, 14 Nov 2012 12:29:33 -0500 (EST)
Received: from caldav.corp.apple.com (unknown []) by daboo.name (Postfix) with ESMTPSA id 14497354FE4A for <vcarddav@ietf.org>; Wed, 14 Nov 2012 12:29:32 -0500 (EST)
Date: Wed, 14 Nov 2012 12:29:29 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: VCard <vcarddav@ietf.org>
Message-ID: <BCCFABA96A30ECA0DE347226@caldav.corp.apple.com>
X-Mailer: Mulberry/4.1.0a3 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1420"
Subject: [VCARDDAV] JSON format for vCard
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: Wed, 14 Nov 2012 17:29:40 -0000

Hi folks,
We just published a draft describing a proposed JSON format for iCalendar 
Obviously it would be good to have alignment between that and any JSON 
format for vCard (similar to what we did for the XML representations).

We have had a lot of discussions at CalConnect about the JSON format 
leading up to the publication of the new draft, and we believe the chosen 
format represents a good compromise of all the various requirements 
(performance, streaming, compactness, regular, etc).

If we were to adopt the same format for vCard in JSON, then an example 
might look like this:

FN:Cyrus Daboo
ADR;TYPE=POSTAL:;;123 Example Circle;Example;EX;99999;USA

   ["version", {}, "text", "4.0"],
   ["fn", {}, "text", "Cyrus Daboo"],
   ["n", {}, "text", "Daboo", "Cyrus", "", "", ""],
   ["adr", {"type" : "POSTAL"}, "text",
    "", "", "123 Example Circle", "Example", "EX", "99999", "USA"],
   ["email", {}, "text", "cyrus@example.com"],
   ["tel", {"type" : ["HOME", "VOICE"]}, "uri", "tel:555-555-5555"],

Given that there has been a lot of interest from other working groups at 
the IETF for a JSON vCard format, we should discuss this and move forward 

Cyrus Daboo