{"inputSchema":{"type":"object","properties":{"options":{"type":"array","items":{"type":"string","maxLength":24,"minLength":1},"maxItems":7,"minItems":1},"ballots":{"type":"array","items":{"type":"object","properties":{"ranking":{"type":"array","items":{"type":"string","maxLength":24,"minLength":1},"maxItems":7,"minItems":1},"weight":{"type":"integer","minimum":0,"maximum":1000000}},"required":["ranking","weight"],"additionalProperties":false},"maxItems":200,"minItems":1}},"required":["options","ballots"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"const":"caller-supplied data"},"data":{"type":"object","properties":{"scores":{"type":"array","items":{"type":"object","properties":{"option":{"type":"string","maxLength":4096},"worst_defeat_margin":{"type":"number","minimum":-1e+30,"maximum":1e+30}},"required":["option","worst_defeat_margin"],"additionalProperties":false},"maxItems":7,"minItems":0},"winners":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":7,"minItems":0}},"required":["scores","winners"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true},"requestExample":{"options":["A","B"],"ballots":[{"ranking":["A","B"],"weight":3},{"ranking":["B","A"],"weight":1}]},"usageGuide":["Positive pairwise margin variant, not winning-votes or opposition-count minimax. Zero means no positive defeat margin; tied minimum values are all returned."],"price_usdc":"0.005"}