Profile: topic

Profile Schema

A topic profile indicates a document representing a topic, and which aggregates a series of documents associated with that topic.

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

Structure

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

Example topic document

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

© 2025 npr