{"id":"jaro-matches-explain","version":"1.0.0","description":"Explain the deterministic Jaro match window, paired code points, and transposition flags.","supported_operations":["explain Jaro character matches","show Jaro match window","inspect Jaro transpositions","trace Jaro string alignment","list matched Jaro characters","debug Jaro similarity matching"],"unsupported_operations":["compute an edit script","grapheme-cluster segmentation","locale-aware character matching"],"semantics":["Indices count Unicode code points, not UTF-16 code units; input is not normalized, trimmed, or case-folded.","The window is max(floor(max length / 2) - 1, 0); scan left indices upward and take the lowest available right index.","Pairs are returned in ascending left index; transposed compares each left matched character with the same ordinal character in the right matched sequence.","transpositions is half the number of flagged pairs rounded down; empty inputs return an empty explanation."],"limits":{"max_string_bytes":1024,"max_string_code_points":256,"max_output_bytes":65536},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["left","right"],"properties":{"left":{"type":"string","maxLength":256},"right":{"type":"string","maxLength":256}}},"output_schema":{"type":"object","additionalProperties":false,"required":["matches","transpositions","match_window","matched_pairs"],"properties":{"matches":{"type":"integer","minimum":0,"maximum":256},"transpositions":{"type":"integer","minimum":0,"maximum":128},"match_window":{"type":"integer","minimum":0,"maximum":127},"matched_pairs":{"type":"array","maxItems":256,"items":{"type":"object","additionalProperties":false,"required":["left_index","right_index","left_character","right_character","transposed"],"properties":{"left_index":{"type":"integer","minimum":0,"maximum":255},"right_index":{"type":"integer","minimum":0,"maximum":255},"left_character":{"type":"string","minLength":1,"maxLength":1},"right_character":{"type":"string","minLength":1,"maxLength":1},"transposed":{"type":"boolean"}}}}}},"examples":[{"input":{"left":"ABCD","right":"ACBD"},"output":{"matches":4,"transpositions":1,"match_window":1,"matched_pairs":[{"left_index":0,"right_index":0,"left_character":"A","right_character":"A","transposed":false},{"left_index":1,"right_index":2,"left_character":"B","right_character":"B","transposed":true},{"left_index":2,"right_index":1,"left_character":"C","right_character":"C","transposed":true},{"left_index":3,"right_index":3,"left_character":"D","right_character":"D","transposed":false}]}},{"input":{"left":"","right":""},"output":{"matches":0,"transpositions":0,"match_window":0,"matched_pairs":[]}}],"execute_url":"/v1/tools/jaro-matches-explain/versions/1.0.0/execute"}