It is widely acknowledged within the Jabber/XMPP community that the vcard-temp (XEP-0054) [1] specification (XEP-0054) has outlived its usefulness. There are several reasons for this conclusion:
Given the weaknesses of vCard, there is interest across the broader Internet community in replacing vCard with something more modern and extensible. Unfortunately, no other standards development organization has developed an alternative to vCard. Part of the challenge is that quite detailed ontologies have been developed that might replace parts of the vCard specification (e.g., the Extensible Name and Address Language [4] developed by OASIS [5]) while less-formal ontologies are being used to represent other parts of the problem space (e.g., Friend of a Friend (FOAF) [6]). The relevant protocols are in flux and it is unclear when (or even if) stability will emerge.
Because of the unsettled landspace and the strong desire within the Jabber/XMPP community to move beyond XEP-0054, this document specifies methods for the representation of profile data in terms of the Data Forms (XEP-0004) [7] protocol (further qualified using the standardization concepts specified in Field Standardization for Data Forms (XEP-0068) [8]) and for the management of profile data using standard IQ request-response semantics as well as, for more frequently-modified data, Publish-Subscribe (XEP-0060) [9] semantics (specifically the simplified subset of those semantics specified in Personal Eventing Protocol (XEP-0163) [10]). The rationale behind these design decisions is provided below.
This document addresses the following requirements for data management:
This document addresses the following requirements for data representation:
There are several possible approaches to representing profile data for communication over XMPP networks, including the following:
IQ (request-and-response) semantics.
In the simplest case, an entity may store its own profile data and provide only the complete profile and only on request, using the request-response semantics of the XMPP <iq/> stanza type. This model is most appropriate for stable entities that are always online and whose profile data does not change frequently, such as servers and server-side components (entities that are not always online or that frequently modify their profile data, such as IM users, may prefer to publish their information to entities that are always online, such as an IM user's server). While it may seem desirable to embed profile data in the responses an entity provides to service discovery information requests using Service Discovery Extensions (XEP-0128) [12], it is likely that profile data will be quite extensive; therefore, we define a standalone "wrapper" element for profile data, qualified by the 'urn:xmpp:tmp:profile' namespace (see Protocol Namespaces regarding issuance of one or more permanent namespaces).
Pubsub (publish-and-subscribe) semantics.
A more complex model is for an entity to publish its profile data to a publish-subscribe node or nodes and allow other entities to subscribe to that node or nodes, thus receiving notifications whenever the profiled entity updates its data. This model is more appropriate for entities that modify their profile data on a regular basis or when other entities wish to be informed when the profile data changes. Because this model will most likely be used most often by IM users and other intermittently-connected network endpoints, we use the simplified subset of the XMPP publish-subscribe extension defined in XEP-0163 to implement this model.
As with data management, there are several possible approaches to representing profile data for communication over XMPP networks, including the following:
Structured data formats, such as User Geolocation (XEP-0080) [13] and User Physical Location (XEP-0112) [14].
Such data formats have the advantage of being human-readable. However:
A format represented by means of Resource Description Framework [15].
An argument could be made that RDF is a reasonable approach for representing profile data for communication over the XMPP network; however, such an argument will not be made in the current proposal. The author has considered RDF and has concluded that there are several reasons why RDF is undesirable as an XMPP wire protocol:
A format represented by means of Data Forms (XEP-0004).
The Data Forms protocol defined in XEP-0004 has several advantages for use over XMPP:
Therefore, this proposal specifies that profile data shall be represented in data forms scoped by a FORM_TYPE of 'urn:xmpp:tmp:profile' (see Protocol Namespaces regarding issuance of one or more permanent namespaces), in accordance with the field standardization methods defined in XEP-0068. For the sake of interoperability, profile data fields that will be in common use SHOULD be registered with the XMPP Registrar [17] (although they may or may not be defined in a XMPP Extension Protocol specification). Profile data fields that are intended to be used only within the context of a specialized application MAY remain unregistered, but unregistered fields MUST begin with the string "x-" in accordance with Section 3.4 of XEP-0068. [18]
The following is a simple and incomplete example of profile data represented via the Data Forms protocol, containing two registered data fields and one unregistered field:
By specifying that all fields are scoped by a FORM_TYPE of 'urn:xmpp:tmp:profile', this proposal does not mean to imply that all profile data will or should be gathered in one data form. In reality, most such data will probably be gathered at the time of registration either at a website or via a "wizard" interface that breaks the process into smaller bundles (such as "Basic Personal Data", "Physical Location", "Internet Addresses", "Hobbies and Interests", and "Favorite Things"). The use of one FORM_TYPE is simply meant to scope the data fields so that each field is unique within the context of profile data. Any form that uses these fields along with a FORM_TYPE of 'urn:xmpp:tmp:profile' is of the "profile type" (i.e., is a specific instance of that type), which does not limit the number of forms that can be of that type.
However, scoping all data fields with a single FORM_TYPE implies it is necessary to define separate data fields for similar kinds of information. For example, the vCard specification (RFC 2426) defines "types" for certains kinds of data, such as email addresses, telephone numbers, and physical addresses, making it possible to specify that a telephone number corresponds to a fax machine or mobile phone or that a physical address corresponds to one's home or work location. In the Data Forms representation, any desired piece of information (e.g., work phone) must be represented with a separate data field.
In order to address most (if not all) of the pieces of information described in existing profile specifications, this document defines a great number of data fields. Even so, the data fields specified herein are not exhaustive, and it is expected that additional fields will be registered in the future through the mechanisms specified in the XMPP Registrar Considerations section of this document.
In order to publish a full profile, an entity sends an IQ-set to its server with a child element of <profile/> containing the full profile information.
If the server can successfully process the request and host the full profile, it MUST return an IQ-result:
Otherwise it MUST return an error. If the server does not support the profile data functionality, the error MUST be <service-unavailable/>.
In order to update selected fields in a public profile, an entity simply publishes the modified fields (not the entire profile) to a pubsub node of "urn:xmpp:tmp:profile" at its server using the PEP subset of the publish-subscribe extension, as specified in XEP-0163.
The PEP service then MUST send notifications containing the updated field(s) to the node subscribers:
If the field(s) published are "public", the publisher SHOULD then repost the full profile as described above in order to keep the full profile in sync.
Note: The account owner MAY decide to effectively maintain two profile subsets: public profile fields (posted via the "full profile" protocol) and restricted profile fields (published only via PEP). If so, the client MUST keep track of which fields are in the public profile subset and which fields are in the restricted profile subset, and MUST NOT update the full profile if the account owner has updated a field in the restricted profile set.
If an entity can provide profile data directly using the standalone 'urn:xmpp:tmp:profile' namespace, it SHOULD advertise that feature in response to Service Discovery (XEP-0030) [19] information requests:
Note: Because the foregoing request was sent to the bare JID <hamlet@denmark.lit>, the response is provided by the <denmark.lit> server on behalf of the registered account. The answer indicates that the server can provide profile data on behalf of the registered account and that it supports the personal eventing profile of XMPP Publish-Subscribe.
In order to request the full profile, the requesting entity sends an IQ-get to the providing entity's JID, where the request contains an empty <profile/> element qualified by the 'urn:xmpp:tmp:profile' namespace. In this example, the request is sent to a server, not a user (any XMPP entity can have a profile, including servers, gateways, Multi-User Chat (XEP-0045) [20] rooms, and the like):
The server then replies:
If a server supports stored profile data for user accounts that it hosts, a requesting entity can request the full profile for such an account:
If the requesting entity is not allowed to retrieve hosted profiles (e.g., because it is not on a whitelist of entities permitted to "spider" the server's users), the server SHOULD return a <service-unavailable/> error:
If the requested account does not exist or has not published profile data, the server also SHOULD return a <service-unavailable/> error.
Otherwise, the server SHOULD return the profile for the hosted account.
In order to receive updated fields for a contact's profile, an entity shall encapsulate a feature of "urn:xmpp:tmp:profile+notify" in its Entity Capabilities (XEP-0115) [21] data. If the contact's server supports the personal eventing profile of XMPP Publish-Subscribe as described in XEP-0163, the entity will receive notifications whenever the contact sends updated profile fields to the profile node:
It is the responsibility of the receiving entity to correctly process the notification and update the local representation of the contact's profile information.
The following subsections specify common fields for defining various aspects of a person, which shall form the initial submission to the XMPP Registrar; many of these fields map to elements specified in vCard, xNAL, FOAF, LDAP (see RFC 2252 [22], RFC 2256 [23], and RFC 2798 [24]) [25], and LDAP object classes such as Person, organizationalPerson, inetOrgPerson, and eduPerson.
Mappings are provided to vCard, LDAP, xNAL, and FOAF.
A display name is a version of a person's name intended for display in a user interface. Sometimes also called a "full name" or "formatted name".
The Data Forms field that represents a display name is "display_name".
This field maps to:
A familiar name is a shortened or modified form of someone's given name that may be used in somewhat informal contexts or that is preferred by the person (e.g., "Chuck" instead of "Charles").
The Data Forms field that represents a familiar name is "familiar_name".
This field maps to:
A family name is that part of a person's name which signifies the person's primary family association. Sometimes also called a "last name" or "surname".
The Data Forms field that represents a family name is "family_name".
This field maps to:
A given name is that part of a person's name which signifies the person's primary individual identity. Sometimes also called a "first name" or (in some countries) a "Christian name".
The Data Forms field that represents a given name is "given_name".
This field maps to:
A middle name is that part of a person's name which signifies the person's secondary individual identity. Sometimes also called a "middle initial".
The Data Forms field that represents a middle name is "middle_name".
This field maps to:
A name prefix is that part of a person's name which prepends the person's full name (e.g., Mr or Dr). Sometimes also called an "honorific" or "title".
The Data Forms field that represents a name prefix is "name_prefix".
This field maps to:
A name suffix is that part of a person's name which is appended to the person's full name (e.g., Jr or Esq).
The Data Forms field that represents a name suffix is "name_suffix".
This field maps to:
A nickname is a global, memorable (but not unique) friendly or informal name chosen by the owner of a JID. The purpose of a nickname is to associate a distinctive mapping between the person's unique JID and non-unique nickname. A nickname is normally used in online contexts (e.g., in chatrooms) that are less formal than real life (where a person's Familiar Name would be more appropriate). Sometimes also called an "alias". A person SHOULD specify only one nickname (i.e., not more than one).
The Data Forms field that represents a nickname is "nickname".
This field maps to:
In some cultures, one's name includes a part that is derived from the given name of one's father; this part of one's name is called a "patronymic".
The Data Forms field that represents a patronymic is "patronymic".
Mappings are provided to vCard, xNAL, and XEP-0112 (User Physical Location (XEP-0112) [14]).
A country is the sovereign nation in which a person is located. Sometimes also called a "nation".
The Data Forms fields that represent a country are "country", "home_country", and "work_country" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A region is a second-level administrative unit within the nation in which a person is located. Sometimes also called a "province", "state", or "administrative area".
The Data Forms field that represents a region is "region".
The Data Forms fields that represent a region are "home_region" and "work_region" for home addresses and work addresses respectively.
This field maps to:
A locality is a defined place within the region in which a person is located. Sometimes also called a "city", "town", or "village".
The Data Forms fields that represent a locality are "locality", "home_locality", and "work_locality" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
An area is a sub-division within the locality in which a person is located. Sometimes also called a "neighborhood", "suburb", "district", or "section".
The Data Forms fields that represent a area are "area", "home_area", and "work_area" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A street is the street address (number plus street name, or two street names at an intersection) at which a person is located, or a postal box number for physical mail delivery. Sometimes also called a "street address".
The Data Forms fields that represent a street are "street", "home_street", and "work_street" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A building is the name for a specific structure on a street or within an area.
The Data Forms fields that represent a building are "building", "home_building", and "work_building" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A floor is a named or numbered floor or level within a building. Sometimes also called a "level", "block", or "suite".
The Data Forms fields that represent a floor are "floor", "home_floor", and "work_floor" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A room is a named or numbered subdivision of a floor. Sometimes also called a "unit" or "apartment".
The Data Forms fields that represent a room are "room", "home_room", and "work_room" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A postal box is a set of numeric or alphanumeric characters used to identify a mailbox at a postal delivery center.
The Data Forms fields that represent a postal box are "postalbox", "home_postalbox", and "work_postalbox" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A postal code is a set of numeric or alphanumeric characters used to identify an area for postal delivery. Sometimes also called a "ZIP code" (in the U.S.).
The Data Forms fields that represent a postal code are "postalcode", "home_postalcode", and "work_postalcode" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A postal address is a free-form mailing address, which may be easier to enter (or, in some cultural contexts, more appropriate) than the atomic address parts such as street, floor, etc.
The Data Forms fields that represent a postal address are "postaladdress", "home_postaladdress", and "work_postaladdress" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
Mappings are provided to vCard and XEP-0080 (User Geolocation (XEP-0080) [13]).
Altitude is a person's height or depth in relationship to sea level, where positive altitude is meters above sea level and negative altitude is meters below sea level.
The Data Forms field that represents altitude is "alt".
This field maps to:
Latitude is a person's latitude in relation to the equator, where positive latitude is north of the equator and negative latitude is south of the equator.
The Data Forms field that represents latitude is "lat".
This field maps to:
Longitude is a person's longitude in relation to the equator, where positive longitude is east of the meridian and negative longitude is west of the equator.
The Data Forms field that represents longitude is "lon".
This field maps to:
A fax number is a number for a machine that handles fascimile transmissions.
The Data Forms fields that represent a fax number are "fax", "home_fax", and "work_fax" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A landline telephone number is a number for a traditional "PSTN" or "POTS" telephone.
The Data Forms fields that represent a landline telephone number are "landline", "home_landline", and "work_landline" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A mobile telephone number is a number for a mobile phone or cell phone on a wireless network.
The Data Forms fields that represent a mobile telephone number are "mobile", "home_mobile", and "work_mobile" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A pager number is a number for a dedicated alphanumeric paging device.
The Data Forms fields that represent a pager number are "pager", "home_pager", and "work_pager" for generic addresses, home addresses, and work addresses respectively.
This field maps to:
A SIP address is a sip: or sips: URI at which a person can be contacted for Voice over Internet Protocol (VoIP) communications.
The Data Forms field that represents a SIP address is "sip_address".
This field does not map to data in vCard or any other profile representation format.
A Skype address is an address on the popular Skype system for Voice over Internet Protocol (VoIP) communications.
The Data Forms field that represents a Skype address is "skype_address".
This field does not map to data in vCard or any other profile representation format.
A videophone address is an address used for for H.323 video conferencing systems.
The Data Forms field that represents a videophone address is "video_phone".
This field does not map to data in vCard or any other profile representation format.
An AIM screen name is an address at which a person or other entity can be contacted on the AOL Instant Messenger service.
The Data Forms field that represents an AIM screen name is "aim_id".
This field maps to:
An email address is the value of a mailto: URI at which a person or other entity can be contacted using standard electronic mail protocols.
The Data Forms field that represents longitude is "email".
This field maps to:
An ICQ number is an address at which a person or other entity can be contacted on the ICQ instant messaging service.
The Data Forms field that represents an ICQ number is "icq_id".
This field maps to:
A Jabber ID is the value of an xmpp: URI at which a person or other entity can be contacted over a Jabber/XMPP network.
The Data Forms field that represents a Jabber ID is "jid".
This field maps to:
An MSN address is address at which a person or other entity can be contacted on the MSN instant messaging service.
The Data Forms field that represents an MSN address is "msn_id".
This field maps to:
A Yahoo ID is address at which a person or other entity can be contacted on the Yahoo! Instant Messenger service.
The Data Forms field that represents a Yahoo ID is "yahoo_id".
This field maps to:
An avatar is an often fanciful representation of a user's desired self-image or persona (e.g., in the context of a game). An avatar is usually not intended to be an accurate picture of the user's actual physical appearance (that is handled by the photo_url and photo_data fields).
An avatar can come in two forms: the avatar data itself, or a URL for a avatar.
The Data Forms field that represents the URL for an avatar is "avatar_url".
This field does not map to data in vCard or any other profile representation format.
A biographical URL is the value of an http: URI at which can be found biographical information about a person.
The Data Forms field that represents a biographical URL is "bio".
A FOAF URL is the value of an http: URI at which can be found a "friend of a friend" (FOAF) file about a person or entity.
The Data Forms field that represents a FOAF URL is "foaf_url".
A homepage URL is the value of an http: URI that is the default resource on the World Wide Web for a person or other entity.
The Data Forms field that represents a homepage URL is "homepage".
This field maps to:
An OpenID is the value of a URI by which a person can sign onto multiple websites or other Internet services using a single identifier (see <http://openid.net/>).
The Data Forms field that represents an OpenID is "openid".
This field maps to:
A photograph provides a pictorial representation of a person. Sometimes also called a "mugshot".
A photograph can come in two forms: the photo data itself (see below) or a URL for a photograph (e.g., the vCard PHOTO element can represent either, while the FOAF depiction and FOAF img can represent only a URL). The Data Forms field specified here identifies a URL for a photograph, not the data itself.
The Data Forms field that represents the URL for a photograph is "photo_url".
This field maps to:
A publications URL is the value of an http: URI at which can be found the list of a person's published writings.
The Data Forms field that represents a publications URL is "publications".
This field maps to:
A resume URL is the value of an http: URI at which can be found a person's resume or curriculum vitae.
The Data Forms field that represents a resume URL is "resume".
A status URL is the value of an http: URI that specifies the current status of a person or other entity (e.g., a person's online presence or a server's uptime).
The Data Forms field that represents a homepage URL is "status_url".
An organizational URL is the value of an http: URI that specifies the homepage for an organization or employer.
The Data Forms field that represents an organizational URL is "org_url".
This field maps to:
A weblog URL is the value of an http: URI at which a person or other entity maintains a weblog.
The Data Forms field that represents a weblog URL is "weblog".
This field maps to:
It may be appropriate to list others who can be contacted if the individual is not available.
An affiliation is a person's relationship to an institution, such as student, faculty, intern, fellow. An affiliation is in general less rigid than an Employee Type, which may not be relevant in noncommercial organizations.
The Data Forms field that represents an organizational affiliation is "affiliation".
This field maps to:
In some organizations, a person may be assisted by another individual.
The Data Forms field that represents an assistant is "assistant".
This field maps to:
The kind of business performed by an organization.
The Data Forms field that represents a business category is "business_category".
This field maps to:
Some organizations have departments, which can be named or numbered.
The Data Forms field that represents a department name is "department_name".
Some organizations have departments, which can be named or numbered.
The Data Forms field that represents a department number is "department_number".
This field maps to:
Some organizations assign numbers to employees.
The Data Forms field that represents an employee number is "employee_number".
This field maps to:
Some organizations have different types of employees, such as "full-time", "part-time", "contractor", and "temp".
The Data Forms field that represents an employee type is "employee_type".
This field maps to:
A job title is the official name of a person's position within an organization.
The Data Forms field that represents a job title is "job_title".
This field maps to:
In most organizations, a person is managed by or reports to another individual (often not exposed outside the organization).
The Data Forms field that represents a manager is "manager".
This field maps to:
An organizational name is the official name of an organization (company, school, etc.) within which a person works.
The Data Forms field that represents the name of an organization is "org_name".
This field maps to:
An organizational role describes a person's profession or how a person contributes within an organization.
The Data Forms field that represents an organizational role is "org_role".
This field maps to:
An organizational unit is the name of part (subsidiary, department, etc.) of an organization.
The Data Forms field that represents an organizational unit is "org_unit".
This field maps to:
An affiliation is a person's relationship to an institution, such as student, faculty, intern, fellow. (An affiliation is in general less rigid than an Employee Type, which may not be relevant in noncommercial organizations.) Since a person may be affiliated with multiple organizations (e.g., multiple research institutions), the primary affiliation is used to describe a person's affiliation to their primary organization.
The Data Forms field that represents a primary organizational affiliation is "primary_affiliation".
This field maps to:
An organizational name is the official name of an organization (company, school, etc.) within which a person works. Since a person may be affiliated with multiple organizations (e.g., multiple research institutions), the primary organizational name is used to differentiate the main organization with which a person is affiliated.
The Data Forms field that represents the name of a primary organization is "primary_org_name".
This field maps to:
An organizational role describes a person's profession or how a person contributes within an organization. Since a person may be affiliated with multiple organizations (e.g., multiple research institutions), the primary organizational role is used to differentiate the person's role at their primary organization.
The Data Forms field that represents an organizational role is "primary_org_role".
This field maps to:
An organizational unit is the name of part (subsidiary, department, etc.) of an organization Since a person may be affiliated with multiple organizational units (e.g., multiple schools within a university), the primary organizational name is used to differentiate the main organization with which a person is affiliated.
The Data Forms field that represents an organizational unit is "primary_org_unit".
This field maps to:
Usually a person has a system or network username within an organization (usually not exposed outside the organization).
The Data Forms field that represents such a username is "system_username".
This field maps to:
People often work in teams. Sometimes it can be helpful to list those teams.
The Data Forms field that represents a work team is "teams".
Often a person has a dedicated workstation address or name within an organization (usually not exposed outside the organization).
The Data Forms field that represents such a username is "workstation".
These data fields are not necessarily permanent, but do not tend to change very often if at all.
A birth day-of-month is the day of the month in which a person was born. (Note: This data field is not what in English is usually referred to as a person's "birthday", i.e. the year+month+day on which the person was born; the "birthday" is split into three data fields in order to protect personal privacy, since a given individual might want to disclose his or her birth year, birth month, birth day-of-month, or some combination thereof but not all three.)
The Data Forms field that represents a birth day-of-month is "birth_dayofmonth".
When combined with other birthday-related fields, this field maps to:
A birth month is the month of the year in which a person was born.
The Data Forms field that represents a birth month is "birth_month".
When combined with other birthday-related fields, this field maps to:
A birth year is the year in which a person was born.
The Data Forms field that represents a birth year is "birth_year".
When combined with other birthday-related fields, this field maps to:
It can be helpful to provide a natural-language description of a person.
The Data Forms field that represents a description of a person is "description".
This field maps to:
Some people may want to know the color of a person's eyes. The allowable or recommended values for this field are not specified.
The Data Forms field that represents a person's eye color is "eye_color".
Gender is the self-defined gender of a person (this is not limited to "male" and "female", although those are the expected values in most instances). Sometimes also called "sex" or "gender identification".
The Data Forms field that represents a person's gender is "gender".
This field maps to:
Some people may want to know the color of a person's hair (if any). The allowable or recommended values for this field are not specified.
The Data Forms field that represents a person's hair color is "hair_color".
Some people may want to know a person's height. This SHOULD be expressed in centimeters (which can be transformed into other units if necessary by a client).
The Data Forms field that represents a person's height is "height".
Yes, it is a sensitive topic, but some people may want to know a person's weight. This SHOULD be expressed in kilograms (which can be transformed into other units if necessary by a client).
The Data Forms field that represents a person's weight is "weight".
An area of expertise is a subject in which a person has a great deal of knowledge.
The Data Forms field that represents an area of expertise is "expertise".
An avatar is an often fanciful representation of a user's desired self-image or persona (e.g., in the context of a game). An avatar is usually not intended to be an accurate picture of the user's actual physical appearance (that is handled by the photo_url and photo_data fields).
An avatar can come in two forms: the avatar data itself, or a URL for a avatar.
The Data Forms field that represents avatar data is "avatar_data".
This field does not map to data in vCard or any other profile representation format.
Some people are members of clubs or other voluntary organizations.
The Data Forms field that represents club memberships is "clubs".
Some people have dietary preferences (vegan, vegetarian, kosher, peanut allergy, no shellfish, etc.).
The Data Forms field that represents dietary preferences is "dietary_preferences".
A hobby is a non-work activity that a person enjoys pursuing. Also called an "avocation".
The Data Forms field that represents a hobby is "hobby".
An interest a thing that a person cares about or is curious about. It is, generally, less active than a hobby.
The Data Forms field that represents an interest is "interest".
Some people know more than one language, but less than well (e.g., the person may not be able to speak fluently). The definition of "less well" is left to the user.
The value of this field MUST be an abbreviation for a language as specified in RFC 4646 [26].
The Data Forms field that represents a language known less that well is "languages_lesswell".
Everyone knows at least one language well (e.g., they are able to speak or write the language with a fair degree of fluency). Determination of whether someone knows a language "well" or "fluently" is left to the user.
The value of this field MUST be an abbreviation for a language as specified in RFC 4646.
The Data Forms field that represents a language known well is "languages_well".
This field maps to:
Many people own automobiles, which usually have license or registration numbers.
The Data Forms field that represents a car license or registration number is "car_license_number".
This field maps to:
Human beings often get married, sometimes get divorced, become widowed, etc.
The Data Forms field that represents whether a person's marital status is "marital_status".
A Myers-Briggs type indicator is four-letter acronym that is a popular way to characterize different personality types.
The Data Forms field that represents a Myers-Briggs type indicator is "mbti".
This field maps to:
A photo provides a pictorial representation of a person. Sometimes also called a "mugshot".
A photo can come in two forms: the photo data itself, or a URL for a photo (e.g., the vCard PHOTO element can represent either, while the FOAF depiction and FOAF img can represent only a URL).
The Data Forms field that represents photo data is "photo_data".
This field maps to:
A profession is what a person does for his or her primary employment. Also known as a "vocation". The allowable or recommended values for this field are not specified.
The Data Forms field that represents a profession is "profession".
Many people feel affiliated with a religious belief system.
The Data Forms field that represents a religious affiliation is "religion".
The allowable or recommended values for this field are not specified.
The Data Forms field that represents a person's sexual orientation is "sexual_orientation".
Some people smoke tobacco in various forms (cigarettes, cigars, pipes, etc.).
The Data Forms field that represents whether a person smokes is "smoker".
A wishlist is a list of items that a person would like to receive as gifts.
The Data Forms field that represents a wishlist is "wishlist".
A Chinese zodiac sign denotes the type of year in which a person was born according to the Chinese calendar (e.g., the year of the dragon).
The Data Forms field that represents a Chinese zodiac sign is "zodiac_chinese".
A Western zodiac sign is that part of the astrological belt under which a person was born; each sign is named after one of the constellations.
The Data Forms field that represents a Western zodiac sign is "zodiac_western".
Some people have PGP keys, X.509 certificates, and the like.
The ASCII armored output of a PGP key.
The Data Forms field that represents a PGP key is "pgpkey".
This field maps to:
The fingerprint (hashed value) of a PGP key.
The Data Forms field that represents a PGP fingerprint is "pgp_fingerprint".
The ID of a PGP key.
The Data Forms field that represents a PGP key ID is "pgpkey_id".
The fingerprint of an X.509 certificate, hashed using MD5.
The Data Forms field representing such a value is "x509_fingerprint_md5".
The fingerprint of an X.509 certificate, hashed using SHA-1.
The Data Forms field representing such a value is "x509_fingerprint_sha1".
Most people have favorite movies, authors, TV shows, musical artists, foods, games, etc.
The Data Forms field that represents favorite authors is "fav_authors".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite athletes is "fav_athletes".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite beverages is "favorite_beverages".
This field maps to:
The Data Forms field that represents favorite charities is "fav_charities".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite chatrooms is "fav_chatrooms".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite drinks is "fav_drinks".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite foods is "fav_foods".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite games is "fav_games".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite movies is "fav_movies".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite music is "fav_music".
This field does not map to data in vCard or any other profile representation format.
A quote is a phrase or saying that a person identifies with in some way. According to the 2004 Pew Internet survey on instant messaging, quotes represent the most popular item to include in online profiles on major consumer-oriented instant messaging services.
The Data Forms field that represents favorite quotes is "fav_quotes".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite sports teams is "fav_teams".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents favorite TV shows is "fav_tv".
This field does not map to data in vCard or any other profile representation format.
Some people move around a lot.
The Data Forms field that represents places lived is "places_lived".
This field does not map to data in vCard or any other profile representation format.
The Data Forms field that represents schools attended is "schools".
This field does not map to data in vCard or any other profile representation format.
Profile data can be personally significant and even security critical. Due care should be taken in determining who shall have access to such information. In particular, an entity SHOULD ensure that its public profile contains only information that it deems safe to be world-readable, SHOULD ensure that any pubsub node it may create for profile data has an access model of "presence" or "roster", and SHOULD NOT publish private or restricted data except to such a pubsub node.
This document requires no interaction with the Internet Assigned Numbers Authority (IANA) [27].
Until this specification advances to a status of Draft, its associated namespace shall be "urn:xmpp:tmp:profile"; upon advancement of this specification, the XMPP Registrar [17] shall issue a permanent namespace in accordance with the process defined in Section 4 of XMPP Registrar Function (XEP-0053) [28].
To follow.
This document in other formats: XML PDF
This XMPP Extension Protocol is copyright © 1999 – 2020 by the XMPP Standards Foundation (XSF).
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.
## 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. ##
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.
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).
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.
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.
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 <http://xmpp.org/about/discuss.shtml> for a complete list.
Errata can be sent to <editor@xmpp.org>.
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".
1. XEP-0054: vcard-temp <https://xmpp.org/extensions/xep-0054.html>.
2. RFC 2426: vCard MIME Directory Profile <http://tools.ietf.org/html/rfc2426>.
3. For links to the experimental XML representation of vCard, see XEP-0054.
4. See <http://xml.coverpages.org/xnal.html>.
5. OASIS is a not-for-profit, international consortium that drives the development, convergence and adoption of e-business standards. For further information, see <http://www.oasis-open.org/>.
6. Friend of a Friend (FOAF) <http://xmlns.com/foaf/0.1/>.
7. XEP-0004: Data Forms <https://xmpp.org/extensions/xep-0004.html>.
8. XEP-0068: Field Data Standardization for Data Forms <https://xmpp.org/extensions/xep-0068.html>.
9. XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>.
10. XEP-0163: Personal Eventing Protocol <https://xmpp.org/extensions/xep-0163.html>.
11. The extensibility requirement is critically important, because it would be best if the protocol specified herein could be used to represent data used within specialized communities. Examples of such communities include dating services, multiplayer gaming networks, IM services provided by portals and ISPs, and expert-location systems within large corporations. While such communities might use part or all of some common set of data fields (such as fields that map to familiar vCard elements), each community might also want to represent quite disparate kinds of information (dating criteria, favorite games, contact preferences, areas of expertise, and the like). Furthermore, data might be used to profile network actors that are not persons (e.g., bots, services, and other software agents). Therefore, the ideal proposal will provide an extensible framework for representing profile data and will not limit itself to representing the relatively small set of data fields covered by the vCard format.
12. XEP-0128: Service Discovery Extensions <https://xmpp.org/extensions/xep-0128.html>.
13. XEP-0080: User Geolocation <https://xmpp.org/extensions/xep-0080.html>.
14. XEP-0112: User Physical Location <https://xmpp.org/extensions/xep-0112.html>.
15. Resource Description Framework (RDF) <http://www.w3.org/RDF/>.
16. XEP-0134: XMPP Design Guidelines <https://xmpp.org/extensions/xep-0134.html>.
17. 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/>.
18. Alternatively, specialized applications MAY define separate FORM_TYPEs for their particular data elements.
19. XEP-0030: Service Discovery <https://xmpp.org/extensions/xep-0030.html>.
20. XEP-0045: Multi-User Chat <https://xmpp.org/extensions/xep-0045.html>.
21. XEP-0115: Entity Capabilities <https://xmpp.org/extensions/xep-0115.html>.
22. RFC 2252: Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions <http://tools.ietf.org/html/rfc2252>.
23. RFC 2256: A Summary of the X.500(96) User Schema for use with LDAPv3 <http://tools.ietf.org/html/rfc2256>.
24. RFC 2798: Definition of the inetOrgPerson LDAP Object Class <http://tools.ietf.org/html/rfc2798>.
25. This specification does not require that profile data fields mapped to LDAP fields must adhere to the X.500 data types that are re-used by LDAP. However, implementations MAY enforce those data types if desired.
26. RFC 4646: Tags for Identifying Languages <http://tools.ietf.org/html/rfc4646>.
27. 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/>.
28. XEP-0053: XMPP Registrar Function <https://xmpp.org/extensions/xep-0053.html>.
Note: Older versions of this specification might be available at http://xmpp.org/extensions/attic/
Updated to reflect stable PEP protocol; added OpenID field; specified XML schema; changed namespace to conform to XMPP Registrar procedures.
Updated to reflect changes to XEP-0163; added some mappings to the eduPerson object class.
Defined data management methods using IQ and the PEP subset of pubsub; added various data fields from LDAP; changed namespace from profiledata to profile.
Added postaladdress, fav_chatrooms, alt_contact, teams; added various security-related fields.
Added mappings to common LDAP schemas.
Initial version.
Defined how to handle vCard types such as home vs. work addresses.
Reworked field standardization; added support for telephony addresses, electronic addresses, and organizational data.
Added open issues.
Explained requirements and design decisions in more detail, especially with regard to extensibility; split photo into two elements (data and URL).
First draft.
END