Utilisez AnnotatedString pour les chaînes de caractères. Il ajoute une annotation de 32 caractères maximum à un élément.
Attributs
Le tableau suivant décrit les attributs de AnnotatedString :
| Attribut | Obligatoire ? | Type | Description |
|---|---|---|---|
annotation |
Facultatif | ShortString |
Annotation de 32 caractères maximum associée à une chaîne de caractères. |
Exemples
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" } ]