Profile: music-artist

Profile Schema

A music-artist profile indicates a document representing a music-artist that aggregates stories that reference them. Stories sharing a music-artist are aggregated under a music-artist document’s collection.

The music-artist profile is intended to be used as a “type” profile.

Structure

The music-artist profile requires that the document also list the aggregation profile in its profile list and implement it; the aggregation profile provides further validation constraints.

Example music-artist document

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

© 2024 npr