wikidata_entity

wikidata_entity schema from Wikimedia Enterprise API spec

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

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
View JSON Schema on GitHub

JSON Schema

wikimedia-enterprise-wikidata-entity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/wikimedia-enterprise-wikidata-entity-schema.json",
  "title": "wikidata_entity",
  "description": "wikidata_entity schema from Wikimedia Enterprise API spec",
  "type": "object",
  "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"
    }
  },
  "required": [
    "identifier",
    "type"
  ]
}