{"id":"json-array-merge-verify","version":"1.0.0","description":"Verify a candidate JSON array against the deterministic three-way merge result and return an exact witness.","supported_operations":["verify a three way array merge","check merged JSON array","validate merge candidate","replay JSON array merge","audit array merge result","compare candidate with deterministic merge"],"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_candidate_items":256,"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","candidate"],"properties":{"base":{"type":"array","maxItems":128,"items":{}},"left":{"type":"array","maxItems":128,"items":{}},"right":{"type":"array","maxItems":128,"items":{}},"candidate":{"type":"array","maxItems":256,"items":{}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["reference","version","valid","reason","expected","conflict_count"],"properties":{"reference":{"type":"string","const":"RFC 8259 + Myers 1986"},"version":{"type":"string","const":"1.0.0"},"valid":{"type":"boolean"},"reason":{"type":["string","null"],"enum":["candidate_mismatch","merge_has_conflicts",null]},"expected":{"type":"array","maxItems":256,"items":{}},"conflict_count":{"type":"integer","minimum":0,"maximum":256}}},"examples":[{"input":{"base":["a"],"left":["a","b"],"right":["a"],"candidate":["a","b"]},"output":{"reference":"RFC 8259 + Myers 1986","version":"1.0.0","valid":true,"reason":null,"expected":["a","b"],"conflict_count":0}},{"input":{"base":[],"left":[],"right":[],"candidate":[]},"output":{"reference":"RFC 8259 + Myers 1986","version":"1.0.0","valid":true,"reason":null,"expected":[],"conflict_count":0}}],"execute_url":"/v1/tools/json-array-merge-verify/versions/1.0.0/execute"}