Wiktionary · JSON Structure

Rest Api Revision Item Structure

RevisionItem schema from Wiktionary Wikimedia REST API

Type: object Properties: 12
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs

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

Properties

title page_id rev tid namespace user_id user_text timestamp comment tags restrictions page_language

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/rest-api-revision-item-structure.json",
  "description": "RevisionItem schema from Wiktionary Wikimedia REST API",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "example": "hello"
    },
    "page_id": {
      "type": "int32",
      "example": 12345
    },
    "rev": {
      "type": "int32",
      "description": "Revision id.",
      "example": 7654321
    },
    "tid": {
      "type": "string",
      "example": "1c2d3e4f-aaaa-bbbb-cccc-ddddeeeeffff"
    },
    "namespace": {
      "type": "int32",
      "example": 0
    },
    "user_id": {
      "type": "int32",
      "example": 1
    },
    "user_text": {
      "type": "string",
      "example": "ExampleEditor"
    },
    "timestamp": {
      "type": "datetime",
      "example": "2025-03-15T14:30:00Z"
    },
    "comment": {
      "type": "string",
      "example": "typo fix"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "restrictions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "page_language": {
      "type": "string",
      "example": "en"
    }
  },
  "name": "RevisionItem"
}