Wikimedia · Schema
wikidata_article
Schema for wikidata_article from the Wikimedia Enterprise API
WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Wikidata item identifier (Q-number, e.g. Q42), or property identifier (P-number, e.g. P31) |
| identifier | integer | unique numeric identifier of the article |
| date_created | string | ISO 8601 timestamp of when the article was first created |
| date_modified | string | ISO 8601 timestamp of when the article was last modified |
| date_previously_modified | string | Timestamp of the before-last revision in RFC3339 format |
| protection | object | |
| url | string | URL to the article |
| namespace | object | |
| is_part_of | object | |
| entity | object | |
| visibility | object | |
| license | object | |
| event | 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_article.json",
"title": "wikidata_article",
"description": "Schema for wikidata_article from the Wikimedia Enterprise API",
"type": "object",
"required": [
"name",
"identifier",
"url",
"protection",
"redirects",
"license"
],
"properties": {
"name": {
"type": "string",
"example": "P31",
"description": "Wikidata item identifier (Q-number, e.g. Q42), or property identifier (P-number, e.g. P31)"
},
"identifier": {
"type": "integer",
"format": "uuid",
"description": "unique numeric identifier of the article",
"example": 104546757
},
"date_created": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of when the article was first created",
"example": "2024-04-01T12:00:00Z"
},
"date_modified": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of when the article was last modified",
"example": "2024-06-01T12:00:00Z"
},
"date_previously_modified": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the before-last revision in RFC3339 format",
"example": "2024-05-01T12:00:00Z"
},
"protection": {
"$ref": "#/components/schemas/protection"
},
"url": {
"type": "string",
"format": "uri",
"description": "URL to the article",
"example": "https://www.wikidata.org/wiki/Q109388644"
},
"namespace": {
"$ref": "#/components/schemas/article_namespace"
},
"is_part_of": {
"$ref": "#/components/schemas/project"
},
"entity": {
"$ref": "#/components/schemas/wikidata_entity"
},
"visibility": {
"$ref": "#/components/schemas/visibility"
},
"license": {
"$ref": "#/components/schemas/license"
},
"event": {
"$ref": "#/components/schemas/event"
}
}
}