<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.35 (Ruby 3.3.8) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

]>


<rfc ipr="trust200902" docName="draft-ietf-calext-vcard4-bis-00" category="std" consensus="true" submissionType="IETF" obsoletes="6350" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="vCard">vCard Format Specification</title>

    <author fullname="Ricardo Signes" role="editor">
      <organization>Fastmail</organization>
      <address>
        <email>rjbs@semiotic.systems</email>
      </address>
    </author>

    <date year="2026" month="July" day="02"/>

    <area>Applications and Real-Time</area>
    <workgroup>Calendar Extensions</workgroup>
    <keyword>vcard</keyword>

    <abstract>


<?line 88?>

<t>This document defines the vCard data format for representing and
exchanging a variety of information about individuals and other
entities (e.g., formatted and structured name and delivery addresses,
email address, multiple telephone numbers, photograph, logo, audio
clips, etc.).  This document obsoletes RFC 6350.</t>



    </abstract>



  </front>

  <middle>


<?line 96?>

<section anchor="introduction"><name>Introduction</name>

<t>Electronic address books have become ubiquitous.  Their increased
presence on portable, connected devices as well as the diversity of
platforms that exchange contact data call for a standard.  This memo
defines the vCard format, which allows the capture and exchange of
information normally stored within an address book or directory
application.</t>

<t>A high-level overview of the differences from RFCs 2425 and 2426 can
be found in Appendix A.</t>

</section>
<section anchor="conventions"><name>Conventions</name>

<t>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
<xref target="RFC2119"/>.</t>

</section>
<section anchor="vcard-format-specification"><name>vCard Format Specification</name>

<t>The text/vcard MIME content type (hereafter known as "vCard"; see
<xref target="media-type-reg"></xref>) contains contact information, typically pertaining to a
single contact or group of contacts.  The content consists of one or
more lines in the format given below.</t>

<section anchor="charset"><name>Charset</name>

<t>The charset (see <xref target="RFC3536"/> for internationalization terminology) for
vCard is UTF-8 as defined in <xref target="RFC3629"/>.  There is no way to override
this.  It is invalid to specify a value other than "UTF-8" in the
"charset" MIME parameter (see <xref target="media-type-reg"></xref>).</t>

</section>
<section anchor="line-folding"><name>Line Delimiting and Folding</name>

<t>Individual lines within vCard are delimited by the <xref target="RFC5322"/> line
break, which is a CRLF sequence (U+000D followed by U+000A).  Long
logical lines of text can be split into a multiple-physical-line
representation using the following folding technique.  Content lines
SHOULD be folded to a maximum width of 75 octets, excluding the line
break.  Multi-octet characters MUST remain contiguous.  The rationale
for this folding process can be found in <xref target="RFC5322"/>, Section 2.1.1.</t>

<t>A logical line MAY be continued on the next physical line anywhere
between two characters by inserting a CRLF immediately followed by a
single white space character (space (U+0020) or horizontal tab
(U+0009)).  The folded line MUST contain at least one character.  Any
sequence of CRLF followed immediately by a single white space
character is ignored (removed) when processing the content type.  For
example, the line:</t>

<figure><artwork><![CDATA[
  NOTE:This is a long description that exists on a long line.
]]></artwork></figure>

<t>can be represented as:</t>

<figure><artwork><![CDATA[
  NOTE:This is a long description
    that exists on a long line.
]]></artwork></figure>

<t>It could also be represented as:</t>

<figure><artwork><![CDATA[
  NOTE:This is a long descrip
   tion that exists o
   n a long line.
]]></artwork></figure>

<t>The process of moving from this folded multiple-line representation
of a property definition to its single-line representation is called
unfolding.  Unfolding is accomplished by regarding CRLF immediately
followed by a white space character (namely, HTAB (U+0009) or SPACE
(U+0020)) as equivalent to no characters at all (i.e., the CRLF and
single white space character are removed).</t>

<t>Note: It is possible for very simple implementations to generate
improperly folded lines in the middle of a UTF-8 multi-octet
sequence.  For this reason, implementations SHOULD unfold lines in
such a way as to properly restore the original sequence.</t>

<t>Note: Unfolding is done differently than in <xref target="RFC5322"/>.  Unfolding
in <xref target="RFC5322"/> only removes the CRLF, not the space following it.</t>

<t>Folding is done after any content encoding of a type value.
Unfolding is done before any decoding of a type value in a content
line.</t>

</section>
<section anchor="abnf-format-definition"><name>ABNF Format Definition</name>

<t>The following ABNF uses the notation of <xref target="RFC5234"/>, which also defines
CRLF, WSP, DQUOTE, VCHAR, ALPHA, and DIGIT.</t>

<figure><sourcecode type="abnf"><![CDATA[
vcard-entity = 1*vcard

vcard = "BEGIN:VCARD" CRLF
        "VERSION:4.0" CRLF
        1*contentline
        "END:VCARD" CRLF
  ; A vCard object MUST include the VERSION and FN properties.
  ; VERSION MUST come immediately after BEGIN:VCARD.

contentline = [group "."] name *(";" param) ":" value CRLF
  ; When parsing a content line, folded lines must first
  ; be unfolded according to the unfolding procedure
  ; described in Section 3.2.
  ; When generating a content line, lines longer than 75
  ; characters SHOULD be folded according to the folding
  ; procedure described in Section 3.2.

group = 1*(ALPHA / DIGIT / "-")
name  = "SOURCE" / "KIND" / "FN" / "N" / "NICKNAME"
      / "PHOTO" / "BDAY" / "ANNIVERSARY" / "GENDER" / "ADR" / "TEL"
      / "EMAIL" / "IMPP" / "LANG" / "TZ" / "GEO" / "TITLE" / "ROLE"
      / "LOGO" / "ORG" / "MEMBER" / "RELATED" / "CATEGORIES"
      / "NOTE" / "PRODID" / "REV" / "SOUND" / "UID" / "CLIENTPIDMAP"
      / "URL" / "KEY" / "FBURL" / "CALADRURI" / "CALURI" / "XML"
      / iana-token / x-name
  ; Parsing of the param and value is based on the "name" as
  ; defined in ABNF sections below.
  ; Group and name are case-insensitive.

iana-token = 1*(ALPHA / DIGIT / "-")
  ; identifier registered with IANA

x-name = "x-" 1*(ALPHA / DIGIT / "-")
  ; Names that begin with "x-" or "X-" are
  ; reserved for experimental use, not intended for released
  ; products, or for use in bilateral agreements.

param = language-param / value-param / pref-param / pid-param
      / type-param / geo-parameter / tz-parameter / sort-as-param
      / calscale-param / any-param
  ; Allowed parameters depend on property name.

param-value = *SAFE-CHAR / ( DQUOTE *QSAFE-CHAR DQUOTE )

any-param  = (iana-token / x-name) "=" param-value *("," param-value)

NON-ASCII = UTF8-2 / UTF8-3 / UTF8-4
  ; UTF8-{2,3,4} are defined in [RFC3629]

QSAFE-CHAR = WSP / "!" / %x23-7E / NON-ASCII
  ; Any character except CTLs, DQUOTE but including HTAB

SAFE-CHAR = WSP / "!" / %x23-2B / %x2D-39 / %x3C-7E / NON-ASCII
  ; Any character except CTLs, DQUOTE, ",", ";", ":" but
  ; including HTAB
]]></sourcecode></figure>

<t>A line that begins with a white space character is a continuation of
the previous line, as described in <xref target="line-folding"></xref>.  The white space
character and immediately preceeding CRLF should be discarded when
reconstructing the original line.  Note that this line-folding
convention differs from that found in <xref target="RFC5322"/>, in that the sequence
<spanx style="verb">&lt;CRLF&gt;&lt;WSP&gt;</spanx> found anywhere in the content indicates a continued line
and should be removed.</t>

<t>Property names and parameter names are case-insensitive (e.g., the
property name "fn" is the same as "FN" and "Fn").  Parameter values
MAY be case-sensitive or case-insensitive, depending on their
definition.  Parameter values that are not explicitly defined as
being case-sensitive are case-insensitive.  Based on experience with
vCard 3 interoperability, it is RECOMMENDED that property and
parameter names be upper-case on output.</t>

<t>The group construct is used to group related properties together.
The group name is a syntactic convention used to indicate that all
property names prefaced with the same group name SHOULD be grouped
together when displayed by an application.  It has no other
significance.  Implementations that do not understand or support
grouping MAY simply strip off any text before a "." to the left of
the type name and present the types and values as normal.</t>

<t>Property cardinalities are indicated using the following notation,
which is based on ABNF (see <xref target="RFC5234"/>, Section 3.6):</t>

<texttable>
      <ttcol align='center'>Cardinality</ttcol>
      <ttcol align='left'>Meaning</ttcol>
      <c>1</c>
      <c>Exactly one instance per vCard MUST be present.</c>
      <c>*1</c>
      <c>Exactly one instance per vCard MAY be present.</c>
      <c>1*</c>
      <c>One or more instances per vCard MUST be present.</c>
      <c>*</c>
      <c>One or more instances per vCard MAY be present.</c>
</texttable>

<t>Properties defined in a vCard instance may have multiple values
depending on the property cardinality.  The general rule for encoding
multi-valued properties is to simply create a new content line for
each value (including the property name).  However, it should be
noted that some value types support encoding multiple values in a
single content line by separating the values with a comma ",".  This
approach has been taken for several of the content types defined
below (date, time, integer, float).  A property whose value is
structured, such as ADR or ORG, MUST NOT combine multiple instances on a
single content line; each instance is placed on its own line.</t>

</section>
<section anchor="value-escaping"><name>Property Value Escaping</name>

<t>Within a property value, certain characters are escaped using a BACKSLASH
character (U+005C).  A COMMA (U+002C) or a SEMICOLON (U+003B) is escaped by
preceding it with a BACKSLASH, so that it is not taken for a separator; a
literal BACKSLASH is written as two BACKSLASH characters; and a NEWLINE
(U+000A) is encoded as a BACKSLASH followed by an 'n' (U+006E) or an 'N'
(U+004E).  Which of these characters must be escaped depends on the value's
type.</t>

<t>A "text" value MUST escape any COMMA it contains, even for a property that
does not allow multiple values (for consistency), and MUST escape any
BACKSLASH or NEWLINE.  It MAY escape a SEMICOLON but need not, because
within a "text" value a SEMICOLON is ordinary content rather than a
separator.</t>

<t>A "component" value -- the building block of structured properties like
those of N, ADR, and ORG values -- MUST escape any COMMA, SEMICOLON,
BACKSLASH, or NEWLINE it contains, even where the structure does not
allow multiple values (for consistency).</t>

<t>Outside of "text" and "component" values, none of these characters is
escaped.  Most value types cannot contain any of them, and although a
"uri" value may contain a COMMA or a SEMICOLON (<xref target="RFC3986"/>), a URI is
never in a list or component list.  For tolerance of vCards produced
under earlier specifications, a parser MAY accept a backslash-escaped
COMMA or SEMICOLON within a "uri" value as the literal character.</t>

<t>A few properties define a structured value as a fixed sequence of fields
rather than from "component" values; CLIENTPIDMAP and GENDER are
examples in this document.  In each, the field preceding the semicolon
cannot itself contain a semicolon, so the grammar locates the separator
unambiguously; the semicolon is not escaped, and each field is
interpreted according to its own type.</t>

<t>In all other cases, escaping MUST NOT be used.</t>

</section>
</section>
<section anchor="property-value-data-types"><name>Property Value Data Types</name>

<t>Standard value types are defined below.</t>

<figure><sourcecode type="abnf"><![CDATA[
value = text
      / text-list
      / date-list
      / time-list
      / date-time-list
      / date-and-or-time-list
      / timestamp-list
      / boolean
      / integer-list
      / float-list
      / URI               ; from Section 3 of [RFC3986]
      / utc-offset
      / Language-Tag
      / iana-valuespec
  ; Actual value type depends on property name and VALUE parameter.

text = *TEXT-CHAR

TEXT-CHAR = "\\" / "\," / "\;" / "\n" / WSP / NON-ASCII
          / %x21-2B / %x2D-5B / %x5D-7E
   ; Backslashes, commas, and newlines must be encoded;
   ; semicolons may be.

COMPONENT-CHAR = "\\" / "\," / "\;" / "\n" / WSP / NON-ASCII
          / %x21-2B / %x2D-3A / %x3C-5B / %x5D-7E

component = *COMPONENT-CHAR
list-component = component *("," component)

text-list             = text             *("," text)
date-list             = date             *("," date)
time-list             = time             *("," time)
date-time-list        = date-time        *("," date-time)
date-and-or-time-list = date-and-or-time *("," date-and-or-time)
timestamp-list        = timestamp        *("," timestamp)
integer-list          = integer          *("," integer)
float-list            = float            *("," float)

boolean = "TRUE" / "FALSE"
integer = [sign] 1*DIGIT
float   = [sign] 1*DIGIT ["." 1*DIGIT]

sign = "+" / "-"

year   = 4DIGIT  ; 0000-9999
month  = 2DIGIT  ; 01-12
day    = 2DIGIT  ; 01-28/29/30/31 depending on month and leap year
hour   = 2DIGIT  ; 00-23
minute = 2DIGIT  ; 00-59
second = 2DIGIT  ; 00-58/59/60 depending on leap second
zone   = utc-designator / utc-offset
utc-designator = %x5A  ; uppercase "Z"

date          = year    [month  day]
              / year "-" month
              / "--"     month [day]
              / "--"      "-"   day
date-noreduc  = year     month  day
              / "--"     month  day
              / "--"      "-"   day
date-complete = year     month  day

time          = hour [minute [second]] [zone]
              /  "-"  minute [second]
              /  "-"   "-"    second
time-notrunc  = hour [minute [second]] [zone]
time-complete = hour  minute  second   [zone]

time-designator = %x54  ; uppercase "T"
date-time = date-noreduc  time-designator time-notrunc
timestamp = date-complete time-designator time-complete

date-and-or-time = date-time / date / time-designator time

utc-offset = sign hour [minute]

Language-Tag = <Language-Tag, defined in [RFC5646], Section 2.1>

iana-valuespec = <value-spec, see Section 10.2.5>
               ; a publicly defined valuetype format, registered
               ; with IANA, as defined in Section 10.2.5 of this
               ; document.
]]></sourcecode></figure>

<section anchor="text"><name>TEXT</name>

<t>"text": The "text" value type should be used to identify values that
contain human-readable text.  As for the language, it is controlled
by the LANGUAGE property parameter defined in <xref target="param-language"></xref>.</t>

<t>Examples for "text":</t>

<figure><artwork><![CDATA[
    this is a text value
    this is one value,this is another
    this is a single value\, with a comma encoded
]]></artwork></figure>

<t>A formatted text line break in a text value type MUST be represented
as the character sequence backslash (U+005C) followed by a Latin
small letter n (U+006E) or a Latin capital letter N (U+004E), that
is, "\n" or "\N".</t>

<t>For example, a multiple line NOTE value of:</t>

<figure><artwork><![CDATA[
    Mythical Manager
    Hyjinx Software Division
    BabsCo, Inc.
]]></artwork></figure>

<t>could be represented as:</t>

<figure><artwork><![CDATA[
    NOTE:Mythical Manager\nHyjinx Software Division\n
     BabsCo\, Inc.\n
]]></artwork></figure>

<t>demonstrating the \n literal formatted line break technique, the
CRLF-followed-by-space line folding technique, and the backslash
escape technique.</t>

</section>
<section anchor="uri"><name>URI</name>

<t>"uri": The "uri" value type should be used to identify values that
are referenced by a Uniform Resource Identifier (URI) instead of
encoded in-line.  These value references might be used if the value
is too large, or otherwise undesirable to include directly.  The
format for the URI is as defined in Section 3 of <xref target="RFC3986"/>.  Note
that the value of a property of type "uri" is what the URI points to,
not the URI itself.</t>

<t>Examples for "uri":</t>

<figure><artwork><![CDATA[
    http://www.example.com/my/picture.jpg
    ldap://ldap.example.com/cn=babs%20jensen
]]></artwork></figure>

</section>
<section anchor="date-time-date-time-date-and-or-time-and-timestamp"><name>DATE, TIME, DATE-TIME, DATE-AND-OR-TIME, and TIMESTAMP</name>

<t>"date", "time", "date-time", "date-and-or-time", and "timestamp":
Each of these value types is based on the definitions in
<xref target="ISO.8601.2004"/>.  Multiple such values can be specified using the
comma-separated notation.</t>

<t>Only the basic format is supported.</t>

<section anchor="date"><name>DATE</name>

<t>A calendar date as specified in <xref target="ISO.8601.2004"/>, Section 4.1.2.</t>

<t>Reduced accuracy, as specified in <xref target="ISO.8601.2004"/>, Sections 4.1.2.3
a) and b), but not c), is permitted.</t>

<t>Expanded representation, as specified in <xref target="ISO.8601.2004"/>, Section
4.1.4, is forbidden.</t>

<t>Truncated representation, as specified in <xref target="ISO.8601.2000"/>, Sections
5.2.1.3 d), e), and f), is permitted.</t>

<t>Examples for "date":</t>

<figure><artwork><![CDATA[
          19850412
          1985-04
          1985
          --0412
          ---12
]]></artwork></figure>

<t>Note the use of YYYY-MM in the second example above.  YYYYMM is
disallowed to prevent confusion with YYMMDD.  Note also that
YYYY-MM-DD is disallowed since we are using the basic format instead
of the extended format.</t>

</section>
<section anchor="time"><name>TIME</name>

<t>A time of day as specified in <xref target="ISO.8601.2004"/>, Section 4.2.</t>

<t>Reduced accuracy, as specified in <xref target="ISO.8601.2004"/>, Section 4.2.2.3,
is permitted.</t>

<t>Representation with decimal fraction, as specified in
<xref target="ISO.8601.2004"/>, Section 4.2.2.4, is forbidden.</t>

<t>The midnight hour is always represented by 00, never 24 (see
<xref target="ISO.8601.2004"/>, Section 4.2.3).</t>

<t>Truncated representation, as specified in <xref target="ISO.8601.2000"/>, Sections
5.3.1.4 a), b), and c), is permitted.</t>

<t>Examples for "time":</t>

<figure><artwork><![CDATA[
          102200
          1022
          10
          -2200
          --00
          102200Z
          102200-0800
]]></artwork></figure>

</section>
<section anchor="date-time"><name>DATE-TIME</name>

<t>A date and time of day combination as specified in <xref target="ISO.8601.2004"/>,
Section 4.3.</t>

<t>Truncation of the date part, as specified in <xref target="ISO.8601.2000"/>, Section
5.4.2 c), is permitted.</t>

<t>Examples for "date-time":</t>

<figure><artwork><![CDATA[
          19961022T140000
          --1022T1400
          ---22T14
]]></artwork></figure>

</section>
<section anchor="date-and-or-time"><name>DATE-AND-OR-TIME</name>

<t>Either a DATE-TIME, a DATE, or a TIME value.  To allow unambiguous
interpretation, a stand-alone TIME value is always preceded by a "T".</t>

<t>Examples for "date-and-or-time":</t>

<figure><artwork><![CDATA[
          19961022T140000
          --1022T1400
          ---22T14
          19850412
          1985-04
          1985
          --0412
          ---12
          T102200
          T1022
          T10
          T-2200
          T--00
          T102200Z
          T102200-0800
]]></artwork></figure>

</section>
<section anchor="timestamp"><name>TIMESTAMP</name>

<t>A complete date and time of day combination as specified in
<xref target="ISO.8601.2004"/>, Section 4.3.2.</t>

<t>Examples for "timestamp":</t>

<figure><artwork><![CDATA[
          19961022T140000
          19961022T140000Z
          19961022T140000-05
          19961022T140000-0500
]]></artwork></figure>

</section>
</section>
<section anchor="boolean"><name>BOOLEAN</name>

<t>"boolean": The "boolean" value type is used to express boolean
values.  These values are case-insensitive.</t>

<t>Examples:</t>

<figure><artwork><![CDATA[
    TRUE
    false
    True
]]></artwork></figure>

</section>
<section anchor="integer"><name>INTEGER</name>

<t>"integer": The "integer" value type is used to express signed
integers in decimal format.  If sign is not specified, the value is
assumed positive "+".  Multiple "integer" values can be specified
using the comma-separated notation.  The maximum value is
9223372036854775807, and the minimum value is -9223372036854775808.
These limits correspond to a signed 64-bit integer using two's-
complement arithmetic.</t>

<t>Examples:</t>

<figure><artwork><![CDATA[
    1234567890
    -1234556790
    +1234556790,432109876
]]></artwork></figure>

</section>
<section anchor="float"><name>FLOAT</name>

<t>"float": The "float" value type is used to express real numbers.  If
sign is not specified, the value is assumed positive "+".  Multiple
"float" values can be specified using the comma-separated notation.
Implementations MUST support a precision equal or better than that of
the IEEE "binary64" format <xref target="IEEE.754.2008"/>.</t>

<t>Note: Scientific notation is disallowed.  Implementers wishing to
use their favorite language's %f formatting should be careful.</t>

<t>Examples:</t>

<figure><artwork><![CDATA[
    20.30
    1000000.0000001
    1.333,3.14
]]></artwork></figure>

</section>
<section anchor="utc-offset"><name>UTC-OFFSET</name>

<t>"utc-offset": The "utc-offset" value type specifies that the property
value is a signed offset from UTC.  This value type can be specified
in the TZ property.</t>

<t>The value type is an offset from Coordinated Universal Time (UTC).
It is specified as a positive or negative difference in units of
hours and minutes (e.g., +hhmm).  The time is specified as a 24-hour
clock.  Hour values are from 00 to 23, and minute values are from 00
to 59.  Hour and minutes are 2 digits with high-order zeroes required
to maintain digit count.  The basic format for ISO 8601 UTC offsets
MUST be used.</t>

</section>
<section anchor="language-tag"><name>LANGUAGE-TAG</name>

<t>"language-tag": A single language tag, as defined in <xref target="RFC5646"/>.</t>

</section>
</section>
<section anchor="property-parameters"><name>Property Parameters</name>

<t>A property can have attributes associated with it.  These "property
parameters" contain meta-information about the property or the
property value.  In some cases, the property parameter can be multi-
valued in which case the property parameter value elements are
separated by a COMMA (U+002C).</t>

<t>Property parameter value elements that contain the COLON (U+003A),
SEMICOLON (U+003B), or COMMA (U+002C) character separators MUST be
specified as quoted-string text values.  Property parameter values
MUST NOT contain the DQUOTE (U+0022) character.  The DQUOTE character
is used as a delimiter for parameter values that contain restricted
characters or URI text.</t>

<t>Applications MUST ignore x-param and iana-param values they don't
recognize.</t>

<section anchor="param-language"><name>LANGUAGE</name>

<t>The LANGUAGE property parameter is used to identify data in multiple
languages.  There is no concept of "default" language, except as
specified by any "Content-Language" MIME header parameter that is
present <xref target="RFC3282"/>.  The value of the LANGUAGE property parameter is a
language tag as defined in Section 2 of <xref target="RFC5646"/>.</t>

<t>Examples:</t>

<figure><artwork><![CDATA[
  ROLE;LANGUAGE=tr:hoca
]]></artwork></figure>

<t>ABNF:</t>

<figure><sourcecode type="abnf"><![CDATA[
language-param = "LANGUAGE=" Language-Tag
  ; Language-Tag is defined in section 2.1 of RFC 5646
]]></sourcecode></figure>

</section>
<section anchor="value"><name>VALUE</name>

<t>The VALUE parameter is OPTIONAL, used to identify the value type
(data type) and format of the value.  The use of these predefined
formats is encouraged even if the value parameter is not explicitly
used.  By defining a standard set of value types and their formats,
existing parsing and processing code can be leveraged.  The
predefined data type values MUST NOT be repeated in COMMA-separated
value lists except within the N, NICKNAME, ADR, and CATEGORIES
properties.</t>

<t>Although the VALUE parameter is OPTIONAL, a property defined outside this
document whose default value type is not "text" SHOULD nonetheless
include it on each instance, stating the type explicitly.  A consumer
that does not recognize a property cannot determine its value type from
the property name alone, and so may mishandle a non-text value -- for
example, treating a COMMA within a URI value as a value separator.  See
<xref target="registering-elements"></xref> for the matching registration guidance.</t>

<t>ABNF:</t>

<figure><sourcecode type="abnf"><![CDATA[
value-param = "VALUE=" value-type

value-type = "text"
           / "uri"
           / "date"
           / "time"
           / "date-time"
           / "date-and-or-time"
           / "timestamp"
           / "boolean"
           / "integer"
           / "float"
           / "utc-offset"
           / "language-tag"
           / iana-token  ; registered as described in section 10.2.5
           / x-name
]]></sourcecode></figure>

</section>
<section anchor="pref"><name>PREF</name>

<t>The PREF parameter is OPTIONAL and is used to indicate that the
corresponding instance of a property is preferred by the vCard
author.  Its value MUST be an integer between 1 and 100 that
quantifies the level of preference.  Lower values correspond to a
higher level of preference, with 1 being most preferred.</t>

<t>When the parameter is absent, the default MUST be to interpret the
property instance as being least preferred.</t>

<t>Note that the value of this parameter is to be interpreted only in
relation to values assigned to other instances of the same property
in the same vCard.  A given value, or the absence of a value, MUST
NOT be interpreted on its own.</t>

<t>This parameter MAY be applied to any property that allows multiple
instances.</t>

<t>ABNF:</t>

<figure><sourcecode type="abnf"><![CDATA[
pref-param = "PREF=" (1*2DIGIT / "100")
                             ; An integer between 1 and 100.
]]></sourcecode></figure>

</section>
<section anchor="altid"><name>ALTID</name>

<t>The ALTID parameter is used to "tag" property instances as being
alternative representations of the same logical property.  For
example, translations of a property in multiple languages generates
multiple property instances having different LANGUAGE (<xref target="param-language"></xref>)
parameter that are tagged with the same ALTID value.</t>

<t>This parameter's value is treated as an opaque string.  Its sole
purpose is to be compared for equality against other ALTID parameter
values.</t>

<t>Two property instances are considered alternative representations of
the same logical property if and only if their names as well as the
value of their ALTID parameters are identical.  Property instances
without the ALTID parameter MUST NOT be considered an alternative
representation of any other property instance.  Values for the ALTID
parameter are not globally unique: they MAY be reused for different
property names.</t>

<t>Property instances having the same ALTID parameter value count as 1
toward cardinality.  Therefore, since N (<xref target="prop-n"></xref>) has
cardinality *1 and TITLE (<xref target="prop-title"></xref>) has cardinality *, these
three examples would be legal:</t>

<figure><artwork><![CDATA[
  N;ALTID=1;LANGUAGE=jp:<U+5C71><U+7530>;<U+592A><U+90CE>;;;
  N;ALTID=1;LANGUAGE=en:Yamada;Taro;;;
  (<U+XXXX> denotes a UTF8-encoded Unicode character.)

  TITLE;ALTID=1;LANGUAGE=fr:Patron
  TITLE;ALTID=1;LANGUAGE=en:Boss

  TITLE;ALTID=1;LANGUAGE=fr:Patron
  TITLE;ALTID=1;LANGUAGE=en:Boss
  TITLE;ALTID=2;LANGUAGE=en:Chief vCard Evangelist
]]></artwork></figure>

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          