Wiktionary · Schema

Revision

Revision schema from Wiktionary MediaWiki Action API

DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

Properties

Name Type Description
contentformat string
contentmodel string
* string Raw wikitext body.
View JSON Schema on GitHub

JSON Schema

mediawiki-action-api-revision-schema.json Raw ↑
{
  "$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-schema.json",
  "title": "Revision",
  "description": "Revision schema from Wiktionary MediaWiki Action API",
  "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."
    }
  }
}