Wikipedia / MediaWiki · JSON Structure

Mediawiki Core Rest Page Structure

A MediaWiki page object.

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

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

Properties

id key name latest content_model license html_url source html

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-page-structure.json",
  "name": "Page",
  "description": "A MediaWiki page object.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "example": 9228,
      "description": "Page ID"
    },
    "key": {
      "type": "string",
      "example": "Earth",
      "description": "Page DB key (URL form)"
    },
    "name": {
      "type": "string",
      "example": "Earth",
      "description": "Display title"
    },
    "latest": {
      "type": "object",
      "properties": {
        "id": {
          "type": "int32",
          "example": 1356767710,
          "description": "Revision ID"
        },
        "timestamp": {
          "type": "datetime",
          "example": "2026-05-29T18:21:47Z"
        }
      }
    },
    "content_model": {
      "type": "string",
      "example": "wikitext"
    },
    "license": {
      "type": "object",
      "properties": {
        "url": {
          "type": "uri",
          "example": "https://creativecommons.org/licenses/by-sa/4.0/"
        },
        "name": {
          "type": "string",
          "example": "Creative Commons Attribution-Share Alike 4.0"
        }
      }
    },
    "html_url": {
      "type": "uri"
    },
    "source": {
      "type": "string",
      "description": "Page wikitext source"
    },
    "html": {
      "type": "string",
      "description": "Rendered HTML"
    }
  }
}