News

Defines a news answer.

APIs.ioEngineeringPlatform

Properties

Name Type Description
location string Location of local news
value array An array of NewsArticle objects that contain information about news articles that are relevant to the query. If there are no results to return for the request, the array is empty.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-news-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/News",
  "title": "News",
  "required": [
    "value"
  ],
  "properties": {
    "location": {
      "type": "string",
      "description": "Location of local news",
      "readOnly": true
    },
    "value": {
      "type": "array",
      "description": "An array of NewsArticle objects that contain information about news articles that are relevant to the query. If there are no results to return for the request, the array is empty.",
      "items": {
        "$ref": "#/components/schemas/NewsArticle"
      }
    }
  },
  "description": "Defines a news answer.",
  "allOf": [
    {
      "$ref": "#/components/schemas/SearchResultsAnswer"
    }
  ]
}