Wikipedia / MediaWiki · JSON Structure

Mediawiki Core Rest File Structure

A media file descriptor.

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

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

Properties

name file_description_url latest preferred original

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/mediawiki-core-rest-file-structure.json",
  "name": "File",
  "description": "A media file descriptor.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "File:Earth_Eastern_Hemisphere.jpg"
    },
    "file_description_url": {
      "type": "uri"
    },
    "latest": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "datetime"
        },
        "user": {
          "type": "object",
          "properties": {
            "id": {
              "type": "int32"
            },
            "name": {
              "type": "string"
            }
          }
        }
      }
    },
    "preferred": {
      "type": "object",
      "properties": {
        "mediatype": {
          "type": "string",
          "example": "BITMAP"
        },
        "size": {
          "type": "int32"
        },
        "width": {
          "type": "int32"
        },
        "height": {
          "type": "int32"
        },
        "url": {
          "type": "uri"
        }
      }
    },
    "original": {
      "type": "object",
      "properties": {
        "mediatype": {
          "type": "string"
        },
        "size": {
          "type": "int32"
        },
        "width": {
          "type": "int32"
        },
        "height": {
          "type": "int32"
        },
        "url": {
          "type": "uri"
        }
      }
    }
  }
}

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/mediawiki-core-rest-file-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.