文字列には AnnotatedString を使用します。要素に最大 32 文字のアノテーションを追加します。
属性
次の表に、AnnotatedString の属性を示します。
| 属性 | 必須かどうか | 型 | 説明 |
|---|---|---|---|
annotation |
省略可 | ShortString |
文字列に関連付けられた最大 32 文字のアノテーション。 |
例
メール
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" } ]
電話
XML
<Phone annotation="office">304-555-1234</Phone>
JSON
"Phone": [ { "annotation": "office", "value": "304-555-1234" } ]