jCard: The JSON format for vCard
draft-ietf-jcardcal-jcard-00
The information below is for an old version of the document |
Document |
Type |
|
Active Internet-Draft (jcardcal WG)
|
|
Author |
|
Philipp Kewisch
|
|
Last updated |
|
2013-03-26
|
|
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)
|
Network Working Group P. Kewisch
Internet-Draft Mozilla
Intended status: Standards Track March 26, 2013
Expires: September 27, 2013
jCard: The JSON format for vCard
draft-ietf-jcardcal-jcard-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 September 27, 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 September 27, 2013 [Page 1]
Internet-Draft jCard March 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 . . . . . . . . . . . . . 6
3.3.1.1. Multi-valued Properties . . . . . . . . . . . . . 6
3.3.1.2. Grouping of Properties . . . . . . . . . . . . . . 7
3.4. Parameters (RFC6350 section 5) . . . . . . . . . . . . . . 7
3.4.1. VALUE parameter . . . . . . . . . . . . . . . . . . . 7
3.4.2. Multi-value Parameters . . . . . . . . . . . . . . . . 8
3.5. Values (RFC6350 section 4) . . . . . . . . . . . . . . . . 8
3.5.1. Text (RFC6350 section 4.1) . . . . . . . . . . . . . . 8
3.5.2. URI (RFC6350 section 4.2) . . . . . . . . . . . . . . 9
3.5.3. Date (RFC6350 section 4.3.1) . . . . . . . . . . . . . 9
3.5.4. Time (RFC6350 section 4.3.2) . . . . . . . . . . . . . 10
3.5.5. Date-Time (RFC6350 section 4.3.3) . . . . . . . . . . 10
3.5.6. Date and/or Time (RFC6350 section 4.3.4) . . . . . . . 11
3.5.7. Timestamp (RFC6350 section 4.3.5) . . . . . . . . . . 11
3.5.8. Boolean (RFC6350 section 4.4) . . . . . . . . . . . . 11
3.5.9. Integer (RFC6350 section 4.5) . . . . . . . . . . . . 11
3.5.10. Float (RFC6350 section 4.6) . . . . . . . . . . . . . 12
3.5.11. UTC Offset (RFC6350 section 4.7) . . . . . . . . . . . 12
3.5.12. Language Tag (RFC6350 section 4.8) . . . . . . . . . . 12
3.6. Extensions (RFC6350 section 6.10) . . . . . . . . . . . . 13
4. Converting from jCard into vCard . . . . . . . . . . . . . . . 13
5. Handling Unrecognized Properties or Parameters . . . . . . . . 13
6. Conversion of Date and Time Related Data Types . . . . . . . . 15
6.1. Conversion from jCard to vCard . . . . . . . . . . . . . . 15
6.2. Conversion from vCard to jCard . . . . . . . . . . . . . . 15
7. Security Considerations . . . . . . . . . . . . . . . . . . . 16
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 17
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 17
10.1. Normative References . . . . . . . . . . . . . . . . . . . 17
10.2. Informative References . . . . . . . . . . . . . . . . . . 18
Appendix A. ABNF Schema . . . . . . . . . . . . . . . . . . . . . 18
Appendix B. Examples . . . . . . . . . . . . . . . . . . . . . . 20
B.1. Example: vCard of the author of RFC6350 . . . . . . . . . 20
B.1.1. vCard Data . . . . . . . . . . . . . . . . . . . . . . 20
Show full document text