Wikimedia · Schema
wikidata_entity
Schema for wikidata_entity from the Wikimedia Enterprise API
WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference
Properties
| Name | Type | Description |
|---|---|---|
| identifier | string | Wikidata item identifier (Q-number, e.g. Q42), or property identifier (P-number, e.g. P31) |
| type | string | The type of entity, either "item" or "property" |
| labels | object | |
| descriptions | object | Key-value pairs with descriptions in different languages |
| aliases | object | Key-value pairs with aliases in different languages. Every language may have multiple aliases |
| statements | object | |
| sitelinks | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/wikidata_entity.json",
"title": "wikidata_entity",
"description": "Schema for wikidata_entity from the Wikimedia Enterprise API",
"type": "object",
"required": [
"identifier",
"type"
],
"properties": {
"identifier": {
"type": "string",
"description": "Wikidata item identifier (Q-number, e.g. Q42), or property identifier (P-number, e.g. P31)",
"example": "Q42"
},
"type": {
"type": "string",
"enum": [
"item",
"property"
],
"description": "The type of entity, either \"item\" or \"property\"",
"example": "item"
},
"labels": {
"$ref": "#/components/schemas/wikidata_labels"
},
"descriptions": {
"type": "object",
"description": "Key-value pairs with descriptions in different languages",
"example": {
"en": "Championship held at Balbir Singh Juneja Indoor Stadium"
}
},
"aliases": {
"type": "object",
"description": "Key-value pairs with aliases in different languages. Every language may have multiple aliases",
"example": {
"eo": [
"Douglas ADAMS",
"Douglas Noel ADAMS"
]
}
},
"statements": {
"$ref": "#/components/schemas/wikidata_statements"
},
"sitelinks": {
"$ref": "#/components/schemas/wikidata_sitelinks"
}
}
}