{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-devops/json-schema/microsoft-azure-devops-json-patch-operation-schema.json",
  "title": "JsonPatchOperation",
  "description": "A single operation in a JSON Patch document (RFC 6902)",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-devops-work-items-api-openapi.yml#/components/schemas/JsonPatchOperation",
  "type": "object",
  "required": [
    "op",
    "path"
  ],
  "properties": {
    "op": {
      "type": "string",
      "description": "Operation type",
      "enum": [
        "add",
        "remove",
        "replace",
        "move",
        "copy",
        "test"
      ]
    },
    "path": {
      "type": "string",
      "description": "JSON Pointer path (RFC 6901) to the target location"
    },
    "from": {
      "type": "string",
      "description": "Source path for move and copy operations"
    },
    "value": {
      "description": "Value to apply (for add, replace, test operations)"
    }
  }
}