Profile: blog

Profile Schema

A blog profile indicates a document representing a blog, which is a series of posts published around a topic or idea.

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

Structure

The blog profile requires that the document also list the aggregation profile in its profile list; the aggregation profile provides further validation constraints.

Example blog document

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

© 2024 npr