Wikipedia / MediaWiki · JSON Structure

Rest V1 Recommendation Result Structure

recommendation_result schema from Wikimedia REST API

Type: object Properties: 2
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

recommendation_result is a JSON Structure definition published by Wikipedia / MediaWiki, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

count items

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-structure/rest-v1-recommendation-result-structure.json",
  "name": "recommendation_result",
  "description": "recommendation_result schema from Wikimedia REST API",
  "type": "object",
  "properties": {
    "count": {
      "type": "int32",
      "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"
          },
          "name": {
            "type": "string",
            "description": "title of the article in the source language"
          },
          "sitelink_count": {
            "type": "int32",
            "description": "count of sites the wikidata item is linked to"
          }
        }
      }
    }
  }
}