Wiktionary · Schema
SearchPage
SearchPage schema from Wiktionary MediaWiki Core REST API
DictionariesOpen SourceWikimediaMediaWikiLinguisticsOpen DataPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| key | string | |
| title | string | |
| excerpt | string | |
| matched_title | string | |
| description | string | |
| thumbnail | object |
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-search-page-schema.json",
"title": "SearchPage",
"description": "SearchPage schema from Wiktionary MediaWiki Core REST API",
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 12345
},
"key": {
"type": "string",
"example": "hello"
},
"title": {
"type": "string",
"example": "hello"
},
"excerpt": {
"type": "string",
"example": "A standard <span class=\"searchmatch\">greeting</span>."
},
"matched_title": {
"type": "string",
"nullable": true,
"example": null
},
"description": {
"type": "string",
"example": "English interjection."
},
"thumbnail": {
"type": "object",
"nullable": true,
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://upload.wikimedia.org/wikipedia/commons/thumb/example.png"
},
"width": {
"type": "integer",
"example": 60
},
"height": {
"type": "integer",
"example": 60
}
}
}
}
}