AnnotatedString

Use AnnotatedString para strings de caracteres. Ele adiciona uma anotação de até 16 caracteres a um elemento.

Atributos

A tabela a seguir descreve os atributos de AnnotatedString:

Atributo Obrigatório? Tipo Descrição
annotation Opcional ShortString Uma anotação de até 16 caracteres associada a uma string de caracteres.

Exemplos

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"
      }
    ]

Telefone

XML

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

JSON

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