Wikimedia · Schema

article

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
event object
additional_entities array
article_body object
has_parts array
categories array
date_modified string
identifier integer
in_language object
is_part_of object
license array
main_entity object
name string
abstract string
namespace object
protection array
redirects array
templates array
url string
version object
visibility object
View JSON Schema on GitHub

JSON Schema

wikimedia-article-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wikimedia/json-schema/wikimedia-article-schema.json",
  "title": "article",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wikimedia-articles-api-openapi.yml#/components/schemas/article",
  "properties": {
    "event": {
      "$ref": "#/$defs/event"
    },
    "additional_entities": {
      "items": {
        "$ref": "#/$defs/entity"
      },
      "type": "array"
    },
    "article_body": {
      "$ref": "#/$defs/article_body"
    },
    "has_parts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/part"
      }
    },
    "categories": {
      "items": {
        "$ref": "#/$defs/category"
      },
      "type": "array"
    },
    "date_modified": {
      "type": "string"
    },
    "identifier": {
      "type": "integer"
    },
    "in_language": {
      "$ref": "#/$defs/language"
    },
    "is_part_of": {
      "$ref": "#/$defs/project"
    },
    "license": {
      "items": {
        "$ref": "#/$defs/license"
      },
      "type": "array"
    },
    "main_entity": {
      "$ref": "#/$defs/entity"
    },
    "name": {
      "type": "string"
    },
    "abstract": {
      "type": "string"
    },
    "namespace": {
      "$ref": "#/$defs/article_namespace"
    },
    "protection": {
      "items": {
        "$ref": "#/$defs/protection"
      },
      "type": "array"
    },
    "redirects": {
      "items": {
        "$ref": "#/$defs/redirect"
      },
      "type": "array"
    },
    "templates": {
      "items": {
        "$ref": "#/$defs/template"
      },
      "type": "array"
    },
    "url": {
      "type": "string"
    },
    "version": {
      "$ref": "#/$defs/version"
    },
    "visibility": {
      "$ref": "#/$defs/visibility"
    }
  },
  "type": "object",
  "$defs": {
    "article_body": {
      "properties": {
        "html": {
          "type": "string"
        },
        "wikitext": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "article_namespace": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "number"
        }
      }
    },
    "category": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "citation": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "group": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      }
    },
    "editor": {
      "properties": {
        "date_started": {
          "type": "string"
        },
        "edit_count": {
          "type": "integer"
        },
        "groups": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "identifier": {
          "type": "integer"
        },
        "is_anonymous": {
          "type": "boolean"
        },
        "is_bot": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "entity": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "event": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "update",
            "delete"
          ]
        },
        "date_created": {
          "type": "string"
        }
      }
    },
    "image": {
      "type": "object",
      "properties": {
        "content_url": {
          "description": "Image URL",
          "format": "uri",
          "type": "string"
        },
        "identifier": {
          "type": "string",
          "format": "uuid",
          "description": "Unique identifier for the image"
        },
        "name": {
          "type": "string",
          "description": "Filename of the image"
        },
        "width": {
          "description": "image width in pixels",
          "type": "integer"
        },
        "height": {
          "description": "image height in pixels",
          "type": "integer"
        },
        "thumbnail": {
          "$ref": "#/$defs/thumbnail"
        },
        "caption": {
          "type": "string",
          "description": "caption describing the image"
        },
        "alternative_text": {
          "type": "string",
          "description": "Alternative text description of the image for accessibility"
        },
        "encoding_format": {
          "type": "string",
          "format": "mime_type",
          "description": "MIME type or encoding format of the image, constructed from the url"
        },
        "media_type": {
          "type": "string",
          "enum": "unknown, bitmap, drawing, audio, video, multimedia, office, text, executable, archive",
          "description": "Mediawiki media type of the image"
        }
      }
    },
    "language": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "alternate_name": {
          "type": "string"
        },
        "direction": {
          "type": "string"
        }
      }
    },
    "license": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "link": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "images": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/image"
          }
        }
      }
    },
    "maintenance_tags": {
      "properties": {
        "citation_needed_count": {
          "type": "integer"
        },
        "pov_count": {
          "type": "integer"
        },
        "clarification_needed_count": {
          "type": "integer"
        },
        "update_count": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "part": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "has_parts": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "images": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/image"
          }
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/link"
          }
        },
        "citations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/citation"
          }
        }
      }
    },
    "project": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "in_language": {
          "$ref": "#/$defs/language"
        }
      }
    },
    "protection": {
      "type": "object",
      "properties": {
        "expiry": {
          "type": "string",
          "enum": [
            "infinite",
            "indefinite",
            "infinity",
            "never"
          ]
        },
        "level": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "redirect": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "referenceneed": {
      "properties": {
        "reference_need_score": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "referencerisk": {
      "properties": {
        "reference_risk_score": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "revertrisk": {
      "properties": {
        "prediction": {
          "type": "boolean"
        },
        "probability": {
          "properties": {
            "false": {
              "type": "number"
            },
            "true": {
              "type": "number"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "scores": {
      "properties": {
        "revertrisk": {
          "$ref": "#/$defs/revertrisk"
        },
        "referencerisk": {
          "$ref": "#/$defs/referencerisk"
        },
        "referenceneed": {
          "$ref": "#/$defs/referenceneed"
        }
      },
      "type": "object"
    },
    "template": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "thumbnail": {
      "type": "object",
      "properties": {
        "contentUrl": {
          "type": "string",
          "format": "uri",
          "description": "Thumbnail URL"
        },
        "width": {
          "description": "Thumbnail width in pixels",
          "type": "integer"
        },
        "height": {
          "description": "Thumbnail height in pixels",
          "type": "integer"
        }
      }
    },
    "version": {
      "properties": {
        "comment": {
          "type": "string"
        },
        "editor": {
          "$ref": "#/$defs/editor"
        },
        "identifier": {
          "type": "integer"
        },
        "is_flagged_stable": {
          "type": "boolean"
        },
        "is_minor_edit": {
          "type": "boolean"
        },
        "noindex": {
          "type": "boolean"
        },
        "scores": {
          "$ref": "#/$defs/scores"
        },
        "maintenance_tags": {
          "$ref": "#/$defs/maintenance_tags"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "visibility": {
      "type": "object",
      "properties": {
        "comment": {
          "type": "boolean"
        },
        "text": {
          "type": "boolean"
        },
        "user": {
          "type": "boolean"
        }
      }
    }
  }
}

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-article"
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.