Wikipedia / MediaWiki · JSON Structure

Wikimedia Enterprise Wikidata Article Structure

wikidata_article schema from Wikimedia Enterprise API spec

Type: object Properties: 13 Required: 6
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

wikidata_article is a JSON Structure definition published by Wikipedia / MediaWiki, describing 13 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name identifier date_created date_modified date_previously_modified protection url namespace is_part_of entity visibility license event

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/wikipedia/refs/heads/main/json-structure/wikimedia-enterprise-wikidata-article-structure.json",
  "name": "wikidata_article",
  "description": "wikidata_article schema from Wikimedia Enterprise API spec",
  "type": "object",
  "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": "int32",
      "format": "uuid",
      "description": "unique numeric identifier of the article",
      "example": 104546757
    },
    "date_created": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of when the article was first created",
      "example": "2024-04-01T12:00:00Z"
    },
    "date_modified": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of when the article was last modified",
      "example": "2024-06-01T12:00:00Z"
    },
    "date_previously_modified": {
      "type": "datetime",
      "description": "Timestamp of the before-last revision in RFC3339 format",
      "example": "2024-05-01T12:00:00Z"
    },
    "protection": {
      "$ref": "#/components/schemas/protection"
    },
    "url": {
      "type": "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"
    }
  },
  "required": [
    "name",
    "identifier",
    "url",
    "protection",
    "redirects",
    "license"
  ]
}