<?xml version="1.0" encoding="UTF-8"?>

<!-- [CS] updated by Chris 11/02/23 -->



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

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="pre5378Trust200902" submissionType="IETF" category="std" consensus="true" xml:lang="en" docName="draft-ietf-calext-vcard-jscontact-extensions-10" number="0000" obsoletes="" updates="6350" tocInclude="true" symRefs="true" sortRefs="true" version="3">

  <front>
    <title abbrev="vCard JSContact Extensions">vCard Format Extension for JSContact</title>
    <seriesInfo name="RFC" value="0000"/>
    <author initials="R." surname="Stepanek" fullname="Robert 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>
      </address>
    </author>
    <author initials="M." surname="Loffredo" fullname="Mario Loffredo">
      <organization>IIT-CNR</organization>
      <address>
        <postal>
          <street>Via Moruzzi, 1</street>
          <city>Pisa</city>
          <code>56124</code>
          <country>Italy</country>
          <region></region>
        </postal>
        <email>mario.loffredo@iit.cnr.it</email>
      </address>
    </author>
    <date year="2023" month="November"/>
    <area>art</area>
    <workgroup>calext</workgroup>

    <keyword>addressbook</keyword>
    <keyword>contacts</keyword>
    <keyword>cards</keyword>
    <keyword>vCard</keyword>
    <keyword>JSContact</keyword>
    <abstract>
      <t>
        This document defines a set of new properties for vCard and extends the use of existing ones.
        Their primary purpose is to align the same set of features between the JSContact and vCard formats,
        but the new definitions also aim to be useful within just the vCard format.  This document updates
        RFC 6350 (vCard).
      </t>
    </abstract>
  </front>
  <middle>
    <section>
      <name>Introduction</name>
      <t>
        The JSContact <xref target="RFCYYY1"/> format aims to be an alternative to the
        vCard <xref target="RFC6350"/> format for representation of contact and address book
        data.  As such, it introduces new semantics that are not covered in the current
        definition of vCard and its various extensions.  Converting contact data between
        the two formats is defined in <xref target="RFCYYY2"/> with the goal of
        not losing any semantics during conversion.  To do so, this document
        defines a new set of properties for vCard and extends existing definitions.
      </t>
      <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>
      </section>
      <section anchor="abnf-notations">
        <name>ABNF Notations</name>
        <t>The ABNF definitions in this document use the notations of <xref target="RFC5234"/>. ABNF rules not defined in this document either are defined in <xref target="RFC5234"/> (such as the ABNF for CRLF, WSP, DQUOTE, VCHAR, ALPHA, and DIGIT) or <xref target="RFC6350"/>.
        </t>
      </section>
    </section>
    <section>
      <name>Updated Properties</name>
      <section anchor="prop-adr">
        <name>ADR</name>
        <t>This specification modifies the definition of the "ADR" property.  It extends its structured value with additional address components to better support the variety of international addresses.  It separates the address parts that currently typically are combined in street address component values into distinct components.</t>
				<t>Implementations <bcp14>SHOULD</bcp14> write a combined value of these components in the street address component for backwards compatibility, but <bcp14>SHOULD</bcp14> ignore the street component during read if the ADR property value contains any of the new components.</t>
        <t>The following change is made to the first paragraph in the "Special Notes" section, originally specified in <xref target="RFC6350" section="6.3.1"/>.  All remaining paragraphs of that section in the original specification still apply.</t>
        <t>
             Special notes: The structured type value consists of a sequence of
             address components. The component values <bcp14>MUST</bcp14> be specified in
             their corresponding position. The structured type value
             corresponds, in sequence, to</t>
	       <ul spacing="compact" empty="true">
               <li> the post office box;</li>
               <li> the extended address (e.g., apartment or suite number);</li>
               <li> the street address;</li>
               <li>the locality (e.g., city);</li>
               <li> the region (e.g., state or province);</li>
               <li> the postal code;</li>
               <li> the country name (full name in the language specified in
                    <xref target="RFC6350" section="5.1"/>);</li>
               <li> the room or suite number or identifier</li>
               <li> the apartment number, extension designation or box number.</li>
               <li> the building floor or level;</li>
               <li> the street number;</li>
               <li> the street name;</li>
               <li> the building, tower, condominium;</li>
               <li> the block name or number;</li>
               <li> the subdistrict;</li>
               <li> the district;</li>
               <li> the landmark or another publicly known prominent feature that can substitute the street name and number, e.g., "White House"", "Taj Mahal"";</li>
               <li> the cardinal direction or quadrant, e.g., "North"</li>
            </ul>
       
        <t>The following change is made to the definition of "ADR-value" in the "ABNF" section, originally specified in <xref target="RFC6350" section="6.3.1"/>.</t>

          <t>ABNF</t>
            <sourcecode name="" type="abnf"><![CDATA[
ADR-value = ADR-component-pobox ";" ADR-component-ext ";"
            ADR-component-street ";" ADR-component-locality ";"
            ADR-component-region ";" ADR-component-code ";"
            ADR-component-country ";"
            ; above components are defined in RFC 6350, section 6.3.1
            ADR-component-room ";" ADR-component-apartment ";"
            ADR-component-floor ";"
            ADR-component-streetnumber ";" ADR-component-streetname ";"
            ADR-component-building ";" ADR-component-block ";"
            ADR-component-subdistrict ";" ADR-component-district ";"
            ADR-component-landmark ";" ADR-component-direction
ADR-component-pobox    = list-component
ADR-component-ext      = list-component
ADR-component-street   = list-component
ADR-component-locality = list-component
ADR-component-region   = list-component
ADR-component-code     = list-component
ADR-component-country  = list-component
ADR-component-room     = list-component
ADR-component-apartment = list-component
ADR-component-floor    = list-component
ADR-component-streetnumber = list-component
ADR-component-streetname = list-component
ADR-component-building = list-component
ADR-component-block    = list-component
ADR-component-subdistrict = list-component
ADR-component-district = list-component
ADR-component-landmark = list-component
ADR-component-direction = list-component
]]></sourcecode>

        <t>The following change is made to the "Example" section, originally specified in <xref target="RFC6350" section="6.2.2"/>.</t>
          <t>Example: In this example, the post office box and the extended address components are absent.  The street number and name are added both as separate components, as well as combined in the street component for backwards-compatibility.</t>
            <sourcecode name="" type="abnf"><![CDATA[
ADR;GEO="geo:12.3457,78.910":
  ;;123 Main Street;Any Town;CA;91921-1234;U.S.A.;;123;Main Street;;;;;;;
]]></sourcecode>
 
      </section>
      <section anchor="prop-n">
        <name>N</name>
        <t>This specification modifies the definition of the "N" property.  It extends its structured value with additional name components to better support international names and generation markers.  Doing so, this also facilitates formatting N property values using the <xref target="CLDRPersonName">Unicode CLDR Person Name</xref> formatting standard.</t>
        <t>One new component is for secondary surnames, as in some cultures, such secondary surname kinds are used to indicate the paternal and maternal family names or generational names indicating father, grandfather.  Another new component indicates a generation ("II", "XVI") or parental relation ("Jr.", "Sr.").</t>
        <t>Currently, implementations typically place secondary surnames in the family name components, and generational markers in the honorific suffixes component.  For backwards compatibility, implementations <bcp14>SHOULD</bcp14> add such values to both the newly defined components and their backwards-compatible counterpart.  Reading N property values, implementations <bcp14>SHOULD</bcp14> ignore any value in the backward-compatible component if an equal value is set in the according new component.  For example, a "Jr." that occurs in both honorific suffixes and generation should only be handled as a generational marker.</t>
        <t>The following change is made to the first paragraph in the "Special Notes" section, originally specified in <xref target="RFC6350" section="6.2.2"/>.  All remaining text of this and the following paragraphs of that section in the original specification still apply.</t>
          <t>Special notes: The structured property value corresponds, in
	  sequence, to</t>
	  <ul spacing="compact" empty="true">
      <li>family names (also known as surnames),</li>
      <li>given names,</li>
      <li>additional names,</li>
      <li>honorific prefixes,</li>
      <li>honorific suffixes,</li>
      <li>secondary surname, and</li>
      <li>generation.</li>
        </ul>
        <t>The following change is made to the "ABNF" section, originally specified in <xref target="RFC6350" section="6.2.2"/>.</t>
          <t>ABNF</t> 
            <sourcecode name="" type="abnf"><![CDATA[
N-param = "VALUE=text" / sort-as-param / language-param
             / altid-param / any-param
N-value = list-component 6(";" list-component)
]]></sourcecode>
        <t>The following change is made to the "Example" section, originally specified in <xref target="RFC6350" section="6.2.2"/>.</t>
     
          <t>Example</t>
            <sourcecode name="" type="abnf"><![CDATA[
N:Public;John;Quinlan;Mr.;Esq.

N:Stevenson;John;Philip,Paul;Dr.;Jr.,M.D.,A.C.P.;;Jr.
]]></sourcecode>
     
        <t>No change is required for the definition of the SORT-AS parameter, but the new components also apply for use with this parameter.</t>
      </section>
    </section>
    <section anchor="new-properties">
      <name>New Properties</name>
      <section anchor="prop-created">
        <name>CREATED</name>
        <dl>
          <dt>Property name:</dt>
          <dd>CREATED</dd>
          <dt>Purpose:</dt>
          <dd>This property defines the date and time when the vCard was created</dd>
          <dt>Value type:</dt>
          <dd>A single timestamp value.</dd>
          <dt>Cardinality:</dt>
          <dd>*1</dd>
          <dt>Property parameters:</dt>
          <dd>VALUE</dd>
          <dt>Description:</dt>
          <dd>
            This is the time stamp when the vCard was created.  Copying the
            vCard across systems does not count as a new creation, nor does
            a new revision.  Instead, the time stamp value typically
            stays unchanged for the existence of the vCard.
          </dd>
          <dt>Format definition:</dt>
          <dd>
	  <t>This property is defined by the following notation:</t>
            <sourcecode name="" type="abnf"><![CDATA[
created       = "CREATED" createdparam ":" timestamp

createdparam  = *(
                 ;
                 ; The following are OPTIONAL,
                 ; but MUST NOT occur more than once.
                 ;
                 (";" "VALUE" "=" "timestamp") /
                 ;
                 ; The following are OPTIONAL,
                 ; and MAY occur more than once.
                 ;
                 (";" any-param)
                 ;
                 )
]]></sourcecode>
	  </dd>
          <dt>Example(s):</dt>
	<dd>
            <sourcecode name=""><![CDATA[
CREATED:20220705T093412Z
CREATED;VALUE=TIMESTAMP:20211022T140000-05
]]></sourcecode>
	</dd>
	</dl>
      </section>
      <section anchor="prop-gramgender">
        <name>GRAMGENDER</name>
        <dl>
          <dt>Property name:</dt>
          <dd>GRAMGENDER</dd>
          <dt>Purpose:</dt>
          <dd>
            This property defines which grammatical gender to use in salutations and other grammatical constructs.
          </dd>
          <dt>Value type:</dt>
          <dd>A single text value, restricted to an enumerated list of allowed values.</dd>
          <dt>Cardinality:</dt>
          <dd>*</dd>
          <dt>Property parameters:</dt>
          <dd>LANG</dd>
          <dt>Description:</dt>
          <dd>
            <t>
              This property defines the grammatical gender that the contact prefers
              to be addressed by or referred at in written or spoken form.
              For example, the German language distinguishes by grammatical gender in salutations such as "Sehr geehrte" (feminine) and "Sehr geehrter" (masculine).
              Multiple occurrences of this property
              <bcp14>MUST</bcp14> be distinguished by the LANG parameter.
            </t>
          </dd>
          <dt>Format definition:</dt>
          <dd><t>This property is defined by the following notation:</t>
	  
            <sourcecode name="" type="abnf"><![CDATA[
gramgender       = "GRAMGENDER" gramgender-param
                      ":" gramgender-value

gramgender-param =
                *(
                 ;
                 ; The following are OPTIONAL,
                 ; but MUST NOT occur more than once.
                 ;
                 (";" language-param) /
                 ;
                 ; The following are OPTIONAL,
                 ; and MAY occur more than once.
                 ;
                 (";" any-param)
                 ;
                 )

gramgender-value = "animate" /
                   "common" /
                   "feminine" /
                   "inanimate" /
                   "masculine" /
                   "neuter" /
                   iana-token /
                   x-name
]]></sourcecode>
           </dd>
            <dt>Example(s):</dt>
	    <dd>
            <sourcecode name=""><![CDATA[
GRAMGENDER:neuter
]]></sourcecode>
	    </dd>
	  </dl>
      </section>
      <section anchor="prop-language">
        <name>LANGUAGE</name>
        <dl>
          <dt>Property name:</dt>
          <dd>LANGUAGE</dd>
          <dt>Purpose:</dt>
          <dd>This property defines the default language that human-readable text values in this vCard should be assumed written in.</dd>
          <dt>Value type:</dt>
          <dd>A single Language-Tag value as defined in <xref target="RFC6350" section="4"/>.</dd>
          <dt>Cardinality:</dt>
          <dd>*1</dd>
          <dt>Property parameters:</dt>
          <dd>The LANGUAGE parameter <bcp14>MUST NOT</bcp14> be assigned to this property.</dd>
          <dt>Description:</dt>
          <dd>
            This property defines the language in which property values of type
            <tt>TEXT</tt> shall be assumed to be written for this vCard.
            If a vCard property includes the <tt>LANGUAGE</tt> parameter, then the
            parameter value has higher precedence than the <tt>LANGUAGE</tt>
            property value.
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <t>This property is defined by the following notation:</t>
            <sourcecode name="" type="abnf"><![CDATA[
language-prop       = "LANGUAGE" any-param ":" Language-Tag
               ; Language-Tag is defined in RFC6350, Section 4.
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
LANGUAGE:de-AT
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="prop-pronouns">
        <name>PRONOUNS</name>
        <dl>
          <dt>Property name:</dt>
          <dd>PRONOUNS</dd>
          <dt>Purpose:</dt>
          <dd>
            This property defines the pronouns that shall be used
            to refer to the entity represented by this vCard.
          </dd>
          <dt>Value type:</dt>
          <dd>A single text value.</dd>
          <dt>Cardinality:</dt>
          <dd>*</dd>
          <dt>Property parameters:</dt>
          <dd>LANG, PREF, TYPE</dd>
          <dt>Description:</dt>
          <dd>
            This property contains the pronouns that the contact chooses to use for themselves.
            The value is free-form text.  These pronouns shall be used
            when addressing or referring to the contact.  Multiple occurrences of
            this property <bcp14>MAY</bcp14> define pronouns for multiple languages,
            preferences and contexts.  Multiple pronouns in the same language
            <bcp14>SHOULD</bcp14> use the PREF parameter, otherwise, the order of
            preference is implementation-specific.
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <t>This property is defined by the following notation:</t>
            <sourcecode name="" type="abnf"><![CDATA[
pronouns       = "PRONOUNS" pronouns-param ":" text

pronouns-param =
                *(
                 ;
                 ; The following are OPTIONAL,
                 ; but MUST NOT occur more than once.
                 ;
                 (";" language-param) /
                 (";" pref-param) /
                 (";" type-param) /
                 (";" altid-param) /
                 ;
                 ; The following are OPTIONAL,
                 ; and MAY occur more than once.
                 ;
                 (";" any-param)
                 ;
                 )
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
PRONOUNS;LANG=en;PREF=1:xe/xir
PRONOUNS;LANG=en;PREF=2:they/them
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="prop-socialprofile">
        <name>SOCIALPROFILE</name>
        <dl>
          <dt>Property name:</dt>
          <dd>SOCIALPROFILE</dd>
          <dt>Purpose:</dt>
          <dd>To specify the URI or username for social media profiles associated with the object the vCard represents.</dd>
          <dt>Value type:</dt>
          <dd>A single URI or TEXT value.  The default value type is URI.</dd>
          <dt>Cardinality:</dt>
          <dd>*</dd>
          <dt>Property parameters:</dt>
          <dd>The SERVICE-TYPE parameter <bcp14>MUST</bcp14> be assigned to this property if the value type is TEXT, it <bcp14>MAY</bcp14> be assigned if the value type is URI.  In either case, it <bcp14>MUST NOT</bcp14> be assigned more than once.</dd>
          <dt>Description:</dt>
          <dd>
            Several vCard address book implementations currently use an experimental X-SOCIALPROFILE property to store social media profiles for contacts.  This specification provides an IANA-registered property for the same purpose.  In addition to the typical use of this property with URI values, it also allows setting usernames for social media services as free-text TEXT values, in which case the service name <bcp14>MUST</bcp14> be provided as a parameter.  Names <bcp14>MUST</bcp14> be considered equal if they match case-insensitively.
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <t>This property is defined by the following notation:</t>
            <sourcecode name="" type="abnf"><![CDATA[
socialpr       = "SOCIALPROFILE" socialpr-param ":"
                                 socialpr-value

socialpr-param = "VALUE=uri" / "VALUE=text" /
                 service-type-param / any-param

socialpr-value = URI / text
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
SOCIALPROFILE;SERVICE-TYPE=Mastodon:https://example.com/@foo
SOCIALPROFILE:https://example.com/ietf
SOCIALPROFILE;SERVICE-TYPE=SomeSite;VALUE=text:peter94
]]></sourcecode>
          </dd>
        </dl>
      </section>
    </section>
    <section anchor="new-parameters">
      <name>New Parameters</name>
      <section anchor="param-author">
        <name>AUTHOR</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>AUTHOR</dd>
          <dt>Purpose:</dt>
          <dd>This parameter identifies the author of the associated property value.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter <bcp14>MAY</bcp14> be set on any property where conveying authorship is desired.  It identifies the author as a URI <xref target="RFC3986"/>.  Since every valid URI includes the COLON (U+003A) character, the parameter value <bcp14>MUST</bcp14> be quoted.  Note that as an alternative or in addition to this parameter, the <tt>AUTHOR-NAME</tt> parameter allows naming an author as free-text value (see <xref target="param-author-name"/>).</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
author-param    = "AUTHOR" "=" DQUOTE URI DQUOTE
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
NOTE;AUTHOR="mailto:john@example.com":This is some note.
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-author-name">
        <name>AUTHOR-NAME</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>AUTHOR-NAME</dd>
          <dt>Purpose:</dt>
          <dd>This parameter names the author of the associated property value.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter <bcp14>MAY</bcp14> be set on any property where conveying authorship is desired.  It names the author as a free-text value.  The parameter value <bcp14>MUST NOT</bcp14> be empty.  Implementations <bcp14>MUST</bcp14> take care to quote the name part, if otherwise the part would not be a valid <tt>param-value</tt> (see <xref target="RFC6350" section="3.3"/>).  Note that as an alternative or in addition to this parameter, the <tt>AUTHOR</tt> parameter allows identifying an author by URI (see <xref target="param-author"/>).</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
author-name-param    = "AUTHOR-NAME" "=" param-value ; not empty
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
NOTE;AUTHOR-NAME=John Doe:This is some note.
NOTE;AUTHOR-NAME="_:l33tHckr:_":A note by an unusual author name.
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-created">
        <name>CREATED</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>CREATED</dd>
          <dt>Purpose:</dt>
          <dd>This parameter defines the date and time when a property was created in a vCard.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter <bcp14>MAY</bcp14> be set on any property to define the point in time when the property was created.  The value <bcp14>MUST</bcp14> be a valid TIMESTAMP value as defined in <xref target="RFC6350" section="4.3.5"/>.  Generally, updating a property value <bcp14>SHOULD NOT</bcp14> change the creation timestamp.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
created-param = "CREATED" "=" param-value ;
             ; a valid TIMESTAMP of Section 4.3.5 of [RFC6350]
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
NOTE;CREATED=20221122T151823Z:This is some note.
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-derived">
        <name>DERIVED</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>DERIVED</dd>
          <dt>Purpose:</dt>
          <dd>This parameter specifies that the value of the associated property is derived from some other property values in the same vCard.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This property parameter <bcp14>SHOULD</bcp14> be specified on an property if the property value is derived from some other properties in the same vCard.  When present with a value of <tt>true</tt>, clients <bcp14>MUST NOT</bcp14> update the property.</t>
            <t>For an example, an implementation may derive the value of the FN property from the name components of the N property.  It indicates this fact by setting the DERIVED parameter on the FN property to <tt>true</tt>.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
derived-param    = "DERIVED" "=" ("true" / "false")
; Default is false
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
N:;John;Quinlan;Mr.;
FN;DERIVED=TRUE:Mr.  John Quinlan
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-label">
        <name>LABEL</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>LABEL</dd>
          <dt>Purpose:</dt>
          <dd>This parameter is used with the ADR property.  Its value contains a formatted text representation of that address, e.g. for delivery.</dd>
          <dt>Description:</dt>
          <dd>
            <t><xref target="RFC6350" section="6.3.1"/> defines the ADR property, noting that the property can also include a LABEL parameter to present a delivery address label for the address.  But this parameter was not included in the IANA Parameters Registry <xref target="RFC6350" section="10.3.2"/> and accordingly is not a registered standard vCard element.  This specification defines and registers the LABEL parameter for use with the ADR property as originally intended.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
label-param    = "LABEL" "=" param-value
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <t>The LABEL parameter as illustrated the ADR property example in <xref target="RFC6350" section="6.3.1"/>.</t>
            <sourcecode name=""><![CDATA[
ADR;LABEL="Mr. John Q. Public, Esq.\nMail Drop: TNE QB\n123
  Main Street\nAny Town, CA  91921-1234\nU.S.A.":
  ;;123 Main Street;Any Town;CA;91921-1234;U.S.A.
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-phonetic">
        <name>PHONETIC</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>PHONETIC</dd>
          <dt>Purpose:</dt>
          <dd>This parameter defines how to pronounce the value of another property in the same vCard.</dd>
          <dt>Description:</dt>
          <dd>
              <t>This property parameter indicates that the value of its property contains the phonetic representation of a same-named other property in the same vCard.  Exemplary uses are to define how pronounce a Japanese name, or for romanization of Mandarin or Cantonese name and address components.</t>
              <t>The parameter value indicates the phonetic system and <bcp14>MUST</bcp14> be one of the values enumerated in the IANA <xref target="iana-vcard-param-values">vCard Parameter Values</xref> registry.  This specification defines the following values:</t>
              <ul>
                <li><tt>ipa</tt>: denotes the <xref target="IPA">International Phonetic Alphabet</xref>.</li>
                <li><tt>piny</tt>: denotes the Standard Mandarin romanization system "Hanyu Pinyin".</li>
                <li><tt>jyut</tt>: denotes the Cantonese romanization system "Jyutping".</li>
                <li><tt>script</tt>: denotes the unknown phonetic system.  The <xref target="param-script">SCRIPT</xref> parameter <bcp14>MUST</bcp14> be set in addition to the PHONETIC parameter.</li>
              </ul>
              <t>The value type of the property on which the PHONETIC parameter is set <bcp14>MUST</bcp14> be of the same type as its related property.  If a component value is set in the property on which the PHONETIC parameter is set, then a component value also <bcp14>MUST</bcp14> be set at that same position in the related property.  On the other hand, not every component value in the related property needs to have a phonetic representation.</t>
              <t>The ALTID parameter (<xref target="RFC6350" section="5.4"/>) <bcp14>MUST</bcp14> be set with equal values on both the related property and the property having the PHONETIC parameter set.  If more than one same-named property has both the PHONETIC parameter set and an equal ALTID parameter value, then at most one of these properties <bcp14>MAY</bcp14> not have the LANGUAGE parameter set and all others <bcp14>MUST</bcp14> have the LANGUAGE parameter set.  The LANGUAGE parameters <bcp14>MUST NOT</bcp14> have equal values.  The LANGUAGE parameter value <bcp14>SHOULD NOT</bcp14> contain a script subtag in its Language-Tag value and any such subtag <bcp14>MUST</bcp14> be ignored in favor of the <xref target="param-script">SCRIPT</xref> parameter value.</t>
              <t>This specification defines the PHONETIC parameter for use with the ADR and N properties.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
phonetic-param = "PHONETIC=" phonetic-value

phonetic-value = "ipa" / "piny" / "jyut" / "script" / iana-token / x-name
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
N;ALTID=1;LANGUAGE=zh-Hant:孫;中山;文,逸仙;;;;
N;ALTID=1;PHONETIC=jyut;
  SCRIPT=Latn;LANGUAGE=yue:syun1;zung1saan1;man4,jat6sin1;;;;
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-propid">
        <name>PROP-ID</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>PROP-ID</dd>
          <dt>Purpose:</dt>
          <dd>This parameter identifies a property among all its siblings of the same property name.</dd>
          <dt>Description:</dt>
          <dd>
            <t>
              This parameter uniquely identifies a property among all of its siblings with the same name within a vCard.  A valid PROP-ID value must be of 1 and a maximum of 255 octets in size, and it <bcp14>MUST</bcp14> only contain the ASCII alphanumeric characters (<tt>A-Za-z0-9</tt>), hyphen (<tt>-</tt>), and underscore (<tt>_</tt>).  The identifier only has the purpose to uniquely identify siblings, its value has no other meaning.  If an application makes use of PROP-ID it <bcp14>SHOULD</bcp14> assign a unique identifier to each sibling property of the same name within their embedding component.  The same identifier <bcp14>MAY</bcp14> be used for properties of a different name, and it <bcp14>MAY</bcp14> also be assigned to a same-named property that is not a sibling.
            </t>
            <t>
              Resolving duplicate identifier conflicts is specific to the application.  Similarly, handling properties where some but not all siblings have a PROP-ID is assigned, is application-specific.
            </t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
prop-id-param  = "PROP-ID" "=" 1*255(ALPHA / DIGIT / "-"/ "_")
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
PHOTO;PROP-ID=p827:data:image/jpeg;base64,MIICajCCAdOgAwIBAg
        <...remainder of base64-encoded data...>
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-script">
        <name>SCRIPT</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>SCRIPT</dd>
          <dt>Purpose:</dt>
          <dd>This parameter defines the script in which a property value is written in.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter allows defining a script for a property value without also defining a language as the LANGUAGE parameter would.  The value <bcp14>MUST</bcp14> be a Script Subtag as defined in <xref target="RFC5646" section="2.2.3"/>.  This specification makes use of the SCRIPT parameter in combination with the <xref target="param-phonetic">PHONETIC</xref> parameter. </t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
script-param = 4ALPHA
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
SCRIPT=Latn
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-service-type">
        <name>SERVICE-TYPE</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>SERVICE-TYPE</dd>
          <dt>Purpose:</dt>
          <dd>To define the online service name associated with a messaging or social media profile.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter <bcp14>MAY</bcp14> be specified on a IMPP or SOCIALPROFILE property to name the online service associated with that property value.  Its value is case-sensitive, its letter cases <bcp14>MUST</bcp14> be preserved.</t>
            <t>Several vCard address book implementations currently use an experimental X-SERVICE-TYPE parameter.  This specification provides an IANA-registered parameter for the same purpose.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
service-type-param    = "SERVICE-TYPE" "=" param-value
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
SOCIALPROFILE;SERVICE-TYPE=Mastodon:https://example.com/@foo
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="param-username">
        <name>USERNAME</name>
        <dl>
          <dt>Parameter name:</dt>
          <dd>USERNAME</dd>
          <dt>Purpose:</dt>
          <dd>To define a username, such as the user of a messaging or social media service.</dd>
          <dt>Description:</dt>
          <dd>
            <t>This parameter <bcp14>MAY</bcp14> be specified on a IMPP or SOCIALPROFILE property to name the user with that property value.  Its value is case-sensitive, its letter cases <bcp14>MUST</bcp14> be preserved.  The IMPP or SOCIALPROFILE value type <bcp14>MUST</bcp14> be URI.</t>
          </dd>
          <dt>Format definition:</dt>
          <dd>
            <sourcecode name="" type="abnf"><![CDATA[
username-param    = "USERNAME" "=" param-value
]]></sourcecode>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
SOCIALPROFILE;USERNAME="The Foo":https://example.com/@foo
]]></sourcecode>
          </dd>
        </dl>
      </section>
    </section>
    <section anchor="new-values">
      <name>New Values</name>
      <section anchor="value-adr-type-billing">
        <name>Billing Address Type Value</name>
        <dl>
          <dt>Value:</dt>
          <dd>billing</dd>
          <dt>Purpose:</dt>
          <dd>This indicates to use this address for billing, e.g., to send invoices to.</dd>
          <dt>Conformance:</dt>
          <dd>
            <t>This value can be used with the "TYPE" parameter applied on the "ADR" property.</t>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
ADR;TYPE=billing:;;123 Main Street;Any Town;CA;91921-1234;U.S.A.
]]></sourcecode>
          </dd>
        </dl>
      </section>
      <section anchor="value-adr-type-delivery">
        <name>Delivery Address Type Value</name>
        <dl>
          <dt>Value:</dt>
          <dd>delivery</dd>
          <dt>Purpose:</dt>
          <dd>This indicates to use this address for delivery, e.g., to send packages to.</dd>
          <dt>Conformance:</dt>
          <dd>
            <t>This value can be used with the "TYPE" parameter applied on the "ADR" property.</t>
          </dd>
          <dt>Example(s):</dt>
          <dd>
            <sourcecode name=""><![CDATA[
ADR;TYPE=delivery:;;123 Main Street;Any Town;CA;91921-1234;U.S.A.
]]></sourcecode>
          </dd>
        </dl>
      </section>
    </section>
    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This specification extends the vCard Format Specification.  The same security considerations as outlined in <xref target="RFC6350" section="9"/> apply.</t>
    </section>
    <section anchor="IANA">
      <!-- All drafts are required to have an IANA considerations section.  See RFC 8126 for a guide.-->
      <name>IANA Considerations</name>
      <section>
        <name>Changes to the "vCard Properties" registry</name>
        <section>
          <name>New property definitions</name>
          <t>IANA is requested to add the following entries to the "vCard Properties" registry, defined in <xref target="RFC6350" sectionFormat="of" section="10.3.1"/>.</t>
          <table anchor="new_properties">
            <name>New vCard Properties</name>
            <thead>
              <tr>
                <th align="left">Namespace</th>
                <th align="left">Property</th>
                <th align="left">Reference</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td/>
                <td align="left">CREATED</td>
                <td align="left">This document, <xref target="prop-created"/></td>
              </tr>
              <tr>
                <td/>
                <td align="left">GRAMGENDER</td>
                <td align="left">This document, <xref target="prop-gramgender"/></td>
              </tr>
              <tr>
                <td/>
                <td align="left">LANGUAGE</td>
                <td align="left">This document, <xref target="prop-language"/></td>
              </tr>
              <tr>
                <td/>
                <td align="left">PRONOUNS</td>
                <td align="left">This document, <xref target="prop-pronouns"/></td>
              </tr>
              <tr>
                <td/>
                <td align="left">SOCIALPROFILE</td>
                <td align="left">This document, <xref target="prop-socialprofile"/></td>
              </tr>
            </tbody>
          </table>
        </section>
        <section>
          <name>Updated vCard properties</name>
          <t>IANA is requested to add <xref target="prop-adr"/> of this document as reference for the ADR property.</t>
          <t>IANA is requested to add <xref target="prop-n"/> of this document as reference for the N property.</t>
        </section>
      </section>
      <section>
        <name>Changes to the "vCard Parameters" registry</name>
        <t>IANA is requested to add the following entries to the "vCard Parameters" registry, defined in <xref target="RFC6350" sectionFormat="of" section="10.3.2"/>.</t>
        <table anchor="new_parameters">
          <name>New vCard Parameters</name>
          <thead>
            <tr>
              <th align="left">Namespace</th>
              <th align="left">Parameter</th>
              <th align="left">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td/>
              <td align="left">AUTHOR</td>
              <td align="left">This document, <xref target="param-author"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">AUTHOR-NAME</td>
              <td align="left">This document, <xref target="param-author-name"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">CREATED</td>
              <td align="left">This document, <xref target="param-created"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">DERIVED</td>
              <td align="left">This document, <xref target="param-derived"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">LABEL</td>
              <td align="left">
                  <xref target="RFC6350" section="6.3.1"/> and
                  this document, <xref target="param-label"/>
              </td>
            </tr>
            <tr>
              <td/>
              <td align="left">PHONETIC</td>
              <td align="left">This document, <xref target="param-phonetic"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">PROP-ID</td>
              <td align="left">This document, <xref target="param-propid"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">SCRIPT</td>
              <td align="left">This document, <xref target="param-script"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">SERVICE-TYPE</td>
              <td align="left">This document, <xref target="param-service-type"/></td>
            </tr>
            <tr>
              <td/>
              <td align="left">USERNAME</td>
              <td align="left">This document, <xref target="param-username"/></td>
            </tr>
          </tbody>
        </table>
      </section>
      <section>
        <name>Changes to the "vCard Property Values" registry</name>
        <t>IANA is requested to add the following entries to the "vCard Property Values" registry, defined in <xref target="RFC6350" sectionFormat="of" section="10.3.4"/>.</t>
        <table anchor="new_values">
          <name>New vCard Property Values</name>
          <thead>
            <tr>
              <th align="left">Property</th>
              <th align="left">Value</th>
              <th align="left">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">animate</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">common</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">feminine</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">inanimate</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">masculine</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
            <tr>
              <td align="left">GRAMGENDER</td>
              <td align="left">neuter</td>
              <td align="left">This document, <xref target="prop-gramgender"/></td>
            </tr>
          </tbody>
        </table>
      </section>
      <section anchor="iana-vcard-param-values">
        <name>Changes to the "vCard Parameter Values" registry</name>
        <t>IANA is requested to add the following entries to the "vCard Parameter Values" registry, defined in <xref target="RFC6350" sectionFormat="of" section="10.3.4"/>.</t>
        <table anchor="new_param_values">
          <name>New vCard Property Values</name>
          <thead>
            <tr>
              <th align="left">Property</th>
              <th align="left">Parameter</th>
              <th align="left">Value</th>
              <th align="left">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">ADR</td>
              <td align="left">TYPE</td>
              <td align="left">billing</td>
              <td align="left">This document, <xref target="value-adr-type-billing"/></td>
            </tr>
            <tr>
              <td align="left">ADR</td>
              <td align="left">TYPE</td>
              <td align="left">delivery</td>
              <td align="left">This document, <xref target="value-adr-type-delivery"/></td>
            </tr>
            <tr>
              <td align="left">ADR</td>
              <td align="left">TYPE</td>
              <td align="left">delivery</td>
              <td align="left">This document, <xref target="value-adr-type-delivery"/></td>
            </tr>
            <tr>
              <td align="left">ADR, N</td>
              <td align="left">PHONETIC</td>
              <td align="left">ipa</td>
              <td align="left">This document, <xref target="param-phonetic"/></td>
            </tr>
            <tr>
              <td align="left">ADR, N</td>
              <td align="left">PHONETIC</td>
              <td align="left">jyut</td>
              <td align="left">This document, <xref target="param-phonetic"/></td>
            </tr>
            <tr>
              <td align="left">ADR, N</td>
              <td align="left">PHONETIC</td>
              <td align="left">piny</td>
              <td align="left">This document, <xref target="param-phonetic"/></td>
            </tr>
            <tr>
              <td align="left">ADR, N</td>
              <td align="left">PHONETIC</td>
              <td align="left">script</td>
              <td align="left">This document, <xref target="param-phonetic"/></td>
            </tr>
          </tbody>
        </table>
      </section>
    </section>
    <section>
      <name>Acknowledgements</name>
      <t>The definition and examples of the <xref target="param-phonetic">PHONETIC</xref> and <xref target="param-script">SCRIPT</xref> parameters are based on the initial version of <xref target="I-D.calconnect-vobject-i18n"/>.</t>
    </section>
  </middle>
  <back>

<displayreference target="I-D.calconnect-vobject-i18n" to="CALCONNECT-VOBJECT-I18N"/>

    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.3986.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.5234.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.5646.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.6350.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.8174.xml"/>

<!-- [rfced] [I-D.ietf-calext-jscontact] in EDIT state as of 11/02/23; companion document RFC YYY1 -->

<reference anchor="RFCYYY1" target="https://www.rfc-editor.org/info/rfcYYY1">
<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='January' day='17' year='2020' />

<abstract><t>This specification defines a data model and JSON representation of contact card information that can be used for data storage and exchange in address book or directory applications.  It aims to be an alternative to the vCard data format and to be unambiguous, extendable and simple to process.  In contrast to the JSON-based jCard format, it is not a direct mapping from the vCard data model and expands semantics where appropriate.</t></abstract>

</front>
<seriesInfo name="RFC" value="YYY1"/>
<seriesInfo name="DOI" value="10.17487/RFCYYY1"/>
</reference>


<reference anchor="RFCYYY2" target="https://www.rfc-editor.org/info/rfcYYY2">
<front>
<title>JSContact: Converting from and to vCard</title>
<author initials="M." surname="Loffredo" fullname="Mario Loffredo">
<organization>IIT-CNR/Registro.it</organization>
</author>
<author initials="R." surname="Stepanek" fullname="Robert Stepanek">
<organization>Fastmail</organization>
</author>
<date month="September" day="18" year="2023"/>
<abstract>
<t>
This document defines how to convert contact information between the JSContact and vCard data formats. To achieve this, it updates RFC I- D.ietf-calext-jscontact (JSContact) by registering new JSContact properties. Similarly, it updates RFC 6350 (vCard) by registering new vCard properties and parameters.
</t>
</abstract>
</front>
<seriesInfo name="RFC" value="YYY2"/>
<seriesInfo name="DOI" value="10.17487/RFCYYY2"/>
</reference>

      </references>
    </references>
    <references>
      <name>Informative References</name>


      <xi:include href="https://datatracker.ietf.org/doc/bibxml3/reference.I-D.calconnect-vobject-i18n.xml"/>


      <reference anchor="CLDRPersonName" target="https://www.unicode.org/reports/tr35/tr35-personNames.html">
        <front>
          <title>Technical Standard #35: Unicode Locale Data Markup Language (LDML) Part 8: Person Names, Version 43.1</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 fullname="others">
            <organization/>
          </author>
          <date year="2023" month="July"/>
        </front>
      </reference>

        <reference anchor="IPA" target="https://www.internationalphoneticalphabet.org/">
          <front>
            <title>International Phonetic Alphabet</title>
            <author/>
          </front>
        </reference>
    </references>
  </back>
</rfc>
