RFC 9982: JSContact Version 2.0: A JSON Representation of Contact Data
- R. Stepanek
Abstract
This document defines version "2.0" of JSContact. It defines the uid property of a Card object to be optional, rather than mandatory, as defined previously in version "1.0". All other definitions of JSContact version "1.0" remain as defined in RFC 9553. This document updates RFC 9555 by redefining how to convert the now optional uid property from and to vCard. It also registers the vCard JSCOMPS parameter at IANA, which was defined but not registered in RFC 9555.¶
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 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2026 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
(https://
1. Introduction
JSContact [RFC9553] defines the Card object uid property, a mandatory property that contains a unique identifier for the entity represented by that contact card. For the same purpose, the vCard [RFC6350] contact format defines the UID property, an optional property of a vCard instance. Throughout the rest of this document, the term uid (all lowercase) denotes the JSContact uid property, and the term UID (all uppercase) denotes the vCard UID property.¶
The uid property being defined as mandatory in JSContact has shown to be applicable for some use cases but turned out to be an issue in other contexts.¶
2. Notational Conventions
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The ABNF definitions in this document use the notations of [RFC5234]. ABNF rules not defined in this document are defined in either [RFC5234] (such as the ABNF for CRLF, WSP, DQUOTE, VCHAR, ALPHA, and DIGIT) or [RFC6350].¶
3. JSContact Version 2.0
This document redefines the uid property of a Card object to become optional. Other than that, the property definition is left unchanged. This change requires the major version of JSContact to change, so this document defines the JSContact version to become "2.0". For further information about versioning JSContact data, see Section 1.9 of [RFC9553].¶
Implementations MUST create JSContact data that complies with the definitions of version "2.0" (or some later registered version) and MUST set the version property of the JSContact Card object to that version. They MUST NOT reject a Card object without the uid property as invalid unless specified differently in another document or unless the Card version property has value "1.0". As any valid version "1.0" JSContact Card is also valid according to version "2.0", there is no need to migrate existing JSContact data.¶
This document does not redefine the vCard UID property.¶
4. Redefined uid Property
This document redefines the type signature of the uid property, originally defined in Section 2.1.9 of [RFC9553].¶
OLD:¶
uid: String (mandatory).¶
NEW:¶
uid: String (optional).¶
The remaining property definition is left unchanged, with the following additional paragraph:¶
A Card without an uid property cannot be referred to as a group member in the members property (Section 2.1.6 of [RFC9553]) or put in relation to another Card object in the relatedTo property (Section 2.1.8 of [RFC9553]).¶
5. Redefined Conversion Rule for the uid Property
This document redefines how to convert the Card uid property from vCard, originally defined in Section 2.1.1 of [RFC9555]. The new conversion rule is as follows:¶
Implementations that convert a vCard without a UID property (Section 6.7.6 of [RFC6350]) to a Card of version "2.0" or higher MUST NOT generate a unique identifier as a value for the uid property (Section 2.1.9 of [RFC9553]).¶
When converting a vCard without a UID property to JSContact version "1.0", implementations MUST generate a value for the uid property.
How to generate unique identifiers is implementation
6. Other Changes
This document also registers the JSCOMPS parameter in the IANA "vCard Parameters" registry. The parameter was defined in Section 3.3.1 of [RFC9555] but mistakenly not registered at IANA.¶
7. IANA Considerations
7.1. Update to the JSContact Version Registry
IANA has updated the "JSContact Version" registry, originally created in Section 3.4 of [RFC9553], by adding the following record:¶
7.2. Update to the JSContact Properties Registry
IANA has updated the "JSContact Properties" registry, originally created in Section 3.5 of [RFC9553]: In the "Reference
7.3. Update to the vCard Parameters Registry
IANA has updated the "vCard Parameters" registry within the "vCard Elements" registry group by adding the following entry:¶
8. Security Considerations
This document does not provide new security considerations. The security considerations of Section 4 of [RFC9553] apply.¶
9. References
9.1. Normative References
- [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC5234]
-
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10
.17487 , , <https:///RFC5234 www >..rfc -editor .org /info /rfc5234 - [RFC6350]
-
Perreault, S., "vCard Format Specification", RFC 6350, DOI 10
.17487 , , <https:///RFC6350 www >..rfc -editor .org /info /rfc6350 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174 - [RFC9553]
-
Stepanek, R. and M. Loffredo, "JSContact: A JSON Representation of Contact Data", RFC 9553, DOI 10
.17487 , , <https:///RFC9553 www >..rfc -editor .org /info /rfc9553 - [RFC9555]
-
Loffredo, M. and R. Stepanek, "JSContact: Converting from and to vCard", RFC 9555, DOI 10
.17487 , , <https:///RFC9555 www >..rfc -editor .org /info /rfc9555
9.2. Informative References
- [RFC6352]
-
Daboo, C., "CardDAV: vCard Extensions to Web Distributed Authoring and Versioning (WebDAV)", RFC 6352, DOI 10
.17487 , , <https:///RFC6352 www >..rfc -editor .org /info /rfc6352 - [RFC9083]
-
Hollenbeck, S. and A. Newton, "JSON Responses for the Registration Data Access Protocol (RDAP)", STD 95, RFC 9083, DOI 10
.17487 , , <https:///RFC9083 www >..rfc -editor .org /info /rfc9083 - [RFC9610]
-
Jenkins, N., Ed., "JSON Meta Application Protocol (JMAP) for Contacts", RFC 9610, DOI 10
.17487 , , <https:///RFC9610 www >..rfc -editor .org /info /rfc9610