Wikipedia / MediaWiki · Schema
image
image schema from Wikimedia Enterprise API spec
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen-SourceNon-Profit
Properties
| Name | Type | Description |
|---|---|---|
| content_url | string | Image URL |
| identifier | string | Unique identifier for the image |
| name | string | Filename of the image |
| width | integer | image width in pixels |
| height | integer | image height in pixels |
| thumbnail | object | |
| caption | string | caption describing the image |
| alternative_text | string | Alternative text description of the image for accessibility |
| encoding_format | string | MIME type or encoding format of the image, constructed from the url |
| media_type | string | Mediawiki media type of the image |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/wikimedia-enterprise-image-schema.json",
"title": "image",
"description": "image schema from Wikimedia Enterprise API spec",
"type": "object",
"properties": {
"content_url": {
"description": "Image URL",
"format": "uri",
"type": "string",
"example": "https://upload.wikimedia.org/wikipedia/en/thumb/0/03/Flag_of_Italy.svg/40px-Flag_of_Italy.svg.png"
},
"identifier": {
"type": "string",
"format": "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": "integer",
"example": 156
},
"height": {
"description": "image height in pixels",
"type": "integer",
"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 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wikimedia-enterprise-image"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.