Wikimedia · Schema

recommendation_result

Schema for recommendation_result from the Wikimedia REST API

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
count integer the number of recommendations returned
items array the list of articles recommended for translation
View JSON Schema on GitHub

JSON Schema

recommendation_result.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/recommendation_result.json",
  "title": "recommendation_result",
  "description": "Schema for recommendation_result from the Wikimedia REST API",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "the number of recommendations returned"
    },
    "items": {
      "type": "array",
      "description": "the list of articles recommended for translation",
      "items": {
        "type": "object",
        "properties": {
          "wikidata_id": {
            "type": "string",
            "description": "wikidata id for the item"
          },
          "title": {
            "type": "string",
            "description": "title of the article in the source language"
          },
          "sitelink_count": {
            "type": "integer",
            "description": "count of sites the wikidata item is linked to"
          }
        }
      }
    }
  }
}