Wikipedia / MediaWiki · JSON Structure

Wikimedia Enterprise Image Structure

image schema from Wikimedia Enterprise API spec

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

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

Properties

content_url identifier name width height thumbnail caption alternative_text encoding_format media_type

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/wikimedia-enterprise-image-structure.json",
  "name": "image",
  "description": "image schema from Wikimedia Enterprise API spec",
  "type": "object",
  "properties": {
    "content_url": {
      "description": "Image URL",
      "type": "uri",
      "example": "https://upload.wikimedia.org/wikipedia/en/thumb/0/03/Flag_of_Italy.svg/40px-Flag_of_Italy.svg.png"
    },
    "identifier": {
      "type": "uuid",
      "description": "Unique identifier for the image",
      "example": "6c71e85942c77b40266b6d6150405719897682f4b56989100f7c5de97fa631d0"
    },
    "name": {
      "type": "string",
      "description": "Filename of the image",
      "example": "./File:Flag_of_Italy.svg"
    },
    "width": {
      "description": "image width in pixels",
      "type": "int32",
      "example": 156
    },
    "height": {
      "description": "image height in pixels",
      "type": "int32",
      "example": 255
    },
    "thumbnail": {
      "$ref": "#/components/schemas/thumbnail"
    },
    "caption": {
      "type": "string",
      "description": "caption describing the image",
      "example": "Flag of Italy"
    },
    "alternative_text": {
      "type": "string",
      "description": "Alternative text description of the image for accessibility",
      "example": "a flag divided in three vertical sections colored green, white, and red from left to right"
    },
    "encoding_format": {
      "type": "string",
      "format": "mime_type",
      "description": "MIME type or encoding format of the image, constructed from the url",
      "example": "image/png"
    },
    "media_type": {
      "type": "string",
      "enum": "unknown, bitmap, drawing, audio, video, multimedia, office, text, executable, archive",
      "description": "Mediawiki media type of the image",
      "example": "drawing"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/wikimedia-enterprise-image-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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