Profile: blog-category

Profile Schema

The blog-category profile indicates a document is a category by which blog documents can be aggregated. Some examples of blog categories are “Science”, “Business/Economy”, and “Local/Regional News”.

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

Structure

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

Example blog-category document

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

© 2025 npr