Wiktionary · Schema
RevisionDetail
RevisionDetail schema from Wiktionary MediaWiki Core REST API
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| page | object | |
| size | integer | |
| minor | boolean | |
| timestamp | string | |
| content_model | string | |
| license | object | |
| user | object | |
| comment | string | |
| delta | integer | Byte delta from the parent revision. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wiktionary/refs/heads/main/json-schema/core-rest-api-revision-detail-schema.json",
"title": "RevisionDetail",
"description": "RevisionDetail schema from Wiktionary MediaWiki Core REST API",
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 7654321
},
"page": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 12345
},
"title": {
"type": "string",
"example": "hello"
}
}
},
"size": {
"type": "integer",
"example": 4321
},
"minor": {
"type": "boolean",
"example": false
},
"timestamp": {
"type": "string",
"format": "date-time",
"example": "2025-03-15T14:30:00Z"
},
"content_model": {
"type": "string",
"example": "wikitext"
},
"license": {
"title": "LicenseInfo",
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://creativecommons.org/licenses/by-sa/4.0/"
},
"title": {
"type": "string",
"example": "Creative Commons Attribution-Share Alike 4.0 International"
}
}
},
"user": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"name": {
"type": "string",
"example": "ExampleEditor"
}
}
},
"comment": {
"type": "string",
"example": "typo fix"
},
"delta": {
"type": "integer",
"description": "Byte delta from the parent revision.",
"example": 12
}
}
}