jCard: The JSON format for vCard
draft-ietf-jcardcal-jcard-06

The information below is for an old version of the document
Document Type Active Internet-Draft (jcardcal WG)
Last updated 2013-10-03 (latest revision 2013-09-26)
Replaces draft-bhat-vcarddav-json, draft-kewisch-vcard-in-json
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html
Stream WG state Submitted to IESG for Publication
Consensus Yes
Document shepherd Bert Greevenbosch
Shepherd write-up Show (last changed 2013-06-08)
IESG IESG state Approved-announcement to be sent::Point Raised - writeup needed
Telechat date
Responsible AD Pete Resnick
Send notices to jcardcal-chairs@tools.ietf.org, draft-ietf-jcardcal-jcard@tools.ietf.org, jcardcal@ietf.org, jcardcal@ietf.org
IANA IANA review state Version Changed - Review Needed
IANA action state None
JSON data formats for vCard and iCalendar                     P. Kewisch
Internet-Draft                                                   Mozilla
Intended status: Standards Track                      September 26, 2013
Expires: March 30, 2014

                    jCard: The JSON format for vCard
                      draft-ietf-jcardcal-jcard-06

Abstract

   This specification defines "jCard", a JSON format for vCard data.
   The vCard data format is a text format for representing and
   exchanging information about individuals and other entities, for
   example telephone numbers, email addresses, structured names and
   delivery addresses.  JSON is a lightweight, text-based, language-
   independent data interchange format commonly used in internet
   applications.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on March 30, 2014.

Copyright Notice

   Copyright (c) 2013 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Kewisch                  Expires March 30, 2014                 [Page 1]
Internet-Draft                   jCard                    September 2013

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   4
   3.  Converting from vCard to jCard  . . . . . . . . . . . . . . .   4
     3.1.  Pre-processing  . . . . . . . . . . . . . . . . . . . . .   4
     3.2.  jCard Object and Syntactic Entities (RFC6350 section
           6.1.1 and 6.1.2)  . . . . . . . . . . . . . . . . . . . .   5
     3.3.  Properties (RFC6350 section 6)  . . . . . . . . . . . . .   5
       3.3.1.  Special Cases for Properties  . . . . . . . . . . . .   7
         3.3.1.1.  The VERSION Property  . . . . . . . . . . . . . .   7
         3.3.1.2.  Grouping of Properties  . . . . . . . . . . . . .   7
         3.3.1.3.  Structured Property Values  . . . . . . . . . . .   8
     3.4.  Parameters (RFC6350 Section 5)  . . . . . . . . . . . . .  10
       3.4.1.  VALUE parameter . . . . . . . . . . . . . . . . . . .  11
       3.4.2.  Multi-value Parameters  . . . . . . . . . . . . . . .  11
     3.5.  Values (RFC6350 Section 4)  . . . . . . . . . . . . . . .  12
       3.5.1.  Text (RFC6350 Section 4.1)  . . . . . . . . . . . . .  12
       3.5.2.  URI (RFC6350 Section 4.2) . . . . . . . . . . . . . .  13
       3.5.3.  Date (RFC6350 Section 4.3.1)  . . . . . . . . . . . .  13
       3.5.4.  Time (RFC6350 Section 4.3.2)  . . . . . . . . . . . .  14
       3.5.5.  Date-Time (RFC6350 Section 4.3.3) . . . . . . . . . .  15
       3.5.6.  Date and/or Time (RFC6350 Section 4.3.4)  . . . . . .  17
       3.5.7.  Timestamp (RFC6350 Section 4.3.5) . . . . . . . . . .  17
       3.5.8.  Boolean (RFC6350 Section 4.4) . . . . . . . . . . . .  18
       3.5.9.  Integer (RFC6350 Section 4.5) . . . . . . . . . . . .  18
       3.5.10. Float (RFC6350 Section 4.6) . . . . . . . . . . . . .  18
       3.5.11. UTC Offset (RFC6350 Section 4.7)  . . . . . . . . . .  19
       3.5.12. Language Tag (RFC6350 Section 4.8)  . . . . . . . . .  19
     3.6.  Extensions (RFC6350 Section 6.10) . . . . . . . . . . . .  19
   4.  Converting from jCard into vCard  . . . . . . . . . . . . . .  19
   5.  Handling Unrecognized Properties or Parameters  . . . . . . .  20
     5.1.  Converting vCard into jCard . . . . . . . . . . . . . . .  21
     5.2.  Converting jCard into vCard . . . . . . . . . . . . . . .  21
     5.3.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .  21
   6.  Implementation Status (to be removed prior to publication as
Show full document text