<?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" ipr="trust200902" docName="draft-ietf-calext-jscontact-profiles-15" number="10050" submissionType="IETF" consensus="true" category="std" xml:lang="en" obsoletes="" updates="" tocInclude="true" symRefs="true" sortRefs="true" version="3">
  <front>
    <title abbrev="JSContact Profiles">Protocol-Specific Profiles for JSContact</title>
    <seriesInfo name="RFC" value="10050"/>
    <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>
        </postal>
        <email>mario.loffredo@iit.cnr.it</email>
      </address>
    </author>
    <date year="2026" month="September"/>
    <area>ART</area>
    <workgroup>calext</workgroup>
    <keyword>JSContact</keyword>

    <abstract>
      <t>This document defines the "JSContact Profiles" registry, an IANA registry for named subsets of JSContact elements. The document aims to facilitate using JSContact in the context of contact data exchange protocols or other use cases in which supporting all JSContact semantics might be inappropriate.</t>
    </abstract>
  </front>
  <middle>

    <section anchor="introduction" numbered="true" toc="default">
      <name>Introduction</name>
      <t>The JSContact <xref target="RFC9553"></xref> contact card data model and format are designed for use in address book applications and directory services. Intended as an alternative to the prevalent vCard <xref target="RFC6350"></xref> data format, JSContact covers vCard core semantics and extensions, and it provides a rich model for personal names, postal addresses, and localization. All JSContact elements are relevant for some contact card use cases, and similar to vCard, implementations are expected to support these elements when exchanging contact card information using protocols such as CardDAV <xref target="RFC6352"></xref> and the JSON Meta Application Protocol (JMAP) for Contacts <xref target="RFC9610"></xref>.</t>
      <t>In contrast, other protocols and document specifications might require exchanging <em>some</em> contact card information, but not all of what JSContact provides. <xref target="RFC9553" section="1.7.4"/> outlines how JSContact implementations may ignore unknown JSContact elements, but this only applies to future extensions of <xref target="RFC9553"/>; they are still expected to implement all elements of the core specification. Also, the extensibility of JSContact and the requirement to preserve arbitrary contact elements might not be adequate for some protocols.</t>
      <t>To make use of JSContact under these circumstances, this document defines a new IANA registry for JSContact that allows registration of named subsets of JSContact elements. These subsets are referred to as "JSContact profiles" and are meant to bring the following benefits:</t>
      <ul>
        <li>Protocol designers might be encouraged to use JSContact rather than coming up with their own contacts format. This facilitates cross-protocol data exchange and migration.</li>
        <li>Different protocols use the same IANA registry to express which JSContact elements they support. This facilitates understanding their commonalities and reusing existing profiles.</li>
        <li>A central registry provides implementors of JSContact libraries with a consistent format documenting which profile supports what elements rather than having to look up that information from possibly distinctly organized Internet-Drafts.</li>
      </ul>
      <t>This document is organized as follows. <xref target="jscontact-profiles"/> defines JSContact profiles; <xref target="iana-considerations"/> discusses the new "JSContact Profiles" registry created by IANA; and <xref target="example"/> illustrates JSContact profiles using an example.</t>
    </section>

    <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&nbsp;14 <xref target="RFC2119"/> <xref
target="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 <xref target="RFC5234"/> (such as the ABNF for DIGIT).</t>
    </section>

    <section anchor="jscontact-profiles">
      <name>JSContact Profiles</name>
      <t>A JSContact profile is a named and versioned set of JSContact elements, such as properties, types, and values. The JSContact elements <bcp14>MUST</bcp14> be registered in the IANA "JSContact" registry group <xref target="IANA.jscontact"></xref>. A profile <bcp14>MAY</bcp14> define additional restrictions for these elements as outlined in <xref target="properties"/>, but a profile <bcp14>MUST NOT</bcp14> loosen restrictions. This document creates an IANA registry for JSContact profiles (see <xref target="iana-considerations"/>).</t>
      <t>A JSContact object complies with a profile if all its properties are in the set of properties defined by that profile and the property values comply with the profile restrictions for that property. A JSContact object <bcp14>MAY</bcp14> comply with multiple profiles. Accordingly, this document does not specify any means for JSContact data to communicate which profiles it complies with, e.g., it does not define a "profile" property for the Card object.</t>
      <t>All properties and values of a JSContact object that complies with a profile <bcp14>MUST</bcp14> also be valid (<xref target="RFC9553" section="1.7"/>). Handling JSContact data that is valid but that does not comply with the expected profile is protocol-specific. This document deliberately does not define such non-compliant data as invalid. Profile designers decide on their own strategies for handling non-compliant data, one of which may be to reject it as invalid. JSContact data that complies with a profile may still not be valid in the context of that protocol; the protocol specification <bcp14>MAY</bcp14> define additional restrictions that a profile cannot express.</t>

      <t><xref target="name"/> defines how to name a JSContact profile; <xref target="version"/> defines how to version it; <xref target="properties"/> defines how to specify the properties supported by that profile; and <xref target="supported-properties"/> describes how                     
   to determine the supported properties.</t>
      <section anchor="name">
        <name>Profile Name</name>

        <t>A JSContact profile has a unique name. The name <bcp14>MUST</bcp14> only contain ASCII lowercase alphabetic and numeric characters, optionally separated by hyphens. It <bcp14>MUST</bcp14> start with an alphabetic character, and it <bcp14>MUST</bcp14> be of at least 1 character and at most 255 characters in size. Formally, it <bcp14>MUST</bcp14> be a valid "profile-name" defined in <xref target="profile-name-abnf"/>.</t>
        <figure anchor="profile-name-abnf">
          <name>ABNF Rule for JSContact Profile Name</name>
          <sourcecode type="abnf"><![CDATA[
profile-name = lalpha *( ["-"] lalpha / DIGIT )
               ; at most 255 characters in size

lalpha       = %x61-7A ; a-z]]></sourcecode>
        </figure>
      </section>
      <section anchor="version">
        <name>Profile Version</name>
        <t>A JSContact profile has a current version, and each profile is versioned independently.  The version <bcp14>MUST</bcp14> be a positive integer, and it <bcp14>MUST</bcp14> increase whenever the profile properties (see <xref target="properties"></xref>) change. The initial version value is 1.</t>
      </section>
      <section anchor="properties">
        <name>Profile Properties</name>
        <t>A profile defines a list of property entries that together determine the set of properties supported by that profile, as described in <xref target="supported-properties"/>. The list <bcp14>MUST NOT</bcp14> be empty.</t>
        <t>Each property entry consists of the following elements:</t>
        <dl newline="false">
          <dt>Property Name:</dt>
          <dd>This is the name of the JSContact property that this entry refers to. This <bcp14>MUST</bcp14> be a property name registered in the "JSContact Properties" registry. A property name <bcp14>MAY</bcp14> occur multiple times in the property entry list if the profile-specific restrictions for that property cannot be expressed with a single entry, but such multiple entries <bcp14>MUST NOT</bcp14> result in conflicting restrictions for the same property. This field <bcp14>MUST NOT</bcp14> be empty.</dd>
          <dt>Property Context:</dt>
          <dd>This is a comma-separated list of JSContact object types that support this property in this profile. Each of these types <bcp14>MUST</bcp14> also be listed in the Property Contexts for this property in the "JSContact Properties" registry, but a profile <bcp14>MAY</bcp14> only support the property in a subset of these contexts. This field <bcp14>MUST NOT</bcp14> be empty.</dd>
          <dt>Restricted Attributes:</dt>
          <dd>This restricts the attributes of the property.  This specification only defines how to restrict the attributes such that a property becomes mandatory in the listed Property Contexts, despite the property originally being defined to be optional in the same contexts. The verbatim value "mandatory" (without quotes) indicates that it is mandatory in this profile; the absence of any value indicates that this profile does not restrict the property attributes of the original definition.</dd>
          <dt>Restricted Property Type:</dt>
          <dd>
              <t>This restricts the property value type in the listed Property Contexts. It allows a profile to restrict the allowed types to the original type definition such that future changes to JSContact do not extend the allowed types of the property for this profile, and it allows a profile to restrict the allowed types to a subset of the original type definition. The absence of any value indicates that this profile does not restrict the property value type of the original definition or any future extensions of the value type.</t>
              <t>If set, the restricted value type <bcp14>MUST</bcp14> exactly match the original definition at the time when the profile is defined, or the original value type <bcp14>MUST</bcp14> contain some type signature in the form "A|B" and the restricted value type <bcp14>MUST</bcp14> resemble the original except that some of the original "A|B" forms now only allow a subset of the original choices. Restricted property types <bcp14>MUST NOT</bcp14> redefine the "defaultType" attribute (<xref target="RFC9553" section="1.3.3" sectionFormat="of"></xref>); the rules about when to set the "@type" property (<xref target="RFC9553" section="1.3.4" sectionFormat="of"></xref>) of the original type definition still apply.</t>
            <t>As an example of restricting the type definition to prevent future type extensions in the profile, one might restrict the type definition of the "addresses" property of the Card object to "Id[Address]", which matches the original definition as of this writing.</t>
            <t>As an example of restricting the type to a subset of the original value, one might want to restrict the "date" property of the Anniversary object to only allow partial dates as values. To do so, the original value type "PartialDate|Timestamp" can be restricted to "PartialDate". Note that the original value type need not be exactly in form "A|B". For example, the type signature "Id[A|B|C]" could be restricted to any of "Id[A|B]", "Id[A|C]", "Id[B|C]", "Id[A]", "Id[B]", "Id[C]", and the type signature "(A|B)[]" could be restricted to one of "A[]" or "B[]".</t>
          </dd>
          <dt>Restricted Enum Values:</dt>
          <dd>This restricts the enumerated values defined for this property to a subset of those values. The values <bcp14>MUST</bcp14> be listed in the "JSContact Enum Values" registry for this property and context. Allowed values are separated by a comma; the absence of any value indicates that all enumerated values are allowed. A profile <bcp14>MAY</bcp14> exclude the default enumerated value of a property, in which case all instances of the object <bcp14>MUST</bcp14> have this property set to one of the allowed values.</dd>
          <dt>Restricted PatchObject:</dt>
          <dd>This restricts the PatchObject value of this property such that each JSON Pointer key in the PatchObject <bcp14>MUST</bcp14> consist of exactly one JSON Pointer reference token (<xref target="RFC6901" section="3" sectionFormat="of"></xref>). For example, with this restriction, the "localizations" property of the Card object can only patch properties of the Card object by replacing their values entirely. The verbatim value "yes" (without quotes) indicates that this profile restricts PatchObject keys to a single token; the absence of any value indicates that it does not restrict them. This <bcp14>MUST NOT</bcp14> be set to "yes" if the property value type is not a PatchObject.</dd>
        </dl>
        <t>All profiles <bcp14>MUST</bcp14> support "@type" and "version"; therefore, profiles <bcp14>MUST NOT</bcp14> include entries for these properties.</t>
      </section>
      <section anchor="supported-properties">
        <name>Supported Properties</name>
        <t>The supported properties of a JSContact profile are determined by the profile's property entries and the contents of the IANA "JSContact Properties" registry, which are referred to here as "IANA-registered properties" for short. The "version" property of the Card object and the "@type" property of any object type are always supported.</t>
        <t>A Card object complies with the profile if all its properties are part of the supported properties and all property values are valid according to the restrictions defined in the applicable property entries. A PatchObject <bcp14>MUST NOT</bcp14> patch properties that are not supported in that profile.</t>
        <t>The following describes the steps to determine the supported properties:</t>

        <ol>
          <li>Initialize the set with all properties of the Card object for which a property entry contains "Card" in the Property Context of the profile. If no such entry exists, then initialize the set with all IANA-registered properties of the Card object.</li>
          <li>For every property in the set having either an object type as the value type or a list, map, or union of object types, add all properties for which a property entry contains those object types in the Property Context of the profile. If no such property entry exists, then add all IANA-registered properties for the object types.</li>
          <li>Repeat the previous step until all object types that are value types of properties in the set have been considered.</li>
        </ol>
        <t><xref target="example-supported-properties"/> describes how to determine the supported properties of the example profile in <xref target="example"/>.</t>
      </section>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="default">
      <name>IANA Considerations</name>
        <t>IANA has created the "JSContact Profiles" registry within the "JSContact" registry group. The purpose of this new registry is to register profiles for JSContact data. The registry policy to add an entry to this registry is "Specification Required" <xref target="RFC8126"></xref>; this applies to defining a new profile name or version. The registry policy to update an existing profile is "Expert Review"; this applies to updating the references of an entry. The change controller is the IETF.</t>
        <t>An entry in this registry consists of the following, all of which <bcp14>MUST</bcp14> be set:</t>
        <dl newline="true">
          <dt>Name:</dt>
          <dd>This is the name of the profile. This field is immutable after creation. The name <bcp14>MUST</bcp14> be unique among all registered profiles and <bcp14>MUST</bcp14> comply with the definitions in <xref target="name"/>.</dd>
          <dt>Version:</dt>
          <dd>This is the version number of the profile. This field is immutable after creation. It <bcp14>MUST</bcp14> comply with the definitions in <xref target="version"/>.</dd>
          <dt>Reference:</dt>
          <dd>This refers to the specification of the protocol or use case for which this profile applies. The reference <bcp14>MUST</bcp14> include the section number or section name that defines or updates the property entries for this profile, as defined in <xref target="properties"/>.</dd>
        </dl>
        <t>Designated experts assert that all proposed assignments are valid according to the definitions in this document. For example, they check that:</t>
	<ul>
	  <li>the profile name is unique,</li>
	  <li>the entries in the profile entries are syntactically valid,</li>
	  <li>only known property names are referred to,</li>
	  <li>type restrictions do not incorrectly alter the type of a property, and</li>
	  <li>the version number increases.</li>
	</ul>
	<t>On the other hand, designated experts do not decide the contents of the profile as long as the assignments are valid.</t>
	<t>The decision whether to register a new profile name or register a new version for an existing profile depends on the scope of the proposed profile. A new profile name is recommended if the profile is introduced in the context of an application or protocol for which no JSContact profile is already registered or if the proposed profile properties or restrictions substantially differ from existing profiles for that context. A new version is recommended if the profile context does not change and multiple implementations of the current profile will also support the new version. The profile version of the new entry for an already-registered profile by that name has to be higher than the last registered version for that profile. Existing registry entries are preserved.</t>
        <t>This document does not define any initial contents for the "JSContact Profiles" registry.</t>
      </section>
    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This document does not provide any new security considerations. The security considerations in <xref target="RFC9553" section="4" sectionFormat="of"/> apply.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <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.6901.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.9553.xml"/>
        <reference anchor="IANA.jscontact" target="https://www.iana.org/assignments/jscontact" quoteTitle="true" derivedAnchor="IANA.jscontact">
          <front>
            <title>JSContact</title>
            <author>
              <organization>IANA</organization>
            </author>
          </front>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <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.6352.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8126.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9610.xml"/>
      </references>
    </references>
    <section anchor="example">
      <name>Example Profile</name>
      <t>This section provides an example of a JSContact profile and illustrates how a JSContact Card complies with that profile.</t>
      <t>The properties of the example profile are defined in <xref target="example-profile-properties"/>. The profile describes contact cards that can only contain:</t>
      <ul>
        <li>Contact cards for individuals and organizations, but no other kinds such as groups or devices.</li>
        <li>Full postal address lines, but no address components or any other property of the Address object type. The value type of the "addresses" property is pinned to its original definition, so that future JSContact extensions of that type do not become part of the profile.</li>
        <li>Full names and name components, but no other properties of the Name object type.</li>
	<li>Email addresses, where all properties of the EmailAddress object are supported.</li>
	<li>Anniversaries for birthdays, and only having "date" property values of type PartialDate, not Timestamp.</li>
        <li>Localizations, with the restriction that the PatchObject must only patch properties of the Card object.</li>
      </ul>
      <t>An example of JSContact data that complies with this profile is shown in <xref target="example-profile-card"/>. An example of its fictive IANA registration is shown in <xref target="example-profile-iana"/>. This profile is just for illustration; it is not registered with IANA. <xref target="example-supported-properties"/> describes how to determine the supported properties for that profile.</t>
      <section anchor="example-profile-properties">
        <name>Profile Properties Example</name>
        <t>The following entries define properties of that profile. Entry elements with empty values are omitted:</t>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>addresses</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
          <dt>Restricted Property Type:</dt>
          <dd>Id[Address]</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>anniversaries</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>emails</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>kind</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
          <dt>Restricted Enum Values:</dt>
          <dd>individual,org</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>localizations</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
          <dt>Restricted PatchObject:</dt>
          <dd>yes</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>name</dd>
          <dt>Property Context:</dt>
          <dd>Card</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>full</dd>
          <dt>Property Context:</dt>
          <dd>Address</dd>
          <dt>Restricted Attributes:</dt>
          <dd>mandatory</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>date</dd>
          <dt>Property Context:</dt>
	  <dd>Anniversary</dd>
          <dt>Restricted Property Type:</dt>
          <dd>PartialDate</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>kind</dd>
          <dt>Property Context:</dt>
	  <dd>Anniversary</dd>
          <dt>Restricted Enum Values:</dt>
          <dd>birth</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>components</dd>
          <dt>Property Context:</dt>
          <dd>Name</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>full</dd>
          <dt>Property Context:</dt>
          <dd>Name</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>kind</dd>
          <dt>Property Context:</dt>
          <dd>NameComponent</dd>
        </dl>
        <dl spacing="compact">
          <dt>Property Name:</dt>
          <dd>value</dd>
          <dt>Property Context:</dt>
          <dd>NameComponent</dd>
        </dl>
      </section>
      <section anchor="example-profile-card">
        <name>Card Object Example</name>
        <t>The following Card object complies with the example profile:</t>
        <sourcecode type="json"><![CDATA[
{
  "@type": "Card",
  "version": "1.0",
  "name": {
     "components": [
      { "kind": "given", "value": "Hayao" },
      { "kind": "surname", "value": "Miyazaki" }
    ]
  },
  "addresses": {
    "a1": {
      "full": "71 Cherry Court, Somewhere, 123SO, UK"
    }
  },
  "emails": {
    "e1": {
      "address": "hayao@example.com"
    }
  },
  "anniversaries": {
    "a1": {
      "kind": "birth",
      "date": {
        "month": 3,
        "day": 4
      }
    }
  },
  "localizations": {
    "jp": {
      "name": {
        "components": [
         { "kind": "surname", "value": "宮崎" },
         { "kind": "given", "value": "駿" }
        ]
      }
    }
  }
}]]></sourcecode>
        <t>Note that:</t>
        <ul>
          <li>The Address, Card, Name, and NameComponent object values only contain properties for which a property entry exists in the profile.</li>
          <li>The EmailAddress object contains the "address" property. This is allowed because the profile contains a property entry for the "emails" property of the Card object, but it does not define entries for the EmailAddress object properties. Consequently, all properties of the EmailAddress object can be set.</li>
          <li>The "full" property of the Address object is set. It is the only property allowed to be set in that profile for Address, and the "full" property is mandatory for this profile.</li>
          <li>The "kind" property of the NameComponent object is set to "surname" and "given". Since the profile does not restrict the enumerated values of this property, all valid NameComponent "kind" property values are supported.</li>
          <li>The "kind" property of the Card object is not set. The profile restricts the enumerated values of this property to "individual" and "org". Since "individual" is the default value for this property, there is no need to set it.</li>
          <li>The "date" property of the Anniversary object is restricted to be of type PartialDate in this profile. Because PartialDate is the default type for this property, there is no need to the set the "@type" property of the PartialDate object.</li>
        </ul>
      </section>
      <section anchor="example-profile-iana">
        <name>IANA Registry Example</name>
        <t>The following would be registered at IANA if this were a real profile:</t>
        <dl newline="false">
          <dt>Name:</dt>
          <dd>jscontact-simple-example</dd>
          <dt>Version:</dt>
          <dd>1</dd>
          <dt>Reference:</dt>
          <dd>This document, <xref target="example-profile-properties"/></dd>
        </dl>
        <t>See <xref target="iana-considerations"/> for the definition of each registry item.</t>
    </section>
    <section anchor="example-supported-properties">
      <name>Supported Properties Example</name>
      <t>The following illustrates how to determine the supported properties of the example profile in this appendix, according to the steps defined in <xref target="supported-properties"/>:</t>
      <ol>
        <li>
          <t>We initialize the set of supported properties with all profile properties for which the Property Context includes the Card object. The set now includes the following properties:</t>
          <ul>
            <li>Card.addresses</li>
            <li>Card.anniversaries</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
          </ul>
        </li>
        <li>Next, we determine which of the properties in the current set have an object type as the value type. These are the Card.addresses, Card.anniversaries, Card.emails, and Card.name properties, so we need to inspect the object types Address, Anniversary, EmailAddress, and Name. The "addresses" entry restricts the value type of that property to "Id[Address]", which matches its original definition, but any future type extension would still require us only to inspect the Address type.</li>
        <li>
          <t>For the Address object type, the profile has an entry for the "full" property, which contains the Address object in the Property Context, so we add that and only that to the set of supported properties. It now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
          </ul>
          <t>The value type of the Address.full property is not an object type, so we need not consider a new object type to inspect. The remaining object types to inspect are the Anniversary, EmailAddress, and Name objects.</t>
        </li>
        <li>
          <t>For the Anniversary object type, the profile explicitly lists the "kind" and "date" properties, so we add them to the set of supported properties. It now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Anniversary.date</li>
            <li>Anniversary.kind</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
          </ul>
          <t>The newly added Anniversary.date property has object value type PartialDate, so we add that to the list of object types to inspect. The entry restricts the type of that property to only be of that type, so we do not add the object value type Timestamp. The remaining object types to inspect are the EmailAddress, Name, and PartialDate objects.</t>
        </li>
        <li>
          <t>For the PartialDate object type, the profile does not contain any entry where the Property Context contains the PartialDate object. Instead, we add properties from the "JSContact Properties" registry where the Property Context includes the PartialDate object. The set of supported properties now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Anniversary.date</li>
            <li>Anniversary.kind</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
            <li>PartialDate.calendarScale</li>
            <li>PartialDate.day</li>
            <li>PartialDate.month</li>
            <li>PartialDate.year</li>
          </ul>
          <t>None of the newly added properties have object value types. The remaining object types to inspect are the EmailAddress and Name objects.</t>
        </li>
        <li>
          <t>For the EmailAddress object type, the profile does not contain any entry where the Property Context contains the EmailAddress object. Instead, we add properties from the "JSContact Properties" registry where the Property Context includes the EmailAddress object. The set of supported properties now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Anniversary.date</li>
            <li>Anniversary.kind</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
            <li>EmailAddress.address</li>
            <li>EmailAddress.contexts</li>
            <li>EmailAddress.label</li>
            <li>EmailAddress.pref</li>
            <li>PartialDate.calendarScale</li>
            <li>PartialDate.day</li>
            <li>PartialDate.month</li>
            <li>PartialDate.year</li>
          </ul>
          <t>None of the newly added properties have object value types. The remaining object type to inspect is the Name object.</t>
        </li>
        <li>
          <t>For the Name object type, the profile explicitly lists the "components" and "full" properties, so we add them to the set of supported properties. It now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Anniversary.date</li>
            <li>Anniversary.kind</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
            <li>EmailAddress.address</li>
            <li>EmailAddress.contexts</li>
            <li>EmailAddress.label</li>
            <li>EmailAddress.pref</li>
            <li>Name.full</li>
            <li>Name.components</li>
            <li>PartialDate.calendarScale</li>
            <li>PartialDate.day</li>
            <li>PartialDate.month</li>
            <li>PartialDate.year</li>
          </ul>
          <t>The newly added Name.components property has object value type NameComponent, so we add that to the list of object types to inspect.</t>
        </li>
        <li>
          <t>For the NameComponent object type, the profile does not explicitly list any property. Instead, we add properties of the "JSContact Properties" registry where the Property Context includes the NameComponent object. The set of supported properties now contains:</t>
          <ul>
            <li>Address.full</li>
            <li>Anniversary.date</li>
            <li>Anniversary.kind</li>
            <li>Card.addresses</li>
            <li>Card.emails</li>
            <li>Card.kind</li>
            <li>Card.localizations</li>
            <li>Card.name</li>
            <li>EmailAddress.address</li>
            <li>EmailAddress.contexts</li>
            <li>EmailAddress.label</li>
            <li>EmailAddress.pref</li>
            <li>NameComponent.kind</li>
            <li>NameComponent.phonetic</li>
            <li>NameComponent.value</li>
            <li>PartialDate.calendarScale</li>
            <li>PartialDate.day</li>
            <li>PartialDate.month</li>
            <li>PartialDate.year</li>
          </ul>
          <t>None of the newly added properties have object value types, and there are no remaining object types to inspect. This determines the set of supported properties by that profile, in addition to the "Card.version" and "@type" property that are always supported.</t>
        </li>
      </ol>
    </section>
    </section>
  </back>

</rfc>
