Azure DevOps · Schema

JsonPatchOperation

A single operation in a JSON Patch document (RFC 6902)

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
op string Operation type
path string JSON Pointer path (RFC 6901) to the target location
from string Source path for move and copy operations
value object Value to apply (for add, replace, test operations)
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-jsonpatchoperation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JsonPatchOperation",
  "title": "JsonPatchOperation",
  "type": "object",
  "description": "A single operation in a JSON Patch document (RFC 6902)",
  "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",
      "example": "/fields/System.Title"
    },
    "from": {
      "type": "string",
      "description": "Source path for move and copy operations"
    },
    "value": {
      "description": "Value to apply (for add, replace, test operations)"
    }
  }
}