Wiktionary · JSON Structure

Mediawiki Action Api Revision Structure

Revision schema from Wiktionary MediaWiki Action API

Type: object Properties: 3
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

Revision is a JSON Structure definition published by Wiktionary, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

contentformat contentmodel *

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/wiktionary/refs/heads/main/json-structure/mediawiki-action-api-revision-structure.json",
  "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."
    }
  },
  "name": "Revision"
}