Wikidata · Schema

ItemCreate

ItemCreate schema from Wikidata REST API & MediaWiki API

Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia

Properties

Name Type Description
labels object
descriptions object
aliases object
statements object
comment string Edit summary
bot boolean
View JSON Schema on GitHub

JSON Schema

wikidata-item--create-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--create-schema.json",
  "title": "ItemCreate",
  "description": "ItemCreate schema from Wikidata REST API & MediaWiki API",
  "type": "object",
  "properties": {
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "descriptions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "aliases": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "statements": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/StatementCreate"
        }
      }
    },
    "comment": {
      "type": "string",
      "description": "Edit summary"
    },
    "bot": {
      "type": "boolean",
      "default": false
    }
  }
}