jCard: The JSON format for vCard
draft-kewisch-vcard-in-json-00

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2013-02-13
Replaced by draft-ietf-jcardcal-jcard
Stream (None)
Intended RFC status (None)
Formats plain text pdf html
Stream Stream state (No stream defined)
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         P. Kewisch
Internet-Draft                                                   Mozilla
Intended status: Standards Track                       February 13, 2013
Expires: August 17, 2013

                    jCard: The JSON format for vCard
                     draft-kewisch-vcard-in-json-00

Abstract

   This specification defines "jCard", a JSON format for vCard data.

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 August 17, 2013.

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

Kewisch                  Expires August 17, 2013                [Page 1]
Internet-Draft                    jCard                    February 2013

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.  vCard Stream . . . . . . . . . . . . . . . . . . . . . . .  4
     3.3.  Properties (RFC6350 section 6) . . . . . . . . . . . . . .  5
       3.3.1.  Special Cases for Properties . . . . . . . . . . . . .  7
         3.3.1.1.  Multi-valued Properties  . . . . . . . . . . . . .  8
         3.3.1.2.  Grouping of Properties . . . . . . . . . . . . . .  8
     3.4.  Parameters (RFC6350 section 5) . . . . . . . . . . . . . .  8
       3.4.1.  VALUE parameter  . . . . . . . . . . . . . . . . . . .  9
       3.4.2.  Multi-value Parameters . . . . . . . . . . . . . . . .  9
     3.5.  Values (RFC6350 section 4) . . . . . . . . . . . . . . . . 10
       3.5.1.  Text (RFC6350 section 4.1) . . . . . . . . . . . . . . 10
       3.5.2.  URI (RFC6350 section 4.2)  . . . . . . . . . . . . . . 11
       3.5.3.  Date (RFC6350 section 4.3.1) . . . . . . . . . . . . . 11
       3.5.4.  Time (RFC6350 section 4.3.2) . . . . . . . . . . . . . 11
       3.5.5.  Date-Time (RFC6350 section 4.3.3)  . . . . . . . . . . 12
       3.5.6.  Date and/or Time (RFC6350 section 4.3.4) . . . . . . . 12
       3.5.7.  Timestamp (RFC6350 section 4.3.5)  . . . . . . . . . . 12
       3.5.8.  Boolean (RFC6350 section 4.4)  . . . . . . . . . . . . 13
       3.5.9.  Integer (RFC6350 section 4.5)  . . . . . . . . . . . . 13
       3.5.10. Float (RFC6350 section 4.6)  . . . . . . . . . . . . . 13
       3.5.11. UTC Offset (RFC6350 section 4.7) . . . . . . . . . . . 13
       3.5.12. Language Tag (RFC6350 section 4.8) . . . . . . . . . . 14
     3.6.  Extensions (RFC6350 section 6.10)  . . . . . . . . . . . . 14
   4.  Converting from jCard into vCard . . . . . . . . . . . . . . . 14
   5.  Handling Unrecognized Properties or Parameters . . . . . . . . 15
   6.  Conversion of Date and Time Related Data Types . . . . . . . . 16
     6.1.  Conversion from jCard to vCard . . . . . . . . . . . . . . 17
     6.2.  Conversion from vCard to jCard . . . . . . . . . . . . . . 17
   7.  Security Considerations  . . . . . . . . . . . . . . . . . . . 17
   8.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 17
   9.  Acknowledgments  . . . . . . . . . . . . . . . . . . . . . . . 18
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 19
     10.1. Normative References . . . . . . . . . . . . . . . . . . . 19
     10.2. Informative References . . . . . . . . . . . . . . . . . . 20
   Appendix A.  ABNF Schema . . . . . . . . . . . . . . . . . . . . . 20
   Appendix B.  Examples  . . . . . . . . . . . . . . . . . . . . . . 21
Show full document text