{"id":"jaro-similarity-compute","version":"1.0.0","description":"Compute Jaro similarity with a deterministic match window and exact reduced rational audit fields.","supported_operations":["compute Jaro similarity","exact Jaro string score","compare names with Jaro","Jaro distance-style match score","audit Jaro numerator and denominator","deterministic character matching"],"unsupported_operations":["Jaro-Winkler prefix adjustment","locale-aware collation","automatic Unicode normalization"],"semantics":["Unicode code points are compared exactly without normalization, trimming, case folding, or locale behavior.","The window is max(floor(max length / 2) - 1, 0); each left code point takes the lowest-index unmatched equal right code point in range.","Jaro is (m/a + m/b + (m-t)/m)/3, with t equal to half the ordered mismatches rounded down.","Both empty strings score 1; exactly one empty string or no matches scores 0.","The reduced fraction is authoritative; score is its deterministic 12-place half-up decimal rendering."],"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":["score","numerator","denominator","matches","transpositions","match_window"],"properties":{"score":{"type":"string","pattern":"^(0|1|0\\.[0-9]{12})$"},"numerator":{"type":"string","pattern":"^[0-9]+$"},"denominator":{"type":"string","pattern":"^[1-9][0-9]*$"},"matches":{"type":"integer","minimum":0,"maximum":256},"transpositions":{"type":"integer","minimum":0,"maximum":128},"match_window":{"type":"integer","minimum":0,"maximum":127}}},"examples":[{"input":{"left":"MARTHA","right":"MARHTA"},"output":{"score":"0.944444444444","numerator":"17","denominator":"18","matches":6,"transpositions":1,"match_window":2}},{"input":{"left":"","right":""},"output":{"score":"1","numerator":"1","denominator":"1","matches":0,"transpositions":0,"match_window":0}}],"execute_url":"/v1/tools/jaro-similarity-compute/versions/1.0.0/execute"}