Profile: story

Profile Schema

The story profile indicates that a document is considered a single, standalone story.

The story profile is intended to be used as a type profile.

Structure

The story profile allows for an optional attribute: editorialMajorUpdateDateTime, which indicates the last date and time at which the content received major editorial updates. This is distinct from editorialLastUpdateDateTime (defined in the publishable profile), which can indicate a minor update. Please note that dates in CDS are expected to be in RFC3339 format set in UTC time (ex: 2021-11-04T08:49:00Z)

Example story document

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

  "editorialMajorUpdateDateTime": "2021-01-01T00:00:00Z"
}

© 2024 npr