{"id":"data.json-patch","version":"1.0.0","category":"data","description":"Apply up to 100 RFC 6902 operations transactionally to supplied JSON, with strict pointers, safe object properties and bounded intermediate results.","priceMicroUsdc":500,"priceRevision":"2026-09-13-testnet","pricingStatus":"experimental-unbenchmarked","inputSchema":{"type":"object","properties":{"data":{},"patch":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"op":{"const":"add"},"path":{"type":"string","maxLength":2048},"value":{}},"required":["op","path","value"]},{"type":"object","properties":{"op":{"const":"replace"},"path":{"type":"string","maxLength":2048},"value":{}},"required":["op","path","value"]},{"type":"object","properties":{"op":{"const":"test"},"path":{"type":"string","maxLength":2048},"value":{}},"required":["op","path","value"]},{"type":"object","properties":{"op":{"const":"remove"},"path":{"type":"string","maxLength":2048}},"required":["op","path"]},{"type":"object","properties":{"op":{"const":"move"},"path":{"type":"string","maxLength":2048},"from":{"type":"string","maxLength":2048}},"required":["op","path","from"]},{"type":"object","properties":{"op":{"const":"copy"},"path":{"type":"string","maxLength":2048},"from":{"type":"string","maxLength":2048}},"required":["op","path","from"]}]},"maxItems":100}},"required":["data","patch"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"documentExists":{"type":"boolean"},"data":{},"operationsApplied":{"type":"number"},"scope":{"type":"string"}},"required":["documentExists","operationsApplied","scope"],"additionalProperties":false},"example":{"data":{"cart":[{"sku":"BEANS-500","quantity":1}],"currency":"USD"},"patch":[{"op":"test","path":"/currency","value":"USD"},{"op":"replace","path":"/cart/0/quantity","value":2},{"op":"add","path":"/cart/-","value":{"sku":"MUG","quantity":1}}]},"limits":{"inputBytes":131072,"outputBytes":65536,"networkTimeoutMs":0},"network":false,"sensitive":false,"route":"/v1/tools/data.json-patch"}