Profile: tag

Profile Schema

A tag profile indicates a document representing a tag, which is an attribute appended to a story. Stories sharing a tag are aggregated under a tag document’s collection.

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

Structure

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

Example tag document

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

© 2025 npr