<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" submissionType="IETF" category="std" xml:lang="en" consensus="true" docName="draft-ietf-calext-jscontact-06" obsoletes="" updates="" tocInclude="true" symRefs="true" sortRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.6.0 -->
  <front>
    <title abbrev="JSContact">JSContact: A JSON representation of contact data</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-calext-jscontact-06"/>
    <author initials="R." surname="Stepanek" fullname="Robert Stepanek">
      <organization>Fastmail</organization>
      <address>
        <postal>
          <street>PO Box 234, Collins St West</street>
          <city>Melbourne</city>
          <code>VIC 8007</code>
          <country>Australia</country>
          <region> </region>
        </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="2022" month="December" day="9"/>
    <area>Applications</area>
    <workgroup>Calendaring Extensions</workgroup>
    <keyword>JSON</keyword>
    <keyword>addressbook</keyword>
    <keyword>contacts</keyword>
    <keyword>cards</keyword>
    <keyword>VCARD</keyword>
    <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>
  <middle>
    <section anchor="introduction" numbered="true" toc="default">
      <name>Introduction</name>
      <t>This document defines a data model for contact card data normally used in address book or directory applications and services.  It aims to be an alternative to the vCard data format <xref target="RFC6350" format="default"/> and to provide a JSON-based standard representation of contact card data.</t>
      <t>The key design considerations for this data model are as follows:</t>
      <ul spacing="normal">
        <li>Most of the initial set of attributes should be taken from the vCard data format <xref target="RFC6350" format="default"/> and extensions (<xref target="RFC6473" format="default"/>, <xref target="RFC6474" format="default"/>, <xref target="RFC6715" format="default"/>, <xref target="RFC6869" format="default"/>, <xref target="RFC8605" format="default"/>).  The specification should add new attributes or value types, or not support existing ones, where appropriate.  Conversion between the data formats need not fully preserve semantic meaning.</li>
        <li>The attributes of the card data represented must be described as a simple key-value pair, reducing complexity of its representation.</li>
        <li>The data model should avoid all ambiguities and make it difficult to make mistakes during implementation.</li>
        <li>Extensions, such as new properties and components, <bcp14>MUST NOT</bcp14> lead to requiring an update to this document.</li>
      </ul>
      <t>The representation of this data model is defined in the I-JSON format <xref target="RFC7493" format="default"/>, which is a strict subset of the JavaScript Object Notation (JSON) Data Interchange Format <xref target="RFC8259" format="default"/>.  Using JSON is mostly a pragmatic choice: its widespread use makes JSContact easier to adopt, and the availability of production-ready JSON implementations eliminates a whole category of parser-related interoperability issues.</t>
      <section anchor="relation-to-the-xcard-and-jcard-formats" numbered="true" toc="default">
        <name>Relation to the xCard and jCard formats</name>
        <t>The xCard <xref target="RFC6351" format="default"/> and jCard <xref target="RFC7095" format="default"/> specifications define alternative representations for vCard data, in XML and JSON format respectively.  Both explicitly aim to not change the underlying data model.  Accordingly, they are regarded as equal to vCard in the context of this document.</t>
      </section>
      <section anchor="terminology" numbered="true" toc="default">
        <name>Terminology</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"/> <xref target="RFC8174" format="default"/> when, and only when,
they appear in all capitals, as shown here.</t>
      </section>
      <section anchor="type-signatures" numbered="true" toc="default">
        <name>Type Signatures</name>
        <t>Type signatures are given for all JSON values in this document.  The following conventions are used:</t>
        <ul spacing="normal">
          <li><tt>*</tt> - The type is undefined (the value could be any type, although permitted values may be constrained by the context of this value).</li>
          <li><tt>String</tt> - The JSON string type.</li>
          <li><tt>Number</tt> - The JSON number type.</li>
          <li><tt>Boolean</tt> - The JSON boolean type.</li>
          <li><tt>A[B]</tt> - A JSON object where the keys are all of type <tt>A</tt>, and the values are all of type <tt>B</tt>.</li>
          <li><tt>A[]</tt> - An array of values of type <tt>A</tt>.</li>
          <li><tt>A|B</tt> - The value is either of type <tt>A</tt> or of type <tt>B</tt>.</li>
        </ul>
      </section>
      <section anchor="data-types" numbered="true" toc="default">
        <name>Data types</name>
        <t>In addition to the standard JSON data types, a couple of additional data types are common to the definitions of JSContact objects and properties.</t>
        <section anchor="id" numbered="true" toc="default">
          <name>Id</name>
          <t>Where <tt>Id</tt> is given as a data type, it means a <tt>String</tt> of at least 1 and a maximum of 255 octets in size, and it <bcp14>MUST</bcp14> only contain characters from the <tt>URL and Filename Safe</tt> base64url alphabet, as defined in Section 5 of <xref target="RFC4648" format="default"/>, excluding the pad character (<tt>=</tt>).  This means the allowed characters are the ASCII alphanumeric characters (<tt>A-Za-z0-9</tt>), hyphen (<tt>-</tt>), and underscore (<tt>_</tt>).</t>
          <t>In many places in JSContact a JSON map is used where the map keys are of type Id and the map values are all the same type of object.  This construction represents an unordered set of objects, with the added advantage that each entry has a name (the corresponding map key).  This allows for more concise patching of objects, and, when applicable, for the objects in question to be referenced from other objects within the JSContact object.  The map keys <bcp14>MUST</bcp14> be preserved across multiple versions of the JSContact object.</t>
          <t>Unless otherwise specified for a particular property, there are no uniqueness constraints on an Id value (other than, of course, the requirement that you cannot have two values with the same key within a single JSON map).  For example, two <xref target="card">Card</xref> objects might use the same Ids in their respective <tt>photos</tt> properties.  Or within the same Card object the same Id could appear in the <tt>emails</tt> and <tt>phones</tt> properties.  These situations do not imply any semantic connections among the objects.</t>
        </section>
        <section anchor="int-unsignedint" numbered="true" toc="default">
          <name>Int and UnsignedInt</name>
          <t>Where <tt>Int</tt> is given as a data type, it means an integer in the range -2<sup>53</sup>+1 &lt;= value &lt;= 2^<sup>53</sup>-1, the safe range for integers stored in a floating-point double, represented as a JSON <tt>Number</tt>.</t>
          <t>Where <tt>UnsignedInt</tt> is given as a data type, it means an integer in the range 0 &lt;= value &lt;= 2<sup>53</sup>-1, represented as a JSON <tt>Number</tt>.</t>
        </section>
        <section anchor="patchobject" numbered="true" toc="default">
          <name>PatchObject</name>
          <t>A PatchObject is of type <tt>String[*]</tt>, and represents an unordered set of patches on a JSON object.
          Each key is a path represented in a subset of JSON pointer format <xref target="RFC6901"/>.  The paths have an implicit leading <tt>/</tt>, so each key is prefixed with <tt>/</tt> before applying the JSON pointer evaluation algorithm.</t>
          <t>A patch within a PatchObject is only valid if all the following conditions apply:</t>
          <ol>
            <li>The pointer <bcp14>MUST NOT</bcp14> reference inside an array (i.e., you <bcp14>MUST NOT</bcp14> insert/delete from an array; the array <bcp14>MUST</bcp14> be replaced in its entirety instead).</li>
            <li>All parts prior to the last (i.e., the value after the final slash) <bcp14>MUST</bcp14> already exist on the object being patched.</li>
            <li>There <bcp14>MUST NOT</bcp14> be two patches in the PatchObject where the pointer of one is the prefix of the pointer of the other, e.g., <tt>addresses/1/city</tt> and <tt>addresses</tt>.</li>
            <li>The value for the patch <bcp14>MUST</bcp14> be valid for the property being set (of the correct type and obeying any other applicable restrictions), or if null the property <bcp14>MUST</bcp14> be optional.</li>
          </ol>
          <t>The value associated with each pointer determines how to apply that patch:</t>
          <ul>
            <li>If null, remove the property from the patched object.  If the key is not present in the parent, this a no-op.</li>
            <li>If non-null, set the value given as the value for this property (this may be a replacement or addition to the object being patched).</li>
          </ul>
          <t>A PatchObject does not define its own <tt>@type</tt> property.  Instead, a <tt>@type</tt> property in a patch <bcp14>MUST</bcp14> be handled as any other patched property value.</t>
          <t>Implementations <bcp14>MUST</bcp14> reject in its entirety a PatchObject if any of its patches are invalid.   Implementations <bcp14>MUST NOT</bcp14> apply partial patches.</t>
        </section>
        <section anchor="resource" numbered="true" toc="default">
          <name>Resource</name>
          <t>This data type defines a resource associated with the entity represented by this card, identified by a URI <xref target="RFC3986" format="default"/>.  Several property definitions later in this document refer to the Resource data type as the basis for their property-specific value types.  The Resource data type defines the properties that are common to all of them.  Property definitions making use of Resource <bcp14>MAY</bcp14> define additional properties for their value types.</t>
          <t>A Resource object has the following properties:</t>
          <ul spacing="normal">
            <li>
              <t>@type: <tt>String</tt> (mandatory).  The allowed values are defined in the property definition that makes use of the Resource type.</t>
            </li>
            <li>
              <t>type: <tt>String</tt> (optional).
The type of the resource.  The allowed values are defined in the property definition that makes use of the Resource type.
</t>
            </li>
            <li>uri: <tt>String</tt> (mandatory).
The resource value.  This <bcp14>MUST</bcp14> be a <em>URI</em> as defined in Section 3 of <xref target="RFC3986" format="default"/> and updates.</li>
            <li>mediaType: <tt>String</tt> (optional).
Used for URI resource values.  Provides the media type <xref target="RFC2046" format="default"/> of the resource identified by the URI.</li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use this resource.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this resource in relation to other resources.  Also see <xref target="prop-pref"/>.</li>
            <li>label: <tt>String</tt> (optional).
                A custom label for the value, see <xref target="prop-label"/>.</li>
          </ul>
        </section>
        <section anchor="utcdatetime" numbered="true" toc="default">
          <name>UTCDateTime</name>
          <t>This is a string in <xref target="RFC3339" format="default"/> <tt>date-time</tt> format, with the further restrictions that any letters <bcp14>MUST</bcp14> be in uppercase, and the time offset <bcp14>MUST</bcp14> be the character <tt>Z</tt>.  Fractional second values <bcp14>MUST NOT</bcp14> be included unless non-zero and <bcp14>MUST NOT</bcp14> have trailing zeros, to ensure there is only a single representation for each date-time.</t>
          <t>For example, <tt>2010-10-10T10:10:10.003Z</tt> is conformant, but <tt>2010-10-10T10:10:10.000Z</tt> is invalid and is correctly encoded as <tt>2010-10-10T10:10:10Z</tt>.</t>
        </section>
      </section>
      <section anchor="comon-properties">
        <name>Common properties</name>
        <t>Most of the properties in this document are specific to a single JSContact object type.  Such properties are defined along with the respective object type.  The properties in this section are common to multiple data types and are defined here to avoid repetition.  Note that these properties <bcp14>MUST</bcp14> only be set for a JSContact object if they are explicitly mentioned to be allowed for this object type.</t>
        <section anchor="prop-contexts" numbered="true" toc="default">
          <name>The <tt>contexts</tt> property</name>
          <t>Type: <tt>String[Boolean]</tt></t>
          <t>This property associates contact information with one or more contexts in which it should be used.  For example, someone might have distinct phone numbers for work and private contexts, and may set the desired context on the respective phone number in the <xref target="phones"><tt>phones</tt></xref> property.</t>
          <t>This document defines the following common contexts.  Additional contexts may be defined in the properties or data types that make use of this property, may be registered in a future RFC, or be vendor-specific (<xref target="vendor-specific-properties"/>).</t>
          <ul spacing="normal">
            <li><tt>private</tt>: The contact information may be used to contact in a private context.</li>
            <li><tt>work</tt>: The contact information may be used to contact in a professional context.</li>
          </ul>
        </section>
        <section anchor="prop-label" numbered="true" toc="default">
          <name>The <tt>label</tt> property</name>
          <t>Type: <tt>String</tt></t>
          <t>This property allows to associate contact data with user-defined labels.  Such labels may be set for phone numbers, email addresses and resources.  Typically, these labels are displayed along with their associated contact data in graphical user interfaces.  While this specification does not place further restrictions on the value, implementors <bcp14>SHOULD</bcp14> take in mind that labels best be succinct, so that they properly display on small graphical interfaces and screens.</t>
        </section>
        <section anchor="prop-pref" numbered="true" toc="default">
          <name>The <tt>pref</tt> property</name>
          <t>Type: <tt>UnsignedInt</tt></t>
          <t>This property allows to define a preference order for contact information.  For example, a card holder may have two email addresses and prefer to be contacted with one of them.</t>
          <t>Its value <bcp14>MUST</bcp14> be in the range 1 and 100.  Lower values correspond to a higher level of preference, with 1 being most preferred.  If no preference is set, then the contact information <bcp14>MUST</bcp14> be interpreted as being least preferred.</t>
          <t>Note that the preference only is defined in relation to contact information of the same type.  For example, the preference orders within emails and phone numbers are independent of each other.</t>
        </section>
      </section>
      <section>
        <name>Versioning</name>
        <t>Every instance of a JSContact <xref target="card">Card</xref> indicates which JSContact version its IANA-registered properties and values are based on.  The version is indicated both in the  <xref target="prop-version"><tt>@version</tt></xref> property within the Card and in the <xref target="iana-mime-type">version</xref> parameter of the JSContact MIME content type. All IANA-registered elements indicate the version at which they got introduced or obsoleted.</t>
        <t>Implementors are <bcp14>RECOMMENDED</bcp14> to always support the latest version.</t>
        <section>
          <name>Version Scheme</name>
          <t>A JSContact version consists of a numeric major and minor version.  Later versions are numerically higher than former versions, with the major version being more significant than the minor version. A version value is produced by the ABNF</t>
          <sourcecode name="" type="abnf"><![CDATA[
jsversion = 1*DIGIT "." 1*DIGIT
]]></sourcecode>
          <t>Differing major version values indicate substantial differences in JSContact semantics and format.  Implementations <bcp14>MUST</bcp14> be prepared that property definitions and other JSContact elements differ in a backwards-incompatible manner.</t>
          <t>Differing minor version values indicate additions that enrich JSContact data, but do not introduce backwards-incompatible changes.  Typically, these are new property enum values or properties with narrow semantic scope.  A new minor version <bcp14>MUST NOT</bcp14> require implementations to change their processing of JSContact data.</t>
        </section>
        <section>
          <name>Version Updates</name>
          <t>If Expert Review or the IETF working group decides that a new major JSContact version is required, a new standard RFC document <bcp14>MUST</bcp14> be published.  Such an RFC document <bcp14>MUST</bcp14> specify all changes to the former JSContact version.  An RFC document is not required to change the minor JSContact version.</t>
          <t>Every new JSContact version <bcp14>MUST</bcp14> be registered at IANA in the JSContact Enum Value registry <xref target="tab-iana-enum-card-version"/>.</t>
        </section>
      </section>
      <section>
        <name>Validating JSContact Properties</name>
        <t>JSContact objects are represented as I-JSON objects <xref target="RFC7493"/> and the keys of such objects are called properties.  This specification distinguishes between three kinds of properties with regards to validation: IANA-registered properties and unknown properties are defined in this section, while vendor-specific properties are defined in <xref target="vendor-specific-properties"/>.  A JSContact object is invalid if any its properties are invalid.  If a JSContact object is valid, implementations <bcp14>MUST</bcp14> preserve all its properties.</t>
        <section anchor="iana-registered-properties" numbered="true" toc="default">
          <name>IANA-registered Properties</name>
          <t>
             An IANA-registered property is any property that has been registered according to the IANA property registry rules as outlined in <xref target="iana-considerations"/>.  All properties defined in this specification are IANA-registered properties.
          </t>
          <t>
            Implementations <bcp14>MUST</bcp14> validate IANA-registered properties in JSContact data, unless they are unknown to the implementation (see <xref target="unknown-properties"/>).  They <bcp14>MUST</bcp14> reject invalid IANA-registered properties.  A property is invalid if its name matches the name of an IANA-registered property but the value violates its definition according to the JSContact specification version defined in the Card object <tt>@version</tt> property (<xref target="prop-version"/>).
          </t>
          <t>
        IANA-registered property names <bcp14>MUST NOT</bcp14> contain US-ASCII control characters (U+0000 to U+001F, U+007F), the <tt>COLON</tt> (U+003A) or <tt>QUOTATION MARK</tt> (U+0022) characters.  They <bcp14>SHOULD</bcp14> only contain US-ASCII alphanumeric characters (the ALPHA and DIGIT rules defined in <xref target="RFC2234" section="6.1"/>), but notable exceptions of this rule are metadata properties such as <tt>@type</tt> and <tt>@version</tt> defined in later sections of this document.  IANA-registered property names <bcp14>SHOULD</bcp14> be notated in lower camel case.
    </t>
        </section>
        <section anchor="unknown-properties" numbered="true" toc="default">
          <name>Unknown Properties</name>
          <t>
          Implementations may encounter JSContact data where a property name is unknown to that implementation, but the name adheres to the restrictions of an IANA-registered property.</t>
          <t>Implementations <bcp14>MUST NOT</bcp14> treat such properties as invalid.  Instead, they <bcp14>MUST</bcp14> preserve them in the JSContact object.  Implementations that create or update JSContact data <bcp14>MUST</bcp14> only set IANA-registered properties or vendor-specific properties, but <bcp14>MUST</bcp14> preserve any already existing unknown properties.  This is to allow applications and services to interoperate without data loss, even if they do not implement the same set of JSContact extensions.
        </t>
        </section>
      </section>
      <section>
        <name>Vendor-Specific Extensions</name>
        <t>Vendors may extend properties and values for experimentation or to store contacts data that only is useful for a single service or application.  Such extensions are not meant for interoperation and vendors <bcp14>MUST NOT</bcp14> expect other implementations to process their contents.  If instead interoperation is desired, vendors are strongly encouraged to define and register new properties, types and values at IANA.  Typically, sending a short description to the IETF working group mailing list is enough for Expert Review to make a decision.  Notably, publishing a new RFC document is not required in the general case.  <xref target="iana-considerations"/> defines how to register new properties, types or values at IANA.  <xref target="iana-registered-properties"/> defines the naming conventions for IANA-registered elements.</t>
        <section anchor="vendor-specific-properties" numbered="true" toc="default">
          <name>Vendor-specific Properties</name>
          <t>
            Vendor-specific properties <bcp14>MAY</bcp14> be set in any JSContact object.  Implementations <bcp14>MUST</bcp14> preserve vendor-specific properties in JSContact data, irrespective if they know their use.  They <bcp14>MUST NOT</bcp14> reject the property value as invalid, unless they are in control of the vendor-specific property.
          </t>
          <t>
            Vendor-specific property names <bcp14>MUST</bcp14> start with a vendor-specific prefix, followed by the <tt>COLON</tt> character (U+003A), followed by a name consisting of any other non-control ASCII or non-ASCII characters.  The vendor-specific prefix <bcp14>SHOULD</bcp14> be a domain name under control of the service or application that sets the property, but it need not resolve in the Domain Name System <xref target="RFC1034"/> and <xref target="RFC1035"/>.  The prefix <tt>ietf.org</tt> and its sub-domain names are reserved for IETF specifications.  The name following the prefix <bcp14>MUST NOT</bcp14> contain the <tt>QUOTATION MARK</tt> (U+0022) character.  It <bcp14>SHOULD NOT</bcp14> contain the <tt>TILDE</tt> (U+007E) and <tt>SOLIDUS</tt> (U+002F) characters, as these require special-escaping when encoding a JSON Pointer <xref target="RFC6901"/> including that property.
          </t>
          <t>The ABNF rule <tt>v-extension</tt> formally defines valid vendor-specific property names.  Note that the vendor prefix allows for more values than are allowed as Internationalized Domain Names (IDN) <xref target="RFC8499"/>.  This is to allow JSContact implementations simply validate property names without implementing the full set of rules that apply to domain names.</t>
          <sourcecode name="" type="abnf"><![CDATA[
v-extension = v-prefix ":" v-name

v-prefix = v-label *("." v-label)

v-label = alnum-int / alnum-int *(alnum-int / "-") alnum-int

alnum-int = ALPHA / DIGIT / NON-ASCII
  ; see RFC 6350 Section 3.3

v-name = 1*(WSP / "!" / %23-7e / NON-ASCII)
  ; any characters except CTLs and DQUOTE, also see RFC 6350 Section 3.3
  ; use of "/" (%x2f) and "~" (%x7e) is discouraged
]]></sourcecode>
          <t>
            The value of vendor-specific properties can be any valid JSON value, and naming restrictions do not apply to such values.  Specifically, if the property value is a JSON object then the keys of such objects need not be named as vendor-specific properties.
          </t>
          <t>
            The following all are valid examples of vendor-specific properties.
          </t>
          <figure>
            <artwork><![CDATA[
{
  "@type": "Card",
  "@version" : "1.0",
  ...
  "example.com:foo": "bar",
  "example.com:foo2": {
    "bar": "baz"
  }
  ...
}
]]></artwork>
          </figure>
        </section>
        <section anchor="vendor-specific-values" numbered="true" toc="default">
          <name>Vendor-specific Values</name>
          <t>
            Some JSContact IANA-registered properties allow their values to be vendor-specific.  One such example is the <tt>kind</tt> property <xref target="kind"/>, which enumerates its standard values but also allows for arbitrary vendor-specific values.  Such vendor-specific values <bcp14>MUST</bcp14> be valid <tt>v-extension</tt> values as defined in <xref target="vendor-specific-properties"/>.  This is an example for a vendor-specific value:
          </t>
          <figure>
            <artwork><![CDATA[
  ...
  "kind": "example.com:kind:foo",
  ...
]]></artwork>
          </figure>
          <t>
          Vendors are strongly encouraged to specify new standard values once a vendor-specific turns out to be useful also for other systems.
          </t>
        </section>
      </section>
      <section anchor="reserved-prop-names">
        <name>Reserved Property Names</name>
        <t>This specification reserves the property name <tt>extra</tt> at IANA.  A JSContact object <bcp14>MUST NOT</bcp14> be defined to have a property with this name.  This is to provide implementations with a name to map unknown or vendor-specific properties to, and which never may occur as a property in a JSContact object.</t>
      </section>
    </section>
    <section anchor="card" numbered="true" toc="default">
      <name>Card</name>
      <t>MIME type: <tt>application/jscontact+json;type=card</tt></t>
      <t>A Card object stores information about a person, organization or company.</t>
      <section anchor="metadata-properties" numbered="true" toc="default">
        <name>Metadata properties</name>
        <section anchor="cardtype" numbered="true" toc="default">
          <name>@type</name>
          <t>Type: <tt>String</tt> (mandatory).</t>
          <t>Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Card</tt>.</t>
        </section>
        <section anchor="prop-version" numbered="true" toc="default">
          <name>@version</name>
          <t>Type: <tt>String</tt> (mandatory).</t>
          <t>Specifies the JSContact version used to define this card.  The value <bcp14>MUST</bcp14> be one of the IANA-registered JSContact Enum Values for the <tt>@version</tt> property.  This specification registers the JSContact version value <tt>1.0</tt> (<xref target="tab-iana-enum-card-version"/>).</t>
          <figure anchor="example-version">
            <name><tt>@version</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "@version": "1.0",
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="created" numbered="true" toc="default">
          <name>created</name>
          <t>Type: <tt>UTCDateTime</tt> (optional).</t>
          <t>The date and time when this Card object was created.</t>
          <figure anchor="example-created">
            <name><tt>created</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "created": "1994-09-30T14:35:10Z",
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="kind" numbered="true" toc="default">
          <name>kind</name>
          <t>Type: <tt>String</tt> (optional).  The kind of the entity the Card represents.</t>
          <t>The value <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):</t>
          <ul spacing="normal">
            <li><tt>individual</tt>: a single person</li>
            <li><tt>group</tt>: a group person of persons or entities</li>
            <li><tt>org</tt>: an organization</li>
            <li><tt>location</tt>: a named location</li>
            <li><tt>device</tt>: a device, such as appliances, computers, or network elements</li>
            <li><tt>application</tt>: a software application</li>
          </ul>
          <figure anchor="example-kind">
            <name><tt>kind</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "kind": "individual",
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="locale" numbered="true" toc="default">
          <name>locale</name>
          <t>Type: <tt>String</tt> (optional).</t>
          <t>This is the language tag, as defined in <xref target="RFC5646"/>, that best describes the locale used for text in the card.  Note that such values  <bcp14>MAY</bcp14> be localized in the <tt>localizations</tt> property <xref target="localizations"/>.</t>
          <figure anchor="example-locale">
            <name><tt>locale</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "locale": "de-AT",
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="members" numbered="true" toc="default">
          <name>members</name>
          <t>Type: <tt>String[Boolean]</tt> (optional).</t>
          <t>This identifies the set of cards that are members of this group card.  Each key in the set is the <tt>uid</tt> property value of the member, each boolean value <bcp14>MUST</bcp14> be <tt>true</tt>. If this property is set, then the value of the <tt>kind</tt> property <bcp14>MUST</bcp14> be <tt>group</tt>.</t>
          <t>The opposite is not true.  A group Card will usually contain the <tt>members</tt> property to specify the members of the group, but it is not required to.  A group Card without the <tt>members</tt> property can be considered an abstract grouping, or one whose members are known empirically (e.g.  "IETF Participants").</t>
          <figure anchor="example-members">
            <name><tt>members</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "kind": "group",
  "fullName": "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="prodId" numbered="true" toc="default">
          <name>prodId</name>
          <t>Type: <tt>String</tt> (optional).</t>
          <t>The identifier for the product that created the Card object.</t>
          <figure anchor="example-prodId">
            <name><tt>prodId</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "prodId": "-//ONLINE DIRECTORY//NONSGML Version 1//EN",
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="relatedTo" numbered="true" toc="default">
          <name>relatedTo</name>
          <t>Type: <tt>String[Relation]</tt> (optional).</t>
          <t>Relates the object to other Card objects.  This is represented as a map, where each key is the <tt>uid</tt> of the related Card and the value defines the relation.  The Relation object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Relation</tt>.
             </li>
            <li>relation: <tt>String[Boolean]</tt> (optional, default: empty Object)
Describes how the linked object is related to the linking object.  The relation is defined as a set of relation types.  If empty, the relationship between the two objects is unspecified.
Keys in the set <bcp14>MUST</bcp14> be one of the RELATED property <xref target="RFC6350" format="default"/> type parameter values, or an IANA-registered value, or a vendor-specific value (<xref target="vendor-specific-properties"/>).
The value for each key in the set <bcp14>MUST</bcp14> be true.</li>
          </ul>
          <figure anchor="example-relatedto">
            <name><tt>relatedTo</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "relatedTo" : {
    "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6" : {
      "@type" : "Relation",
      "relation" : {
        "friend" : true
      }
    },
    "8cacdfb7d1ffdb59@example.com" : {
      "@type" : "Relation",
      "relation" : { }
    },
  },
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="uid" numbered="true" toc="default">
          <name>uid</name>
          <t>Type: <tt>String</tt> (mandatory).</t>
          <t>An identifier, used to associate the object as the same across different systems, address books and views.  The value <bcp14>SHOULD</bcp14> be a URN <xref target="RFC8141"/> but for compatibility with <xref target="RFC6350"/> it <bcp14>MAY</bcp14> also be a URI <xref target="RFC3986"/> or free-text value.  The value of the URN <bcp14>SHOULD</bcp14> be in the <tt>uuid</tt> namespace <xref target="RFC4122" format="default"/>.  As of this writing, a revision of <xref target="RFC4122"/> is being worked on and is likely to introduce new UUID versions and best practices to generate global unique identifiers.  Implementors <bcp14>SHOULD</bcp14> follow any recommendations described there.  Until then, implementations <bcp14>SHOULD</bcp14> generate identifiers using the random or pseudo-random UUID version described in <xref target="RFC4122" section="4.4"/>.</t>
          <figure anchor="example-uid">
            <name><tt>uid</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "uid": "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="updated" numbered="true" toc="default">
          <name>updated</name>
          <t>Type: <tt>UTCDateTime</tt> (optional).</t>
          <t>The date and time when the data in this Card object was last modified.</t>
          <figure anchor="example-updated">
            <name><tt>updated</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
   "updated": "1995-10-31T22:27:10Z",
  ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="name-and-organization-properties" numbered="true" toc="default">
        <name>Name and Organization properties</name>
        <section anchor="fullName" numbered="true" toc="default">
          <name>fullName</name>
          <t>Type: <tt>String</tt> (optional).</t>
          <t>This is the full name of the entity represented by this card.  The purpose of this property is to define a name even if the individual name components are not known.  If the <tt>name</tt> property is set, the <tt>fullName</tt> property <bcp14>SHOULD NOT</bcp14> be set.  If both properties are set, applications <bcp14>SHOULD</bcp14> display the contents of the <tt>name</tt> property as the name of the entity represented by this card.  Applications <bcp14>SHOULD NOT</bcp14> store the concatenated name component values of the <tt>name</tt> property in the <tt>fullName</tt> property value.</t>
          <figure anchor="example-fullName">
            <name><tt>fullName</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "fullName": "Mr.  John Q.  Public, Esq.",
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="name" numbered="true" toc="default">
          <name>name</name>
          <t>Type: <tt>Name</tt> (optional).</t>
          <t>The name of the entity represented by this Card.</t>
          <t>A Name object has the following properties</t>
          <ul spacing="normal">
            <li>@type: <tt>Name</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Name</tt>.
              </li>
            <li>
              <t>components: <tt>NameComponent[]</tt> (mandatory).  The components making up the name.  The component list <bcp14>MUST</bcp14> have at least one entry.</t>
              <t>Name components <bcp14>SHOULD</bcp14> be ordered such that their values joined as a String produce a valid full name of this entity.  This specification does not mandate how to do this but recommends the following: If at least one of two adjacent name components is of type <tt>separator</tt> then implementations <bcp14>SHOULD</bcp14> join their values without any additional character.  Otherwise, inserting a single Space character in between name component values is a good choice.</t>
            </li>
            <li>
              <t>sortAs: <tt>String[String]</tt> (optional).</t>
              <t>This defines how this name lexicographically sorts in relation to other names when compared by a name component type.  The key in the map defines the name component type.  The value for that key defines the verbatim string to compare when sorting by this name component type.  Absence of a key indicates that this name component type should not be considered during sort.  Sorting by that missing name component type or if the <tt>sortAs</tt> property is not set is implementation-specific.</t>
              <t>Each key in the map <bcp14>MUST</bcp14> be a valid name component type value as defined for the <tt>type</tt> property of the NameComponent object (see below).  For each key in the map there <bcp14>MUST</bcp14> exist at least one NameComponent object having that type in the <tt>components</tt> property of this name.</t>
              <t><xref target="example-name"/> illustrates the use of sortAs.  The property value indicates that the middle name followed by both surnames should be used when sorting this name by surname.  The absence of the <tt>middle</tt> indicates that the middle name on its own should be disregarded during sort.  Even though the name only contains one name component for the given name, the sortAs property still explicitly defines how to sort by given name as otherwise sorting by it would be undefined.</t>
              <figure anchor="example-name">
                <name><tt>name</tt> example</name>
                <sourcecode name=""><![CDATA[
  ...
  "name": {
    "@type": "Name",
    "components": [{
      "@type": "NameComponent",
      "type": "given",
      "value": "Robert"
    }, {
      "@type": "NameComponent",
      "type": "middle",
      "value": "Pau"
    }, {
      "@type": "NameComponent",
      "type": "surname",
      "value": "Shou"
    }, {
      "@type": "NameComponent",
      "type": "surname",
      "value": "Chang"
    }],
    "sortAs": {
      "surname": "Pau Shou Chang",
      "given": "Robert"
    }
  },
  ...
        ]]></sourcecode>
              </figure>
            </li>
          </ul>
          <t>A NameComponent object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>NameComponent</tt>.
              </li>
            <li>value: <tt>String</tt> (mandatory).
The value of this name component.</li>
            <li>
              <t>type: <tt>String</tt> (mandatory).
The type of this name component.  The value <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):
</t>
              <ul spacing="normal">
                <li><tt>prefix</tt>.  The value is an honorific title(s), e.g.  "Mr", "Ms", "Dr".</li>
                <li><tt>given</tt>.  The value is a given name, also known as "first name", "personal name".</li>
                <li><tt>surname</tt>.  The value is a surname, also known as "last name", "family name".</li>
                <li><tt>middle</tt>.  The value is a middle name, also known as "additional name".</li>
                <li><tt>suffix</tt>.  The value is an honorific suffix, e.g.  "B.A.", "Esq.".</li>
                <li><tt>separator</tt>.  A formatting separator for two name components.  The <tt>value</tt> property of the component includes the verbatim separator, for example a hyphen character.
                </li>
              </ul>
            </li>
            <li>
              <t>rank: <tt>UnsignedInt</tt> (optional, default: <tt>1</tt>).
                    Defines the rank of this name component to other name components of the same type.  If set, the property value <bcp14>MUST</bcp14> be higher than or equal to 1.</t>
              <t>For example, two name components of type <tt>surname</tt> may have their <tt>rank</tt> property value set to <tt>1</tt> and <tt>2</tt>, respectively.  In this case, the first name component defines the surname, and the second name component the secondary surname.</t>
              <t>Note that this property value does not indicate the order in which to print name components of the same type.  Some cultures print the secondary surname before the first surname, others the first before the second.  Implementations <bcp14>SHOULD</bcp14> inspect the <tt>locale</tt> property of the Card object to determine the appropriate formatting.  They <bcp14>MAY</bcp14> print name components in order of appearance in the <tt>components</tt> property of the Name object.</t>
            </li>
          </ul>
        </section>
        <section anchor="nickNames" numbered="true" toc="default">
          <name>nickNames</name>
          <t>Type: <tt>Id[NickName]</tt> (optional).</t>
          <t>The nick names of the entity represented by this card.  A NickName object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>NickName</tt>.
              </li>
            <li>name: <tt>String</tt> (mandatory).
                The nick name.
            </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional)
The contexts in which to use this nick name.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this nick name in relation to other nick names.  Also see <xref target="prop-pref"/>.</li>
          </ul>
          <figure anchor="example-nickNames">
            <name><tt>nickNames</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
    "nickNames": {
       "k391": {
          "@type": "NickName",
          "name": "Johnny"
       }
    },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="organizations" numbered="true" toc="default">
          <name>organizations</name>
          <t>Type: <tt>Id[Organization]</tt> (optional).</t>
          <t>The companies or organization names and units associated with this card.  An Organization object has the following properties, of which at least one of <tt>name</tt> and <tt>units</tt> <bcp14>MUST</bcp14> be set:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Organization</tt>.
              </li>
            <li>name: <tt>String</tt> (optional).
                The name of this organization.
            </li>
            <li>units: <tt>OrgUnit[]</tt> (optional).
                A list of organizational units.  If set, the list <bcp14>MUST</bcp14> contain at least one entry.
            </li>
            <li>sortAs: <tt>String</tt> (optional).
                This defines how this organization name lexicographically sorts in relation to other organizations when compared by name.  The value defines the verbatim string value to compare.  In absence of this property, the <tt>name</tt> property value <bcp14>SHOULD</bcp14> be used for comparison.
            </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which association with this organization apply.  For example, membership in a choir may only apply in a private context.  Also see <xref target="prop-contexts"/>.</li>
          </ul>
          <t>A OrgUnit object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>OrgUnit</tt>.
              </li>
            <li>name: <tt>String</tt> (optional).
                The name of this organizational unit.  If set, the value <bcp14>MUST</bcp14> be a non-empty string.
            </li>
            <li>sortAs: <tt>String</tt> (optional).
                This defines how this organization unit name lexicographically sorts in relation to other organizational units of the same level when compared by name.  The level is defined by the array index of this organizational unit in the <tt>units</tt> property of the Organization object.  The property value defines the verbatim string value to compare.  In absence of this property, the <tt>name</tt> property value <bcp14>SHOULD</bcp14> be used for comparison.
            </li>
          </ul>
          <figure anchor="example-organizations">
            <name><tt>organizations</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "organizations": {
   "o1": {
     "@type": "Organization",
     "name": "ABC, Inc.",
     "units":[
       {"@type": "OrgUnit", "name": "North American Division"},
       {"@type": "OrgUnit", "name": "Marketing"}
     ],
     "sortAs": "ABC"
   }
  },
  ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="speakToAs" numbered="true" toc="default">
          <name>speakToAs</name>
          <t>Type: <tt>SpeakToAs</tt> (optional).</t>
          <t>Provides information how to address, speak to or refer to the entity that is represented by this card.  A SpeakToAs object has the following properties, of which at least one property other than <tt>@type</tt> <bcp14>MUST</bcp14> be set:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>SpeakToAs</tt>.
              </li>
            <li>
              <t>grammaticalGender: <tt>String</tt> (optional).
                  Defines which grammatical gender to use in salutations and other grammatical constructs.  Allowed values are:</t>
              <ul spacing="normal">
                <li>
                  <tt>animate</tt>
                </li>
                <li>
                  <tt>female</tt>
                </li>
                <li>
                  <tt>inanimate</tt>
                </li>
                <li>
                  <tt>male</tt>
                </li>
                <li>
                  <tt>neuter</tt>
                </li>
              </ul>
              <t>Note that the grammatical gender does not allow to infer the gender identities or assigned sex of the contact.</t>
            </li>
            <li>
              <t>pronouns: <tt>Id[Pronouns]</tt> (optional).
                 Defines the pronouns that the contact chooses to use for themselves.</t>
            </li>
          </ul>
          <t>A Pronouns object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Pronouns</tt>.
              </li>
            <li>pronouns: <tt>String</tt> (mandatory).
                  Defines the pronouns.  Any value or form is allowed.  Examples in English include <tt>she/her</tt> and <tt>they/them/theirs</tt>.  The value <bcp14>MAY</bcp14> be overridden in the <tt>localizations</tt> property (<xref target="localizations"/>).</li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use these pronouns.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of these pronouns in relation to other pronouns in the same context.  Also see <xref target="prop-pref"/>.</li>
          </ul>
          <figure anchor="example-speakToAs">
            <name><tt>speakToAs</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "speakToAs": {
     "grammaticalGender": "neuter",
     "pronouns": {
       "k19": {
         "@type": "Pronouns",
         "pronouns": "they/them",
         "pref": 2
       },
       "k32": {
         "@type": "Pronouns",
         "pronouns": "xe/xir",
         "pref": 1
       }
     }
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="titles" numbered="true" toc="default">
          <name>titles</name>
          <t>Type : <tt>Id[Title]</tt> (optional).</t>
          <t>The job titles or functional positions of the entity represented by this card.  A Title has object the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Title</tt>.
              </li>
            <li>name: <tt>String</tt> (mandatory).
                The title or role name of the entity represented by this card.
            </li>
            <li>type: <tt>String</tt> (optional, default <tt>title</tt>).
              Describes the organizational or situational type of this title.  Some organizations and individuals distinguish between <em>titles</em> as organizational positions and <em>roles</em> as more temporary assignments, such as in project management.  If set, the property value <bcp14>MUST</bcp14> either be one of <tt>title</tt> and <tt>role</tt>, or be registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>).
                                        </li>
            <li>organization: <tt>Id</tt> (optional).
                The id of the organization in which this title is held.
            </li>
          </ul>
          <figure anchor="example-titles">
            <name><tt>titles</tt> example</name>
            <sourcecode name=""><![CDATA[
  ...
  "titles": {
    "le9": {
      "@type": "Title",
      "type": "title",
      "name": "Research Scientist"
    },
    "k2": {
      "@type": "Title",
      "type": "role",
      "name": "Project Leader",
      "organization": "o2"
    }
  },
  "organizations": {
    "o2": {
      "@type": "Organization",
      "name": "ABC, Inc."
    }
  },
  ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="contact-properties" numbered="true" toc="default">
        <name>Contact properties</name>
        <section anchor="emails" numbered="true" toc="default">
          <name>emails</name>
          <t>Type: <tt>Id[EmailAddress]</tt> (optional).</t>
          <t>The email addresses to contact the entity represented by this card.  An EmailAddress object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>EmailAddress</tt>.
              </li>
            <li>address: <tt>String</tt> (mandatory).
The email address.  This <bcp14>MUST</bcp14> be an <em>addr-spec</em> value as defined in Section 3.4.1 of <xref target="RFC5322" format="default"/>.</li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use this email address.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this email address in relation to other email addresses.  Also see <xref target="prop-pref"/>.</li>
            <li>label: <tt>String</tt> (optional).
                A custom label for the value, see <xref target="prop-label"/>.</li>
          </ul>
          <figure anchor="example-emails">
            <name><tt>emails</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "emails": {
     "e1": {
       "@type": "EmailAddress",
       "contexts": { "work": true },
       "address": "jqpublic@xyz.example.com"
     },
     "e2": {
       "@type": "EmailAddress",
       "address": "jane_doe@example.com",
       "pref": 1
     }
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="onlineServices" numbered="true" toc="default">
          <name>onlineServices</name>
          <t>Type: <tt>Id[OnlineService]</tt> (optional).</t>
          <t>The online services that are associated with the entity represented by this card.  This can be messaging services, social media profiles, and other.  An OnlineService object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>OnlineService</tt>.
            </li>
            <li>service: <tt>String</tt> (optional).
The name of the online service or protocol.  This <bcp14>SHOULD</bcp14> be the canonical service name including capitalization.  Examples are <tt>GitHub</tt>, <tt>kakao</tt>, <tt>Mastodon</tt>.</li>
            <li>user: <tt>String</tt> (mandatory).
                  This identifies 	the entity represented by this card at this online service.  The <tt>type</tt> property defines the how to interpret the value.
            </li>
            <li>
              <t>type: <tt>String</tt> (mandatory). This defines the type of the identifier in the <tt>user</tt> property.  The type <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):</t>
              <ul spacing="normal">
                <li><tt>impp</tt>: The value of the <tt>user</tt> property is a URI primarily used for instant messaging.  The <tt>service</tt> property <bcp14>SHOULD</bcp14> be set.</li>
                <li><tt>uri</tt>: The value of the <tt>user</tt> property is a service-specific URI, such as for a social media service.  The <tt>service</tt> property <bcp14>SHOULD</bcp14> be set.</li>
                <li><tt>username</tt>: The value of the <tt>user</tt> property is a service-specific username, such as for a social media service.  Any free-text value is allowed.  The <tt>service</tt> property <bcp14>MUST</bcp14> be set.</li>
              </ul>
            </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use this service.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this service in relation to other services.  Also see <xref target="prop-pref"/>.</li>
            <li>label: <tt>String</tt> (optional).
                A custom label for the value, see <xref target="prop-label"/>.</li>
          </ul>
          <figure anchor="example-onlineServices">
            <name><tt>onlineServices</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "onlineServices": {
     ...
     "x1": {
       "@type": "OnlineService",
       "user": "xmpp:alice@example.com",
       "type": "impp",
       "pref": 1
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="phones" numbered="true" toc="default">
          <name>phones</name>
          <t>Type: <tt>Id[Phone]</tt> (optional).</t>
          <t>The phone numbers to contact the entity represented by this card.  A Phone object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Phone</tt>.
              </li>
            <li>number: <tt>String</tt> (mandatory).
The phone number, as either a URI or free-text.  Typical URI schemes are the <xref target="RFC3966" format="default"/> <tt>tel</tt> or <xref target="RFC3261" format="default"/> <tt>sip</tt> schemes, but any URI scheme is allowed.</li>
            <li>
              <t>features: <tt>String[Boolean]</tt> (optional).
                  The set of contact features that this phone number may be used for.  The set is represented as an object, with each key being a method type.  The boolean value <bcp14>MUST</bcp14> be <tt>true</tt>.  The method type <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):
</t>
              <ul spacing="normal">
                <li><tt>voice</tt> The number is for calling by voice.</li>
                <li><tt>fax</tt> The number is for sending faxes.</li>
                <li><tt>pager</tt> The number is for a pager or beeper.</li>
                <li><tt>text</tt> The number supports text messages (SMS).</li>
                <li><tt>cell</tt> The number is for a cell phone.</li>
                <li><tt>textphone</tt> The number is for a device for people with hearing or speech difficulties.</li>
                <li><tt>video</tt> The number supports video conferencing.</li>
              </ul>
            </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use this number.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this number in relation to other numbers.  Also see <xref target="prop-pref"/>.</li>
            <li>label: <tt>String</tt> (optional).
                A custom label for the value, see <xref target="prop-label"/>.</li>
          </ul>
          <figure anchor="example-phones">
            <name><tt>phones</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
     "phones": {
       "tel0": {
         "@type": "Phone",
         "contexts": { "private": true },
         "features": { "voice": true },
         "number": "tel:+1-555-555-5555;ext=5555",
         "pref": 1
       },
       "tel3": {
         "@type": "Phone",
         "contexts": { "work": true },
         "number": "tel:+33-01-23-45-67"
       }
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="preferredContactChannels" numbered="true" toc="default">
          <name>preferredContactChannels</name>
          <t>Type : <tt>String[ContactChannelPreference[]]</tt> (optional).</t>
          <t>Defines which channel the entity represented by this card prefers to be contacted with.  The keys in the object <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):</t>
          <ul spacing="normal">
            <li><tt>addresses</tt>.  The entity prefers to be contacted by postal delivery to one of the entries in <xref target="addresses"><tt>addresses</tt></xref>.</li>
            <li><tt>emails</tt>.  The entity prefers to be contacted by one of the entries in <xref target="emails"><tt>emails</tt></xref>.</li>
            <li><tt>onlineServices</tt>.  The entity prefers to be contacted by one of the entries in <xref target="onlineServices"><tt>onlineServices</tt></xref>.</li>
            <li><tt>phones</tt>.  The entity prefers to be contacted by one of the entries in <xref target="phones"><tt>phones</tt></xref>.</li>
          </ul>
          <t>The values in the object are a (possibly empty) list of preferences for this contact channel.  A valid ContactChannelPreference object <bcp14>MUST</bcp14> have at least one of its properties set in addition to the <tt>@type</tt> property.</t>
          <t>A ContactChannelPreference object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>ContactChannelPreference</tt>.
              </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
Defines the contexts in which to use this contact channel.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
Defines the preference of this contact channel in relation to other contact channels with the same contexts.  Also see <xref target="prop-pref"/>.</li>
          </ul>
          <figure anchor="example-preferredContactChannels">
            <name><tt>preferredContactChannels</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "preferredContactChannels": {
     "emails":[
       {
         "@type": "ContactChannelPreference",
         "pref": 1
       }
     ],
     "phones":[
       {
         "@type": "ContactChannelPreference",
         "pref": 2
       }
     ]
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="preferredLanguages" numbered="true" toc="default">
          <name>preferredLanguages</name>
          <t>Type : <tt>String[LanguagePreference[]]</tt> (optional).</t>
          <t>Defines the preferred languages for contacting the entity associated with this card.  The keys in the object <bcp14>MUST</bcp14> be <xref target="RFC5646" format="default"/> language tags.  The values are a (possibly empty) list of contact language preferences for this language.  A valid LanguagePreference object <bcp14>MUST</bcp14> have at least one of its properties set in addition to the <tt>@type</tt> property.</t>
          <t>A LanguagePreference object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>LanguagePreference</tt>.
              </li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
Defines the contexts in which to use this language.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
Defines the preference of this language in relation to other languages of the same contexts.  Also see <xref target="prop-pref"/>.</li>
          </ul>
          <figure anchor="example-preferredLanguages">
            <name><tt>preferredLanguages</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "preferredLanguages": {
     "en":[
       {
         "@type": "LanguagePreference",
         "contexts": { "work": true },
         "pref": 1
       }
     ],
     "fr":[
       {
         "@type": "LanguagePreference",
         "contexts": { "work": true },
         "pref": 2
       },
       {
         "@type": "LanguagePreference",
         "contexts": { "private": true }
       }
     ]
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="calendaring-and-scheduling-properties" numbered="true" toc="default">
        <name>Calendaring and Scheduling properties</name>
        <section anchor="calendars" numbered="true" toc="default">
          <name>calendars</name>
          <t>Type: <tt>Id[CalendarResource]</tt> (optional).</t>
          <t>These are resources for calendaring, such as calendars to lookup free-busy information for the entity represented by this card.  A CalendarResource object has all properties of the <xref target="resource">Resource</xref> data type, with the following additional definitions:</t>
          <ul>
            <li>The <tt>@type</tt> property value <bcp14>MUST</bcp14> be <tt>CalendarResource</tt>.</li>
          </ul>
          <t>The <tt>type</tt> property value <bcp14>MUST</bcp14> be one of the following, or be defined in a future RFC or vendor-specific:</t>
          <ul>
            <li><tt>calendar</tt> The resource is a calendar that contains entries such as calendar events or tasks.</li>
            <li><tt>freeBusy</tt> The resource allows for free-busy lookups, for example to schedule group events.</li>
          </ul>
          <figure anchor="example-calendars">
            <name><tt>calendars</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "calendars": {
       ...
       "calA": {
         "@type": "CalendarResource",
         "type": "calendar",
         "uri": "ftp://ftp.example.com/calA.ics",
         "mediaType": "text/calendar"
       },
      "project-a": {
        "@type": "CalendarResource",
        "type": "freeBusy",
        "uri": "ftp://example.com/busy/project-a.ifb",
        "mediaType": "text/calendar"
      },
    ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="schedulingAddresses" numbered="true" toc="default">
          <name>schedulingAddresses</name>
          <t>Type: <tt>Id[SchedulingAddress]</tt> (optional).</t>
          <t>The scheduling addresses by which the entity may receive calendar scheduling invitations.  A SchedulingAddress object has the following properties:</t>
          <ul spacing="normal">
            <li>
              <t>@type: <tt>String</tt> (mandatory).  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>SchedulingAddress</tt>.</t>
            </li>
            <li>uri: <tt>String</tt> (mandatory).
The address to use for calendar scheduling with this contact.  This <bcp14>MUST</bcp14> be a URI as defined in Section 3 of <xref target="RFC3986" format="default"/> and updates.</li>
            <li>contexts: <tt>String[Boolean]</tt> (optional).
The contexts in which to use this scheduling address.  Also see <xref target="prop-contexts"/>.</li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this scheduling address in relation to other scheduling address.  Also see <xref target="prop-pref"/>.</li>
            <li>label: <tt>String</tt> (optional).
                A custom label for the scheduling address, see <xref target="prop-label"/>.</li>
          </ul>
          <figure anchor="example-schedulingAddresses">
            <name><tt>schedulingAddresses</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "schedulingAddresses": {
     ...
     "sched1": {
       "@type": "SchedulingAddress",
       "uri": "mailto:janedoe@example.com"
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="address-and-location-properties" numbered="true" toc="default">
        <name>Address and Location properties</name>
        <section anchor="addresses" numbered="true" toc="default">
          <name>addresses</name>
          <t>Type: <tt>Id[Address]</tt> (optional).</t>
          <t>A map of address ids to Address objects, containing physical locations.  An Address object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Address</tt>.
              </li>
            <li>
              <t>street: <tt>StreetComponent[]</tt> (optional).
                  The street address.  The concatenation of the component values, separated by whitespace, <bcp14>SHOULD</bcp14> result in a valid street address for the address locale.  Doing so, implementations <bcp14>MAY</bcp14> ignore any <tt>separator</tt> components.  The StreetComponent object type is defined in the paragraph below.
              </t>
            </li>
            <li>locality: <tt>String</tt> (optional).
The city, town, village, post town, or other locality within which the street address may be found.</li>
            <li>region: <tt>String</tt> (optional).
The province, such as a state, county, or canton within which the locality may be found.</li>
            <li>country: <tt>String</tt> (optional).
The country name.</li>
            <li>postcode: <tt>String</tt> (optional).
The postal code, post code, ZIP code or other short code associated with the address by the relevant country's postal system.</li>
            <li>countryCode: <tt>String</tt> (optional).
The ISO-3166-1 country code.</li>
            <li>coordinates: <tt>String</tt> (optional).  A <xref target="RFC5870" format="default"/> "geo:" URI for the address.</li>
            <li>timeZone: <tt>String</tt> (optional).  Identifies the time zone this address is located in.  This <bcp14>MUST</bcp14> be a time zone name registered in the <eref target="https://www.iana.org/time-zones">IANA Time Zone Database</eref></li>
            <li>
              <t>contexts: <tt>String[Boolean]</tt> (optional).
The contexts of the address information.  The boolean value <bcp14>MUST</bcp14> be <tt>true</tt>.  In addition to the common contexts (<xref target="prop-contexts"/>), allowed key values are:
</t>
              <ul spacing="normal">
                <li><tt>billing</tt> An address to be used for billing.</li>
                <li><tt>delivery</tt> An address to be used for delivering physical items.</li>
              </ul>
            </li>
            <li>fullAddress: <tt>String</tt> (optional).
                This is the full address, including street, region or country.  The purpose of this property is to define an address, even if the individual address components are not known.  If the <tt>street</tt> property is set, the <tt>fullAddress</tt> property <bcp14>SHOULD NOT</bcp14> be set.  If both properties are set, applications <bcp14>SHOULD</bcp14> display the contents of the <tt>street</tt> property as the street address of the entity represented by this card.  Applications <bcp14>SHOULD NOT</bcp14> store the concatenated street component values of the <tt>street</tt> property in the <tt>fullAddress</tt> property value.
                </li>
            <li>pref: <tt>UnsignedInt</tt> (optional).
                The preference of this address in relation to other addresses.  Also see <xref target="prop-pref"/>.</li>
          </ul>
          <t>A StreetComponent object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>StreetComponent</tt>.
              </li>
            <li>
              <t>type: <tt>String</tt> (mandatory).
The type of this street component.  The value <bcp14>MUST</bcp14> be either one of the following values, registered in a future RFC, or a vendor-specific value (<xref target="vendor-specific-properties"/>):
</t>
              <ul spacing="normal">
                <li><tt>name</tt>.  The street name.
                </li>
                <li><tt>number</tt>.  The street number.
                </li>
                <li><tt>apartment</tt>.  The apartment number or identifier.
                </li>
                <li><tt>room</tt>.  The room number or identifier.
                </li>
                <li><tt>extension</tt>.  The extension designation or box number.
                </li>
                <li><tt>direction</tt>.  The cardinal direction, e.g.  "North".
                </li>
                <li><tt>building</tt>.  The building or building part this address is located in.
                </li>
                <li><tt>floor</tt>.  The floor this address is located on.
                </li>
                <li><tt>postOfficeBox</tt>.  The post office box number or identifier.
                </li>
                <li><tt>separator</tt>.  A separator for two street components.  The <tt>value</tt> property of the component includes the verbatim separator, for example a newline character.
                </li>
                <li><tt>unknown</tt>.  A street component value for which no type is known.
                </li>
              </ul>
            </li>
            <li>value: <tt>String</tt> (mandatory).
The value of this street component.</li>
          </ul>
          <figure anchor="example-addresses">
            <name><tt>addresses</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
    "addresses": {
      "k23" : {
        "@type": "Address",
        "contexts": { "work": true },
        "fullAddress": "54321 Oak St\nReston\nVA\n20190\nUSA",
        "street": [
           { "@type": "StreetComponent", "type": "name", "value": "Oak St" },
           { "@type": "StreetComponent", "type": "number", "value": "54321" }
        ],
        "locality": "Reston",
        "region": "VA",
        "country": "USA",
        "postcode": "20190",
        "countryCode": "US"
      },
      "k24": {
        "@type": "Address",
        "contexts": { "private": true },
        "fullAddress":  "12345 Elm St\nReston\nVA\n20190\nUSA",
        "street": [
           { "@type": "StreetComponent", "type": "name", "value": "Elm St" },
           { "@type": "StreetComponent", "type": "number", "value": "12345" }
        ],
        "locality": "Reston",
        "region": "VA",
        "country": "USA",
        "postcode": "20190",
        "countryCode": "US"
      }
    },
    ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="resource-properties" numbered="true" toc="default">
        <name>Resource properties</name>
        <section anchor="cryptoKeys" numbered="true" toc="default">
          <name>cryptoKeys</name>
          <t>Type: <tt>Id[CryptoResource]</tt> (optional).</t>
          <t>These are cryptographic resources such as public keys and certificates associated with the entity represented by this card.  A CryptoResource object has all properties of the <xref target="resource">Resource</xref> data type, with the following additional definitions:</t>
          <ul>
            <li>The <tt>@type</tt> property value <bcp14>MUST</bcp14> be <tt>CryptoResource</tt>.</li>
            <li>The <tt>type</tt> property value either is not set, is defined in a future RFC or vendor-specific.</li>
          </ul>
          <figure anchor="example-cryptoKeys">
            <name><tt>cryptoKeys</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "cryptoKeys": {
     ...
     "mykey": {
       "@type": "CryptoResource",
       "uri": "http://www.example.com/keys/jdoe.cer"
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="directories" numbered="true" toc="default">
          <name>directories</name>
          <t>Type: <tt>Id[DirectoryResource]</tt> (optional).</t>
          <t>These are directory service resources, such as entries in a directory or organizational directories for lookup.  A DirectoryResource object has all properties of the <xref target="resource">Resource</xref> data type, with the following additional definitions:</t>
          <ul>
            <li>The <tt>@type</tt> property value <bcp14>MUST</bcp14> be <tt>DirectoryResource</tt>.</li>
          </ul>
          <t>The <tt>type</tt> property value <bcp14>MUST</bcp14> be one of the following, or be defined in a future RFC or vendor-specific:</t>
          <ul>
            <li><tt>directory</tt> The resource is a directory service where the entity represented by this card is part of.  This typically is an organizational directory that also contains associated entities, e.g.  co-workers and management in a company directory.</li>
            <li><tt>entry</tt> The resource is a directory entry of the entity represented by this card.  In contrast to the <tt>directory</tt> type, this is the specific URI for the entity <em>within</em> a directory.</li>
          </ul>
          <t>In addition, the DirectoryResource object has the following property:</t>
          <ul>
            <li>listAs: <tt>UnsignedInt</tt> (optional).
              This defines the position of this directory resource in the list of all DirectoryResource objects having the same <tt>type</tt> in this card.  If set, the <tt>listAs</tt> value <bcp14>MUST</bcp14> be higher than zero.  Applications that display the directories of a Card in a list <bcp14>SHOULD</bcp14> order them such that entries with a higher property value sort after lower ones.  Multiple directory resources <bcp14>MAY</bcp14> have the same <tt>listAs</tt> property value, or none at all.  Sorting such entries is implementation-specific.
            </li>
          </ul>
          <figure anchor="example-directories">
            <name><tt>directories</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
    "directories": {
      ...
       "dir1": {
         "@type": "DirectoryResource",
         "type": "entry",
         "uri": "http://directory.example.com/address books/jdoe/Jean%20Dupont.vcf"
       },
      "dir2": {
        "@type": "DirectoryResource",
        "type": "directory",
        "uri": "ldap://ldap.tech.example/o=Example%20Tech,ou=Engineering",
        "pref": 1
      },
   ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="links" numbered="true" toc="default">
          <name>links</name>
          <t>Type: <tt>Id[LinkResource]</tt> (optional).</t>
          <t>These are links to resources that do not fit any of the other use-case specific resource properties.  A LinkResource object has all properties of the <xref target="resource">Resource</xref> data type, with the following additional definitions:</t>
          <ul>
            <li>The <tt>@type</tt> property value <bcp14>MUST</bcp14> be <tt>LinkResource</tt>.</li>
          </ul>
          <t>The <tt>type</tt> property value either is not set, or <bcp14>MUST</bcp14> be one of the following, or be defined in a future RFC or vendor-specific:</t>
          <ul>
            <li><tt>contact</tt> The resource is an URI by which the entity represented by this card may be contacted, including web forms or other media that require user interaction.</li>
          </ul>
          <figure anchor="example-links">
            <name><tt>links</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "links": {
     ...
     "link3": {
       "@type": "LinkResource",
       "type": "contact",
       "uri": "mailto:contact@example.com",
       "pref": 1
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="media" numbered="true" toc="default">
          <name>media</name>
          <t>Type: <tt>Id[MediaResource]</tt> (optional).</t>
          <t>These are media resources such as photographs, avatars, or sounds associated with the entity represented by this card.  A MediaResource object has all properties of the <xref target="resource">Resource</xref> data type, with the following additional definitions:</t>
          <ul>
            <li>The <tt>@type</tt> property value <bcp14>MUST</bcp14> be <tt>MediaResource</tt>.</li>
          </ul>
          <t>The <tt>type</tt> property value must be one of the following, or be defined in a future RFC or vendor-specific:</t>
          <ul>
            <li><tt>photo</tt> The resource is a photograph or avatar.</li>
            <li><tt>sound</tt> The resource is audio media, e.g.  to specify the proper pronunciation of the name property contents.</li>
            <li><tt>logo</tt> The resource is a graphic image or logo associated with entity represented by this card.</li>
          </ul>
          <figure anchor="example-media">
            <name><tt>media</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "media": {
     ...
      "res45": {
        "@type": "MediaResource",
        "type": "sound",
        "uri": "CID:JOHNQPUBLIC.part8.19960229T080000.xyzMail@example.com"
      },
     "res47": {
       "@type": "MediaResource",
       "type": "logo",
       "uri": "http://www.example.com/pub/logos/abccorp.jpg"
     },
      "res1": {
        "@type": "MediaResource",
        "type": "photo",
        "uri": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4..."
      },
      ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
      <section anchor="multilingual-properties" numbered="true" toc="default">
        <name>Multilingual properties</name>
        <section anchor="localizations" numbered="true" toc="default">
          <name>localizations</name>
          <t>Type: String[PatchObject] (optional).</t>
          <t>This property localizes property values in this Card to languages other than the main locale.  Its purpose is to provide language-specific alternatives to existing values, not to add new values.  In other words, a localized Card <bcp14>SHOULD NOT</bcp14> contain more information than its non-localized variant.</t>
          <t>The keys in the localizations property object are language tags <xref target="RFC5646"/>. The values are patch objects which localize the Card in the respective language tag.  The paths in the PatchObject are relative to the Card object that includes the localizations property.  A patch <bcp14>MUST NOT</bcp14> target the <tt>localizations</tt> property.</t>
          <t>Conceptually, a Card is localized as follows:</t>
          <ul>
            <li>Determine the language tag in which this Card should be localized in.</li>
            <li>If the localizations property includes a key for that language, obtain the PatchObject value.  If there is no such key, stop.</li>
            <li>Create a copy of the Card, but do not copy the localizations property.</li>
            <li>Apply all patches in the PatchObject to the copy of the Card.</li>
            <li>Optionally, set the <tt>locale</tt> property in the copy of the Card.</li>
            <li>Use the patched copy of the Card as the localized variant of the original Card.</li>
          </ul>
          <t>A patch in the PatchObject may patch a simple-typed property value, or a complex type.</t>
          <t><xref target="example-localizations-simple"/> shows how a single String property value is localized in the <tt>jp</tt> locale.</t>
          <figure anchor="example-localizations-simple">
            <artwork><![CDATA[
...
 "locale": "en",
 "addresses": {
  "addr1": {
    "@type": "Address",
    "locality": "Tokyo",
   }
 },
 "localizations": {
   "jp": {
      "addresses/addr1/locality":"東京"
   }
 }
...
   ]]></artwork>
          </figure>
          <t><xref target="example-localizations-complex"/> shows how a complete object property value is localized in the <tt>en</tt> locale.</t>
          <figure anchor="example-localizations-complex">
            <artwork><![CDATA[
...
 "locale": "ru",
 "name": {
   "@type": "Name",
   "components": [{
     "@type": "NameComponent",
     "type": "given",
     "value": "Фёдор"
   }, {
     "@type": "NameComponent",
     "type": "middle",
     "value": "Михайлович"
   }, {
      "@type": "NameComponent",
     "type": "surname",
     "value": "Достоевский"
   }]
 },
 "localizations": {
   "en": {
     "name": {
       "@type": "Name",
       "components": [{
         "@type": "NameComponent",
         "type": "given",
         "value": "Fyodor"
       }, {
         "@type": "NameComponent",
         "type": "middle",
         "value": "Mikhailovich"
       }, {
         "@type": "NameComponent",
         "type": "surname",
         "value": "Dostoevsky"
       }]
   }
 }
...
   ]]></artwork>
          </figure>
        </section>
      </section>
      <section anchor="additional-properties" numbered="true" toc="default">
        <name>Additional properties</name>
        <section anchor="anniversaries" numbered="true" toc="default">
          <name>anniversaries</name>
          <t>Type : Id[Anniversary] (optional).</t>
          <t>These are memorable dates and events for the entity represented by this card.  An Anniversary object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Anniversary</tt>.
              </li>
            <li>
              <t>type: <tt>String</tt> (optional).
Specifies the type of the anniversary.  This RFC predefines the following types, but implementations MAY use additional values:
</t>
              <ul spacing="normal">
                <li><tt>birth</tt>: a birthday anniversary</li>
                <li><tt>death</tt>: a deathday anniversary</li>
                <li><tt>wedding</tt>: a wedding day anniversary</li>
              </ul>
            </li>
            <li>
              <t>date: <tt>Timestamp|PartialDate</tt> (mandatory).</t>
              <t>The date of this anniversary in the Gregorian calendar.  This <bcp14>MUST</bcp14> either be a whole or partial calendar date or a complete UTC timestamp (see the definition of the Timestamp and PartialDate object types below).</t>
            </li>
            <li>place: Address (optional).
                An address associated with this anniversary, e.g.  the place of birth or death.</li>
          </ul>
          <t>A Timestamp object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Timestamp</tt>.
              </li>
            <li>utc: <tt>UTCDateTime</tt> (mandatory).  Specifies the point in time in UTC time.
          </li>
          </ul>
          <t>A PartialDate object represents a complete or partial calendar date in the Gregorian calendar.  It represents either a complete date, or a year, or a month in a year, or a day in a month.  It has the following properties, of which at least <tt>year</tt> or <tt>month</tt> and <tt>day</tt> <bcp14>MUST</bcp14> be set:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>PartialDate</tt>.
              </li>
            <li>year: <tt>UnsignedInt</tt> (optional).  This is the calendar year.</li>
            <li>month: <tt>UnsignedInt</tt> (optional).  This is the calendar month, represented as the integers 1 &lt;= month &lt;= 12.  If this property is set then either <tt>year</tt> or <tt>day</tt> <bcp14>MUST</bcp14> be set.</li>
            <li>day: <tt>UnsignedInt</tt> (optional).  This is the calendar month day, represented as the integers 1 &lt;= day &lt;= 31, depending on the validity within the month and year.  If this property is set then <tt>month</tt> <bcp14>MUST</bcp14> be set.</li>
            <li>calendarScale: <tt>String</tt> (optional).  This is the calendar system in which this date occurs, in lowercase.  This <bcp14>MUST</bcp14> be either a CLDR-registered calendar system name <xref target="RFC7529" format="default"/> or a vendor-specific value.  The year, month and day still <bcp14>MUST</bcp14> be represented in the Gregorian calendar.  Note that for calendar systems with leap months, the <tt>year</tt> property might be required to convert between the Gregorian calendar date and the respective calendar system.</li>
          </ul>
          <figure anchor="example-anniversaries">
            <name><tt>anniversaries</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
    "anniversaries": {
      "k8" : {
        "@type": "Anniversary",
        "type": "birth",
        "date": {
          "@type": "PartialDate",
          "year": 1953,
          "month": 4,
          "day": 15
        }
      },
      "k9" : {
        "@type": "Anniversary",
        "type": "death",
        "date": {
          "@type": "Timestamp",
          "utc": "1996-10-15T23:10:00Z"
        },
        "place": {
          "@type": "Address",
          "fullAddress": "4445 Courtright Street\nNew England, ND 58647\nU.S.A."
        }
      }
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="keywords" numbered="true" toc="default">
          <name>keywords</name>
          <t>Type: <tt>String[Boolean]</tt> (optional).
A set of free-text keywords, also known as <em>tags</em>.  The set is represented as an object, with each key being a keyword.  The boolean value <bcp14>MUST</bcp14> be <tt>true</tt>.</t>
          <figure anchor="example-keywords">
            <name><tt>keywords</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "keywords": {
     "internet": true,
     "IETF": true
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="notes" numbered="true" toc="default">
          <name>notes</name>
          <t>Type: <tt>Id[Note]</tt> (optional).</t>
          <t>Free-text notes associated with this card.  A Note object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Note</tt>.
            </li>
            <li>
              <t>note: <tt>String</tt> (mandatory).  The free text value of this note.</t>
            </li>
            <li>
              <t>created: <tt>UTCDateTime</tt> (optional).  The date and time when this note was created.</t>
            </li>
            <li>
              <t>author: <tt>Author</tt> (optional).  The author of this note.</t>
            </li>
          </ul>
          <t>An Author object has the following properties, of which at least one other than <tt>@type</tt> <bcp14>MUST</bcp14> be defined:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                 Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>Author</tt>.
            </li>
            <li>
              <t>name: <tt>String</tt> (optional).  The name of this author.</t>
            </li>
            <li>
              <t>uri: <tt>String</tt> (optional).  A URI value that identifies the author.</t>
            </li>
          </ul>
          <figure anchor="example-notes">
            <name><tt>notes</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
    "notes": {
        "n1" : {
           "note": "This fax number is operational 0800 to 1715 EST, Mon-Fri.",
           "created": "2022-11-23T15:01:32Z",
           "author": {
             "@type": "Author",
             "name": "John"
           }
        }
    },
   ...
        ]]></sourcecode>
          </figure>
        </section>
        <section anchor="personalInfo" numbered="true" toc="default">
          <name>personalInfo</name>
          <t>Type: <tt>Id[PersonalInfo]</tt> (optional).</t>
          <t>Defines personal information about the entity represented by this card.
A PersonalInfo object has the following properties:</t>
          <ul spacing="normal">
            <li>@type: <tt>String</tt> (mandatory).
                  Specifies the type of this object.  This <bcp14>MUST</bcp14> be <tt>PersonalInfo</tt>.
              </li>
            <li>
              <t>type: <tt>String</tt> (mandatory).
Specifies the type for this personal information.  The value <bcp14>MUST</bcp14> be one of the following, or be registered in a future RFC or vendor-specific (<xref target="vendor-specific-properties"/>):
</t>
              <ul spacing="normal">
                <li><tt>expertise</tt>: a field of expertise or credential</li>
                <li><tt>hobby</tt>: a hobby</li>
                <li><tt>interest</tt>: an interest</li>
              </ul>
            </li>
            <li>value: <tt>String</tt> (mandatory).
The actual information.  This is free-text, but future specifications MAY restrict allowed values depending on the type of this PersonalInfo.</li>
            <li>level: <tt>String</tt> (optional).
                Indicates the level of expertise, or engagement in hobby or interest.  The value <bcp14>MUST</bcp14> be one of the following, or be registered in a future RFC or vendor-specific (<xref target="vendor-specific-properties"/>): <tt>high</tt>, <tt>medium</tt> and <tt>low</tt>.</li>
            <li>listAs: <tt>UnsignedInt</tt> (optional).
                This defines the position of this personal information in the list of all PersonalInfo objects having the same <tt>type</tt> in this card.  If set, the <tt>listAs</tt> value <bcp14>MUST</bcp14> be higher than zero.  Applications that display personal information entries in a list <bcp14>SHOULD</bcp14> order them such that entries with a higher property value sort after lower ones.  Multiple personal information entries <bcp14>MAY</bcp14> have the same <tt>listAs</tt> property value, or none at all.  Sorting such entries is implementation-specific.
            </li>
            <li>label: <tt>String</tt> (optional).
                A custom label.  See <xref target="prop-label"/>.</li>
          </ul>
          <figure anchor="example-personalInfo">
            <name><tt>personalInfo</tt> example</name>
            <sourcecode name=""><![CDATA[
   ...
   "personalInfo": {
     ...
     "pi2" : {
       "@type": "PersonalInfo",
       "type": "expertise",
       "value": "chemistry",
       "level": "high"
     },
     "pi1" : {
       "@type": "PersonalInfo",
       "type": "hobby",
       "value": "reading",
       "level": "high"
     },
     "pi6" : {
       "@type": "PersonalInfo",
       "type": "interest",
       "value": "r&b music",
       "level": "medium"
     },
     ...
   },
   ...
        ]]></sourcecode>
          </figure>
        </section>
      </section>
    </section>
    <section anchor="implementation-status" numbered="true" toc="default">
      <name>Implementation Status</name>
      <t>NOTE: Please remove this section and the reference to <xref target="RFC7942" format="default"/> prior
to publication as an RFC.
This section records the status of known implementations of the
protocol defined by this specification at the time of posting of this
Internet-Draft, and is based on a proposal described in
<xref target="RFC7942" format="default"/>.  The description of implementations in this section is
intended to assist the IETF in its decision processes in progressing
drafts to RFCs.  Please note that the listing of any individual
implementation here does not imply endorsement by the IETF.
Furthermore, no effort has been spent to verify the information
presented here that was supplied by IETF contributors.  This is not
intended as, and must not be construed to be, a catalog of available
implementations or their features.  Readers are advised to note that
other implementations may exist.
According to <xref target="RFC7942" format="default"/>, "this will allow reviewers and working groups
to assign due consideration to documents that have the benefit of
running code, which may serve as evidence of valuable experimentation
and feedback that have made the implemented protocols more mature.
It is up to the individual working groups to use this information as
they see fit".</t>
      <section anchor="iit-cnr-registro-it-rdap-server" numbered="true" toc="default">
        <name>IIT-CNR/Registro.it</name>
        <ul spacing="normal">
          <li>Responsible Organization: Institute of Informatics and Telematics
of National Research Council (IIT-CNR)/Registro.it</li>
          <li>Location: <eref target="https://rdap.pubtest.nic.it/">https://rdap.pubtest.nic.it/</eref></li>
          <li>Description: This implementation includes support for RDAP queries
using data from the public test environment of .it ccTLD.  The RDAP server returns responses including Card in place of jCard when queries contain the parameter jscard=1.</li>
          <li>Level of Maturity: This is an "alpha" test implementation.</li>
          <li>Coverage: This implementation includes all of the features described in this specification.</li>
          <li>Contact Information: Mario Loffredo, mario.loffredo@iit.cnr.it</li>
        </ul>
      </section>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <section anchor="iana-mime-type" numbered="true" toc="default">
        <name>Media Type Registration</name>
        <t>This document defines a media type for use with JSContact data formatted in JSON.</t>
        <dl newline="false" spacing="normal">
          <dt>Type name:</dt>
          <dd>application</dd>
          <dt>Subtype name:</dt>
          <dd>jscontact+json</dd>
          <dt>Required parameters:</dt>
          <dd>
            <t>type</t>
            <t>The <tt>type</tt> parameter conveys the type of the JSContact data in the body part.  The allowed parameter values correspond to the <tt>@type</tt> property of the JSON-formatted JSContact object in the body.  This RFC specifies a single type, but future RFC documents <bcp14>MAY</bcp14> extend this list:</t>
            <dl newline="false" spacing="normal">
              <dt><tt>card</tt>:</dt>
              <dd>The <tt>@type</tt> property value of the JSContact object <bcp14>MUST</bcp14> be
		          <tt>Card</tt>.</dd>
            </dl>
            <t>The parameter <bcp14>MUST NOT</bcp14> occur more than once.</t>
          </dd>
          <dt>Optional parameters:</dt>
          <dd>
            <t>version</t>
            <t>The <tt>version</tt> parameter conveys the version of the JSContact object in the body part.  Its value <bcp14>MUST</bcp14> match the value of the <tt>version</tt> property of the JSContact object.</t>
          </dd>
          <dt>Encoding considerations:</dt>
          <dd>This is the same as the encoding considerations of application/json, as specified in <xref target="RFC8259" sectionFormat="of" section="11"/>.</dd>
          <dt>Security considerations:</dt>
          <dd> See <xref target="security-considerations" format="default"/> of this document.</dd>
          <dt>Interoperability considerations:</dt>
          <dd>While JSContact is designed to avoid ambiguities as much as possible, when converting objects from other contact formats to/from JSContact, it is possible that differing representations for the same logical data or ambiguities in interpretation might arise.  The semantic equivalence of two JSContact objects may be determined differently by different applications, for example, where URL values differ in case between the two objects.</dd>
          <dt>Published specification:</dt>
          <dd>TBD</dd>
          <dt>Applications that use this media type:</dt>
          <dd>Applications that currently make use of the text/vcard media type can use this as an alternative.</dd>
          <dt>Fragment identifier considerations:</dt>
          <dd>A JSON Pointer fragment identifier may be used, as defined in <xref target="RFC6901" sectionFormat="comma" section="6"/>.</dd>
          <dt>Additional information:</dt>
          <dd>
            <dl newline="false" spacing="normal">
              <dt>Magic number(s):</dt>
              <dd>N/A</dd>
              <dt>File extensions(s):</dt>
              <dd>N/A</dd>
              <dt>Macintosh file type code(s):</dt>
              <dd>N/A</dd>
            </dl>
          </dd>
          <dt>Person &amp; email address to contact for further information:</dt>
          <dd>calsify@ietf.org</dd>
          <dt>Intended usage:</dt>
          <dd>COMMON</dd>
          <dt>Restrictions on usage:</dt>
          <dd>N/A</dd>
          <dt>Author:</dt>
          <dd>See the "Author's Address" section of this document.</dd>
          <dt>Change controller:</dt>
          <dd>IETF</dd>
        </dl>
      </section>
      <section anchor="iana-property-registry" numbered="true" toc="default">
        <name>Creation of the "JSContact Properties" Registry</name>
        <t>IANA has created the "JSContact Properties" registry to allow interoperability of extensions to JSContact objects.</t>
        <t>This registry follows the Expert Review process (<xref target="RFC8126" sectionFormat="comma" section="4.5"/>).  If the "Intended Usage" field is <tt>common</tt>, sufficient documentation is required to enable interoperability.  Preliminary community review for this registry is optional but strongly encouraged.</t>
        <t>A registration can have an intended usage of <tt>common</tt>, <tt>reserved</tt>, or <tt>obsolete</tt>.  IANA will list registrations with a common usage designation prominently and separately from those with other intended usage values.</t>
        <t>A <tt>reserved</tt> registration reserves a property name without assigning semantics to avoid name collisions with future extensions or protocol use.</t>
        <t>An <tt>obsolete</tt> registration denotes a property that is no longer expected to be added by up-to-date systems.  A new property has probably been defined covering the obsolete property's semantics.</t>
        <t>Every registration <bcp14>MUST</bcp14> define the version of the JSContact specification on which the definition of the newly registered, updated or obsoleted item is based on.  This typically is the latest specification version that is in effect when the property gets registered.  The version <bcp14>MUST</bcp14> be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</t>
        <t>The JSContact property registration procedure is not a formal standards process but rather an administrative procedure intended to allow community comment and check it is coherent without excessive time delay.  It is designed to encourage vendors to document and register new properties they add for use cases not covered by the original specification, leading to increased interoperability.</t>
        <section anchor="iana-property-registry-preliminary-community-review" numbered="true" toc="default">
          <name>Preliminary Community Review</name>
          <t>Notice of a potential new registration <bcp14>SHOULD</bcp14> be sent to the Calext mailing list
	    &lt;calsify@ietf.org&gt; for review.  This mailing list is appropriate to solicit community feedback
	      on a proposed new property.</t>
          <t>Property registrations must be marked with their intended use: "common", "reserved", or
	    "obsolete".</t>
          <t>The intent of the public posting to this list is to solicit comments and feedback on the choice of
	    the property name, the unambiguity of the specification document, and a review of any
	      interoperability or security considerations.  The submitter may submit a revised registration proposal
	        or abandon the registration completely at any time.</t>
        </section>
        <section anchor="iana-property-registry-submit-request-to-iana" numbered="true" toc="default">
          <name>Submit Request to IANA</name>
          <t>Registration requests can be sent to &lt;iana@iana.org&gt;.</t>
        </section>
        <section anchor="iana-property-registry-designated-expert-review" numbered="true" toc="default">
          <name>Designated Expert Review</name>
          <t>The primary concern of the designated expert (DE) is preventing name collisions and encouraging
	    the submitter to document security and privacy considerations.  For a common-use registration, the DE
	      is expected to confirm that suitable documentation, as described in <xref target="RFC8126" sectionFormat="of" section="4.6"/>, is available to ensure interoperability.  That documentation will
	        usually be in an RFC, but simple definitions are likely to use a web/wiki page, and if a sentence or
		  two is deemed sufficient, it could be described in the registry itself.  The DE should also verify that
		    the property name does not conflict with work that is active or already published within the IETF.  A
		      published specification is not required for reserved or obsolete registrations.</t>
          <t>The DE will either approve or deny the registration request and publish a notice of the decision
	    to the Calext WG mailing list or its successor, as well as inform IANA.  A denial notice must be
	      justified by an explanation, and, in the cases where it is possible, concrete suggestions on how the
	        request can be modified so as to become acceptable should be provided.</t>
        </section>
        <section anchor="iana-property-registry-change-procedures" numbered="true" toc="default">
          <name>Change Procedures</name>
          <t>Once a JSContact property has been published by IANA, the change controller may request a
	    change to its definition.  The same procedure that would be appropriate for the original registration
	      request is used to process a change request.</t>
          <t>JSContact property registrations may not be deleted; properties that are no longer believed appropriate for use can be declared obsolete by a change to their "intended usage" field; such properties will be clearly marked in the IANA registry.</t>
          <t>Significant changes to a JSContact property's definition should be requested only when there are
	    serious omissions or errors in the published specification, as such changes may cause
	      interoperability issues.  When review is required, a change request may be denied if it renders
	        entities that were valid under the previous definition invalid under the new definition.</t>
          <t>The owner of a JSContact property may pass responsibility to another person or agency by
	    informing IANA; this can be done without discussion or review.</t>
        </section>
        <section anchor="iana-property-registry-template" numbered="true" toc="default">
          <name>"JSContact Properties" Registry Template</name>
          <dl newline="false">
            <dt>Property Name:</dt>
            <dd>This is the name of the property.  The property name <bcp14>MUST NOT</bcp14> already be
		    registered for
		        any of the object types listed in the "Property Context" field of this registration.  Other object
			    types <bcp14>MAY</bcp14> already have registered a different property with the same name; however,
			        the same name <bcp14>SHOULD</bcp14> only be used when the semantics are analogous.</dd>
            <dt>Property Type:</dt>
            <dd> This is the type of this property, using type signatures, as specified in <xref target="type-signatures" format="default"/>.
		    The property type <bcp14>MUST</bcp14> be registered in the "JSContact Types" registry.</dd>
            <dt>Property Context:</dt>
            <dd>This is a comma-separated list of JSContact object types this property is allowed on.</dd>
            <dt>Reference or Description:</dt>
            <dd>This is a brief description or RFC number and section reference where the property is specified (omitted for "reserved" property names). This must include references to all RFC documents where this property is introduced or updated.</dd>
            <dt>Intended Usage:</dt>
            <dd>This may be "common", "reserved", or "obsolete".</dd>
            <dt>Since Version:</dt>
            <dd>This defines the JSContact version on which this property definition is based on.  The version <bcp14>MUST</bcp14> be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Until Version:</dt>
            <dd>This defines the JSContact version after which this property got obsoleted and <bcp14>MUST NOT</bcp14> be used in later versions.  The Until Version value either <bcp14>MUST</bcp14> not be set, or be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Change Controller:</dt>
            <dd>This is who may request a change to this entry's definition (<tt>IETF</tt> for RFCs from the IETF stream).</dd>
          </dl>
        </section>
        <section anchor="iana-property-registry-contents" numbered="true" toc="default">
          <name>Initial Contents for the "JSContact Properties" Registry</name>
          <t>The following table lists the initial <tt>common</tt> usage entries of the "JSContact Properties" registry.  The Since Version for all properties is <tt>1.0</tt>.  The Until Version for all properties is not set.  All RFC section references are for this document.  The change controller for all these properties is <tt>IETF</tt>.</t>
          <table anchor="tab-iana-property-registry" align="center">
            <name>Initial Contents of the "JSContact Properties" Registry</name>
            <thead>
              <tr>
                <th align="left">Property Name</th>
                <th align="left">Property Type</th>
                <th align="left">Property Context</th>
                <th align="left">Reference or Description</th>
              </tr>
            </thead>
            <!-- Everything in here should be sorted alphabetically: table entries by property name, the references for each property alphabetically by the object type or property they refer to -->
            <tbody>
              <tr>
                <td align="left">@type</td>
                <td align="left">String</td>
                <td align="left">Address, Anniversary, Author, Card, CalendarResource, ContactChannelPreference, CryptoResource, DirectoryResource, EmailAddress, LanguagePreference, LinkResource, MediaResource, Name, NameComponent, NickName, Note, OnlineService, Organization, OrgUnit, PartialDate,PersonalInfo, Phone, Pronouns, Relation, Resource, SchedulingAddress, SpeakToAs, StreetComponent, Timestamp, Title</td>
                <td align="left"><xref target="addresses" format="default"/>, <xref target="anniversaries" format="default"/>, <xref target="cardtype" format="default"/>, <xref target="calendars" format="default"/>, <xref target="preferredContactChannels" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="emails" format="default"/>, <xref target="preferredLanguages" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="name" format="default"/>, <xref target="nickNames" format="default"/>, <xref target="notes" format="default"/>, <xref target="onlineServices" format="default"/>, <xref target="organizations" format="default"/>, <xref target="personalInfo" format="default"/>, <xref target="phones" format="default"/>, <xref target="speakToAs" format="default"/>, <xref target="relatedTo" format="default"/>, <xref target="schedulingAddresses" format="default"/>, <xref target="titles" format="default"/></td>
              </tr>
              <tr>
                <td align="left">@version</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="prop-version" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">address</td>
                <td align="left">String</td>
                <td align="left">EmailAddress</td>
                <td align="left">
                  <xref target="emails" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">addresses</td>
                <td align="left">Id[Address]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">anniversaries</td>
                <td align="left">Id[Anniversary]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">author</td>
                <td align="left">Author</td>
                <td align="left">Note</td>
                <td align="left">
                  <xref target="notes" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">calendars</td>
                <td align="left">Id[CalendarResource]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="calendars" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">calendarScale</td>
                <td align="left">String</td>
                <td align="left">PartialDate</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">components</td>
                <td align="left">NameComponent[]</td>
                <td align="left">Name</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">contexts</td>
                <td align="left">String[Boolean]</td>
                <td align="left">Address, NickName, Pronouns, EmailAddress, OnlineService, Phone, ContactChannelPreference, LanguagePreference, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, Organization, SchedulingAddress</td>
                <td align="left"><xref target="prop-contexts" format="default"/>, <xref target="addresses" format="default"/>, <xref target="nickNames" format="default"/>, <xref target="speakToAs" format="default"/>, <xref target="emails" format="default"/>, <xref target="onlineServices" format="default"/>, <xref target="phones" format="default"/>, <xref target="preferredContactChannels" format="default"/>, <xref target="preferredLanguages" format="default"/>, <xref target="resource" format="default"/>, <xref target="calendars" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="organizations" format="default"/>, <xref target="schedulingAddresses" format="default"/></td>
              </tr>
              <tr>
                <td align="left">coordinates</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">country</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">countryCode</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">created</td>
                <td align="left">UTCDateTime</td>
                <td align="left">Card, Note</td>
                <td align="left"><xref target="created" format="default"/>, <xref target="notes" format="default"/></td>
              </tr>
              <tr>
                <td align="left">date</td>
                <td align="left">Timestamp|PartialDate</td>
                <td align="left">Anniversary</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">day</td>
                <td align="left">UnsignedInt</td>
                <td align="left">PartialDate</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">directories</td>
                <td align="left">Id[DirectoryResource]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="directories" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">emails</td>
                <td align="left">Id[EmailAddress]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="emails" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">features</td>
                <td align="left">String[Boolean]</td>
                <td align="left">Phone</td>
                <td align="left">
                  <xref target="phones" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">fullAddress</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">fullName</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="fullName" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">grammaticalGender</td>
                <td align="left">String</td>
                <td align="left">SpeakToAs</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">keywords</td>
                <td align="left">String[Boolean]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="keywords" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">kind</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="kind" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">label</td>
                <td align="left">String</td>
                <td align="left">EmailAddress, OnlineService, Phone, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, PersonalInfo, SchedulingAddress</td>
                <td align="left"><xref target="prop-label" format="default"/>, <xref target="emails" format="default"/>, <xref target="onlineServices" format="default"/>, <xref target="phones" format="default"/>, <xref target="resource" format="default"/>, <xref target="calendars" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="personalInfo" format="default"/>, <xref target="schedulingAddresses" format="default"/></td>
              </tr>
              <tr>
                <td align="left">level</td>
                <td align="left">String</td>
                <td align="left">PersonalInfo</td>
                <td align="left">
                  <xref target="personalInfo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">links</td>
                <td align="left">Id[LinkResource]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="links" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">listAs</td>
                <td align="left">UnsignedInt</td>
                <td align="left">DirectoryResource, PersonalInfo</td>
                <td align="left"><xref target="directories" format="default"/>, <xref target="personalInfo" format="default"/></td>
              </tr>
              <tr>
                <td align="left">locale</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="locale" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">locality</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">localizations</td>
                <td align="left">String[PatchObject]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="localizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">media</td>
                <td align="left">Id[MediaResource]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="media" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">mediaType</td>
                <td align="left">String</td>
                <td align="left">CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource</td>
                <td align="left"><xref target="resource" format="default"/>, <xref target="calendars" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/></td>
              </tr>
              <tr>
                <td align="left">members</td>
                <td align="left">String[Boolean]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="members" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">month</td>
                <td align="left">UnsignedInt</td>
                <td align="left">PartialDate</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">name</td>
                <td align="left">Name</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">name</td>
                <td align="left">String</td>
                <td align="left">Author, NickName, Organization, OrgUnit, Title</td>
                <td align="left"><xref target="notes" format="default"/>, <xref target="nickNames" format="default"/>, <xref target="organizations" format="default"/>, <xref target="titles" format="default"/></td>
              </tr>
              <tr>
                <td align="left">nickNames</td>
                <td align="left">Id[NickName]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="nickNames" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">note</td>
                <td align="left">String</td>
                <td align="left">Note</td>
                <td align="left">
                  <xref target="notes" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">notes</td>
                <td align="left">Id[Note]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="notes" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">number</td>
                <td align="left">String</td>
                <td align="left">Phone</td>
                <td align="left">
                  <xref target="phones" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">onlineServices</td>
                <td align="left">Id[OnlineService]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="onlineServices" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">organization</td>
                <td align="left">String</td>
                <td align="left">Title</td>
                <td align="left">
                  <xref target="titles" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">organizations</td>
                <td align="left">Id[Organization]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="organizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">personalInfo</td>
                <td align="left">Id[PersonalInfo]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="personalInfo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">phones</td>
                <td align="left">Id[Phone]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="phones" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">place</td>
                <td align="left">Address</td>
                <td align="left">Anniversary</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">postcode</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">pref</td>
                <td align="left">UnsignedInt</td>
                <td align="left">Address, NickName, Pronouns, EmailAddress, OnlineService, Phone, ContactChannelPreference, LanguagePreference, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, SchedulingAddress</td>
                <td align="left"><xref target="prop-pref" format="default"/>, <xref target="addresses" format="default"/>, <xref target="nickNames" format="default"/>, <xref target="speakToAs" format="default"/>, <xref target="emails" format="default"/>, <xref target="onlineServices" format="default"/>, <xref target="phones" format="default"/>, <xref target="preferredContactChannels" format="default"/>, <xref target="preferredLanguages" format="default"/>, <xref target="resource" format="default"/>, <xref target="calendars" format="default"/><xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="schedulingAddresses" format="default"/></td>
              </tr>
              <tr>
                <td align="left">preferredContactChannels</td>
                <td align="left">String[ContactChannelPreference[]]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="preferredContactChannels" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">preferredLanguages</td>
                <td align="left">String[LanguagePreference[]]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="preferredLanguages" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">prodId</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="prodId" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">pronouns</td>
                <td align="left">Id[Pronouns]</td>
                <td align="left">SpeakToAs</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">pronouns</td>
                <td align="left">String</td>
                <td align="left">Pronouns</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">rank</td>
                <td align="left">UnsignedInt</td>
                <td align="left">NameComponent</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">region</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">relatedTo</td>
                <td align="left">String[Relation]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="relatedTo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">relation</td>
                <td align="left">String[Boolean]</td>
                <td align="left">Relation</td>
                <td align="left">
                  <xref target="relatedTo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">schedulingAddresses</td>
                <td align="left">Id[SchedulingAddress]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="schedulingAddresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">service</td>
                <td align="left">String</td>
                <td align="left">OnlineService</td>
                <td align="left">
                  <xref target="onlineServices" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">sortAs</td>
                <td align="left">String[String]</td>
                <td align="left">Name</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">sortAs</td>
                <td align="left">String</td>
                <td align="left">Organization, OrgUnit</td>
                <td align="left">
                  <xref target="organizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">speakToAs</td>
                <td align="left">SpeakToAs</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">street</td>
                <td align="left">StreetComponent[]</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">timeZone</td>
                <td align="left">String</td>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">titles</td>
                <td align="left">Id[Title]</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="titles" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">type</td>
                <td align="left">String</td>
                <td align="left">Anniversary, NameComponent, Title, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, OnlineService, StreetComponent, PersonalInfo</td>
                <td align="left"><xref target="anniversaries" format="default"/>, <xref target="name" format="default"/>, <xref target="titles" format="default"/>, <xref target="resource" format="default"/>, <xref target="calendars" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="onlineServices" format="default"/>, <xref target="addresses" format="default"/>, <xref target="personalInfo" format="default"/></td>
              </tr>
              <tr>
                <td align="left">uid</td>
                <td align="left">String</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="uid" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">units</td>
                <td align="left">OrgUnit[]</td>
                <td align="left">Organization</td>
                <td align="left">
                  <xref target="organizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">updated</td>
                <td align="left">UTCDateTime</td>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="updated" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">uri</td>
                <td align="left">String</td>
                <td align="left">Author, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, SchedulingAddress</td>
                <td align="left"><xref target="notes" format="default"/>, <xref target="resource" format="default"/>, <xref target="calendars" format="default"/>, <xref target="cryptoKeys" format="default"/>, <xref target="directories" format="default"/>, <xref target="links" format="default"/>, <xref target="media" format="default"/>, <xref target="schedulingAddresses" format="default"/></td>
              </tr>
              <tr>
                <td align="left">user</td>
                <td align="left">String</td>
                <td align="left">OnlineService</td>
                <td align="left">
                  <xref target="onlineServices" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">utc</td>
                <td align="left">UTCDateTime</td>
                <td align="left">Timestamp</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">value</td>
                <td align="left">String</td>
                <td align="left">NameComponent, StreetComponent, PersonalInfo</td>
                <td align="left"><xref target="name" format="default"/>, <xref target="addresses" format="default"/>, <xref target="personalInfo" format="default"/></td>
              </tr>
              <tr>
                <td align="left">year</td>
                <td align="left">UnsignedInt</td>
                <td align="left">PartialDate</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
            </tbody>
          </table>
          <t>The following table lists the initial <tt>reserved</tt> usage entries of the "JSContact Properties" registry.  All RFC section references are for this document.  The change controller for all these properties is <tt>IETF</tt>.</t>
          <table anchor="tab-iana-reserved-property-registry" align="center">
            <name>Initial Contents of the "JSContact Properties" Registry</name>
            <thead>
              <tr>
                <th align="left">Property Name</th>
                <th align="left">Property Type</th>
                <th align="left">Property Context</th>
                <th align="left">Reference or Description</th>
                <th align="left">Intended Usage</th>
              </tr>
            </thead>
            <!-- Everything in here should be sorted alphabetically: table entries by property name, the references for each property alphabetically by the object type or property they refer to -->
            <tbody>
              <tr>
                <td align="left">extra</td>
                <td align="left">not applicable</td>
                <td align="left">not applicable</td>
                <td align="left">
                  <xref target="reserved-prop-names" format="default"/>
                </td>
                <td align="left">reserved</td>
              </tr>
            </tbody>
          </table>
        </section>
      </section>
      <section anchor="iana-type-registry" numbered="true" toc="default">
        <name>Creation of the "JSContact Types" Registry</name>
        <t>IANA has created the "JSContact Types" registry to avoid name collisions and provide a complete reference for all data types used for JSContact property values.  The registration process is the same as for the "JSContact Properties" registry, as defined in <xref target="iana-property-registry" format="default"/>.</t>
        <section anchor="iana-type-registry-template" numbered="true" toc="default">
          <name>"JSContact Types" Registry Template</name>
          <dl newline="false">
            <dt>Type Name:</dt>
            <dd>the name of the type</dd>
            <dt>Reference or Description:</dt>
            <dd>a brief description or RFC number and section reference where the Type is specified (may be omitted for "reserved" type names)</dd>
            <dt>Intended Usage:</dt>
            <dd>common, reserved, or obsolete</dd>
            <dt>Since Version:</dt>
            <dd>This defines the JSContact version on which this type definition is based on.  The version <bcp14>MUST</bcp14> be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Until Version:</dt>
            <dd>This defines the JSContact version after which this type definition got obsoleted and <bcp14>MUST NOT</bcp14> be used in later versions.  The Until Version value either <bcp14>MUST</bcp14> be not set, or one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Change Controller:</dt>
            <dd>who may request a change to this entry's definition (<tt>IETF</tt> for RFCs from the IETF stream)</dd>
          </dl>
        </section>
        <section anchor="iana-type-registry-contents" numbered="true" toc="default">
          <name>Initial Contents for the "JSContact Types" Registry</name>
          <t>The following table lists the initial <tt>common</tt> usage entries of the JSContact Types registry.  The Since Version for all types is <tt>1.0</tt>.  The Until Version for all types is not set.  All RFC section references are for this document.  The change controller for all these properties is <tt>IETF</tt>.</t>
          <table anchor="tab-iana-type-registry-common" align="left">
            <name>Initial Contents of the "JSContact Types" Registry</name>
            <thead>
              <tr>
                <th align="left">Type Name</th>
                <th align="left">Reference or Description</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">Address</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Anniversary</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Author</td>
                <td align="left">
                  <xref target="notes" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Boolean</td>
                <td align="left">
                  <xref target="type-signatures" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">CalendarResource</td>
                <td align="left">
                  <xref target="calendars" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Card</td>
                <td align="left">
                  <xref target="card" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">ContactChannelPreference</td>
                <td align="left">
                  <xref target="preferredContactChannels" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">CryptoResource</td>
                <td align="left">
                  <xref target="cryptoKeys" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">DirectoryResource</td>
                <td align="left">
                  <xref target="directories" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">EmailAddress</td>
                <td align="left">
                  <xref target="emails" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Id</td>
                <td align="left">
                  <xref target="id" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Int</td>
                <td align="left">
                  <xref target="int-unsignedint" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">LanguagePreference</td>
                <td align="left">
                  <xref target="preferredLanguages" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">LinkResource</td>
                <td align="left">
                  <xref target="links" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">MediaResource</td>
                <td align="left">
                  <xref target="media" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Name</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">NameComponent</td>
                <td align="left">
                  <xref target="name" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">NickName</td>
                <td align="left">
                  <xref target="nickNames" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Note</td>
                <td align="left">
                  <xref target="notes" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">OnlineService</td>
                <td align="left">
                  <xref target="onlineServices" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Organization</td>
                <td align="left">
                  <xref target="organizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">OrgUnit</td>
                <td align="left">
                  <xref target="organizations" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">PartialDate</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">PersonalInfo</td>
                <td align="left">
                  <xref target="personalInfo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Phone</td>
                <td align="left">
                  <xref target="phones" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Pronouns</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Relation</td>
                <td align="left">
                  <xref target="relatedTo" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">SchedulingAddress</td>
                <td align="left">
                  <xref target="schedulingAddresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">SpeakToAs</td>
                <td align="left">
                  <xref target="speakToAs" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">StreetComponent</td>
                <td align="left">
                  <xref target="addresses" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Timestamp</td>
                <td align="left">
                  <xref target="anniversaries" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">Title</td>
                <td align="left">
                  <xref target="titles" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">UnsignedInt</td>
                <td align="left">
                  <xref target="int-unsignedint" format="default"/>
                </td>
              </tr>
              <tr>
                <td align="left">UTCDateTime</td>
                <td align="left">
                  <xref target="utcdatetime" format="default"/>
                </td>
              </tr>
            </tbody>
          </table>
          <t>The following table lists the initial <tt>reserved</tt> usage entries of the JSContact Types registry.  All types are for version <tt>1.0</tt>.  All RFC section references are for this document.  The change controller for all these properties is <tt>IETF</tt>.</t>
          <table anchor="tab-iana-type-registry-reserved" align="left">
            <name>Initial Contents of the "JSContact Types" Registry</name>
            <thead>
              <tr>
                <th align="left">Type Name</th>
                <th align="left">Reference or Description</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">Resource</td>
                <td align="left">
                  <xref target="resource" format="default"/>
                </td>
              </tr>
            </tbody>
          </table>
        </section>
      </section>
      <section anchor="iana-enum-registry" numbered="true" toc="default">
        <name>Creation of the "JSContact Enum Values" Registry</name>
        <t>IANA has created the "JSContact Enum Values" registry to allow interoperable extension of semantics for properties with enumerable values.  Each such property will have a subregistry of allowed values.  The registration process for a new enum value or adding a new enumerable property is the same as for the "JSContact Properties" registry, as defined in <xref target="iana-property-registry" format="default"/>.</t>
        <section anchor="iana-enum-registry-registry-template" numbered="true" toc="default">
          <name>"JSContact Enum Values" Registry Property Template</name>
          <t>This template is for adding a subregistry for a new enumerable property to the "JSContact Enum" registry.</t>
          <dl newline="false">
            <dt>Property Name:</dt>
            <dd>These are the name(s) of the property or properties where these values may be used.  This <bcp14>MUST</bcp14> be registered in the "JSContact Properties" registry.</dd>
            <dt>Context:</dt>
            <dd>This is the list of allowed object types where the property or properties may appear, as registered in the "JSContact Properties" registry.  This disambiguates where there may be two distinct properties with the same name in different contexts.</dd>
            <dt>Since Version:</dt>
            <dd>This defines the JSContact version on which this enum value definition is based on.  The version <bcp14>MUST</bcp14> be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Until Version:</dt>
            <dd>This defines the JSContact version after which this enum value definition got obsoleted and <bcp14>MUST NOT</bcp14> be used in later versions.  The Until Version value either <bcp14>MUST</bcp14> be not set, or one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Change Controller:</dt>
            <dd> (<tt>IETF</tt> for properties defined in RFCs from the IETF stream).</dd>
            <dt>Initial Contents:</dt>
            <dd>This is the initial list of defined values for this enum, using the template defined in <xref target="iana-enum-registry-value-template" format="default"/>.  A subregistry will be created with these values for this property name/context tuple.</dd>
          </dl>
        </section>
        <section anchor="iana-enum-registry-value-template" numbered="true" toc="default">
          <name>"JSContact Enum Values" Registry Value Template</name>
          <t>This template is for adding a new enum value to a subregistry in the JSContact Enum registry.</t>
          <dl newline="false">
            <dt>Enum Value:</dt>
            <dd>The verbatim value of the enum</dd>
            <dt>Reference or Description:</dt>
            <dd>A brief description or RFC number and section reference for the semantics of this value</dd>
            <dt>Since Version:</dt>
            <dd>The JSContact version on which the enum value definition is based on.  The version <bcp14>MUST</bcp14> be one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
            <dt>Until Version:</dt>
            <dd>The JSContact version after which this enum value got obsoleted and <bcp14>MUST NOT</bcp14> be used in later versions.  The Until Version value either <bcp14>MUST</bcp14> be not set, or one of the allowed values of the <tt>@version</tt> property in the JSContact Enum Value registry (see <xref target="tab-iana-enum-card-version"/>).</dd>
          </dl>
        </section>
        <section anchor="iana-enum-registry-contents" numbered="true" toc="default">
          <name>Initial Contents for the "JSContact Enum Values" Registry</name>
          <t>For each subregistry created in this section, all RFC section references are for this document.  For all entries, the Since Version is <tt>1.0</tt>, the Until Version is not set, the Change Controller is <tt>IETF</tt>.</t>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>kind</dd>
            <dt>Context:</dt>
            <dd>Card</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-card-kind" align="left">
                <name>JSContact Enum Values for kind (Context: Card)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">individual</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">group</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">org</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">location</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">device</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">application</td>
                    <td align="left">
                      <xref target="kind" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>@version</dd>
            <dt>Context:</dt>
            <dd>Card</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-card-version" align="left">
                <name>JSContact Enum Values for @version (Context: Card)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">1</td>
                    <td align="left">
                      <xref target="prop-version" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>contexts</dd>
            <dt>Context:</dt>
            <dd>NickName, Pronouns, EmailAddress, OnlineService, Phone, ContactChannelPreference, LanguagePreference, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, SchedulingAddress</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-contexts" align="left">
                <name>JSContact Enum Values for contexts (Context: NickName, Pronouns, EmailAddress, OnlineService, Phone, ContactChannelPreference, LanguagePreference, CalendarResource, CryptoResource, DirectoryResource, LinkResource, MediaResource, SchedulingAddress)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">private</td>
                    <td align="left">
                      <xref target="prop-contexts" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">work</td>
                    <td align="left">
                      <xref target="prop-contexts" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>contexts</dd>
            <dt>Context:</dt>
            <dd>Address</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-addr-contexts" align="left">
                <name>JSContact Enum Values for contexts (Context: Address)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">private</td>
                    <td align="left">
                      <xref target="prop-contexts" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">work</td>
                    <td align="left">
                      <xref target="prop-contexts" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">billing</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">delivery</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>features</dd>
            <dt>Context:</dt>
            <dd>Phone</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-phone-features" align="left">
                <name>JSContact Enum Values for features (Context: Phone)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">voice</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">fax</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">pager</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">text</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">cell</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">textphone</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">video</td>
                    <td align="left">
                      <xref target="phones" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>StreetComponent</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-streetcomponent-type" align="left">
                <name>JSContact Enum Values for type (Context: StreetComponent)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">name</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">number</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">apartment</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">room</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">extension</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">direction</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">building</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">floor</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">postOfficeBox</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">separator</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">unknown</td>
                    <td align="left">
                      <xref target="addresses" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>NameComponent</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-namecomponent-type" align="left">
                <name>JSContact Enum Values for type (Context: NameComponent)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">prefix</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">given</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">surname</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">middle</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">suffix</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">separator</td>
                    <td align="left">
                      <xref target="name" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>Title</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-title-type" align="left">
                <name>JSContact Enum Values for type (Context: Title)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">title</td>
                    <td align="left">
                      <xref target="titles" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">role</td>
                    <td align="left">
                      <xref target="titles" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>grammaticalGender</dd>
            <dt>Context:</dt>
            <dd>SpeakToAs</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-speaktoas-grammaticalgender" align="left">
                <name>JSContact Enum Values for type (Context: SpeakToAs)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">animate</td>
                    <td align="left">
                      <xref target="speakToAs" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">female</td>
                    <td align="left">
                      <xref target="speakToAs" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">inanimate</td>
                    <td align="left">
                      <xref target="speakToAs" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">male</td>
                    <td align="left">
                      <xref target="speakToAs" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">neuter</td>
                    <td align="left">
                      <xref target="speakToAs" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>preferredContactChannels</dd>
            <dt>Context:</dt>
            <dd>Card</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-speaktoas-preferredcontactchannels" align="left">
                <name>JSContact Enum Values for preferredContactChannels (Context: Card)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">addresses</td>
                    <td align="left">
                      <xref target="preferredContactChannels" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">emails</td>
                    <td align="left">
                      <xref target="preferredContactChannels" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">onlineServices</td>
                    <td align="left">
                      <xref target="preferredContactChannels" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">phones</td>
                    <td align="left">
                      <xref target="preferredContactChannels" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>CalendarResource</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-calendarresource-type" align="left">
                <name>JSContact Enum Values for type (Context: CalendarResource)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">calendar</td>
                    <td align="left">
                      <xref target="calendars" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">freeBusy</td>
                    <td align="left">
                      <xref target="calendars" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>DirectoryResource</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-directoryresource-type" align="left">
                <name>JSContact Enum Values for type (Context: DirectoryResource)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">directory</td>
                    <td align="left">
                      <xref target="directories" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">entry</td>
                    <td align="left">
                      <xref target="directories" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>LinkResource</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-linkresource-type" align="left">
                <name>JSContact Enum Values for type (Context: LinkResource)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">contact</td>
                    <td align="left">
                      <xref target="links" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>MediaResource</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-mediaresource-type" align="left">
                <name>JSContact Enum Values for type (Context: MediaResource)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">photo</td>
                    <td align="left">
                      <xref target="media" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">sound</td>
                    <td align="left">
                      <xref target="media" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">logo</td>
                    <td align="left">
                      <xref target="media" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>Anniversary</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-anniversary-type" align="left">
                <name>JSContact Enum Values for type (Context: Anniversary)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">birth</td>
                    <td align="left">
                      <xref target="anniversaries" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">death</td>
                    <td align="left">
                      <xref target="anniversaries" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">wedding</td>
                    <td align="left">
                      <xref target="anniversaries" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>OnlineService</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-onlineservice-type" align="left">
                <name>JSContact Enum Values for type (Context: OnlineService)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">impp</td>
                    <td align="left">
                      <xref target="onlineServices" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">uri</td>
                    <td align="left">
                      <xref target="onlineServices" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">username</td>
                    <td align="left">
                      <xref target="onlineServices" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
          <dl spacing="compact" newline="false" indent="20">
            <dt>Property Name:</dt>
            <dd>type</dd>
            <dt>Context:</dt>
            <dd>PersonalInfo</dd>
            <dt>Initial Contents:</dt>
            <dd>
              <table anchor="tab-iana-enum-personalinformation-type" align="left">
                <name>JSContact Enum Values for type (Context: PersonalInfo)</name>
                <thead>
                  <tr>
                    <th align="left">Enum Value</th>
                    <th align="left">Reference or Description</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td align="left">expertise</td>
                    <td align="left">
                      <xref target="personalInfo" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">hobby</td>
                    <td align="left">
                      <xref target="personalInfo" format="default"/>
                    </td>
                  </tr>
                  <tr>
                    <td align="left">interest</td>
                    <td align="left">
                      <xref target="personalInfo" format="default"/>
                    </td>
                  </tr>
                </tbody>
              </table>
            </dd>
          </dl>
        </section>
      </section>
    </section>
    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>Contact information is very privacy sensitive.  It can reveal the identity, location and credentials information, employment status, interests and hobbies, and social network of a user.  Its transmission and storage must be done carefully to protect it from possible threats, such as eavesdropping, replay, message insertion, deletion, modification, and on-path attacks.</t>
      <t>The data being stored and transmitted may be used in systems with real-world consequences.  For example, a malicious actor might provide JSContact data that uses the name of another person but insert their contact details to impersonate the unknown victim.  Such systems must be careful to authenticate all data they receive to prevent them from being subverted and ensure the change comes from an authorized entity.</t>
      <t>This document only defines the data format; such considerations are primarily the concern of the API or method of storage and transmission of such files.</t>
      <section anchor="json-parsing" numbered="true" toc="default">
        <name>JSON Parsing</name>
        <t>The security considerations of <xref target="RFC8259" format="default"/> apply to the use of JSON as the data interchange format.
        </t>
        <t>As for any serialization format, parsers need to thoroughly check the syntax of the supplied data.  JSON uses opening and closing tags for several types and structures, and it is possible that the end of the supplied data will be reached when scanning for a matching closing tag; this is an error condition, and implementations need to stop scanning at the end of the supplied data.</t>
        <t>JSON also uses a string encoding with some escape sequences to encode special characters within a string.  Care is needed when processing these escape sequences to ensure that they are fully formed before the special processing is triggered, with special care taken when the escape sequences appear adjacent to other (non-escaped) special characters or adjacent to the end of data (as in the previous paragraph).</t>
        <t>If parsing JSON into a non-textual structured data format, implementations may need to allocate storage to hold JSON string elements.  Since JSON does not use explicit string lengths, the risk of denial of service due to resource exhaustion is small, but implementations may still wish to place limits on the size of allocations they are willing to make in any given context, to avoid untrusted data causing excessive memory allocation.</t>
      </section>
      <section anchor="uri-values" numbered="true" toc="default">
        <name>URI Values</name>
        <t>Several JSContact properties contain URIs as values, and processing these properties requires extra care.  <xref target="RFC3986" sectionFormat="of" section="7"/> discusses security risks related to URIs.</t>
        <t>Fetching remote resources carries inherent risks.  Connections must only be allowed on well-known ports, using allowed protocols (generally, just HTTP/HTTPS on their default ports).  The URL must be resolved externally and not allowed to access internal resources.  Connecting to an external source reveals IP (and therefore often location) information.</t>
        <t>A maliciously constructed JSContact object may contain a very large number of URIs.  In the case of published address books with a large number of subscribers, such objects could be widely distributed.  Implementations should be careful to limit the automatic fetching of linked resources to reduce the risk of this being an amplification vector for a denial-of-service attack.</t>
      </section>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8259.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2046.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7095.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7493.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7529.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7942.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6350.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6351.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5870.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5646.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4122.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8141.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8126.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6901.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2234.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1034.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1035.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6474.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4648.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3339.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6715.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6869.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8605.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5322.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3261.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6473.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3966.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3986.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8499.xml"/>
      </references>
    </references>
  </back>
</rfc>
