{"id":"json-array-three-way-merge","version":"1.0.0","description":"Merge base, left and right JSON arrays, returning deterministic output and explicit conflicting edit regions.","supported_operations":["merge three JSON arrays","three way JSON array merge","combine array edits from two branches","detect JSON array merge conflicts","merge duplicate array values safely","reconcile ordered JSON lists"],"unsupported_operations":["merging JSON objects by key","reading JSON text or files"],"semantics":["Values are compared by RFC 8259 JSON structure with object member names sorted; array order and number spelling after parsing follow JavaScript JSON values.","Alignment uses longest common subsequence; on equal alternatives it advances the first input, a deterministic deletion-before-insertion tie rule. Duplicate values are identified by matched occurrence, never by value alone.","The implementation is synchronous, offline and deterministic and reports RFC 8259 + Myers 1986 and version 1.0.0."],"limits":{"max_input_bytes":65536,"max_items":128,"max_result_items":256,"max_iterations":49152,"max_output_bytes":131072},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["base","left","right"],"properties":{"base":{"type":"array","maxItems":128,"items":{}},"left":{"type":"array","maxItems":128,"items":{}},"right":{"type":"array","maxItems":128,"items":{}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["reference","version","clean","result","conflicts"],"properties":{"reference":{"type":"string","const":"RFC 8259 + Myers 1986"},"version":{"type":"string","const":"1.0.0"},"clean":{"type":"boolean"},"result":{"type":"array","maxItems":256,"items":{}},"conflicts":{"type":"array","maxItems":256,"items":{"type":"object","additionalProperties":false,"required":["base_start","base_end","left","right"],"properties":{"base_start":{"type":"integer","minimum":0,"maximum":128},"base_end":{"type":"integer","minimum":0,"maximum":128},"left":{"type":"array","maxItems":128,"items":{}},"right":{"type":"array","maxItems":128,"items":{}}}}}}},"examples":[{"input":{"base":["a"],"left":["a","b"],"right":["a"]},"output":{"reference":"RFC 8259 + Myers 1986","version":"1.0.0","clean":true,"result":["a","b"],"conflicts":[]}},{"input":{"base":[],"left":[],"right":[]},"output":{"reference":"RFC 8259 + Myers 1986","version":"1.0.0","clean":true,"result":[],"conflicts":[]}}],"execute_url":"/v1/tools/json-array-three-way-merge/versions/1.0.0/execute"}