APIs.io Engineering Platform · Schema
NewsArticle
Defines a news article.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| category | string | The news category that the article belongs to. For example, Sports. If the news category cannot be determined, the article does not include this field. |
| clusteredArticles | array | A list of related news articles. |
| headline | boolean | A Boolean value that indicates whether the news article is a headline. If true, the article is a headline. The article includes this field only for news categories requests that do not specify the cat |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/NewsArticle",
"title": "NewsArticle",
"properties": {
"category": {
"type": "string",
"description": "The news category that the article belongs to. For example, Sports. If the news category cannot be determined, the article does not include this field.",
"readOnly": true
},
"clusteredArticles": {
"type": "array",
"description": "A list of related news articles.",
"readOnly": true,
"items": {
"$ref": "#/components/schemas/NewsArticle"
}
},
"headline": {
"type": "boolean",
"description": "A Boolean value that indicates whether the news article is a headline. If true, the article is a headline. The article includes this field only for news categories requests that do not specify the category query parameter.",
"readOnly": true
}
},
"description": "Defines a news article.",
"allOf": [
{
"$ref": "#/components/schemas/Article"
}
]
}