Profile: text

Profile Schema

The text profile designates a document that contains text as its content.

The text profile is intended to be used as a “type” profile.

Structure

The text profile specifies one required attribute: text. The text attribute can contain markup or formatting information.

Example text document

{
  "id": "12345",
  "profiles": [
    {
      "href": "/v1/profiles/text",
      "rels": [
        "type"
      ]
    },
    {
      "href": "/v1/profiles/document"
    }
  ],

  "text": "The Ninth Doctor (who was actually the tenth, counting the War Doctor and <em>not</em> counting other classic non-linear iterations) was portrayed by Christopher Eccelston."
}

© 2024 npr