jCard: The JSON format for vCard
draft-ietf-jcardcal-jcard-02
The information below is for an old version of the document |
Document |
Type |
|
Active Internet-Draft (jcardcal WG)
|
|
Author |
|
Philipp Kewisch
|
|
Last updated |
|
2013-04-30
|
|
Stream |
|
Internent Engineering Task Force (IETF)
|
|
Formats |
|
pdf
htmlized (tools)
htmlized
bibtex
|
|
Reviews |
|
|
Stream |
WG state
|
|
WG Document
|
|
Document shepherd |
|
None
|
IESG |
IESG state |
|
I-D Exists
|
|
Consensus Boilerplate |
|
Unknown
|
|
Telechat date |
|
|
|
Responsible AD |
|
(None)
|
|
Send notices to |
|
(None)
|
JSON data formats for vCard and iCalendar P. Kewisch
Internet-Draft Mozilla
Intended status: Standards Track April 30, 2013
Expires: November 01, 2013
jCard: The JSON format for vCard
draft-ietf-jcardcal-jcard-02
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 November 01, 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.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
Kewisch Expires November 01, 2013 [Page 1]
Internet-Draft jCard April 2013
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 . . . . . . . . . . . . 6
3.3.1.1. Multi-valued Properties . . . . . . . . . . . . . 6
3.3.1.2. Grouping of Properties . . . . . . . . . . . . . 7
3.3.1.3. Structured Property Values . . . . . . . . . . . 8
3.4. Parameters (RFC6350 Section 5) . . . . . . . . . . . . . 9
3.4.1. VALUE parameter . . . . . . . . . . . . . . . . . . . 10
3.4.2. Multi-value Parameters . . . . . . . . . . . . . . . 10
3.5. Values (RFC6350 Section 4) . . . . . . . . . . . . . . . 11
3.5.1. Text (RFC6350 Section 4.1) . . . . . . . . . . . . . 11
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) . . . . . . . . . . . . 12
3.5.5. Date-Time (RFC6350 Section 4.3.3) . . . . . . . . . . 14
3.5.6. Date and/or Time (RFC6350 Section 4.3.4) . . . . . . 15
3.5.7. Timestamp (RFC6350 Section 4.3.5) . . . . . . . . . . 16
3.5.8. Boolean (RFC6350 Section 4.4) . . . . . . . . . . . . 16
3.5.9. Integer (RFC6350 Section 4.5) . . . . . . . . . . . . 17
3.5.10. Float (RFC6350 Section 4.6) . . . . . . . . . . . . . 17
3.5.11. UTC Offset (RFC6350 Section 4.7) . . . . . . . . . . 17
3.5.12. Language Tag (RFC6350 Section 4.8) . . . . . . . . . 17
3.6. Extensions (RFC6350 Section 6.10) . . . . . . . . . . . . 18
4. Converting from jCard into vCard . . . . . . . . . . . . . . 18
5. Handling Unrecognized Properties or Parameters . . . . . . . 18
6. Implementation Status (to be removed prior to publication as
an RFC) . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7. Security Considerations . . . . . . . . . . . . . . . . . . . 22
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 22
8.1. GROUP vCard Parameter . . . . . . . . . . . . . . . . . . 23
8.2. UNKNOWN vCard Value Data Type . . . . . . . . . . . . . . 23
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 23
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 24
10.1. Normative References . . . . . . . . . . . . . . . . . . 24
10.2. Informative References . . . . . . . . . . . . . . . . . 25
Appendix A. ABNF Schema . . . . . . . . . . . . . . . . . . . . 25
Appendix B. Examples . . . . . . . . . . . . . . . . . . . . . . 27
Show full document text