Profile: reference-byline

Profile Schema

A reference-byline document represents an attributable source for the content of another document. Bylines are represented as a bylineDocuments collection of internal document links. If you mean to represent an organization’s branding, please see the publishable profile for brandings.

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

Structure

A reference-byline document must always contain the bylineDocuments array attribute, representing a list of further internal documents to fetch for linked data.

Example reference-byline document

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

  "bylineDocuments": [
    {
        "href": "/v1/documents/67890",
        "rels": [
            "biography"
        ]
    }
  ]
}

© 2024 npr