jCard: The JSON Format for vCard
RFC 7095

Document Type RFC - Proposed Standard (January 2014; No errata)
Last updated 2014-01-14
Replaces draft-bhat-vcarddav-json, draft-kewisch-vcard-in-json
Stream IETF
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 RFC 7095 (Proposed Standard)
Telechat date
Responsible AD Pete Resnick
Send notices to jcardcal-chairs@ietf.org, draft-ietf-jcardcal-jcard@ietf.org
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                        P. Kewisch
Request for Comments: 7095                                       Mozilla
Category: Standards Track                                   January 2014
ISSN: 2070-1721

                    jCard: The JSON Format for vCard

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 is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7095.

Copyright Notice

   Copyright (c) 2014 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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Kewisch                      Standards Track                    [Page 1]
RFC 7095                          jCard                     January 2014

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Conventions Used in This Document . . . . . . . . . . . . . .   3
   3.  Converting from vCard to jCard  . . . . . . . . . . . . . . .   4
     3.1.  Pre-processing  . . . . . . . . . . . . . . . . . . . . .   4
     3.2.  jCard Object and Syntactic Entities (RFC 6350, Sections
           6.1.1 and 6.1.2)  . . . . . . . . . . . . . . . . . . . .   5
     3.3.  Properties (RFC 6350, 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 (RFC 6350, Section 5)  . . . . . . . . . . . .  10
       3.4.1.  VALUE Parameter . . . . . . . . . . . . . . . . . . .  10
       3.4.2.  Multi-Valued Parameters . . . . . . . . . . . . . . .  11
     3.5.  Values (RFC 6350, Section 4)  . . . . . . . . . . . . . .  11
       3.5.1.  Text (RFC 6350, Section 4.1)  . . . . . . . . . . . .  12
       3.5.2.  URI (RFC 6350, Section 4.2) . . . . . . . . . . . . .  12
       3.5.3.  Date (RFC 6350, Section 4.3.1)  . . . . . . . . . . .  12
       3.5.4.  Time (RFC 6350, Section 4.3.2)  . . . . . . . . . . .  13
       3.5.5.  Date-Time (RFC 6350, Section 4.3.3) . . . . . . . . .  14
       3.5.6.  Date and/or Time (RFC 6350, Section 4.3.4)  . . . . .  16
       3.5.7.  Timestamp (RFC 6350, Section 4.3.5) . . . . . . . . .  16
       3.5.8.  Boolean (RFC 6350, Section 4.4) . . . . . . . . . . .  17
       3.5.9.  Integer (RFC 6350, Section 4.5) . . . . . . . . . . .  17
       3.5.10. Float (RFC 6350, Section 4.6) . . . . . . . . . . . .  17
       3.5.11. UTC Offset (RFC 6350, Section 4.7)  . . . . . . . . .  18
       3.5.12. Language Tag (RFC 6350, Section 4.8)  . . . . . . . .  18
     3.6.  Extensions (RFC 6350, Section 6.10) . . . . . . . . . . .  18
   4.  Converting from jCard into vCard  . . . . . . . . . . . . . .  19
   5.  Handling Unrecognized Properties or Parameters  . . . . . . .  19
     5.1.  Converting vCard into jCard . . . . . . . . . . . . . . .  19
     5.2.  Converting jCard into vCard . . . . . . . . . . . . . . .  20
     5.3.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .  20
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  21
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  22
     7.1.  GROUP vCard Parameter . . . . . . . . . . . . . . . . . .  23
     7.2.  UNKNOWN vCard Value Data Type . . . . . . . . . . . . . .  24
Show full document text