Wikimedia · Schema

media_list

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

wikimedia-media-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wikimedia/json-schema/wikimedia-media-list-schema.json",
  "title": "media_list",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wikimedia-page-content-api-openapi.yml#/components/schemas/media_list",
  "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": "#/$defs/media_item"
      }
    }
  },
  "required": [
    "items",
    "revision",
    "tid"
  ],
  "$defs": {
    "media_item": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "The file page title"
        },
        "type": {
          "type": "string",
          "enum": [
            "image",
            "video",
            "audio"
          ]
        },
        "section_id": {
          "type": "integer",
          "description": "section ID in which the item is found on the page"
        },
        "showInGallery": {
          "type": "boolean",
          "description": "whether the client should show the file in an image gallery presentation"
        },
        "caption": {
          "type": "object",
          "properties": {
            "html": {
              "type": "string",
              "description": "on-wiki caption for the media item, including all HTML markup"
            },
            "text": {
              "type": "string",
              "description": "plain text of the on-wiki caption for the media item"
            }
          }
        },
        "original": {
          "type": "object",
          "description": "reference to a Mathoid-rendered math formula image",
          "properties": {
            "source": {
              "type": "string",
              "description": "Mathoid image render URL"
            },
            "mime": {
              "type": "string",
              "description": "the Mathoid image mime type"
            }
          }
        }
      },
      "required": [
        "type",
        "section_id",
        "showInGallery"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wikimedia-media-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.