Wikimedia · Schema

media_list

Schema for media_list from the Wikimedia REST API

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
revision string the revision ID used to create the list
tid string the time uuid of the page rendering used to create the list
items array a list of media items
View JSON Schema on GitHub

JSON Schema

media_list.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/media_list.json",
  "title": "media_list",
  "description": "Schema for media_list from the Wikimedia REST API",
  "type": "object",
  "properties": {
    "revision": {
      "type": "string",
      "description": "the revision ID used to create the list"
    },
    "tid": {
      "type": "string",
      "description": "the time uuid of the page rendering used to create the list"
    },
    "items": {
      "type": "array",
      "description": "a list of media items",
      "items": {
        "$ref": "#/components/schemas/media_item"
      }
    }
  },
  "required": [
    "items",
    "revision",
    "tid"
  ]
}