{
  "$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
    }
  }
}