Wikidata · JSON Structure

Wikidata Patch Request Structure

PatchRequest schema from Wikidata REST API & MediaWiki API

Type: object Properties: 4 Required: 1
Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia

PatchRequest is a JSON Structure definition published by Wikidata, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

patch comment tags bot

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/wikidata/refs/heads/main/json-structure/wikidata-patch--request-structure.json",
  "description": "PatchRequest schema from Wikidata REST API & MediaWiki API",
  "type": "object",
  "properties": {
    "patch": {
      "type": "array",
      "description": "JSON Patch operations (RFC 6902)",
      "items": {
        "type": "object",
        "required": [
          "op",
          "path"
        ],
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "add",
              "remove",
              "replace",
              "move",
              "copy",
              "test"
            ]
          },
          "path": {
            "type": "string"
          },
          "value": {
            "description": "New value for add/replace operations"
          },
          "from": {
            "type": "string",
            "description": "Source path for move/copy operations"
          }
        }
      }
    },
    "comment": {
      "type": "string",
      "description": "Edit summary"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Change tags to apply"
    },
    "bot": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "patch"
  ],
  "name": "PatchRequest"
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/wikidata-patch--request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.