<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" category="std" consensus="true" docName="draft-ietf-calext-rfc9555bis-00" ipr="pre5378Trust200902" tocInclude="true" tocDepth="4" sortRefs="true" symRefs="true" updates="6350" obsoletes="9555" xml:lang="en" version="3">
  <front>
    <title abbrev="JSContact: Converting vCard">JSContact: Converting from and to vCard</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-calext-rfc9555bis-00"/>
    <author fullname="Mario Loffredo" initials="M." surname="Loffredo">
      <organization>IIT-CNR/Registro.it</organization>
      <address>
        <postal>
          <street>Via Moruzzi, 1</street>
          <city>Pisa</city>
          <country>Italy</country>
          <code>56124</code>
        </postal>
        <email>mario.loffredo@iit.cnr.it</email>
        <uri>https://www.iit.cnr.it</uri>
      </address>
    </author>
    <author fullname="Robert Stepanek" initials="R." surname="Stepanek">
      <organization>Fastmail</organization>
      <address>
        <postal>
          <extaddr>PO Box 234</extaddr>
          <street>Collins St. West</street>
          <city>Melbourne</city>
          <region>VIC</region>
          <code>8007</code>
          <country>Australia</country>
        </postal>
        <email>rsto@fastmailteam.com</email>
        <uri>https://www.fastmail.com</uri>
      </address>
    </author>
    <date year="2026" month="April" day="13"/>
    <area>art</area>
    <workgroup>calext</workgroup>
    <keyword>JSON</keyword>
    <keyword>contacts</keyword>
    <keyword>vCard</keyword>
    <keyword>jCard</keyword>
    <abstract>
      <t>This document defines how to convert contact information between the JSContact and vCard data formats.  It defines conversion rules for every JSContact and vCard element registered at IANA at the time of publication.  It also defines new JSContact properties as well as vCard properties and parameters, to support converting arbitrary or unknown JSContact and vCard elements. This document obsoletes RFC 9555 and updates its definitions for JSContact version "2.0".</t>
    </abstract>
    <note removeInRFC="true">
      <t>Differences from RFC 9555 are documented in <xref target="differences-from-rfc9555"/>.</t>
    </note>
  </front>
  <middle>
    <section>
      <name>Introduction</name>
      <section anchor="notational-conventions" numbered="true" toc="default">
        <name>Notational Conventions</name>
        <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>", "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
        <t>The ABNF definitions in this document use the notations of <xref target="RFC5234"/>. ABNF rules not defined in this document are defined in either <xref target="RFC5234"/> (such as the ABNF for CRLF, WSP, DQUOTE, VCHAR, ALPHA, and DIGIT) or <xref target="RFC6350"/>.</t>
      </section>
      <section anchor="scope-and-goals">
        <name>Scope and Goals</name>
        <t>This document outlines how to convert between the <xref target="RFC6350">vCard</xref> and <xref target="RFC9553">JSContact</xref> data formats.  It describes which elements are common to both, but also highlights where the two formats differ. For each common element, it defines a conversion rule and includes an example of how to convert that element. All vCard and JSContact elements currently registered at IANA are in scope, but not all of these elements are common to both formats.</t>
        <t>For elements that have no counterpart in the other format, it is the goal of this document to define how to preserve them during conversion, but in general it is not the goal to achieve this by defining new standard elements. Instead, this document updates <xref target="RFC6350"/> and <xref target="RFC9553"/> by defining vCard and JSContact elements to preserve elements that have no equivalent in the other format. These conversion-specific properties are defined in Section <xref target="vcard-prop-jsprop" format="counter"/> for vCard, and <xref target="jscontact-prop-vcard"/> for JSContact. </t>
        <t>This document obsoletes <xref target="RFC9555"/>. For contents that remain unchanged, it includes all verified errata for the obsoleted document. The conversion rules are updated for JSContact version "2.0", defined in <xref target="I-D.ietf-calext-jscontact-uid"/>.</t>
        <t><xref target="updates-to-jscontact"/> replaces the JSContact "vCardProps", "vCardParams" and "vCardParam" properties originally defined in <xref target="RFC9555"/> with the new "vCard" property. The new property allows for edge cases where the former elements were insufficient. For vCard, <xref target="updates-to-vcard"/> replaces the <xref target="RFC9554" section="4.7" sectionFormat="parens">PROP-ID</xref> parameter with the new JSID parameter. Both changes align the conversion-specific elements of vCard and JSContact with those defined for iCalendar and JSCalendar in <xref target="I-D.ietf-calext-jscalendar-icalendar"/>, allowing for code reuse for implementations that support these formats.</t>
      </section>
      <section>
        <name>How to Read the Examples</name>
        <t>Later sections contain examples that illustrate how to convert between the vCard and JSContact data formats.  The notation of these examples is such that their main points should be clear to the reader, but their contents can also be parsed for automated testing. The following sections define the notation for such examples.</t>
        <section anchor="notation-vcard">
          <name>vCard Examples</name>
          <t>A vCard example contains either an extract or a complete representation of vCard data. The following rules apply:</t>
          <ul>
            <li>An example that only contains vCard properties implicitly represents a vCard (e.g. the <tt>BEGIN:VCARD</tt> and <tt>END:VCARD</tt> lines are implicit).</li>
            <li>The vCard implicitly contains all mandatory properties with some value. If they are not included in the example, then their actual value is irrelevant for the example. The default value for the VERSION property is "4.0".</li>
          </ul>
          <t><xref target="example-notation-jscontact-implicit-explicit"/> contains three examples, all of which represent the same vCard data.  In the first example, the <tt>BEGIN</tt> and <tt>END</tt> lines and the mandatory properties are implicit. In the second example, only the BEGIN and END lines of the vCard are implicit. The third example depicts a complete vCard, nothing is implicit.</t>
          <figure anchor="example-notation-jscontact-implicit-explicit">
            <name>Examples for implicit and explicit vCard notation</name>
            <sourcecode type="text/calendar"><![CDATA[
EMAIL:foo@example.com
]]></sourcecode>
            <sourcecode type="text/calendar"><![CDATA[
VERSION:4.0
FN:Foo
EMAIL:foo@example.com
]]></sourcecode>
            <sourcecode type="text/calendar"><![CDATA[
BEGIN:VCARD
VERSION:4.0
FN:Foo
EMAIL:foo@example.com
END:VCARD
]]></sourcecode>
          </figure>
          <t>A line containing just the value <tt>...</tt> stands for any other properties that might be present in the vCard but are irrelevant for this example. <xref target="example-notation-jscontact-dotdotdot"/> illustrates this as an alternative representation for the examples of <xref target="example-notation-jscontact-implicit-explicit"/>.</t>
          <figure anchor="example-notation-jscontact-dotdotdot">
            <name>Example for additional properties represented by <tt>...</tt>
            </name>
            <sourcecode type="text/calendar"><![CDATA[
BEGIN:VCARD
...
EMAIL:foo@example.com
]]></sourcecode>
          </figure>
          <t>A line starting with a single space represents the continuation of a folded content line (<xref target="RFC6350" section="3.2"/>).  <xref target="example-notation-jscontact-folded"/> illustrates this.</t>
          <figure anchor="example-notation-jscontact-folded">
            <name>Example for a folded content line</name>
            <sourcecode type="text/calendar"><![CDATA[
FN:Joannes Chrysostomus Wolfg
 angus Theophilus Mozart
]]></sourcecode>
          </figure>
        </section>
        <section anchor="notation-jscalendar">
          <name>JSContact Examples</name>
          <t>A JSContact example always represents a Card object, even if the example only depicts other JSContact objects and properties.</t>
          <t>JSContact objects are depicted either explicitly or implicitly. An explicit JSContact object starts and ends with braces.  An implicit JSContact object omits braces, it only consists of JSON name/value pairs, separated by comma.</t>
          <t>An implicit JSContact object is assumed to be of type Card, unless it contains the <tt>@type</tt> property with a different value.  It is assumed to contain all mandatory properties with some value; if they are not depicted, their actual value is irrelevant for the main point of the example. The default version of the Card is "2.0".</t>
          <t><xref target="example-notation-jscalendar-implicit-explicit"/> illustrates this with multiple examples, all of which represent the same JSContact data.  The first example contains an implicit JSContact object of type Card.  The second example contains an explicit Name object but the Card object containing it is omitted.  The third example contains the full Card object, nothing is omitted.</t>
          <figure anchor="example-notation-jscalendar-implicit-explicit">
            <name>Examples for implicit and explicit JSContact object notation</name>
            <sourcecode type="json"><![CDATA[
"name": {
  "full": "John Doe"
}
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"@type": "Name",
"full": "John Doe"
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
{
  "@type": "Card",
  "version": "2.0",
  "name": {
    "full": "John Doe"
  }
}
]]></sourcecode>
          </figure>
          <t>A property with name <tt>"..."</tt> and value <tt>""</tt> stands for additional properties that might be present in a JSContact object but are irrelevant for this example, including mandatory properties. <xref target="example-notation-jscalendar-dotdotdot"/> illustrates this as an alternative representation for the examples of <xref target="example-notation-jscalendar-implicit-explicit"/>.</t>
          <figure anchor="example-notation-jscalendar-dotdotdot">
            <name>Example for additional properties represented by <tt>...</tt>
            </name>
            <sourcecode type="json"><![CDATA[
"name": {
  "full": "John Doe",
  "...": ""
}
]]></sourcecode>
          </figure>
        </section>
      </section>
    </section>
    <section anchor="vcard-jscontact-conversion">
      <name>Converting vCard to JSContact</name>
      <t>This section contains the conversion rules from the vCard to the JSContact Card.</t>
      <section>
        <name>General Rules</name>
        <section anchor="convert-card-uid">
          <name>The Card uid Property</name>
          <t>The UID property converts to the "uid" property of the Card object, see <xref target="vcard-prop-uid"/>. In contrast to JSContact version "2.0", the Card "uid" property was mandatory in version "1.0".</t>
          <t>Implementations that convert a vCard without a <xref target="RFC6350" section="6.7.6" sectionFormat="parens">UID property</xref> to a Card of version "2.0" or higher <bcp14>MUST NOT</bcp14> generate a unique identifier as value for the <xref target="RFC9553" section="2.1.9" sectionFormat="parens">uid property</xref>.</t>
          <t>When converting a vCard without UID property to JSContact version "1.0", implementations <bcp14>MUST</bcp14> generate a value for the uid property. Generating unique identifiers is implementation-specific. An implementation <bcp14>SHOULD</bcp14> generate the same value when generating the same Card multiple times. <xref target="I-D.ietf-calext-jscontact-uid" section="2"/> describes why this is problematic. Consequently, implementations <bcp14>SHOULD NOT</bcp14> convert to version "1.0" Card objects.</t>
        </section>
        <section>
          <name>Choosing Identifiers</name>
          <t>Multivalued properties in JSContact are typically represented as a JSON object where the object keys are of the Id type (<xref target="RFC9553" derivedContent="RFC9553" section="1.4.1" sectionFormat="of"/>) and the object values are the converted vCard property.  In the absence of the JSID parameter (see <xref target="vcard-param-jsid"/>), implementations are free to choose any identifier as key for such entries.  Whatever identifier generation scheme implementations use, they <bcp14>MUST</bcp14> generate values that are valid according to the definition of the Id type in <xref target="RFC9553"/>.  For example, this could be an incrementing number across all identifier keys in the Card object or only unique within one JSON object.</t>
        </section>
        <section anchor="vcard-unknown">
          <name>Converting Unknown Elements</name>
          <t>vCards may contain elements for which no IANA-registered JSContact property is defined, such as extended properties and parameters (see <xref target="RFC6350" sectionFormat="of" section="6.10"/>). <xref target="jscontact-prop-vcard"/> defines the "vCard" property to represent arbitrary vCard elements in JSContact.</t>
        </section>
      </section>
      <section anchor="vcard-parameters">
        <name>vCard Parameters</name>
        <t>This section contains the conversion rules for vCard parameters.  A rule typically applies only for specific vCard properties.  To convert a vCard parameter on an arbitrary vCard property, see <xref target="jscontact-prop-vcard"/>.</t>
        <section anchor="vcard-param-altid">
          <name>ALTID</name>
          <t>The ALTID parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.4" sectionFormat="of"/>) does not convert to an IANA-registered property in JSContact, but several conversion rules make use of this parameter to combine multiple vCard properties into a single JSContact object instance.  For an example of this, see <xref target="vcard-prop-adr"/>.  To preserve the verbatim value of the ALTID parameter, set the JSContact properties defined in <xref target="updates-to-jscontact"/>.</t>
        </section>
        <section anchor="vcard-param-author">
          <name>AUTHOR</name>
          <t>The AUTHOR parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.1" sectionFormat="of"/>) on a NOTE property converts to the Author object's uri property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.3" sectionFormat="of"/>).  That Author object is set as the value of the Note object's author property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.3" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-author-name">
          <name>AUTHOR-NAME</name>
          <t>The AUTHOR-NAME parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.2" sectionFormat="of"/>) on a NOTE property converts to the Author object's name property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.3" sectionFormat="of"/>).  That Author object is set as the value of the Note object's author property.</t>
        </section>
        <section anchor="vcard-param-calscale">
          <name>CALSCALE</name>
          <t>The CALSCALE parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.8" sectionFormat="of"/>) set on a BDAY, DEATHDATE, or ANNIVERSARY property converts to the PartialDate object's calendarScale property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.1" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-cc">
          <name>CC</name>
          <t>The CC parameter (<xref target="RFC8605" derivedContent="RFC8605" section="3.1" sectionFormat="of"/>) on an ADR property converts to the Address object's countryCode property (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1.1" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-created">
          <name>CREATED</name>
          <t>The CREATED parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.3" sectionFormat="of"/>) on a NOTE property converts to the Note object's created property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.3" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-derived">
          <name>DERIVED</name>
          <t>The DERIVED parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.4" sectionFormat="of"/>) does not convert to JSContact.  If the DERIVED parameter is set to "true" on a vCard property, then implementations <bcp14>MAY</bcp14> choose not to convert that property.</t>
        </section>
        <section anchor="vcard-param-geo">
          <name>GEO</name>
          <t>The GEO parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.10" sectionFormat="of"/>) set on an ADR property converts to the Address object's coordinates property (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1.1" sectionFormat="of"/>). Also see the conversion of the GEO property in <xref target="vcard-prop-geo"/>.</t>
        </section>
        <section anchor="vcard-param-group">
          <name>GROUP</name>
          <t>The GROUP parameter (<xref target="RFC7095" derivedContent="RFC7095" section="7.1" sectionFormat="of"/>) does not convert to JSContact.  It exclusively is for use in jCard and <bcp14>MUST NOT</bcp14> be set in a vCard.</t>
          <t>Preserving the exact group name when converting from vCard to JSContact and back to vCard is not necessary.  Any group identifiers will do, as long as the resulting vCard groups its properties equally to the original vCard.  Implementations <bcp14>MAY</bcp14> preserve the original group name in the "parameters" property of the VCardProperty object (<xref target="jscontact-prop-vcard"/>).</t>
          <figure anchor="group_conversion_params">
            <name>Example of How to Preserve the Group Name for a Known Property</name>
            <sourcecode type="vcard"><![CDATA[
item1.TEL;VALUE=uri:tel:+1-555-555-5555
item1.X-ABLabel:Test
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"phones": {
  "p1": {
    "number": "tel:+1-555-555-5555",
    "label": "test"
  }
},
"vCard": {
  "convertedProperties": {
    "phones/p1/number": {
      "name": "tel",
      "parameters": {
        "group": "item1"
      }
    },
    "phones/p1/label": {
      "name": "x-ablabel",
      "parameters": {
        "group": "item1"
      }
    }
  }
}
]]></sourcecode>
          </figure>
          <figure anchor="group_conversion_props">
            <name>Example of How to Preserve the Group Name for an Unknown Property</name>
            <sourcecode><![CDATA[
item2.X-FOO:bar
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"vCard": {
  "properties": [
    ["x-foo", {
      "group": "item2"
    }, "unknown", "bar"]
  ]
]
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-param-index">
          <name>INDEX</name>
          <t>The INDEX parameter (<xref target="RFC6715" derivedContent="RFC6715" section="3.1" sectionFormat="of"/>) set on the EXPERTISE, HOBBY, INTEREST, and ORG-DIRECTORY properties converts to the PersonalInfo (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.4" sectionFormat="of"/>) and Directory (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.2" sectionFormat="of"/>) objects' listAs property.</t>
        </section>
        <section anchor="vcard-param-language">
          <name>LANGUAGE</name>
          <t>The LANGUAGE parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.1" sectionFormat="of"/>) converts to an entry in the Card object's localizations property (<xref target="RFC9553" derivedContent="RFC9553" section="2.7.1" sectionFormat="of"/>) for that vCard property on which this parameter is set.  The value of the LANGUAGE parameter defines the language tag key in the localizations property.</t>
	  <t>This specification does not define a single standard conversion rule for how to convert the property values.  Instead, building the localizations value is implementation-specific. Implementations that convert to a <xref target="I-D.ietf-calext-jscontact-profiles">JSContact profile</xref> <bcp14>MUST</bcp14> adhere to the profile-specific restrictions, if any.</t>
          <t>Two options to populate the localizations property are:</t>
          <ul>
            <li>One Patch per Property: For each vCard property with a LANGUAGE parameter, set the complete path in the PatchObject to the JSContact property that the vCard property converts to.  The value of the patch is the converted property value.  This is simple to process and adequate if the vCard only contains a few properties with the LANGUAGE parameter.</li>
            <li>Bundle Patches by Parent: If a PatchObject contains multiple paths that have the same parent paths, then it might be possible to combine these patches into one patch that patches the parent property.  This is possible if the property in the Card is patched in its entirety.</li>
          </ul>
          <t>Generally, localizations only localize properties that are present in the non-localized version of this Card.  <xref target="language-patch-dominant-language"/> illustrates this.</t>
          <figure anchor="language-patch-dominant-language">
            <name>LANGUAGE Conversion Example: One Dominant Language</name>
            <sourcecode type="vcard"><![CDATA[
FN;LANGUAGE=EN:John Doe
TITLE;ALTID=1;LANGUAGE=EN:Boss
TITLE;ALTID=1;LANGUAGE=fr:Patron
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"language": "en",
"name": {
  "full": "John Doe"
},
"titles": {
  "t1": {
    "name": "Boss"
  }
},
"localizations": {
  "fr": {
    "titles/t1/name": "Patron"
  }
}
]]></sourcecode>
          </figure>
          <t>As a special case, if one or more vCard properties of the same type do not have the LANGUAGE parameter set, add them to the non-localized Card.  Convert any with LANGUAGE parameters to the localizations property.  <xref target="language-patch-no-language"/> illustrates this.</t>
          <figure anchor="language-patch-no-language">
            <name>LANGUAGE Conversion Example: Property without Language</name>
            <sourcecode type="vcard"><![CDATA[
FN:John Doe
TITLE;ALTID=1:Boss
TITLE;ALTID=1;LANGUAGE=fr:Patron
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"name": {
  "full": "John Doe"
},
"titles": {
  "t1": {
    "name": "Boss"
  }
},
"localizations": {
  "fr": {
    "titles/t1/name": "Patron"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-param-label">
          <name>LABEL</name>
          <t>The LABEL parameter (<xref target="RFC6350" derivedContent="RFC6350" section="6.3.1" sectionFormat="of"/>) on an ADR property converts to the Address object's full property (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-level">
          <name>LEVEL</name>
          <t>The LEVEL parameter (<xref target="RFC6715" derivedContent="RFC6715" section="3.2" sectionFormat="of"/>) converts to the PersonalInfo object's level property (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.4" sectionFormat="of"/>).  If this parameter is set on the EXPERTISE property, then its values convert as follows:
      </t>
          <ul spacing="compact">
            <li>"beginner" converts to "low";</li>
            <li>"average" converts to "medium"; and</li>
            <li>"expert" converts to "high".</li>
          </ul>
          <t>In all other cases, the values convert verbatim, but lowercase <bcp14>MUST</bcp14> be used for the JSContact value.</t>
        </section>
        <section anchor="vcard-param-mediatype">
          <name>MEDIATYPE</name>
          <t>The MEDIATYPE parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.7" sectionFormat="of"/>) converts to the Resource object's mediaType property (<xref target="RFC9553" derivedContent="RFC9553" section="1.4.4" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-phonetic">
          <name>PHONETIC</name>
          <t>The PHONETIC parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.6" sectionFormat="of"/>) converts to the Name (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.1" sectionFormat="of"/>) and Address (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>) objects' phoneticSystem property unless the parameter value is "script", in which case the phoneticSystem property is not set.</t>
          <t>The value of the SCRIPT parameter converts to the phoneticScript property (see <xref target="vcard-param-phonetic"/>).</t>
          <t>The related N or ADR property is defined by the vCard ALTID parameter. The conversion rules for the <xref target="vcard-prop-n">N</xref> and <xref target="vcard-prop-adr">ADR</xref> properties define how the vCard components convert to JSContact.</t>
          <t>The component values of the property on which the PHONETIC parameter is set, convert to the respective NameComponent or AddressComponent objects' phonetic properties.</t>
          <t>If more than one property has the PHONETIC parameter set and relates to the same property, then they convert to the Card object's localizations property according to their LANGUAGE parameter values as outlined in <xref target="vcard-param-language"/>.</t>
          <figure anchor="phonetic_conversion">
            <name>PHONETIC Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
LANGUAGE=zh-Hant
N;ALTID=1;LANGUAGE=zh-Hant:孫;中山;文,逸仙;;
N;ALTID=1;PHONETIC=jyut;
  SCRIPT=Latn;LANGUAGE=yue:syun1;zung1saan1;man4,jat6sin1;;
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"language": "zh-Hant",
"name": {
  "components": [
    { "kind": "surname", "value": "孫" },
    { "kind": "given", "value": "中山" },
    { "kind": "given2", "value": "文" },
    { "kind": "given2", "value": "逸仙" }
  ]
},
"localizations": {
  "yue": {
    "name/phoneticSystem": "jyut",
    "name/phoneticScript": "Latn",
    "name/components/0/phonetic": "syun1",
    "name/components/1/phonetic": "zung1saan1",
    "name/components/2/phonetic": "man4",
    "name/components/3/phonetic": "jat6sin1"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-param-pid">
          <name>PID</name>
          <t>The PID parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.5" sectionFormat="of"/>) does not convert to a standard JSContact element. Implementations <bcp14>MAY</bcp14> convert it to the "parameters" property of the VCardProperty object (<xref target="jscontact-prop-vcard"/>).</t>
        </section>
        <section anchor="vcard-param-pref">
          <name>PREF</name>
          <t>The PREF parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.3" sectionFormat="of"/>) converts to the pref property of that JSContact object, to which the vCard property having this parameter converts.</t>
        </section>
        <section anchor="vcard-param-propid">
          <name>PROP-ID</name>
          <t>The PROP-ID parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.7" sectionFormat="of"/>) is deprecated. The <xref target="vcard-param-jsid">JSID</xref> parameter replaces it.</t>
          <t>The PROP-ID parameter <bcp14>MUST</bcp14> be ignored if the JSID parameter is set on the same property. If the JSID parameter is not set, implementations <bcp14>MAY</bcp14>  convert the PROP-ID parameter to the key of the JSContact object to which the vCard property converts to.</t>
          <figure anchor="propid_conversion">
            <name>PROP-ID Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
TEL;PROP-ID=xyz;VALUE=uri:tel:+1-555-555-5555;ext=5555
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"phones": {
  "xyz": {
    "number": "tel:+1-555-555-5555;ext=5555"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-param-script">
          <name>SCRIPT</name>
          <t>The SCRIPT parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.8" sectionFormat="of"/>) converts to the Name (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.1" sectionFormat="of"/>) or Address (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>) objects' phoneticScript property.</t>
          <t>Also see <xref target="vcard-param-phonetic"/>.</t>
        </section>
        <section anchor="vcard-param-service-type">
          <name>SERVICE-TYPE</name>
          <t>The SERVICE-TYPE parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.9" sectionFormat="of"/>) converts to the OnlineService object's service property (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.2" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-sort-as">
          <name>SORT-AS</name>
          <t>The SORT-AS parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.9" sectionFormat="of"/>) converts to the Name, Organization, and OrgUnit objects' sortAs properties.</t>
        </section>
        <section anchor="vcard-param-type">
          <name>TYPE</name>
          <t>The TYPE parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.6" sectionFormat="of"/>) either converts to the contexts property or the kind property, as defined in later sections. If not specified otherwise, the vCard "home" and "work" parameter values convert to the JSContact "private" and "work" contexts, respectively.</t>
        </section>
        <section anchor="vcard-param-tz">
          <name>TZ</name>
          <t>The TZ parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.11" sectionFormat="of"/>) on an ADR property converts to the Address object's timeZone property (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>).  Also see the conversion of the TZ property in <xref target="vcard-prop-tz"/>.</t>
        </section>
        <section anchor="vcard-param-username">
          <name>USERNAME</name>
          <t>The USERNAME parameter (<xref target="RFC9554" derivedContent="RFC9554" section="4.10" sectionFormat="of"/>) converts to the OnlineService object's user property (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.2" sectionFormat="of"/>).</t>
        </section>
        <section anchor="vcard-param-value">
          <name>VALUE</name>
	  <t>The VALUE parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.2" sectionFormat="of"/>) does not convert to an IANA-registered property in JSContact.  To preserve properties with experimental values, see <xref target="jscontact-prop-vcard"/>.</t>
        </section>
      </section>
      <section anchor="vcard-props">
        <name>vCard Properties</name>
        <section anchor="vcard-prop-adr">
          <name>ADR</name>
          <t>The ADR property (<xref target="RFC6350" derivedContent="RFC6350" section="6.3.1" sectionFormat="of"/>) converts to an Address object (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>) in the Card object's addresses property.</t>
          <t>Each component in the structured value of the ADR property converts to an AddressComponent in the Address components property. The component value converts to the AddressComponent value property, the component position determines the value of the AddressComponent kind property as follows:</t>
          <table anchor="adr_kind_conversion">
            <name>ADR Components Conversion</name>
            <thead>
              <tr>
                <th align="left">ADR component</th>
                <th align="left">AddressComponent kind</th>
                <th align="left">Remarks</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">post office box</td>
                <td align="left">postOfficeBox</td>
                <td align="left"><xref target="RFC6350"/> recommends that this component not be set, but this is now disputable given the new components.  Instead, set this component and use the new ADR value format defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">extended address</td>
                <td align="left">apartment</td>
                <td align="left">
                  <t>Do not convert if the ADR property value includes extended ADR components defined in <xref target="RFC9554"/>.</t>
                </td>
              </tr>
              <tr>
                <td align="left">street address</td>
                <td align="left">name</td>
                <td align="left">
                  <t>Do not convert if the ADR property value includes extended ADR components defined in <xref target="RFC9554"/>.</t>
                </td>
              </tr>
              <tr>
                <td align="left">locality</td>
                <td align="left">locality</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">region</td>
                <td align="left">region</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">postal code</td>
                <td align="left">postcode</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">country</td>
                <td align="left">country</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">apartment</td>
                <td align="left">apartment</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">block</td>
                <td align="left">block</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">building</td>
                <td align="left">building</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">direction</td>
                <td align="left">direction</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">district</td>
                <td align="left">district</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">floor</td>
                <td align="left">floor</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">landmark</td>
                <td align="left">landmark</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">room</td>
                <td align="left">room</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">street number</td>
                <td align="left">number</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
              <tr>
                <td align="left">subdistrict</td>
                <td align="left">subdistrict</td>
                <td>Defined in <xref target="RFC9554"/>.</td>
              </tr>
            </tbody>
          </table>
          <t>If the <xref target="vcard-param-jscomps">JSCOMPS</xref> parameter is set and valid, then the Address object's isOrdered property value is "true", and the defaultSeparator property and any separator name components are set according to the parameter value.  The order in the components property <bcp14>MUST</bcp14> adhere to the order of the JSCOMPS parameter value.</t>
          <t>If the JSCOMPS parameter is not set, then the Address object's isOrdered property value is "false", and the defaultSeparator property <bcp14>MUST NOT</bcp14> be set.  The order in the components property <bcp14>MUST</bcp14> follow the order of values in the ADR structured value when read from left to right.</t>
          <ul empty="true">
            <li>The LABEL parameter converts to the Address object's full property.</li>
            <li>The GEO parameter converts to the Address object's coordinates property.</li>
            <li>The TZ parameter converts to the Address object's timeZone property.</li>
            <li>The CC parameter converts to the Address object's countryCode property.</li>
          </ul>
          <t>The ADR property converts to the same Address object as the <xref target="vcard-prop-geo">GEO property</xref> and <xref target="vcard-prop-tz">TZ property</xref> if either they are members of the same vCard property group, or if they are part of no group.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.  The ADR-specific values of the TYPE parameter defined in Sections <xref target="RFC9554" sectionFormat="bare" section="5.1"/> and <xref target="RFC9554" sectionFormat="bare" section="5.2"/> of <xref target="RFC9554"/> convert to the corresponding entries of the contexts property as defined in <xref target="RFC9553" sectionFormat="of" section="2.5.1"/>.</t>
          <t>The ALTID and LANGUAGE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.  Each possible language-dependent alternative converts to an entry of the PatchObject where the key references the full property.</t>
          <figure anchor="adr_conversion">
            <name>ADR Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
ADR;TYPE=work;CC=US:;;54321 Oak St;Reston;VA;20190;USA;;;;54321;Oak St;;;;;;
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"addresses": {
  "ADDR-1" : {
    "contexts": { "work": true },
    "components": [
      { "kind": "number", "value": "54321" },
      { "kind": "name", "value": "Oak St" },
      { "kind": "locality", "value": "Reston" },
      { "kind": "region", "value": "VA" },
      { "kind": "postcode", "value": "20190" },
      { "kind": "country", "value": "USA" }
    ],
    "countryCode": "US"
  }
}
]]></sourcecode>
          </figure>
          <t>See <xref target="vcard-param-jscomps-examples"/> for examples of using the JSCOMPS parameter for vCard-structured property values.</t>
        </section>
        <section anchor="vcard-prop-anniversary">
          <name>ANNIVERSARY</name>
          <t>The ANNIVERSARY property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.6" sectionFormat="of"/>) converts to an Anniversary object in the Card object's anniversaries property (<xref target="anniversary_conversion"/>). The Anniversary kind is "wedding".</t>
          <t>See <xref target="vcard-prop-bday"/> how to convert property values of type TIMESTAMP and DATE.</t>
          <figure anchor="anniversary_conversion">
            <name>ANNIVERSARY Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
ANNIVERSARY:19860201
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"anniversaries": {
  "ANNIVERSARY-1" : {
    "kind": "wedding",
    "date": {
      "year": 1986,
      "month": 2,
      "day": 1
    }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-bday">
          <name>BDAY</name>
          <t>The BDAY property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.5" sectionFormat="of"/>) converts to an Anniversary object in the Card object's anniversaries property (<xref target="anniversary_conversion"/>). Its value converts to the Anniversary date property. The Anniversary kind is "birth".</t>
          <t>If the property value type is <xref target="RFC6350" derivedContent="RFC6350" section="4.3.5" sectionFormat="parens">DATE</xref> and defines at least a year or a month and day, then the value converts to a PartialDate object. If the property value type is <xref target="RFC6350" derivedContent="RFC6350" section="4.3.5" sectionFormat="parens">TIMESTAMP</xref> then the value converts to the utc property of the Timestamp object. Otherwise it does not convert to a standard JSContact element.</t>
          <t>A BDAY property and the BIRTHPLACE property (see <xref target="vcard-prop-birthplace"/>) convert to the same Anniversary object if their ALTID parameter values match or are not set on either property.</t>
          <figure anchor="bday_conversion">
            <name>BDAY Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
BDAY:19531015T231000Z
BIRTHPLACE:
 123 Main Street\nAny Town, CA 91921-1234\nU.S.A.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"anniversaries": {
  "ANNIVERSARY-1" : {
    "kind": "birth",
    "date": {
      "@type": "Timestamp",
      "utc": "1953-10-15T23:10:00Z"
    },
    "place": {
      "full":
         "123 Main Street\nAny Town, CA 91921-1234\nU.S.A."
    }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-birthplace">
          <name>BIRTHPLACE</name>
          <t>The BIRTHPLACE property (<xref target="RFC6474" derivedContent="RFC6474" section="2.1" sectionFormat="of"/>) converts to an Anniversary object in the Card object's anniversaries property (<xref target="anniversary_conversion"/>). Its value converts to an Address object in the Anniversary place property. The Anniversary kind is "birth".</t>
          <t>A property value of type TEXT converts to the Address object's full property. A property value of type URI using the "geo:" URI scheme converts to the Address object's coordinates property. A property having any other value type does not convert to an Anniversary object.</t>
          <t>See <xref target="vcard-prop-bday"/> for an example and how to convert a BIRTHPLACE property together with a BDAY property.</t>
        </section>
        <section anchor="vcard-prop-caladruri">
          <name>CALADRURI</name>
          <t>The CALADRURI property (<xref target="RFC6350" derivedContent="RFC6350" section="6.9.2" sectionFormat="of"/>) converts to a SchedulingAddress object (<xref target="RFC9553" derivedContent="RFC9553" section="2.4.2" sectionFormat="of"/>) in the Card object's schedulingAddresses property (<xref target="caladruri_conversion"/>).  The SchedulingAddress object's uri property is set to the CALADRURI value.</t>
          <t>The PREF parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.3" sectionFormat="of"/>) converts according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="caladruri_conversion">
            <name>CALADRURI Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
CALADRURI;PREF=1:mailto:janedoe@example.com
CALADRURI:https://example.com/calendar/jdoe
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"schedulingAddresses": {
  "SCHEDULING-1": {
    "uri": "mailto:janedoe@example.com",
    "pref": 1
  },
  "SCHEDULING-2": {
    "uri": "https://example.com/calendar/jdoe"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-caluri">
          <name>CALURI</name>
          <t>The CALURI property (<xref target="RFC6350" derivedContent="RFC6350" section="6.9.3" sectionFormat="of"/>) converts to a Calendar object (<xref target="RFC9553" derivedContent="RFC9553" section="2.4.1" sectionFormat="of"/>) in the Card object's calendars property (<xref target="caluri_conversion"/>).  The Calendar object's kind property is set to "calendar" and the uri property is set to the CALURI value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="caluri_conversion">
            <name>CALURI Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
CALURI;PREF=1:https://cal.example.com/calA
CALURI;MEDIATYPE=text/calendar:https://ftp.example.com/calA.ics
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"calendars": {
  "CAL-1": {
    "kind": "calendar",
    "uri": "https://cal.example.com/calA",
    "pref": 1
  },
  "CAL-2": {
    "kind": "calendar",
    "uri": "https://ftp.example.com/calA.ics",
    "mediaType": "text/calendar"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-categories">
          <name>CATEGORIES</name>
          <t>The CATEGORIES property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.1" sectionFormat="of"/>) converts to a set of entries of the Card object's keywords property (<xref target="categories_conversion"/>).  The keys are the comma-separated text values of the CATEGORIES property.</t>
          <t>In this case, the PREF parameter does not have a JSContact counterpart; however, the implementors <bcp14>MAY</bcp14> insert the entries by order of preference.</t>
          <figure anchor="categories_conversion">
            <name>CATEGORIES Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
CATEGORIES:internet,IETF,Industry,Information Technology
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"keywords": {
  "internet": true,
  "IETF": true,
  "Industry": true,
  "Information Technology": true
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-clientpidmap">
          <name>CLIENTPIDMAP</name>
          <t>The CLIENTPIDMAP property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.7" sectionFormat="of"/>) does not convert to a standard JSContact element. Implementations <bcp14>MAY</bcp14> convert it to the "properties" property of the VCard object (<xref target="jscontact-prop-vcard"/>).</t>
        </section>
        <section anchor="vcard-prop-contact-uri">
          <name>CONTACT-URI</name>
          <t>The CONTACT-URI property (<xref target="RFC8605" derivedContent="RFC8605" section="2.1" sectionFormat="of"/>) converts to a Link object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.3" sectionFormat="of"/>) in the Card object's links property (<xref target="contact_uri_conversion"/>).  The Link object's kind property is set to "contact" and the uri property is set to the CONTACT-URI property value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="contact_uri_conversion">
            <name>CONTACT-URI Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
CONTACT-URI;PREF=1:mailto:contact@example.com
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"links": {
  "CONTACT-1": {
    "kind": "contact",
    "uri": "mailto:contact@example.com",
    "pref": 1
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-created">
          <name>CREATED</name>
          <t>The CREATED property (<xref target="RFC9554" derivedContent="RFC9554" section="3.1" sectionFormat="of"/>) converts to the Card object's created property (<xref target="created_conversion"/>).</t>
          <figure anchor="created_conversion">
            <name>CREATED Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
CREATED:19940930T143510Z
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"created": "1994-09-30T14:35:10Z"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-email">
          <name>EMAIL</name>
          <t>The EMAIL property (<xref target="RFC6350" derivedContent="RFC6350" section="6.4.2" sectionFormat="of"/>) converts to an EmailAddress object (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.1" sectionFormat="of"/>) in the Card object's emails property (<xref target="email_conversion"/>).  The EmailAddress object's address property is set to the EMAIL value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="email_conversion">
            <name>EMAIL Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
EMAIL;TYPE=work:jqpublic@xyz.example.com
EMAIL;PREF=1:jane_doe@example.com
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"emails": {
  "EMAIL-1": {
    "contexts": { "work": true },
    "address": "jqpublic@xyz.example.com"
  },
  "EMAIL-2": {
    "address": "jane_doe@example.com",
    "pref": 1
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-deathdate">
          <name>DEATHDATE</name>
          <t>The DEATHDATE property (<xref target="RFC6474" derivedContent="RFC6474" section="2.3" sectionFormat="of"/>) converts to an Anniversary object in the Card object's anniversaries property (<xref target="anniversary_conversion"/>). Its value converts to the Anniversary date property. The Anniversary kind is "death".</t>
          <t>See <xref target="vcard-prop-bday"/> how to convert property values of type TIMESTAMP and DATE.</t>
          <t>A DEATHDATE property and the DEATHPLACE property (see <xref target="vcard-prop-deathplace"/>) convert to the same Anniversary object if their ALTID parameter values match or are not set on either property.</t>
          <figure anchor="deathdate_conversion">
            <name>DEATHDATE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
DEATHDATE:19960415
DEATHPLACE:
 5 Court Street\nNew England, ND 58647\nU.S.A.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"anniversaries": {
  "ANNIVERSARY-2" : {
    "kind": "death",
    "date": {
      "year": 1996,
      "month": 4,
      "year": 15
    },
    "place": {
      "full": "5 Court Street\nNew England, ND 58647\nU.S.A."
    }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-deathplace">
          <name>DEATHPLACE</name>
          <t>The DEATHPLACE property (<xref target="RFC6474" derivedContent="RFC6474" section="2.2" sectionFormat="of"/>) converts to an Anniversary object in the Card object's anniversaries property (<xref target="anniversary_conversion"/>). Its value converts to an Address object in the Anniversary place property. The Anniversary kind is "death".</t>
          <t>A property value of type TEXT converts to the Address object's full property. A property value of type URI using the "geo:" URI scheme converts to the Address object's coordinates property. A property having any other value type does not convert to an Anniversary object.</t>
          <t>See <xref target="vcard-prop-deathdate"/> for an example and how to convert a DEATHPLACE property together with a DEATHDATE property.</t>
        </section>
        <section anchor="vcard-prop-expertise">
          <name>EXPERTISE</name>
          <t>The EXPERTISE property (<xref target="RFC6715" derivedContent="RFC6715" section="2.1" sectionFormat="of"/>) converts to a PersonalInfo object (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.4" sectionFormat="of"/>) in the Card object's personalInfo property (<xref target="expertise_conversion"/>).  The PersonalInfo object's kind property is set to "expertise".</t>
          <t>The INDEX and LEVEL parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="expertise_conversion">
            <name>EXPERTISE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
EXPERTISE;LEVEL=beginner;INDEX=2:Chinese literature
EXPERTISE;INDEX=1;LEVEL=expert:chemistry
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"personalInfo": {
  "PERSINFO-1" : {
    "kind": "expertise",
    "value": "Chinese literature",
     "level": "low",
     "listAs": 2
  },
  "PERSINFO-2" : {
    "kind": "expertise",
    "value": "chemistry",
    "level": "high",
    "listAs": 1
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-fburl">
          <name>FBURL</name>
          <t>The FBURL property (<xref target="RFC6350" derivedContent="RFC6350" section="6.9.1" sectionFormat="of"/>) converts to a Calendar object (<xref target="RFC9553" derivedContent="RFC9553" section="2.4.1" sectionFormat="of"/>) in the Card object's calendars property (<xref target="fburl_conversion"/>).  The Calendar object's kind property is set to "freeBusy" and the uri property is set to the FBURL value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="fburl_conversion">
            <name>FBURL Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
FBURL;PREF=1:https://www.example.com/busy/janedoe
FBURL;MEDIATYPE=text/calendar:https://example.com/busy/project-a.ifb
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"calendars": {
  "FBURL-1": {
    "kind": "freeBusy",
    "uri": "https://www.example.com/busy/janedoe",
    "pref": 1
  },
  "FBURL-2": {
    "kind": "freeBusy",
    "uri": "https://example.com/busy/project-a.ifb",
    "mediaType": "text/calendar"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-fn">
          <name>FN</name>
          <t>The FN property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.1" sectionFormat="of"/>) converts to the Name object's full property (<xref target="fn_conversion"/>).  If the LANGUAGE parameter is set, then the FN property converts as outlined in <xref target="vcard-param-language"/>.  In the unexpected case where the vCard contains more than one FN property without the LANGUAGE parameter, convert the FN property that has the least parameters.  If multiple such FN properties are present, choose any of them.</t>
          <t>All other FN properties do not convert to a standard JSContact element. Implementations <bcp14>MAY</bcp14> convert them to the "properties" property of the VCard object (<xref target="jscontact-prop-vcard"/>).</t>
          <figure anchor="fn_conversion">
            <name>FN Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
FN:John Q. Public, Esq.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"name": {
  "full": "John Q. Public, Esq."
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-gender">
          <name>GENDER</name>
          <t>The GENDER property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.7" sectionFormat="of"/>) does not convert to an IANA-registered property in JSContact.  To convert this property, see <xref target="jscontact-prop-vcard"/>.  Alternatively, the Card object's speakToAs property defines how to address and refer to an individual represented by the Card, as do the newly defined vCard GRAMGENDER and PRONOUNS properties of <xref target="RFC9554"/>.</t>
        </section>
        <section anchor="vcard-prop-geo">
          <name>GEO</name>
          <t>The GEO property (<xref target="RFC6350" derivedContent="RFC6350" section="6.5.2" sectionFormat="of"/>) converts to the Address object's coordinates property (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>).</t>
          <t>See <xref target="vcard-prop-adr"/> how to convert the GEO property together with the ADR and TZ property.</t>
        </section>
        <section anchor="vcard-prop-gramgender">
          <name>GRAMGENDER</name>
          <t>The GRAMGENDER property (<xref target="RFC9554" derivedContent="RFC9554" section="3.2" sectionFormat="of"/>) converts to the SpeakToAs object's grammaticalGender property (<xref target="gramgender_conversion"/>).</t>
          <figure anchor="gramgender_conversion">
            <name>GRAMGENDER Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
GRAMGENDER:NEUTER
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"speakToAs": {
  "grammaticalGender": "neuter"
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-hobby">
          <name>HOBBY</name>
          <t>The HOBBY property (<xref target="RFC6715" derivedContent="RFC6715" section="2.2" sectionFormat="of"/>) converts to a PersonalInfo object (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.4" sectionFormat="of"/>) in the Card object's personalInfo property (<xref target="hobby_conversion"/>).  The PersonalInfo object's kind property is set to "hobby".</t>
          <t>The INDEX and LEVEL parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="hobby_conversion">
            <name>HOBBY Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
HOBBY;INDEX=1;LEVEL=high:reading
HOBBY;INDEX=2;LEVEL=high:sewing
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"personalInfo": {
  "PERSINFO-1" : {
    "kind": "hobby",
    "value": "reading",
    "level": "high",
    "listAs": 1
  },
  "PERSINFO-2" : {
    "kind": "hobby",
    "value": "sewing",
    "level": "high",
    "listAs": 2
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-impp">
          <name>IMPP</name>
          <t>The IMPP property (<xref target="RFC6350" derivedContent="RFC6350" section="6.4.3" sectionFormat="of"/>) converts to an OnlineService object (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.2" sectionFormat="of"/>) in the Card object's onlineServices property (<xref target="impp_conversion"/>).  The "uri" property is set to the IMPP value.</t>
          <t>Implementations <bcp14>MAY</bcp14> indicate that the OnlineService object converted from the IMPP property by adding an entry for the "uri" property of the OnlineService object in the "vCard/convertedProperties" property.</t>
          <t>The SERVICE-TYPE, USERNAME, PREF, and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="impp_conversion">
            <name>IMPP Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
IMPP;PREF=1:xmpp:alice@example.com
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"onlineServices": {
  "OS-1": {
    "uri": "xmpp:alice@example.com",
    "pref": 1
  }
},
"vCard": {
  "convertedProperties": {
    "onlineServices/OS-1/uri": {
      "name": "impp"
    }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-interest">
          <name>INTEREST</name>
          <t>The INTEREST property (<xref target="RFC6715" derivedContent="RFC6715" section="2.3" sectionFormat="of"/>) converts to a PersonalInfo object (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.4" sectionFormat="of"/>) in the Card object's personalInfo property (<xref target="interest_conversion"/>).  The PersonalInfo object's kind property is set to "interest".</t>
          <t>The INDEX and LEVEL parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="interest_conversion">
            <name>INTEREST Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
INTEREST;INDEX=1;LEVEL=medium:r&b music
INTEREST;INDEX=2;LEVEL=high:rock&roll music
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"personalInfo": {
  "PERSINFO-1" : {
    "kind": "interest",
    "value": "r&b music",
    "level": "medium",
    "listAs": 1
  },
  "PERSINFO-2" : {
    "kind": "interest",
    "value": "rock&roll music",
    "level": "high",
    "listAs": 2
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-key">
          <name>KEY</name>
          <t>The KEY property (<xref target="RFC6350" derivedContent="RFC6350" section="6.8.1" sectionFormat="of"/>) converts to a CryptoKey object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.1" sectionFormat="of"/>) in the Card object's cryptoKeys property (<xref target="key_conversion"/>).  The CryptoKey object's uri property is set to the KEY property value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="key_conversion">
            <name>KEY Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
KEY:https://www.example.com/keys/jdoe.cer
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"cryptoKeys": {
  "KEY-1": {
    "uri": "https://www.example.com/keys/jdoe.cer"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-kind">
          <name>KIND</name>
          <t>The KIND property (<xref target="RFC6350" derivedContent="RFC6350" section="6.1.4" sectionFormat="of"/>) converts to the kind property (<xref target="kind_conversion"/>).  Allowed values are those described in <xref target="RFC6350" sectionFormat="of" section="6.1.4"/> and extended with the values declared in <xref target="RFC6473"/> and <xref target="RFC6869"/>.</t>
          <figure anchor="kind_conversion">
            <name>KIND Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
KIND:individual
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"kind": "individual"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-lang">
          <name>LANG</name>
          <t>The LANG property (<xref target="RFC6350" derivedContent="RFC6350" section="6.4.4" sectionFormat="of"/>) converts to a LanguagePref object (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.4" sectionFormat="of"/>) in the Card object's preferredLanguages property (<xref target="lang_conversion"/>).  The LANG property value converts to the LanguagePref object's language property value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="lang_conversion">
            <name>LANG Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
LANG;TYPE=work;PREF=1:en
LANG;TYPE=work;PREF=2:fr
LANG;TYPE=home:fr
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"preferredLanguages": {
  "LANG-1": {
    "language": "en",
    "contexts": { "work": true },
    "pref": 1
  },
  "LANG-2": {
    "language": "fr",
    "contexts": { "work": true },
    "pref": 2
  },
  "LANG-3": {
    "language": "fr",
    "contexts": { "private": true }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-language">
          <name>LANGUAGE</name>
          <t>The LANGUAGE property (<xref target="RFC9554" derivedContent="RFC9554" section="3.3" sectionFormat="of"/>) converts to the Card object's language property (<xref target="languageprop_conversion"/>).</t>
          <figure anchor="languageprop_conversion">
            <name>LANGUAGE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
LANGUAGE:de-AT
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"language": "de-AT"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-logo">
          <name>LOGO</name>
          <t>The LOGO property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.3" sectionFormat="of"/>) converts to a Media object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.4" sectionFormat="of"/>) in the Card object's media property (<xref target="logo_conversion"/>).  The Media object's kind property is set to "logo" and the uri property is set to the LOGO property value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="logo_conversion">
            <name>LOGO Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
LOGO:https://www.example.com/pub/logos/abccorp.jpg
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"media": {
  "LOGO-1": {
    "kind": "logo",
    "uri": "https://www.example.com/pub/logos/abccorp.jpg"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-member">
          <name>MEMBER</name>
          <t>The MEMBER property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.5" sectionFormat="of"/>) converts to the Card object's members property (<xref target="group_example"/>).  Each MEMBER property value is a key in the members property.  The PREF parameter (<xref target="RFC6350" derivedContent="RFC6350" section="5.3" sectionFormat="of"/>) does not convert to JSContact.</t>
          <figure anchor="group_example">
            <name>Group Example</name>
            <sourcecode type="vcard"><![CDATA[
KIND:group
FN:The Doe family
MEMBER:urn:uuid:03a0e51f-d1aa-4385-8a53-e29025acd8af
MEMBER:urn:uuid:b8767877-b4a1-4c70-9acc-505d3819e519
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"kind": "group",
"name": {
  "full": "The Doe family"
},
"uid": "urn:uuid:ab4310aa-fa43-11e9-8f0b-362b9e155667",
"members": {
  "urn:uuid:03a0e51f-d1aa-4385-8a53-e29025acd8af": true,
  "urn:uuid:b8767877-b4a1-4c70-9acc-505d3819e519": true
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-n">
          <name>N</name>
          <t>The N property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.2" sectionFormat="of"/>) converts to a Name object (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.1" sectionFormat="of"/>) in the Card object's name property.</t>
          <t>Each component in the structured value of the N property converts to a NameComponent in the Name components property. The component value converts to the NameComponent value property, the component position determines the value of the NameComponent kind property as follows:</t>
          <table anchor="n_kind_conversion">
            <name>N Components Conversion</name>
            <thead>
              <tr>
                <th align="left">N component</th>
                <th align="left">NameComponent kind</th>
                <th align="left">Remarks</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">Family name</td>
                <td align="left">surname</td>
                <td align="left">Ignore any value that also occurs in the Secondary surname component.</td>
              </tr>
              <tr>
                <td align="left">Given name</td>
                <td align="left">given</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">Additional name</td>
                <td align="left">given2</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">Honorific prefix</td>
                <td align="left">title</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">Honorific suffix</td>
                <td align="left">credential</td>
                <td align="left">Ignore any value that also occurs in the Generation component.</td>
              </tr>
              <tr>
                <td align="left">Secondary surname</td>
                <td align="left">surname2</td>
                <td align="left"/>
              </tr>
              <tr>
                <td align="left">Generation</td>
                <td align="left">generation</td>
                <td align="left"/>
              </tr>
            </tbody>
          </table>
          <t>If the <xref target="vcard-param-jscomps">JSCOMPS</xref> parameter is set, then the Name object's isOrdered property value is "true", and the defaultSeparator property and any "separator" NameComponent objects are set according to the parameter value.  The order in the components property <bcp14>MUST</bcp14> adhere to the order of the JSCOMPS parameter value.</t>
          <t>If the JSCOMPS parameter is not set, then the Name object's isOrdered property value is "false", and the defaultSeparator property <bcp14>MUST NOT</bcp14> be set.  The order in the components property <bcp14>MUST</bcp14> follow the order of values in the N structured value when read from left to right.</t>
          <t>If the SORT-AS parameter is set, then its structured value converts to the Name object's sortAs property according to <xref target="n_kind_conversion"/>.  An empty or non-existent component value indicates that no sort is defined for this kind.</t>
          <figure anchor="n_conversion">
            <name>N Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
N;SORT-AS="Stevenson,John Philip":Stevenson;John;Philip,Paul;Dr.;Jr.,M.D.,A.C.P.;;Jr.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"name": {
  "components":[
    { "kind": "surname", "value": "Stevenson" },
    { "kind": "given", "value": "John" },
    { "kind": "given2", "value": "Philip" },
    { "kind": "given2", "value": "Paul" },
    { "kind": "title", "value": "Dr." },
    { "kind": "credential", "value": "M.D." },
    { "kind": "credential", "value": "A.C.P." },
    { "kind": "generation", "value": "Jr." }
  ],
  "sortAs": {
    "surname": "Stevenson",
    "given": "John Philip"
  }
}
]]></sourcecode>
          </figure>
          <t>See <xref target="vcard-param-jscomps-examples"/> for examples of using the JSCOMPS parameter for vCard-structured property values.</t>
        </section>
        <section anchor="vcard-prop-nickname">
          <name>NICKNAME</name>
          <t>The NICKNAME property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.3" sectionFormat="of"/>) converts to a Nickname object (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.2" sectionFormat="of"/>) in the Card object's nicknames property (<xref target="nickname_conversion"/>).  The name property is set to the NICKNAME property value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="nickname_conversion">
            <name>NICKNAME Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
NICKNAME:Johnny
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"nicknames": {
   "NICK-1": {
    "name": "Johnny"
   }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-note">
          <name>NOTE</name>
          <t>The NOTE property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.2" sectionFormat="of"/>) converts to a Note object (<xref target="RFC9553" derivedContent="RFC9553" section="2.8.3" sectionFormat="of"/>) in the Card object's notes property (<xref target="notes_conversion"/>).</t>
          <t>The ALTID and LANGUAGE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="notes_conversion">
            <name>NOTE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
NOTE;CREATED=20221123T150132Z;AUTHOR-NAME="John":
  Office hours are from 0800 to 1715 EST\, Mon-Fri.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"notes": {
  "NOTE-1" : {
     "note": "Office hours are from 0800 to 1715 EST, Mon-Fri.",
     "created": "2022-11-23T15:01:32Z",
     "author": {
       "name": "John"
     }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-org">
          <name>ORG</name>
          <t>The ORG property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.4" sectionFormat="of"/>) converts to an Organization object (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.3" sectionFormat="of"/>) in the Card object's organizations property (<xref target="org_conversion"/>).  The Organization object's name property is set to the ORG property organizational name component.  The Organization object's units property is an array of OrgUnit objects that each contain an organizational unit name component value of the ORG property value.</t>
          <t>Implementations <bcp14>MAY</bcp14> allow representation of organizational units without the organizational name.  In this case, the first component of the ORG value <bcp14>MUST</bcp14> be an empty string (e.g.,  ORG:;DepartmentA).</t>
          <t>The ALTID and LANGUAGE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <t>The first item of the comma-separated SORT-AS parameter value converts to the sortAs property of the Organization object.  The subsequent items convert to the sortAs property of the corresponding OrgUnit object.</t>
          <t>The TYPE parameter converts according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="org_conversion">
            <name>ORG Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
ORG;SORT-AS="ABC":ABC\, Inc.;North American Division;Marketing
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"organizations": {
  "ORG-1": {
    "name": "ABC, Inc.",
    "units":[
      { "name": "North American Division" },
      { "name": "Marketing" }
    ],
    "sortAs": "ABC"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-org-directory">
          <name>ORG-DIRECTORY</name>
          <t>The ORG-DIRECTORY property (<xref target="RFC6715" derivedContent="RFC6715" section="2.4" sectionFormat="of"/>) <xref target="RFC6715"/> converts to a Directory object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.2" sectionFormat="of"/>) in the Card object's directories property (<xref target="org_directory_conversion"/>).  The Directory object's kind property is set to "directory".  The uri property is set to the ORG-DIRECTORY property value.</t>
          <t>The INDEX, PREF, and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="org_directory_conversion">
            <name>ORG-DIRECTORY Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
ORG-DIRECTORY;INDEX=1:https://directory.mycompany.example.com
ORG-DIRECTORY;PREF=1:ldap://ldap.tech.example/o=Tech,ou=Engineering
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"directories": {
  "DIRECTORY-1": {
    "kind": "directory",
    "uri": "https://directory.mycompany.example.com",
    "listAs": 1
  },
  "DIRECTORY-2": {
    "kind": "directory",
    "uri": "ldap://ldap.tech.example/o=Tech,ou=Engineering",
    "pref": 1
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-photo">
          <name>PHOTO</name>
          <t>The PHOTO property (<xref target="RFC6350" derivedContent="RFC6350" section="6.2.4" sectionFormat="of"/>) converts to a Media object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.4" sectionFormat="of"/>) in the Card object's media property (<xref target="photo_conversion"/>).  The Media object's kind property is set to "photo" and the uri property is set to the PHOTO value.</t>
          <t>The PREF and MEDIATYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="photo_conversion">
            <name>PHOTO Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
PHOTO:https://www.example.com/pub/photos/jqpublic.gif
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"media": {
   "PHOTO-1": {
     "kind": "photo",
     "uri": "https://www.example.com/pub/photos/jqpublic.gif"
   }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-prodid">
          <name>PRODID</name>
          <t>The PRODID property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.3" sectionFormat="of"/>) converts to the Card object's prodId property (<xref target="prodid_conversion"/>).</t>
          <figure anchor="prodid_conversion">
            <name>PRODID Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
PRODID:ACME Contacts App version 1.23.5
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"prodId": "ACME Contacts App version 1.23.5"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-pronouns">
          <name>PRONOUNS</name>
          <t>The PRONOUNS property (<xref target="RFC9554" derivedContent="RFC9554" section="3.4" sectionFormat="of"/>) converts to the SpeakToAs object's pronouns property (<xref target="pronouns_conversion"/>).</t>
          <figure anchor="pronouns_conversion">
            <name>PRONOUNS Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
PRONOUNS;PREF=2:they/them
PRONOUNS;PREF=1:xe/xir
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"speakToAs": {
  "pronouns": {
    "PRONOUNS-1": {
      "pronouns": "they/them",
      "pref": 2
    },
    "PRONOUNS-2": {
      "pronouns": "xe/xir",
      "pref": 1
    }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-related">
          <name>RELATED</name>
          <t>The RELATED property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.6" sectionFormat="of"/>) converts to the Card object's relatedTo property (<xref target="related_conversion"/>).  The property value converts to the key in the relatedTo property.  The TYPE parameters convert to the Relation object's relation property (<xref target="RFC9553" derivedContent="RFC9553" section="2.1.8" sectionFormat="of"/>).  Any other parameters convert as defined in <xref target="jscontact-prop-vcard"/>.</t>
          <figure anchor="related_conversion">
            <name>RELATED Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
RELATED;TYPE=friend:urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6
RELATED;TYPE=contact:https://example.com/directory/john.vcf
RELATED;VALUE=text:Please contact my deputy John for any inquiries.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"relatedTo" : {
  "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6" : {
    "relation" : {
      "friend" : true
    }
  },
  "https://example.com/directory/john.vcf" : {
    "relation" : {
      "contact" : true
    }
  },
  "Please contact my deputy John for any inquiries." : {
    "relation" : { }
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-rev">
          <name>REV</name>
          <t>The REV property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.4" sectionFormat="of"/>) converts to the Card object's updated property (<xref target="rev_conversion"/>).</t>
          <figure anchor="rev_conversion">
            <name>REV Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
REV:19951031T222710Z
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"updated": "1995-10-31T22:27:10Z"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-role">
          <name>ROLE</name>
          <t>The ROLE property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.2" sectionFormat="of"/>) converts to a Title object (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.5" sectionFormat="of"/>) in the Card object's titles property (<xref target="role_conversion"/>).  The Title object kind is "role". The ROLE property value converts to the Title object name property.</t>
          <t>If the vCard contains an ORG property and either the ROLE and ORG property are not part of a vCard property group, or they are both in the same group, then the Title organizationId property is set to the identifier to which the ORG property converts in the Card object's organizations property.</t>
          <t>The ALTID and LANGUAGE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="role_conversion">
            <name>ROLE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
group1.ROLE:Project Leader
group1.ORG:ABC, Inc.
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"titles": {
  "ROLE-1": {
    "kind": "role",
    "name": "Project Leader",
    "organizationId": "ORG-1"
  }
},
"organizations": {
  "ORG-1": {
    "name": "ABC, Inc."
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-socialprofile">
          <name>SOCIALPROFILE</name>
          <t>The SOCIALPROFILE property (<xref target="RFC9554" derivedContent="RFC9554" section="3.5" sectionFormat="of"/>) converts to an OnlineService object (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.2" sectionFormat="of"/>) in the Card object's onlineServices property (<xref target="socialprofile_conversion"/>). If the SOCIALPROFILE property value is of type URI, then the "uri" property is set, otherwise, the "user" property is set.</t>
          <t>Implementations <bcp14>MAY</bcp14> indicate that the OnlineService object converted from the SOCIALPROFILE property by adding an entry for the "uri" or "user" property of the OnlineService object in the "vCard/convertedProperties" property.</t>
          <t>The SERVICE-TYPE, USERNAME, PREF, and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="socialprofile_conversion">
            <name>SOCIALPROFILE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
SOCIALPROFILE;SERVICE-TYPE=Mastodon:https://example.com/@foo
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"onlineServices": {
  ...
  "OS-1": {
    "service": "Mastodon",
    "uri": "https://example.com/@foo"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-sound">
          <name>SOUND</name>
          <t>The SOUND property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.5" sectionFormat="of"/>) converts to a Media object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.4" sectionFormat="of"/>) in the Card object's media property (<xref target="sound_conversion"/>).  The Media object's kind property is set to "sound" and the uri property is set to the SOUND value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="sound_conversion">
            <name>SOUND Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
SOUND:CID:JOHNQPUBLIC.19960229T080000.xyzMail@example.com
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"media": {
  ...
  "SOUND-1": {
    "kind": "sound",
    "uri": "CID:JOHNQPUBLIC.19960229T080000.xyzMail@example.com"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-source">
          <name>SOURCE</name>
          <t>The SOURCE property (<xref target="RFC6350" derivedContent="RFC6350" section="6.1.3" sectionFormat="of"/>) converts to a Directory object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.2" sectionFormat="of"/>) in the Card object's directories property (<xref target="source_conversion"/>).  The Directory object's kind property is set to "entry".  The uri property is set to the SOURCE property value.</t>
          <t>The PREF and MEDIATYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="source_conversion">
            <name>SOURCE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
SOURCE:https://dir.example.com/addrbook/jdoe/Jean%20Dupont.vcf
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"directories": {
   "ENTRY-1": {
     "kind": "entry",
     "uri": "https://dir.example.com/addrbook/jdoe/Jean%20Dupont.vcf"
   }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-tel">
          <name>TEL</name>
          <t>The TEL property (<xref target="RFC6350" derivedContent="RFC6350" section="6.4.1" sectionFormat="of"/>) converts to a Phone object (<xref target="RFC9553" derivedContent="RFC9553" section="2.3.3" sectionFormat="of"/>) in the Card object's phones property (<xref target="tel_conversion"/>).</t>
          <t>The TEL-specific values of the TYPE parameter convert to the features property keys as outlined in <xref target="tel_type_conversion"/>.  Note that <xref target="RFC6350" sectionFormat="of" section="6.4.1"/> defines the default type to be "voice", but the default Phone features property is absent by default.  Accordingly, an implementation <bcp14>SHOULD</bcp14> only set the Phone object's features property if the TEL property actually has a TEL-specific TYPE parameter set.</t>
          <table anchor="tel_type_conversion">
            <name>TEL TYPE Conversion</name>
            <thead>
              <tr>
                <th align="left">TYPE value</th>
                <th align="left">Phone feature</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">cell</td>
                <td align="left">mobile</td>
              </tr>
              <tr>
                <td align="left">fax</td>
                <td align="left">fax</td>
              </tr>
              <tr>
                <td align="left">main-number</td>
                <td align="left">main-number</td>
              </tr>
              <tr>
                <td align="left">pager</td>
                <td align="left">pager</td>
              </tr>
              <tr>
                <td align="left">text</td>
                <td align="left">text</td>
              </tr>
              <tr>
                <td align="left">textphone</td>
                <td align="left">textphone</td>
              </tr>
              <tr>
                <td align="left">video</td>
                <td align="left">video</td>
              </tr>
              <tr>
                <td align="left">voice</td>
                <td align="left">voice</td>
              </tr>
            </tbody>
          </table>
          <t>The value of the TEL property converts to the Phone object's number property.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="tel_conversion">
            <name>TEL Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
TEL;VALUE=uri;PREF=1;TYPE="voice,home":tel:+1-555-555-5555;ext=5555
TEL;VALUE=uri;TYPE=home:tel:+33-01-23-45-67
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"phones": {
  "PHONE-1": {
    "contexts": { "private": true },
    "features": { "voice": true },
    "number": "tel:+1-555-555-5555;ext=5555",
    "pref": 1
  },
  "PHONE-2": {
    "contexts": { "private": true },
    "number": "tel:+33-01-23-45-67"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-title">
          <name>TITLE</name>
          <t>The TITLE property (<xref target="RFC6350" derivedContent="RFC6350" section="6.6.1" sectionFormat="of"/>) converts to a Title object (<xref target="RFC9553" derivedContent="RFC9553" section="2.2.5" sectionFormat="of"/>) in the Card object's titles property (<xref target="title_conversion"/>). The TITLE property value converts to the Title object name property.</t>
          <t>The same rules as in <xref target="vcard-prop-role"/> apply for setting the organizationId property of the Title object.</t>
          <t>The ALTID and LANGUAGE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="title_conversion">
            <name>TITLE Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
TITLE:Research Scientist
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"titles": {
  "TITLE-1": {
    "kind": "title",
    "name": "Research Scientist"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-tz">
          <name>TZ</name>
          <t>The TZ property (<xref target="RFC6350" derivedContent="RFC6350" section="6.5.1" sectionFormat="of"/>) converts to an Address object (<xref target="RFC9553" derivedContent="RFC9553" section="2.5.1" sectionFormat="of"/>) in the Card object's addresses property.</t>
          <t>A value of type TEXT converts to the Address object's timeZone property.</t>
          <t>A value of type UTC-OFFSET converts to the Address object's timeZone property if the offset has zero minutes and the hour offset is between -12 and +14, both inclusively. Note that:</t>
          <ul>
            <li>If the hour offset is zero, use the time zone name "Etc/UTC".</li>
            <li>Otherwise, construct the time zone name with "Etc/GMT" suffixed with the string representation of the reversed sign hour offset, including the sign but excluding leading zeros and minutes.  For example, the UTC offset value "-0500" converts to "Etc/GMT+5".</li>
          </ul>
          <t>See <xref target="vcard-prop-adr"/> how to convert the TZ property together with the ADR and GEO property.</t>
          <t>Any other value of type UTC-OFFSET or URI does not convert to an IANA-registered property in JSContact.  To convert such property, see <xref target="jscontact-prop-vcard"/>.</t>
        </section>
        <section anchor="vcard-prop-uid">
          <name>UID</name>
          <t>The UID property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.6" sectionFormat="of"/>) converts to the Card object's uid property (<xref target="uid_conversion"/>).</t>
          <figure anchor="uid_conversion">
            <name>UID Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
UID:urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"uid": "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-url">
          <name>URL</name>
          <t>The URL property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.8" sectionFormat="of"/>) converts to a Link object (<xref target="RFC9553" derivedContent="RFC9553" section="2.6.3" sectionFormat="of"/>) in the Card object's links property (<xref target="url_conversion"/>).  The Link object's uri property is set to the URL value.</t>
          <t>The PREF and TYPE parameters convert according to the rules defined in <xref target="vcard-parameters"/>.</t>
          <figure anchor="url_conversion">
            <name>URL Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
URL:https://example.org/restaurant.french/~chezchic.html
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"links": {
  "LINK-1": {
    "uri": "https://example.org/restaurant.french/~chezchic.html"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-version">
          <name>VERSION</name>
          <t>The VERSION property (<xref target="RFC6350" derivedContent="RFC6350" section="6.7.9" sectionFormat="of"/>) does not convert to a standard JSContact element. Implementations <bcp14>MAY</bcp14> convert it to the "properties" property of the VCard object (<xref target="jscontact-prop-vcard"/>).</t>
        </section>
        <section anchor="vcard-prop-xablabel">
          <name>X-ABLabel</name>
          <t>The X-ABLabel property is experimental but widely in use in existing vCard data.  It converts to the label property of a JSContact object.
	  The X-ABLabel property is preceded by a vCard property group name, and the label converts to the JSContact object, which was converted from a vCard property of the same group.</t>
          <t>The group name is not preserved; implementations are free to choose any unique group name when converting back to vCard.  For an example on how to preserve the group name, see <xref target="vcard-param-group"/>.</t>
          <figure anchor="xablabel_conversion">
            <name>X-ABLabel Conversion Example</name>
            <sourcecode type="vcard"><![CDATA[
item1.TEL;VALUE=uri:tel:+1-555-555-5555
item1.X-ABLabel:foo
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"phones": {
  "p1": {
    "number": "tel:+1-555-555-5555",
    "label": "foo"
  }
}
]]></sourcecode>
          </figure>
        </section>
        <section anchor="vcard-prop-xml">
          <name>XML</name>
          <t>The XML property (<xref target="RFC6350" derivedContent="RFC6350" section="6.1.5" sectionFormat="of"/>) does not convert to a standard JSContact element. Implementations <bcp14>MAY</bcp14> convert it to the "properties" property of the VCard object (<xref target="jscontact-prop-vcard"/>).</t>
        </section>
      </section>
    </section>
    <section anchor="convert-jscontact-to-vcard">
      <name>Converting JSContact to vCard</name>
      <t>This section defines the conversion rules for each JSContact object type. Each subsection lists the properties of one object type and the relevant document sections for their conversion to vCard.</t>
      <section anchor="convert-jscontact-to-vcard-new-address">
        <name>Address</name>
        <t>The Address object converts to the ADR property. Each AddressComponent object in the <xref target="RFC9553" section="2.5.1.1" sectionFormat="parens">components property</xref> converts to a component in the structured value of the ADR property.
</t>
        <table anchor="address_component_conversion">
          <name>AddressComponent conversion</name>
          <thead>
            <tr>
              <th align="left">AddressComponent kind</th>
              <th align="left">ADR component</th>
              <th align="left">Remarks</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">apartment</td>
              <td align="left">apartment</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">block</td>
              <td align="left">block</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">building</td>
              <td align="left">building</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">country</td>
              <td align="left">country</td>
              <td align="left">
                <xref target="vcard-prop-adr"/>
              </td>
            </tr>
            <tr>
              <td align="left">direction</td>
              <td align="left">direction</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">district</td>
              <td align="left">district</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">floor</td>
              <td align="left">floor</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">landmark</td>
              <td align="left">landmark</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">locality</td>
              <td align="left">locality</td>
              <td align="left">
                <xref target="vcard-prop-adr"/>
              </td>
            </tr>
            <tr>
              <td align="left">name</td>
              <td align="left">street address</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">number</td>
              <td align="left">street number</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">postcode</td>
              <td align="left">postal code</td>
              <td align="left">
                <xref target="vcard-prop-adr"/>
              </td>
            </tr>
            <tr>
              <td align="left">postOfficeBox</td>
              <td align="left">post office box</td>
              <td align="left">
                <xref target="vcard-prop-adr"/>
              </td>
            </tr>
            <tr>
              <td align="left">region</td>
              <td align="left">region</td>
              <td align="left">
                <xref target="vcard-prop-adr"/>
              </td>
            </tr>
            <tr>
              <td align="left">room</td>
              <td align="left">room</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">subdistrict</td>
              <td align="left">subdistrict</td>
              <td align="left"><xref target="vcard-prop-adr"/>, and remarks below</td>
            </tr>
          </tbody>
        </table>
        <t>Remarks:</t>
        <ul>
          <li>In addition to setting the "block", "direction", "district", "landmark", "name", "number", and "subdistrict" components, implementations <bcp14>MAY</bcp14> combine these values to set the "street address" component in the ADR property value.</li>
          <li>In addition to setting the "apartment", "building", "floor" and "room" components, implementations <bcp14>MAY</bcp14> combine these values to set the "extended address" component in the ADR property value.</li>
        </ul>
        <t>The other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-address">
          <name>Properties of the Address object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>coordinates</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>GEO</td>
              <td>Sections <xref target="vcard-param-geo" format="counter"/> and <xref target="vcard-prop-geo" format="counter"/>, and remarks below</td>
            </tr>
            <tr>
              <td>countryCode</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>CC</td>
              <td>
                <xref target="vcard-param-cc"/>
              </td>
            </tr>
            <tr>
              <td>defaultSeparator</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>JSCOMPS</td>
              <td>
                <xref target="vcard-param-jscomps"/>
              </td>
            </tr>
            <tr>
              <td>full</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>LABEL</td>
              <td>
                <xref target="vcard-param-label"/>
              </td>
            </tr>
            <tr>
              <td>isOrdered</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>JSCOMPS</td>
              <td>
                <xref target="vcard-param-jscomps"/>
              </td>
            </tr>
            <tr>
              <td>phoneticScript</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>SCRIPT</td>
              <td>
                <xref target="vcard-param-script"/>
              </td>
            </tr>
            <tr>
              <td>phoneticSystem</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>PHONETIC</td>
              <td>
                <xref target="vcard-param-phonetic"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
            <tr>
              <td>timeZone</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>TZ</td>
              <td>Sections <xref target="vcard-param-tz" format="counter"/> and <xref target="vcard-prop-tz" format="counter"/>, and remarks below</td>
            </tr>
          </tbody>
        </table>
        <t>Remarks:</t>
        <ul>
          <li>The "coordinates" and "timeZone" properties <bcp14>SHOULD</bcp14> convert to the GEO and TZ parameters, but implementations <bcp14>MAY</bcp14> alternatively convert them to the same-named properties e.g. to preserve original vCard data.</li>
        </ul>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-anniversary">
        <name>Anniversary</name>
        <t>The Anniversary object converts to one of the following properties, determined by the Anniversary kind property value:</t>
        <ul>
          <li>If the kind is "wedding" and the Anniversary date property is set, then it converts to the <xref target="vcard-prop-anniversary">ANNIVERSARY</xref> property. How to convert the place property is implementation-specific.</li>
          <li>If the kind is "birth", then the date property value converts to the <xref target="vcard-prop-bday">BDAY</xref> property and the place property converts to the <xref target="vcard-prop-birthplace">BIRTHPLACE</xref> property.</li>
          <li>If the kind is "death", then the date property value converts to the <xref target="vcard-prop-deathdate">DEATHDATE</xref> property and the place property converts to the <xref target="vcard-prop-deathplace">DEATHPLACE</xref> property.</li>
        </ul>
        <t>A date property value of type PartialDate converts to the DATE property value type. The calendarScale property converts to the CALSCALE parameter. A date property value of type Timestamp converts to the TIMESTAMP property value type by converting the "utc" property. How to convert a place property value having any Address property other than the "full" property set is implementation-specific.</t>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-calendar">
        <name>Calendar</name>
        <t>The Calendar object converts to one of the following properties, determined by the Calendar kind property value. If the kind is "calendar" then it converts to the <xref target="vcard-prop-caluri">CALURI</xref> property. If the kind is "freeBusy" then it converts to the <xref target="vcard-prop-fburl">FBURL</xref> property.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-calendar">
          <name>Properties of the Calendar object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.4.1" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.4.1" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>mediaType</td>
              <td>
                <xref target="RFC9553" section="2.4.1" sectionFormat="comma"/>
              </td>
              <td>MEDIATYPE</td>
              <td>
                <xref target="vcard-param-mediatype"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.4.1" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-card">
        <name>Card</name>
        <t>The Card object converts to a <xref target="RFC6350">vCard</xref>.</t>
        <t>Its properties other than the localizations property convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-card">
          <name>Properties of the Card object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Property (or Parameter)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>addresses</td>
              <td>
                <xref target="RFC9553" section="2.5.1.1" sectionFormat="comma"/>
              </td>
              <td>ADR</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-address">Address object</xref>
              </td>
            </tr>
            <tr>
              <td>anniversaries</td>
              <td>
                <xref target="RFC9553" section="2.8.1" sectionFormat="comma"/>
              </td>
              <td>ANNIVERSARY</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-anniversary">Anniversary object</xref>
              </td>
            </tr>
            <tr>
              <td>calendars</td>
              <td>
                <xref target="RFC9553" section="2.4.1" sectionFormat="comma"/>
              </td>
              <td>CALURI, FBURL</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-calendar">Calendar object</xref>
              </td>
            </tr>
            <tr>
              <td>created</td>
              <td>
                <xref target="RFC9553" section="2.1.3" sectionFormat="comma"/>
              </td>
              <td>CREATED</td>
              <td>
                <xref target="vcard-prop-created"/>
              </td>
            </tr>
            <tr>
              <td>directories</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>SOURCE, ORG-DIRECTORY</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-directory">Directory object</xref>
              </td>
            </tr>
            <tr>
              <td>emails</td>
              <td>
                <xref target="RFC9553" section="2.3.1" sectionFormat="comma"/>
              </td>
              <td>EMAIL</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-email-address">EmailAddress object</xref>
              </td>
            </tr>
            <tr>
              <td>keywords</td>
              <td>
                <xref target="RFC9553" section="2.8.2" sectionFormat="comma"/>
              </td>
              <td>CATEGORIES</td>
              <td>
                <xref target="vcard-prop-categories"/>
              </td>
            </tr>
            <tr>
              <td>kind</td>
              <td>
                <xref target="RFC9553" section="2.1.4" sectionFormat="comma"/>
              </td>
              <td>KIND</td>
              <td>
                <xref target="vcard-prop-kind"/>
              </td>
            </tr>
            <tr>
              <td>language</td>
              <td>
                <xref target="RFC9553" section="2.1.5" sectionFormat="comma"/>
              </td>
              <td>LANGUAGE</td>
              <td>
                <xref target="vcard-prop-language"/>
              </td>
            </tr>
            <tr>
              <td>links</td>
              <td>
                <xref target="RFC9553" section="2.6.3" sectionFormat="comma"/>
              </td>
              <td>CONTACT-URI, URL</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-link">Link object</xref>
              </td>
            </tr>
            <tr>
              <td>media</td>
              <td>
                <xref target="RFC9553" section="2.6.4" sectionFormat="comma"/>
              </td>
              <td>PHOTO, LOGO, SOUND</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-media">Media object</xref>
              </td>
            </tr>
            <tr>
              <td>members</td>
              <td>
                <xref target="RFC9553" section="2.1.6" sectionFormat="comma"/>
              </td>
              <td>MEMBER</td>
              <td>
                <xref target="vcard-prop-member"/>
              </td>
            </tr>
            <tr>
              <td>name</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>N</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-name">Name object</xref>
              </td>
            </tr>
            <tr>
              <td>nicknames</td>
              <td>
                <xref target="RFC9553" section="2.2.2" sectionFormat="comma"/>
              </td>
              <td>NICKNAME</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-nickname">Nickname object</xref>
              </td>
            </tr>
            <tr>
              <td>notes</td>
              <td>
                <xref target="RFC9553" section="2.8.3" sectionFormat="comma"/>
              </td>
              <td>NOTE</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-note">Note object</xref>
              </td>
            </tr>
            <tr>
              <td>onlineServices</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>IMPP, SOCIALPROFILE</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-online-service">OnlineService object</xref>
              </td>
            </tr>
            <tr>
              <td>organizations</td>
              <td>
                <xref target="RFC9553" section="2.2.3" sectionFormat="comma"/>
              </td>
              <td>ORG</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-organization">Organization object</xref>
              </td>
            </tr>
            <tr>
              <td>personalInfo</td>
              <td>
                <xref target="RFC9553" section="2.8.4" sectionFormat="comma"/>
              </td>
              <td>EXPERTISE, HOBBY, INTEREST</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-personal-info">PersonalInfo object</xref>
              </td>
            </tr>
            <tr>
              <td>phones</td>
              <td>
                <xref target="RFC9553" section="2.3.3" sectionFormat="comma"/>
              </td>
              <td>TEL</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-phone">Phone object</xref>
              </td>
            </tr>
            <tr>
              <td>preferredLanguages</td>
              <td>
                <xref target="RFC9553" section="2.3.4" sectionFormat="comma"/>
              </td>
              <td>LANG</td>
              <td>
                <xref target="vcard-prop-lang"/>
              </td>
            </tr>
            <tr>
              <td>prodId</td>
              <td>
                <xref target="RFC9553" section="2.1.7" sectionFormat="comma"/>
              </td>
              <td>PRODID</td>
              <td>
                <xref target="vcard-prop-prodid"/>
              </td>
            </tr>
            <tr>
              <td>relatedTo</td>
              <td>
                <xref target="RFC9553" section="2.1.8" sectionFormat="comma"/>
              </td>
              <td>RELATED</td>
              <td>
                <xref target="vcard-prop-related"/>
              </td>
            </tr>
            <tr>
              <td>schedulingAddresses</td>
              <td>
                <xref target="RFC9553" section="2.4.2" sectionFormat="comma"/>
              </td>
              <td>CALADRURI</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-scheduling-address">SchedulingAddress object</xref>
              </td>
            </tr>
            <tr>
              <td>speakToAs</td>
              <td>
                <xref target="RFC9553" section="2.2.4" sectionFormat="comma"/>
              </td>
              <td>GRAMGENDER, PRONOUNS</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-speak-to-as">SpeakToAs object</xref>
              </td>
            </tr>
            <tr>
              <td>titles</td>
              <td>
                <xref target="RFC9553" section="2.2.5" sectionFormat="comma"/>
              </td>
              <td>TITLE</td>
              <td>
                <xref target="convert-jscontact-to-vcard-new-title">Title object</xref>
              </td>
            </tr>
            <tr>
              <td>uid</td>
              <td>
                <xref target="RFC9553" section="2.1.9" sectionFormat="comma"/>
              </td>
              <td>UID</td>
              <td>
                <xref target="vcard-prop-uid"/>
              </td>
            </tr>
            <tr>
              <td>updated</td>
              <td>
                <xref target="RFC9553" section="2.1.10" sectionFormat="comma"/>
              </td>
              <td>REV</td>
              <td>
                <xref target="vcard-prop-rev"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>The localizations property converts by converting the properties in the PatchObject using the same rules as outlined in <xref target="jscontact-to-vcard-props-card"/>. The <xref target="vcard-param-language">LANGUAGE parameter</xref> <bcp14>MUST</bcp14> be set on each resulting property with the parameter value being the language key of the localizations property. The <xref target="vcard-param-altid">ALTID parameter</xref> <bcp14>MUST</bcp14> be set and its value be equal for all properties having the same JSON pointer path in the localizations property and the non-localized Card.</t>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-crypto-key">
        <name>CryptoKey</name>
        <t>The CryptoKey object converts to the <xref target="vcard-prop-key">KEY property</xref>.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-crypto-key">
          <name>Properties of the CryptoKey object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.6.1" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.6.1" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>mediaType</td>
              <td>
                <xref target="RFC9553" section="2.6.1" sectionFormat="comma"/>
              </td>
              <td>MEDIATYPE</td>
              <td>
                <xref target="vcard-param-mediatype"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.6.1" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-directory">
        <name>Directory</name>
        <t>The Directory object converts to one of the following properties, determined by the Directory kind property value. If the kind is "entry" then it converts to the <xref target="vcard-prop-source">SOURCE</xref> property. If the kind is "directory" then it converts to the <xref target="vcard-prop-org-directory">ORG-DIRECTORY</xref> property.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-directory">
          <name>Properties of the Directory object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>listAs</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>INDEX</td>
              <td>
                <xref target="vcard-param-index"/>
              </td>
            </tr>
            <tr>
              <td>mediaType</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>MEDIATYPE</td>
              <td>
                <xref target="vcard-param-mediatype"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.6.2" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-email-address">
        <name>EmailAddress</name>
        <t>The EmailAddress object converts to the <xref target="vcard-prop-email">EMAIL</xref> property.</t>
        <t>Its address property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-email-address">
          <name>Properties of the EmailAddress object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.3.1" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.3.1" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.3.1" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-language-pref">
        <name>LanguagePref</name>
        <t>The LanguagePref object converts to the <xref target="vcard-prop-lang">LANG property</xref>.</t>
        <t>Its language property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-language-pref">
          <name>Properties of the LanguagePref object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.3.4" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.3.4" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-link">
        <name>Link</name>
        <t>The Link object converts to one of the following properties, determined by the Link kind property value. If the kind property is not set then it converts to the <xref target="vcard-prop-url">URL property.</xref>. If the kind is "contact" then it converts to the <xref target="vcard-prop-contact-uri">CONTACT-URI</xref> property.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-link">
          <name>Properties of the Link object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.6.3" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.6.3" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>mediaType</td>
              <td>
                <xref target="RFC9553" section="2.6.3" sectionFormat="comma"/>
              </td>
              <td>MEDIATYPE</td>
              <td>
                <xref target="vcard-param-mediatype"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.6.3" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-media">
        <name>Media</name>
        <t>The Media object converts to one of the following properties, determined by the Media kind property value. If the kind is "photo" then it converts to the <xref target="vcard-prop-photo">PHOTO property.</xref>. If the kind is "logo" then it converts to the <xref target="vcard-prop-logo">LOGO property</xref>. If the kind is "sound" then it converts to the "<xref target="vcard-prop-sound">SOUND property</xref>.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-media">
          <name>Properties of the Media object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.6.4" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.6.4" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>mediaType</td>
              <td>
                <xref target="RFC9553" section="2.6.4" sectionFormat="comma"/>
              </td>
              <td>MEDIATYPE</td>
              <td>
                <xref target="vcard-param-mediatype"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.6.4" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-name">
        <name>Name</name>
        <t>The Name object converts to the <xref target="vcard-prop-n">N property</xref>. Each NameComponent object in the <xref target="RFC9553" section="2.2.1.1" sectionFormat="parens">components property</xref> converts to a component in the structured value of the N property.</t>
        <table anchor="name_component_conversion">
          <name>NameComponent conversion</name>
          <thead>
            <tr>
              <th align="left">NameComponent kind</th>
              <th align="left">N component</th>
              <th align="left">Remarks</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">credential</td>
              <td align="left">Honorific suffix</td>
              <td align="left">
                <xref target="vcard-prop-n"/>
              </td>
            </tr>
            <tr>
              <td align="left">generation</td>
              <td align="left">Generation</td>
              <td align="left"><xref target="vcard-prop-n"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">given</td>
              <td align="left">Given name</td>
              <td align="left">
                <xref target="vcard-prop-n"/>
              </td>
            </tr>
            <tr>
              <td align="left">given2</td>
              <td align="left">Additional name</td>
              <td align="left">
                <xref target="vcard-prop-n"/>
              </td>
            </tr>
            <tr>
              <td align="left">surname</td>
              <td align="left">Family name</td>
              <td align="left">
                <xref target="vcard-prop-n"/>
              </td>
            </tr>
            <tr>
              <td align="left">surname2</td>
              <td align="left">Secondary surname</td>
              <td align="left"><xref target="vcard-prop-n"/>, and remarks below</td>
            </tr>
            <tr>
              <td align="left">title</td>
              <td align="left">Honorific prefix</td>
              <td align="left">
                <xref target="vcard-prop-n"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Remarks:</t>
        <ul>
          <li>In addition to converting the "generation" kind to the "Generation" component, implementations <bcp14>MAY</bcp14> also append the value to the "Honorific Suffixes" component of the N property value.</li>
          <li>In addition to converting the "surname2" kind to the "Secondary surname" component, implementations <bcp14>MAY</bcp14> also append the value to the "Surname" component of the N property value.</li>
        </ul>
        <t>The full property converts to the <xref target="vcard-prop-fn">FN property</xref>.</t>
        <t>The full property is optional, but the FN property is defined to be mandatory in <xref target="RFC6350"/>. How to set the FN property if the full property is not set is implementation-specific. Implementations <bcp14>MAY</bcp14> derive the full name from the NameComponents objects.  If the isOrdered property value is "true", then this can be done by concatenating the name component values.  Alternatively, an implementation can choose any other heuristic to generate the full name from its components such as <xref target="CLDRPersonName"/>. If the FN property value is derived, implementations <bcp14>SHOULD</bcp14> set the <xref target="RFC9554" section="4.4" sectionFormat="parens">DERIVED parameter</xref>.</t>
        <t>The other properties convert  as follows:</t>
        <table anchor="jscontact-to-vcard-props-name">
          <name>Properties of the Name object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>defaultSeparator</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>JSCOMPS</td>
              <td>
                <xref target="vcard-param-jscomps"/>
              </td>
            </tr>
            <tr>
              <td>phoneticScript</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>SCRIPT</td>
              <td>
                <xref target="vcard-param-script"/>
              </td>
            </tr>
            <tr>
              <td>phoneticSystem</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>PHONETIC</td>
              <td>
                <xref target="vcard-param-phonetic"/>
              </td>
            </tr>
            <tr>
              <td>isOrdered</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>JSCOMPS</td>
              <td>
                <xref target="vcard-param-jscomps"/>
              </td>
            </tr>
            <tr>
              <td>sortAs</td>
              <td>
                <xref target="RFC9553" section="2.2.1.1" sectionFormat="comma"/>
              </td>
              <td>SORT-AS</td>
              <td>
                <xref target="vcard-param-sort-as"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-nickname">
        <name>Nickname</name>
        <t>The Nickname object converts to <xref target="vcard-prop-nickname">NICKNAME property</xref>.</t>
        <t>Its name property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-nickname">
          <name>Properties of the Nickname object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.2.2" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.2.2" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-note">
        <name>Note</name>
        <t>The Note object converts to the <xref target="vcard-prop-note">NOTE property</xref>.</t>
        <t>Its note property converts to the property value.</t>
        <t>The Author object set as the value of its author property converts as follows:</t>
        <table anchor="jscontact-to-vcard-props-author">
          <name>Properties of the Author object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>name</td>
              <td>
                <xref target="RFC9553" section="2.8.3" sectionFormat="comma"/>
              </td>
              <td>AUTHOR-NAME</td>
              <td>
                <xref target="vcard-param-author-name"/>
              </td>
            </tr>
            <tr>
              <td>uri</td>
              <td>
                <xref target="RFC9553" section="2.8.3" sectionFormat="comma"/>
              </td>
              <td>AUTHOR</td>
              <td>
                <xref target="vcard-param-author"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-note">
          <name>Properties of the Note object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>created</td>
              <td>
                <xref target="RFC9553" section="2.8.3" sectionFormat="comma"/>
              </td>
              <td>CREATED</td>
              <td>
                <xref target="vcard-param-created"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-online-service">
        <name>OnlineService</name>
        <t>The OnlineService object converts to the <xref target="vcard-prop-impp">IMPP property</xref> or <xref target="vcard-prop-socialprofile">SOCIALPROFILE property</xref>. Which property to convert to is implementation-specific. Implementations <bcp14>SHOULD</bcp14> preserve the property name indicated in the <xref target="jscontact-prop-vcard">vCard property</xref>.</t>
        <t>If its uri property is set, but neither the user or service properties are set, then implementations <bcp14>SHOULD</bcp14> choose IMPP if the uri property value is a URI with scheme "xmpp".</t>
        <t>It other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-online-service">
          <name>Properties of the OnlineService object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
            <tr>
              <td>service</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>SERVICE-TYPE</td>
              <td>
                <xref target="vcard-param-service-type"/>
              </td>
            </tr>
            <tr>
              <td>user</td>
              <td>
                <xref target="RFC9553" section="2.3.2" sectionFormat="comma"/>
              </td>
              <td>USERNAME</td>
              <td>
                <xref target="vcard-param-username"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-organization">
        <name>Organization</name>
        <t>The Organization object converts to the <xref target="vcard-prop-org">ORG property.</xref></t>
        <t>Its name property converts the first component in the structured property value. The name property of any OrgUnit object in its units property converts to additional components in the structured property value, in order to appearance.</t>
        <t>Its sortAs property converts the first component in the structured value of the <xref target="vcard-param-sort-as">SORT-AS parameter</xref>. The sortAs property of any OrgUnit object in its units property converts to additional components in the structured parameter value, in order to appearance.</t>
        <t>Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-organization">
          <name>Properties of the Organization object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.2.3" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-personal-info">
        <name>PersonalInfo</name>
        <t>The PersonalInfo object converts to one of the following properties, determined by the PersonalInfo kind property value. If the kind is "expertise" then it converts to the <xref target="vcard-prop-expertise">EXPERTISE property.</xref>. If the kind is "hobby" then it converts to the <xref target="vcard-prop-hobby">HOBBY property</xref>. If the kind is "interest" then it converts to the "<xref target="vcard-prop-interest">INTEREST property</xref>.</t>
        <t>Its value property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-personal-info">
          <name>Properties of the PersonalInfo object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>listAs</td>
              <td>
                <xref target="RFC9553" section="2.8.4" sectionFormat="comma"/>
              </td>
              <td>INDEX</td>
              <td>
                <xref target="vcard-param-index"/>
              </td>
            </tr>
            <tr>
              <td>level</td>
              <td>
                <xref target="RFC9553" section="2.8.4" sectionFormat="comma"/>
              </td>
              <td>LEVEL</td>
              <td>
                <xref target="vcard-param-level"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-phone">
        <name>Phone</name>
        <t>The Phone object converts to the <xref target="vcard-prop-tel">TEL property</xref></t>
        <t>Its number property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-phone">
          <name>Properties of the Phone object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.3.3" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>features</td>
              <td>
                <xref target="RFC9553" section="2.3.3" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-prop-tel"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.3.3" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.3.3" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-scheduling-address">
        <name>SchedulingAddress</name>
        <t>The SchedulingAddress object converts to the <xref target="vcard-prop-caladruri">CALADRURI property</xref>.</t>
        <t>Its uri property converts to the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-scheduling-address">
          <name>Properties of the SchedulingAddress object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.4.2" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>label</td>
              <td>
                <xref target="RFC9553" section="2.4.2" sectionFormat="comma"/>
              </td>
              <td>X-ABLabel (Property)</td>
              <td>
                <xref target="vcard-prop-xablabel"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.4.2" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-speak-to-as">
        <name>SpeakToAs</name>
        <t>The SpeakToAs object converts to the <xref target="vcard-prop-gramgender">GRAMGENDER property</xref> and <xref target="vcard-prop-pronouns">PRONOUNS property.</xref>.</t>
        <t>Its grammaticalGender property converts to the property value of the GRAMGENDER property.</t>
        <t>Its pronouns property converts to PRONOUNS properties, one for each entry. The pronouns property of the Pronouns object converts the property value. Its other properties convert as follows:</t>
        <table anchor="jscontact-to-vcard-props-pronouns">
          <name>Properties of the Pronouns object</name>
          <thead>
            <tr>
              <th>Name</th>
              <th>Reference</th>
              <th>Parameter (or other)</th>
              <th>See</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>contexts</td>
              <td>
                <xref target="RFC9553" section="2.2.4" sectionFormat="comma"/>
              </td>
              <td>TYPE</td>
              <td>
                <xref target="vcard-param-type"/>
              </td>
            </tr>
            <tr>
              <td>pref</td>
              <td>
                <xref target="RFC9553" section="2.2.4" sectionFormat="comma"/>
              </td>
              <td>PREF</td>
              <td>
                <xref target="vcard-param-pref"/>
              </td>
            </tr>
          </tbody>
        </table>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section anchor="convert-jscontact-to-vcard-new-title">
        <name>Title</name>
        <t>The Title object converts to one of the following properties, determined by the Title kind property value. If the kind is "title" or not set then it converts to the <xref target="vcard-prop-title">TITLE property.</xref>. If the kind is "role" then it converts to the <xref target="vcard-prop-role">ROLE property</xref>.</t>
        <t>Its name property converts the property value. Its organizationId property converts by assigning the TITLE property and the ORG property to the same vCard property group (see <xref target="vcard-prop-role"/>).</t>
        <t>Other properties <bcp14>MAY</bcp14> be converted to <xref target="vcard-prop-jsprop">JSPROP properties</xref>.</t>
      </section>
      <section>
        <name>New vCard Parameters</name>
      </section>
    </section>
    <section anchor="updates-to-jscontact">
      <name>Updates to JSContact</name>
      <section anchor="jscontact-new-properties">
        <name>New Properties</name>
        <section anchor="jscontact-prop-vcard">
          <name>vCard</name>
          <dl newline="true">
            <dt>Name:</dt>
            <dd>vCard</dd>
            <dt>Context:</dt>
            <dd>A Card object</dd>
            <dt>Type:</dt>
            <dd><tt>VCard</tt> (optional)</dd>
            <dt>Description</dt>
            <dd>
              <t>This property contains information about vCard data that got converted to a JSContact Card object.  It allows for preserving arbitrary vCard elements, such as extension properties and parameters. This specification defines the VCard object type for converting a vCard to a JSContact Card object. Future specifications <bcp14>MAY</bcp14> define additional value types for this property.</t>
              <t>A VCard object has the following properties:</t>
              <dl>
                <dt>@type: String</dt>
                <dd>This specifies the type of this object. This <bcp14>MUST</bcp14> be <tt>VCard</tt>, if set.</dd>
                <dt>convertedProperties: String[VCardProperty] (optional)</dt>
                <dd>
                  <t>This contains conversion-related information about the vCard properties that got partially or fully converted to JSContact.  Each key defines the path to a JSContact element.  The value for each key contains information about the vCard property which converted to the JSContact element located at that key. Unless otherwise defined for a specific vCard property, the path points to that JSContact object property to which the vCard property value converted to.</t>
                  <t>The key <bcp14>MUST</bcp14> be a valid key of a PatchObject as defined in <xref target="RFC9553" section="1.4.3" sectionFormat="of"/>.  The key <bcp14>MAY</bcp14> point into a nested object.</t>
                </dd>
                <dt>properties: *[][] (optional)</dt>
                <dd>This contains properties of the vCard which did not convert to standard JSContact elements. The value <bcp14>MUST</bcp14> be a list of vCard properties formatted in jCard as defined in <xref target="RFC7095" section="3.3" sectionFormat="of"/>.
              </dd>
              </dl>
              <t>A VCardProperty object has the following properties:</t>
              <dl>
                <dt>@type: String</dt>
                <dd>This specifies the type of this object. This <bcp14>MUST</bcp14> be <tt>VCardProperty</tt>, if set.</dd>
                <dt>name: String (mandatory)</dt>
                <dd>This is the name of the vCard property in lowercase.</dd>
                <dt>valueType: String (optional)</dt>
                <dd>This is the name of the vCard property value type in lowercase.</dd>
                <dt>parameters: String[String|String[]] (optional)</dt>
                <dd>This contains parameters of the vCard property. The value <bcp14>MUST</bcp14> comply with vCard parameters formatted in jCard as defined in <xref target="RFC7095" section="3.4" sectionFormat="of"/>.</dd>
              </dl>
            </dd>
          </dl>
          <t>The example in <xref target="test-jscontact-prop-vcard"/> describes how to convert unknown vCard elements to the "vCard" property. The "X-FOO" parameter set on the FN property illustrates how to preserve an unknown vCard parameter on a property that does convert to a standard JSContact element. The "X-BAR" property and "X-BAZ" component illustrate how to convert entirely unknown vCard properties.</t>
          <figure anchor="test-jscontact-prop-vcard">
            <name>Converting unknown vCard elements to the vCard property</name>
            <sourcecode type="text/vcard"><![CDATA[
BEGIN:VCARD
VERSION:4.0
FN;X-FOO=bar:test
...
X-BAR:bam
...
]]></sourcecode>
            <sourcecode type="json"><![CDATA[
"name": {
  "full": "test"
},
"vCard": {
  "version": "4.0",
  "convertedProperties": {
    "name/full": {
      "name": "fn",
      "parameters": {
        "x-foo": "bar"
      }
    }
  },
  "properties": [
    [
      "x-bar",
      {},
      "unknown",
      "bam"
    ]
  ],
}
]]></sourcecode>
          </figure>
        </section>
      </section>
    </section>
    <section anchor="updates-to-vcard">
      <name>Updates to vCard</name>
      <section>
        <name>New Parameters</name>
        <section anchor="vcard-param-jscomps">
          <name>JSCOMPS</name>
          <dl>
            <dt>Parameter name:</dt>
            <dd>JSCOMPS</dd>
            <dt>Purpose:</dt>
            <dd>Defines the order and separators for the elements of a structured property value.</dd>
            <dt>Description:</dt>
            <dd>
              <t>The JSCOMPS parameter value facilitates converting name and address components between JSContact and vCard.  It preserves the order of the components of the JSContact property and contains the verbatim values of separator components.</t>
              <t>If this parameter is set and its value is valid (see later), then implementations <bcp14>MUST</bcp14> set the isOrdered property of the Name or Address object to "true". Otherwise, they <bcp14>MUST</bcp14> set the isOrdered property value to "false".</t>
              <t>The JSCOMPS parameter value is a structured type value. Its value <bcp14>MUST</bcp14> be quoted.  The parameter value consists of a sequence of entries, separated by the SEMICOLON character (U+003B).  The first entry defines the value of the defaultSeparator property.  If it is the empty string, then no default separator is defined. Otherwise, the first entry <bcp14>MUST</bcp14> be a separator entry.  All following entries processed in order result in an ordered list of JSContact components and <bcp14>MUST</bcp14> be one of the following two kinds:</t>
              <ol>
                <li>
                  <t>A positional.  This refers to a component value in the vCard structured value.  A position consists of the numeric index of a component in the structured value, optionally followed by a COMMA (U+002C) character and the non-zero index of a value within that component.  The zero index selects the first component or value, respectively.  The second index is zero by default, in which case it <bcp14>MUST</bcp14> be omitted (as well as the leading COMMA).</t>
                  <t>The resulting JSContact component is formed by determining its kind by the position in the vCard structured value.  The component value is the verbatim value of the vCard component.  Figures <xref target="vcard-param-jscomps-example-positional" format="counter"/> and <xref target="vcard-param-jscomps-example-n-secondary-index" format="counter"/> illustrate this by example.</t>
                </li>
                <li>
                  <t>A separator.  This contains the verbatim value of a separator component.  It starts with the LATIN SMALL LETTER S (U+0073) character, followed by the COMMA (U+002C) character, followed by zero or more "param-value" characters (see <xref target="RFC6350" sectionFormat="of" section="3.3"/>), where the COMMA (U+002C) and SEMICOLON (U+003B) characters <bcp14>MUST</bcp14> be escaped according to the rules defined in <xref target="RFC6350" sectionFormat="of" section="3.4"/>.  <xref target="vcard-param-jscomps-example-separator"/> illustrates this by example.</t>
                  <t>The resulting JSContact component is formed by setting its kind to "separator" and its value to the verbatim value of the entry.</t>
                </li>
              </ol>
              <t>A JSCOMPS parameter value is valid if and only if:</t>
              <ul>
                <li>All indexes in the positional entries refer to an existing component value in the vCard property value.</li>
                <li>
                  <t>The count of positional entries equals the count of deduplicated component values.  Deduplication is required because some values may occur in both their designated and backwards-compatible components in the vCard property value:</t>
                  <ul>
                    <li>A value that occurs in both the N property secondary surname component and the family name component only counts once.</li>
                    <li>A value that occurs in both the N property generation component and the honorific suffix component only counts once.</li>
                    <li>A value in the ADR property street address component does not count if the ADR property value contains a value in one of the new components defined in <xref target="RFC9554"/>.</li>
                    <li>All other values count once each.</li>
                  </ul>
                </li>
              </ul>
            </dd>
            <dt>Format definition:</dt>
            <dd>
              <sourcecode name="" type="abnf"><![CDATA[
jscomps-param     = "JSCOMPS" "="
                      DQUOTE [jscomps-entry-sep ] ";" jscomps-entrylist DQUOTE

jscomps-entrylist  = jscomps-entry *(";" jscomps-entry)
jscomps-entry      = jscomps-entry-pos / jscomps-entry-sep
jscomps-entry-pos  = 1*DIGIT [ "," 1*DIGIT ]
jscomps-entry-sep  = "s" "," jscomps-entry-verb
jscomps-entry-verb = *QSAFE-CHAR ; encode special characters according to RFC 6868
]]></sourcecode>
            </dd>
            <dt anchor="vcard-param-jscomps-examples">Example(s):</dt>
            <dd>
              <t>The following example demonstrates the use of positional entries for the name "Jane Doe".  The given name is ordered before the surname.  No secondary index is required for either positional because both are zero.</t>
              <figure anchor="vcard-param-jscomps-example-positional">
                <name>Example of a Secondary Positional Index</name>
                <sourcecode name="json"><![CDATA[
"name": {
  "components": [
    { "kind": "given", "value": "Jane" },
    { "kind": "surname", "value": "Doe" }
  ],
  "isOrdered": true
}
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
N;JSCOMPS=";1;0":Doe;Jane;;;;;;
FN;DERIVED=TRUE:Jane Doe
]]></sourcecode>
              </figure>
              <t>The following example demonstrates a secondary positional index.  The "Jr." generation marker only counts once because it occurs in both the designated generation component and the backwards-compatible honorific suffixes component.</t>
              <figure anchor="vcard-param-jscomps-example-n-secondary-index">
                <name>Example of Positional Entries</name>
                <sourcecode name="json"><![CDATA[
"name": {
  "components": [
    { "kind": "given", "value": "John" },
    { "kind": "given2", "value": "Philip" },
    { "kind": "given2", "value": "Paul" },
    { "kind": "surname", "value": "Stevenson" },
    { "kind": "generation", "value": "Jr." },
    { "kind": "credential", "value": "M.D." }
  ],
  "isOrdered": true
}
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
N;JSCOMPS=";1;2;2,1;0;6;4,1":Stevenson;John;Philip,Paul;;Jr.,M.D.;;Jr.
]]></sourcecode>
              </figure>
              <t>The following example demonstrates the use of separator entries for the (shortened for brevity) address "54321 Oak St, Reston". The first entry defines the default separator to be ", ".  The second and fourth positional entries are separated with the separator value " ".  For backwards compatibility, the street address component of the ADR property contains both the street number and name, but it is not referred to in the JSCOMPS parameter and does not contribute to the count of values.</t>
              <figure anchor="vcard-param-jscomps-example-separator">
                <name>Example of Separator Entries</name>
                <sourcecode name="json"><![CDATA[
"addresses": {
  "a1": {
    "components": [
      { "kind": "number", "value": "54321" },
      { "kind": "separator", "value": " " },
      { "kind": "name", "value": "Oak St" },
      { "kind": "locality", "value": "Reston" }
    ],
    "defaultSeparator": ", ",
    "isOrdered": true
  }
}
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
ADR;JSCOMPS="s,\, ;10;s, ;11;3":;;54321 Oak St;Reston;;;;;;;Oak St;54321;;;;;;
]]></sourcecode>
              </figure>
            </dd>
          </dl>
        </section>
        <section anchor="vcard-param-jsid">
          <name>JSID</name>
          <dl newline="true">
            <dt>Parameter Name:</dt>
            <dd>JSID</dd>
            <dt>Purpose:</dt>
            <dd>Specifies the JSContact identifier of the associated property.</dd>
            <dt>Description:</dt>
            <dd>
              <t>This parameter specifies the JSON object key of the JSContact object to which a vCard property converts to. For example, this parameter set on an EMAIL property defines the key of the EmailAddress object in the Card object's "emails" property (see below for an example).</t>
              <t>The value of the JSID parameter <bcp14>MUST</bcp14> be a valid key according to the definition of the JSContact property to which the property that this parameter is set on converts to. Typically, this requires the value to be a valid <xref target="RFC9553" section="1.4.1" sectionFormat="parens">Id</xref>.</t>
            </dd>
            <dt>Format Definition:</dt>
            <dd>
              <sourcecode type="abnf"><![CDATA[
jsid-param  = "JSID" "=" param-value
]]></sourcecode>
            </dd>
            <dt>Example(s):</dt>
            <dd>
              <figure anchor="test-ical-param-jsid-email">
                <name>Converting the JSID parameter on an EMAIL property</name>
                <sourcecode type="text/calendar"><![CDATA[
EMAIL;JSID=xyz:jane_doe@example.com
]]></sourcecode>
                <sourcecode type="json"><![CDATA[
"emails": {
  "xyz": {
    "address": "jane_doe@example.com"
  }
}
]]></sourcecode>
              </figure>
            </dd>
          </dl>
        </section>
        <section anchor="vcard-param-jsptr">
          <name>JSPTR</name>
          <dl>
            <dt>Parameter name:</dt>
            <dd>JSPTR</dd>
            <dt>Purpose:</dt>
            <dd>To specify a pointer to a JSContact property.</dd>
            <dt>Description:</dt>
            <dd>
              <t>This parameter is set on a <xref target="vcard-prop-jsprop">JSPROP</xref> property.  Its value points to a JSContact property.  The parameter has a single value that <bcp14>MUST</bcp14> be a valid PatchObject key as defined in <xref target="RFC9553" section="1.4.3"/>. The parameter value <bcp14>MUST</bcp14> be quoted and is case-sensitive.</t>
            </dd>
            <dt>Format definition:</dt>
            <dd>
              <sourcecode name="" type="abnf"><![CDATA[
jsptr-param  = "JSPTR" "=" DQUOTE *QSAFE-CHAR DQUOTE
]]></sourcecode>
            </dd>
            <dt>Example(s):</dt>
            <dd>
              <t>For further examples, see <xref target="vcard-prop-jsprop-examples"/>.</t>
              <sourcecode name="" type="vcard"><![CDATA[
JSPROP;JSPTR="example.com:foo":"bar"
]]></sourcecode>
            </dd>
          </dl>
        </section>
      </section>
      <section anchor="new-vcard-props">
        <name>New vCard Properties</name>
        <section anchor="vcard-prop-jsprop">
          <name>JSPROP</name>
          <dl>
            <dt>Property name:</dt>
            <dd>JSPROP</dd>
            <dt>Purpose:</dt>
            <dd>Represents a JSContact property in vCard.</dd>
            <dt>Value type:</dt>
            <dd>TEXT; also see "Format definition" below for value restrictions.</dd>
            <dt>Conformance:</dt>
            <dd>Can be specified multiple times in a vCard.</dd>
            <dt>Property parameters:</dt>
            <dd>
          The JSPTR parameter <bcp14>MUST</bcp14> be set for this property.
          Other IANA-registered and experimental property parameters can be specified on this property.
        </dd>
            <dt>Description:</dt>
            <dd>
              <t>This property converts an arbitrary JSContact property from and to vCard.  The vCard property value is the JSON-encoded value of the JSContact property, represented as a TEXT value.  The format of the JSON value <bcp14>MUST</bcp14> be compact, e.g., without insignificant whitespace as defined in <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259" section="2"/>.  The value of the JSPTR parameter points to the JSContact property within the Card.</t>
              <t>The root of the JSON pointer is always the Card object that this vCard converts to, irrespective if the JSON pointer starts with the SOLIDUS (U+002F) character.  The pointer <bcp14>MUST NOT</bcp14> reference into an array.</t>
              <t>All JSPROP properties in a vCard together form a PatchObject as defined in <xref target="RFC9553"/>.  The value of its JSPTR parameter corresponds to a key in the PatchObject; the value of the JSPROP property corresponds to the value for that key.  When converting from vCard to JSContact, the PatchObject <bcp14>MUST</bcp14> only be applied after all other vCard properties have already been converted.  The PatchObject <bcp14>MUST</bcp14> be valid, including the restriction that an invalid PatchObject <bcp14>MUST NOT</bcp14> be applied.</t>
            </dd>
            <dt>Format definition:</dt>
            <dd>
              <t>This property is defined by the following notation:</t>
              <sourcecode name="" type="abnf"><![CDATA[
jsprop = "JSPROP" jsprop-param ":" TEXT

jsprop-param  = *(
            ; The following are MANDATORY and MUST NOT
            ; occur more than once
            ( ";" jsptr-param ) /    ; see next section
            ( ";" "VALUE" "=" "TEXT")
            ;
            ; The following is OPTIONAL
            ; and MAY occur more than once.
            ;
            (";" other-param)
            ;
            )
]]></sourcecode>
            </dd>
            <dt anchor="vcard-prop-jsprop-examples">Example(s):</dt>
            <dd>
              <t>This illustrates how to convert a property at the top level in a Card object that is unknown to the implementation.</t>
              <figure anchor="jscontact-prop-unknown">
                <name>Unknown Property Example</name>
                <sourcecode type="json"><![CDATA[
"someUnknownProperty": true
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
JSPROP;JSPTR="someUnknownProperty":true
]]></sourcecode>
              </figure>
              <t>This illustrates how to convert a vendor-specific property at the top level of a Card object.  Note the required use of quoted string for the JSPTR value, which allows the path to include the COLON (U+003A) character.</t>
              <figure anchor="jscontact-prop-vendor-specific">
                <name>Vendor-Specific Property Conversion Example</name>
                <sourcecode type="json"><![CDATA[
"example.com:foo": {
  "bar": 1234
}
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
JSPROP;JSPTR="example.com:foo":{"bar":1234}
]]></sourcecode>
              </figure>
              <t>This illustrates how to convert a vendor-specific property at a nested level in a Card object using a path relative to the Card object.  Although not recommended, the property name includes the SOLIDUS (U+002F) character, which requires escaping in the JSON pointer.</t>
              <figure anchor="jscontact-prop-nested">
                <name>Nested Vendor-Specific Property Example with a Path Relative to Card</name>
                <sourcecode type="json"><![CDATA[
"phones": {
  "phone1": {
    "number": "tel:+33-01-23-45-67",
    "example.com:foo/bar": "tux hux"
  }
}
]]></sourcecode>
                <sourcecode type="vcard"><![CDATA[
TEL:tel:+33-01-23-45-67
JSPROP;JSPTR="phones/phone1/example.com:foo~1bar":
 "tux hux"
]]></sourcecode>
              </figure>
            </dd>
          </dl>
        </section>
      </section>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>This specification defines how to convert between the JSContact and vCard formats.
      The security considerations for parsing and formatting such data apply and are outlined in <xref target="RFC9553" sectionFormat="of" section="4"/> and <xref target="RFC6350" sectionFormat="of" section="9"/>.</t>
    </section>
    <section anchor="IANA">
      <name>IANA Considerations</name>
      <t>TBD</t>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.calconnect-vobject-i18n" to="vOBJECT"/>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <!-- [I-D.ietf-calext-jscontact] in EDIT state as of 2/12/24; companion document RFC 9553 -->
        <reference anchor="RFC9553" target="https://www.rfc-editor.org/info/rfc9553">
          <front>
            <title>JSContact: A JSON Representation of Contact Data</title>
            <author initials="R" surname="Stepanek" fullname="Robert Stepanek">
              <organization/>
            </author>
            <author initials="M" surname="Loffredo" fullname="Mario Loffredo">
              <organization/>
            </author>
            <date month="March" year="2024"/>
          </front>
          <seriesInfo name="RFC" value="9553"/>
          <seriesInfo name="DOI" value="10.17487/RFC9553"/>
        </reference>
        <!-- [I-D.ietf-calext-vcard-jscontact-extensions] in REF state as of 2/12/24; companion document RFC 9554 -->
        <reference anchor="RFC9554" target="https://www.rfc-editor.org/info/rfc9554">
          <front>
            <title>vCard Format Extension for JSContact</title>
            <author initials="R." surname="Stepanek" fullname="Robert Stepanek">
              <organization>Fastmail</organization>
            </author>
            <author initials="M." surname="Loffredo" fullname="Mario Loffredo">
              <organization>IIT-CNR</organization>
            </author>
            <date month="March" year="2024"/>
          </front>
          <seriesInfo name="RFC" value="9554"/>
          <seriesInfo name="DOI" value="10.17487/RFC9554"/>
        </reference>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.5234.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6350.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6473.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6474.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6715.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6869.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7095.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8259.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9555.xml"/>
	<xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-calext-jscontact-uid.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-calext-jscontact-profiles.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-calext-jscalendar-icalendar.xml"/>
        <!--[I-D.calconnect-vobject-i18n] IESG state Expired. Entered the long way to get the correct initials-->
        <reference anchor="I-D.calconnect-vobject-i18n" target="https://datatracker.ietf.org/doc/html/draft-calconnect-vobject-i18n-00">
          <front>
            <title>vObject Internationalization</title>
            <author fullname="Ronald Henry Tse" initials="R." surname="Tse">
              <organization>Ribose</organization>
            </author>
            <author fullname="Peter Tam" initials="P." surname="Tam">
              <organization>Ribose</organization>
            </author>
            <author fullname="Michael Douglass" initials="M." surname="Douglass">
              <organization>Spherical Cow Group</organization>
            </author>
            <date day="7" month="June" year="2018"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-calconnect-vobject-i18n-00"/>
        </reference>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8605.xml"/>
        <reference anchor="CLDRPersonName" target="https://www.unicode.org/reports/tr35/tr35-personNames.html">
          <front>
            <title>Unicode Locale Data Markup Language (LDML) Part 8: Person Names</title>
            <author fullname="M. Davis">
              <organization/>
            </author>
            <author fullname="P. Edberg">
              <organization/>
            </author>
            <author fullname="R. Gillam">
              <organization/>
            </author>
            <author fullname="A. Kolisnychenko">
              <organization/>
            </author>
            <author fullname="M. McKenna">
              <organization/>
            </author>
            <author>
              <organization>other CLDR committee members</organization>
            </author>
            <date year="2023" month="July"/>
          </front>
          <seriesInfo name="Unicode Technical Standard" value="#35"/>
          <seriesInfo name="Version" value="44.1"/>
        </reference>
      </references>
    </references>
    <section anchor="differences-from-rfc9555">
      <name>Differences from RFC 9555</name>
      <t>This section documents all significant differences from RFC 9555. Insignificant differences, such as formatting, grammar or typos are not documented.</t>
      <section>
        <name>Applied Errata</name>
        <t>The following errrata was applied to to this document:</t>
        <ul>
          <li>
            <eref target="https://www.rfc-editor.org/errata/eid8555">Errata 8555</eref>
          </li>
        </ul>
      </section>
      <section>
        <name>Changed Conversion Rules</name>
        <section>
          <name>vCard to JSContact</name>
          <ul>
            <li>Converting the UID property to the "uid" property is redefined for JSContact version "2.0". See <xref target="convert-card-uid"/>.</li>
          </ul>
        </section>
      </section>
      <section>
        <name>Changes to JSContact</name>
        <section>
          <name>Obsoleted Properties</name>
          <t>The following JSContact properties became obsolete:</t>
          <dl newline="true" spacing="normal" anchor="obsolete-prop-vcardprops">
            <dt>
              <strong>vCardProps</strong>
            </dt>
            <dd>
              <t>This property is deprecated, the "properties" property of the newly defined <xref target="jscontact-prop-vcard">VCard type</xref> replaces it. <xref target="obsolete-vcardprops-example"/> illustrates this using the same example as<xref target="RFC9555" section="2.15.1" sectionFormat="of"/>.</t>
              <figure anchor="obsolete-vcardprops-example">
                <name>Example for Representing the Obsolete vCardProps Property</name>
                <sourcecode type="json"><![CDATA[
"vCardProps": [
  ["x-foo", { }, "unknown", "bar"]
]
]]></sourcecode>
                <sourcecode type="json"><![CDATA[
"vCard": {
  "properties": [
    ["x-foo", { }, "unknown", "bar"]
  ]
}
]]></sourcecode>
              </figure>
            </dd>
          </dl>
          <dl newline="true" spacing="normal">
            <dt>
              <strong>vCardParams</strong>
            </dt>
            <dd>
              <t>This property is deprecated, the "parameters" property of the newly defined <xref target="jscontact-prop-vcard">VCardProperty type</xref> replaces it. <xref target="obsolete-vcardparams-example"/> illustrates this using the same example as <xref target="RFC9555" section="2.15.2" sectionFormat="of"/>.</t>
              <figure anchor="obsolete-vcardparams-example">
                <name>Example for Representing the Obsolete vCardParams Property</name>
                <sourcecode type="json"><![CDATA[
"emails": {
  "email1": {
    "address": "jane_doe@example.com",
    "vCardParams": {
      "x-foo": "Bar"
    }
  }
}
]]></sourcecode>
                <sourcecode type="json"><![CDATA[
"emails": {
  "email1": {
    "address": "jane_doe@example.com"
  }
}
"vCard": {
  "convertedProperties": {
    "emails/email1/address": {
      "name": "email",
      "parameters": {
        "x-foo": "Bar"
      }
    }
  }
}
]]></sourcecode>
              </figure>
            </dd>
          </dl>
          <dl newline="true" spacing="normal">
            <dt>
              <strong>vCardName</strong>
            </dt>
            <dd>
              <t>This property is deprecated, the "name" property of the newly defined <xref target="jscontact-prop-vcard">VCardProperty type</xref> replaces it. <xref target="obsolete-vcardname-example"/> illustrates this using the same example as <xref target="RFC9555" section="2.15.3" sectionFormat="of"/>.</t>
              <figure anchor="obsolete-vcardname-example">
                <name>Example for Representing the Obsolete vCardName Property</name>
                <sourcecode type="json"><![CDATA[
"onlineServices": {
  "os1": {
    "uri": "xmpp:alice@example.com",
    "vCardName": "impp"
  },
}
]]></sourcecode>
                <sourcecode type="json"><![CDATA[
"onlineServices": {
  "os1": {
    "uri": "xmpp:alice@example.com",
    "vCardName": "impp"
  },
}
"vCard": {
  "convertedProperties": {
    "onlineServices/os1/uri": {
      "name": "impp"
    }
  }
}
]]></sourcecode>
              </figure>
            </dd>
          </dl>
        </section>
        <section>
          <name>Obsoleted Types</name>
          <t>The following JSContact type definitions became obsolete:</t>
          <dl newline="true" spacing="normal">
            <dt>
              <strong>JCardProp</strong>
            </dt>
            <dd>
              <t>This type is deprecated because the "vCardProps" property became deprecated. Also see <xref target="obsolete-prop-vcardprops"/>.</t>
            </dd>
          </dl>
        </section>
      </section>
      <section>
        <name>Changes to vCard</name>
        <section>
          <name>Obsoleted Parameters</name>
          <t>The following vCard parameters became obsolete:</t>
          <dl newline="true" spacing="normal" anchor="obsolete-prop-prop-id">
            <dt>
              <strong>PROP-ID</strong>
            </dt>
            <dd>
              <t>This parameter is deprecated, the newly defined <xref target="vcard-param-jsid">JSID parameter</xref> replaces it. <xref target="vcard-param-propid"/> defines how to process the PROP-ID in presence and absence of the JSID parameter.</t>
            </dd>
          </dl>
        </section>
      </section>
    </section>
    <section anchor="Acknowledgments" numbered="false">
      <name>Acknowledgements</name>
      <t>The definition and examples of the <xref target="vcard-param-phonetic">PHONETIC</xref> and <xref target="vcard-param-script">SCRIPT</xref> parameters are based on the initial draft version of <xref target="I-D.calconnect-vobject-i18n"/>.</t>
    </section>
  </back>
</rfc>
