Wikidata · Schema

Item

Item schema from Wikidata REST API & MediaWiki API

Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia

Properties

Name Type Description
id string Wikidata item ID
type string
labels object Labels keyed by language code
descriptions object Descriptions keyed by language code
aliases object Aliases keyed by language code
statements object Statements keyed by property ID
sitelinks object Sitelinks to Wikipedia and Wikimedia projects
View JSON Schema on GitHub

JSON Schema

wikidata-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikidata/refs/heads/main/json-schema/wikidata-item-schema.json",
  "title": "Item",
  "description": "Item schema from Wikidata REST API & MediaWiki API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^Q\\d+$",
      "description": "Wikidata item ID",
      "example": "Q42"
    },
    "type": {
      "type": "string",
      "enum": [
        "item"
      ]
    },
    "labels": {
      "type": "object",
      "description": "Labels keyed by language code",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "en": "Douglas Adams",
        "fr": "Douglas Adams"
      }
    },
    "descriptions": {
      "type": "object",
      "description": "Descriptions keyed by language code",
      "additionalProperties": {
        "type": "string"
      }
    },
    "aliases": {
      "type": "object",
      "description": "Aliases keyed by language code",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "statements": {
      "type": "object",
      "description": "Statements keyed by property ID",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Statement"
        }
      }
    },
    "sitelinks": {
      "type": "object",
      "description": "Sitelinks to Wikipedia and Wikimedia projects",
      "additionalProperties": {
        "$ref": "#/components/schemas/Sitelink"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wikidata-item"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.