{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wiktionary/refs/heads/main/json-schema/mediawiki-action-api-revision-page-schema.json",
  "title": "RevisionPage",
  "description": "RevisionPage schema from Wiktionary MediaWiki Action API",
  "type": "object",
  "properties": {
    "pageid": {
      "type": "integer",
      "example": 12345
    },
    "ns": {
      "type": "integer",
      "example": 0
    },
    "title": {
      "type": "string",
      "example": "hello"
    },
    "revisions": {
      "type": "array",
      "items": {
        "title": "Revision",
        "type": "object",
        "properties": {
          "contentformat": {
            "type": "string",
            "example": "text/x-wiki"
          },
          "contentmodel": {
            "type": "string",
            "example": "wikitext"
          },
          "*": {
            "type": "string",
            "description": "Raw wikitext body.",
            "example": "==English==\n===Interjection===\n# A standard greeting."
          }
        }
      }
    }
  }
}