{"id":"json-patch-diff","version":"1.0.0","description":"Generate a deterministic RFC 6902 patch from two JSON documents; returns the ordered patch operations.","supported_operations":["generate a JSON patch between documents","diff two JSON values as RFC 6902","create patch operations to transform JSON","turn before and after JSON into a patch","build deterministic JSON patch","compare JSON documents and return edits"],"unsupported_operations":["apply a JSON patch","produce a textual unified diff"],"semantics":["Implements RFC 6902 (April 2013), Sections 4 and 5, with JSON Pointer syntax from RFC 6901 (April 2013), Sections 3 and 4.","Inputs are JSON values; object keys are compared exactly and arrays are ordered. Processing is synchronous and deterministic.","Limits are checked before or during bounded traversal; no network, filesystem, clock, locale, or randomness is used."],"limits":{"max_input_bytes":65536,"max_operations":128,"max_depth":32,"max_output_bytes":131072,"max_iterations":4096},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["source","target"],"properties":{"source":{},"target":{}}},"output_schema":{"type":"object","additionalProperties":false,"required":["standard_version","patch"],"properties":{"standard_version":{"type":"string","const":"RFC 6902 (April 2013); RFC 6901 (April 2013)"},"patch":{"type":"array","maxItems":128,"items":{"type":"object","additionalProperties":false,"required":["op","path"],"properties":{"op":{"type":"string","enum":["add","remove","replace","move","copy","test"]},"path":{"type":"string","maxLength":1024},"from":{"type":"string","maxLength":1024},"value":{}}}}}},"examples":[{"input":{"source":{"a":1},"target":{"a":2}},"output":{"standard_version":"RFC 6902 (April 2013); RFC 6901 (April 2013)","patch":[{"op":"replace","path":"/a","value":2}]}},{"input":{"source":[1],"target":[1,2]},"output":{"standard_version":"RFC 6902 (April 2013); RFC 6901 (April 2013)","patch":[{"op":"replace","path":"","value":[1,2]}]}}],"execute_url":"/v1/tools/json-patch-diff/versions/1.0.0/execute"}