Wikipedia / MediaWiki · JSON Structure

Rest V1 Media List Structure

media_list schema from Wikimedia REST API

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

media_list is a JSON Structure definition published by Wikipedia / MediaWiki, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

revision tid 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-media-list-structure.json",
  "name": "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"
  ]
}