media_list

media_list schema from Wikimedia REST API

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

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

rest-v1-media-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/rest-v1-media-list-schema.json",
  "title": "media_list",
  "description": "media_list schema from 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"
  ]
}