{"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":{"options":{"$ref":"#/$defs/s0"},"pairwise":{"type":"array","items":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000000000},"maxItems":7,"minItems":1},"maxItems":7,"minItems":1},"strict_winners":{"$ref":"#/$defs/s0"},"weak_winners":{"$ref":"#/$defs/s0"}},"required":["options","pairwise","strict_winners","weak_winners"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true,"$id":"urn:h:w7:G0","$defs":{"s0":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":7,"minItems":0}}},"requestExample":{"options":["A","B"],"ballots":[{"ranking":["A","B"],"weight":3},{"ranking":["B","A"],"weight":1}]},"usageGuide":["Complete strict rankings with supplied integer weights, no voter identities. Pairwise ties disqualify strict winners but permit weak winners; no election administration."],"price_usdc":"0.005"}