Properties
| Name | Type | Description |
|---|---|---|
| op | string | The operation type. |
| path | string | The op operation's target, as identified by a JSON Pointer value. |
| value | string | The new target value of the update operation. It is applicable for the add or replace operation. |
| from | string | The copy update operation's source as identified by a JSON Pointer value. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PatchOperation",
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "The operation type.",
"enum": [
"add",
"remove",
"replace",
"move",
"copy",
"test"
]
},
"path": {
"type": "string",
"description": "The op operation's target, as identified by a JSON Pointer value."
},
"value": {
"type": "string",
"description": "The new target value of the update operation. It is applicable for the add or replace operation."
},
"from": {
"type": "string",
"description": "The copy update operation's source as identified by a JSON Pointer value."
}
}
}