vCard 3.0 format specification

QR Code Generator 2.1.0 now supports vCard format 3.0.
Here we will describe the specifications and give some examples.

Specification:

A vCard contains one ore more vCard objects. The content of one vCard object is encompassed within BEGIN:VCARD and END:VCARD. All vCards must contain the VERSION property, directly after the BEGIN tag.

Reference specification for vCard 3.0 is contained in RFC 2425 and RFC 2426.

The content of a vCard contains PROPERTIES and their ATTRIBUTES in the following syntax:

          PROPERTY[;PARAMETER]:attribute[;attribute]

where PROPERTY defines the type of attribute(s) and PARAMETER can give a more specified description of the PROPERTY.

An example vCard 3.0 may look like:

BEGIN:VCARD
VERSION:3.0
N:Lastname;Surname
FN:Displayname
ORG:EVenX
URL:http://www.evenx.com/
EMAIL:info@evenx.com
TEL;TYPE=voice,work,pref:+49 1234 56788
ADR;TYPE=intl,work,postal,parcel:;;Wallstr. 1;Berlin;;12345;Germany
END:VCARD

PROPERTIES

Properties available in vCard version 3.0 are listed below. They have to be separated through line breaks.
Properties can be defined in any order (except BEGIN, END, VERSION).
* = required property

vCard 3.0 Property Description Example
VERSION*: the specification used to format this vCard.The value MUST be “3.0” according to the specifications described here.
(*required)
VERSION:3.0
N*: name (semicolon separated: LASTNAME; FIRSTNAME; ADDITIONAL NAME; NAME PREFIX(Mr.,Mrs.); NAME SUFFIX) (*required)
FN*: formatted name (The way that the name is to be displayed. It can contain desired honorific prefixes, suffixes, titles.)
(*required)
ADR[;TYPE= type*[“,”type]]: (delivery) address (type = dom(domestic), intl(international)(default), postal(default), parcel(default), home, work(default))
(content fields are in order: Post Office Address; Extended Address; Street; Locality; Region; Postal Code; Country)
ADR;TYPE=dom,home,postal,parcel: ;;123 Main Street;Any Town;CA;91921;
BDAY: birthday (YYYY-MM-DD) BDAY:1991-05-15
EMAIL[;TYPE= type*[“,”type]]: eMail address (type = aol, applelink, attmail, cis, eworld, internet(default), ibmmail, mcimail, powershare, prodigy, tlx, x400) EMAIL:info@evenx.com
EMAIL;TYPE=internet:info@evenx.com
GEO: information related to the global position GEO:37.144534;-122.264581
KEY[;TYPE=type]: Public key (type = X509; PGP) KEY;ENCODING=b:SBBIEhvd2VzMS
EwHwYJKoZIhvcNAQ
kBFhJob3dlc0BuZX
LABEL[;TYPE= type*[“,”type]]: To specify formatted text corresponding to delivery address. It allows to use =0D=0A (\n) as line break for individual lines within the vCard.
(type (can be concatenated with “,”) = dom(domestic), intl(international)(default), postal(default), parcel(default), home, work(default))
LABEL;TYPE=work,dom,postal: Wallstr.1\n Berlin\nGermany
LANG: adding a language string as defined in RFC 1766 LANG:en-US
NOTE: supplemental information NOTE:This number is operational 0800 to 1730 EST\, Mon-Fri.
ORG: name and optionally the unit(s) of the organization.
First is Organization Name, remainder are Organization Units.
org-value = *[text-value “;”] text-value
ORG: Company LLC.; Development
REV: last revision , date of last update REV:2012-12-12T22:11:10Z
REV:2012-12-12
ROLE: role, occupation or business category within an organization
TEL[;TYPE= type *[“,”type]]: telephone number and type (type = PREF, WORK,
HOME, VOICE(default), FAX, MSG, CELL, PAGER, BBS, MODEM, CAR, ISDN, VIDEO)
TITLE: Job title, functional position or function TITLE:Area Administrator
TZ: Time zone TZ:-05:00
UID: represents a persistent, globally unique identifier associated with the object UID:20120515-082345- 40000F197843-0352
URL: represents Uniform Resource Locator URL:http://www.evenx.com