Aller au contenu principal

5. Redefined Conversion Rule for the uid Property

Cette page resume la section correspondante du RFC 9982 et conserve les points essentiels sur JSContact, vCard et les registres IANA.

The conversion rule for the Card uid property from vCard, originally in Section 2.1.1 of [RFC9555], is redefined.

Implementations that convert a vCard without a UID property to a Card of version "2.0" or higher MUST NOT generate a unique identifier as a value for the uid property.

When converting a vCard without UID to JSContact version "1.0", implementations MUST generate a value for uid. Generation is implementation-specific. Implementations SHOULD generate the same value when generating the same Card multiple times, but this still cannot prevent interoperability issues. Therefore, implementations SHOULD NOT convert to version "1.0" Card objects.