AnnotatedString

Utilisez AnnotatedString pour les chaînes de caractères. Elle ajoute une annotation comportant jusqu'à 16 caractères à un élément.

Attributs

Le tableau suivant décrit les attributs de AnnotatedString:

Attribut Requis ? Type Description
annotation Facultatif ShortString Annotation de 16 caractères maximum associée à une chaîne de caractères.

Exemples

E-mail

XML

    <Email annotation="work">john.a.smith@26003.org</Email>

JSON

    "Email": [
      {
        "annotation": "work",
        "value": "john.a.smith@26003.org"
      }
    ]

Fax

XML

    <Fax annotation="cell">304-555-0971</Fax>

JSON

    "Fax": [
      {
        "annotation": "cell",
        "value": "304-555-0971"
      }
    ]

Téléphone

XML

    <Phone annotation="office">304-555-1234</Phone>

JSON

    "Phone": [
      {
        "annotation": "office",
        "value": "304-555-1234"
      }
    ]