XEP-0125: vCard Infobits Mapping

Abstract
NOTE: This proposal was retracted by the author on 2004-02-19.
Author
Peter Saint-Andre
Copyright
© 2003 – 2003 XMPP Standards Foundation. SEE LEGAL NOTICES.
Status

Retracted

WARNING: This document has been retracted by the author(s). Implementation of the protocol described herein is not recommended. Developers desiring similar functionality are advised to implement the protocol that supersedes this one (if any).
Type
Informational
Version
0.1 (2003-12-15)
Document Lifecycle
  1. Experimental
  2. Retracted
  3. Proposed
  4. Active

1. Introduction

Infobits (XEP-0120) [1] defines a protocol for capturing granular information (or "infobits") about users, servers, services, rooms, nodes, commands, files, and other phenomena on the Jabber/XMPP network; however, that document defines the protocol only, not the infobits themselves. This document specifies how to encapsulate one sort of metadata in infobits: the metadata elements about entities defined by RFC 2426 [2] (supplemented by vCard-like metadata that is not defined in RFC 2426), thus enabling the Jabber community to supersede vcard-temp (XEP-0054) [3]. Note well that this document is decidedly not meant to provide an exhaustive catalog of possible infobits. Future registrations, whether in XMPP Extension Protocol specifications or direct submissions to the XMPP Registrar [4], will specify additional infobits.

2. vCard Mapping

In order to supersede the vCard-XML protocol currently in use within the Jabber community, it is necessary to define infobits that correspond to the data elements defined by the vCard-XML DTD (more precisely, the vCard Profile Features specified in section 3 of RFC 2426). These are shown in the following table. (Note: this mapping uses the vCard entity names specified in draft-dawson-vcard-xml-dtd-03 [5], not those specified in XEP-0054.)

Table 1: Mapping of vCard Fields
Infobit Key vCard Element Comments
birthdate bday (partial) Date of birth (DD); prepend with birthyear and birthmonth (with "-" separators) to create vCard bday content
birthmonth bday (partial) Month of birth (MM); prepend with birthyear and append with birthdate (with "-" separators) to create vCard bday content
birthyear bday (partial) Year of birth (YYYY); append with birthmonth and birthdate (with "-" separators) to create vCard bday content; the vCard "bday" element is separated into three infobits so that users can abstain from providing a birthyear
cellphone tel + cell A cellphone (mobile phone) number; if more than one cellphone number is specified, this infobit keyname should be appended with one of the following modifiers: home, work
city city If more than one address is specified (e.g., work and home), this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., city.home)
country country If more than one address is specified (e.g., work and home), this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., country.home)
email email If more than one email address is specified, this infobit name should be appended with one of the following address modifiers: home, work
extadd extadd Extended address; if more than one address is specified (e.g., work and home), this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., extadd.home)
family family A family name or surname; in some cultures, known as a "last name"
fax tel + fax A fax number; if more than one fax number is specified, this infobit keyname should be appended with one of the following modifiers: home, work
fn fn A full name
given given A given name; in some cultures, known as a "first name"
key key This SHOULD be a URL to or identifier for a public key, but MAY be the key information itself
lat lat Latitude in decimal degrees North
logo logo This MUST be a URL to a logo; recipients should be prepared to parse the URL in order to retrieve and then decode the binary information
lon lon Longitude in decimal degrees East
middle middle A person's middle name or initial
nickname nickname A person's preferred nickname or less formal name
orgnam orgnam A name for an organization
orgunit orgunit A name for an organizational unit
pager tel + pager A pager number; if more than one pager number is specified, this infobit keyname should be appended with one of the following modifiers: home, work
pcode pcode A postal code; if more than one address is specified (e.g., work and home), this infobit name may be appended with any of the following address modifiers: home, work, postal, parcel
phone tel + voice A voice phone number; if more than one voice phone number is specified, this infobit keyname should be appended with one of the following modifiers: home, work
photo photo + extval This MUST be a URL to a photo; recipients should be prepared to parse the URL in order to retrieve and then decode the binary information
prefix prefix A prefix to a name (e.g., "Dr.")
region region If more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., region.home)
role role A person's role within an organization
sound sound + extval This MUST be a URL to a sound file; recipients should be prepared to parse the URL in order to retrieve and then decode the binary information
street street Street number and name; if more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., street.home)
suffix suffix A suffix to a name (e.g., "Esq.")
title title This is a job title, and is not to be confused with the Dublin Core Metadata Initiative (DCMI) [6] "title" metadata term
vmail tel + msg A voicemail (message) number; if more than one voicemail number is specified, this infobit keyname should be appended with one of the following modifiers: home, work
website url URL for any website

3. Supplementing vCard

The vCard specification does not include the following infobits because either (1) it is not that granular or (2) they represent entities or properties that did not exist when the vCard format was defined.

Table 2: Additional vCard-Like Infobits
Infobit Comments
alt Altitude in meters above sea level
area An area within a locality; if more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., area.home)
building The name of a specific building; if more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., building.home)
expertise A self-defined area of expertise (no guarantees provided)
floor The floor of a building; if more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., floor.home)
gender The self-defined gender of a user (this is not limited to "male" and "female", although those are the expected values in most instances)
interest A self-defined area of interest
jid An entity's Jabber Identifier
orgurl URL for organization's website
room A specific room; if more than one address is specified, this infobit keyname may be appended with any of the following address modifiers: home, work, postal, parcel (e.g., room.home)
weblog URL for weblog

4. Security Considerations

This document introduces no security considerations above and beyond those already defined in XEP-0120.

5. IANA Considerations

This document requires no interaction with the Internet Assigned Numbers Authority (IANA) [7].

6. XMPP Registrar Considerations

The following is a submission to the infobits registry called for by XEP-0120.

6.1 vCard Mapping Infobits

To follow.

6.2 vCard Supplement Infobits

To follow.


Appendices

Appendix A: Document Information

Series
XEP
Number
0125
Publisher
XMPP Standards Foundation
Status
Retracted
Type
Informational
Version
0.1
Last Updated
2003-12-15
Approving Body
XMPP Council
Dependencies
XEP-0120
Supersedes
None
Superseded By
None
Short Name
N/A
Source Control
HTML

This document in other formats: XML  PDF

Appendix B: Author Information

Peter Saint-Andre
Email
stpeter@stpeter.im
JabberID
stpeter@jabber.org
URI
https://stpeter.im/

Copyright

This XMPP Extension Protocol is copyright © 1999 – 2024 by the XMPP Standards Foundation (XSF).

Permissions

Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the "Specification"), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specification, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or substantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or publisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.

Disclaimer of Warranty

## NOTE WELL: This Specification is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. ##

Limitation of Liability

In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall the XMPP Standards Foundation or any author of this Specification be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising from, out of, or in connection with the Specification or the implementation, deployment, or other use of the Specification (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if the XMPP Standards Foundation or such author has been advised of the possibility of such damages.

IPR Conformance

This XMPP Extension Protocol has been contributed in full conformance with the XSF's Intellectual Property Rights Policy (a copy of which can be found at <https://xmpp.org/about/xsf/ipr-policy> or obtained by writing to XMPP Standards Foundation, P.O. Box 787, Parker, CO 80134 USA).

Visual Presentation

The HTML representation (you are looking at) is maintained by the XSF. It is based on the YAML CSS Framework, which is licensed under the terms of the CC-BY-SA 2.0 license.

Appendix D: Relation to XMPP

The Extensible Messaging and Presence Protocol (XMPP) is defined in the XMPP Core (RFC 6120) and XMPP IM (RFC 6121) specifications contributed by the XMPP Standards Foundation to the Internet Standards Process, which is managed by the Internet Engineering Task Force in accordance with RFC 2026. Any protocol defined in this document has been developed outside the Internet Standards Process and is to be understood as an extension to XMPP rather than as an evolution, development, or modification of XMPP itself.

Appendix E: Discussion Venue

The primary venue for discussion of XMPP Extension Protocols is the <standards@xmpp.org> discussion list.

Discussion on other xmpp.org discussion lists might also be appropriate; see <https://xmpp.org/community/> for a complete list.

Errata can be sent to <editor@xmpp.org>.

Appendix F: Requirements Conformance

The following requirements keywords as used in this document are to be interpreted as described in RFC 2119: "MUST", "SHALL", "REQUIRED"; "MUST NOT", "SHALL NOT"; "SHOULD", "RECOMMENDED"; "SHOULD NOT", "NOT RECOMMENDED"; "MAY", "OPTIONAL".

Appendix G: Notes

1. XEP-0120: Infobits <https://xmpp.org/extensions/xep-0120.html>.

2. RFC 2426: vCard MIME Directory Profile <http://tools.ietf.org/html/rfc2426>.

3. XEP-0054: vcard-temp <https://xmpp.org/extensions/xep-0054.html>.

4. The XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <https://xmpp.org/registrar/>.

5. draft-dawson-vcard-xml-dtd-03 <http://www.watersprings.org/pub/id/draft-dawson-vcard-xml-dtd-03.txt>. Work in progress.

6. The Dublin Core Metadata Initiative (DCMI) is an organization dedicated to promoting the widespread adoption of interoperable metadata standards. For further information, see <http://www.dublincore.org/>.

7. The Internet Assigned Numbers Authority (IANA) is the central coordinator for the assignment of unique parameter values for Internet protocols, such as port numbers and URI schemes. For further information, see <http://www.iana.org/>.

Appendix H: Revision History

Note: Older versions of this specification might be available at https://xmpp.org/extensions/attic/

  1. Version 0.1 (2003-12-15)
    Initial version, split off from version 0.5 of XEP-0121 (with revisions to more clearly map vCard elements); further mapping and description required.
    psa

Appendix I: Bib(La)TeX Entry

@report{saint-andre2003n/a,
  title = {vCard Infobits Mapping},
  author = {Saint-Andre, Peter},
  type = {XEP},
  number = {0125},
  version = {0.1},
  institution = {XMPP Standards Foundation},
  url = {https://xmpp.org/extensions/xep-0125.html},
  date = {2003-12-15/2003-12-15},
}

END