Profile: byline

Profile Schema

A byline document represents an attributable source for the content of another document. Bylines are represented as string names.

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

Structure

A byline document must always contain the name attribute, representing the source’s name.

Example byline document

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

  "name": "Obi-Wan Kenobi"
}

© 2024 npr