{"inputSchema":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":20,"minItems":1},"ballots":{"type":"array","items":{"type":"object","properties":{"ranking":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":20,"minItems":0},"weight":{"type":"integer","minimum":1,"maximum":1000000}},"required":["ranking","weight"],"additionalProperties":false},"maxItems":100,"minItems":1}},"required":["candidates","ballots"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"type":"string","maxLength":128,"minLength":1},"measured_at":{"type":"string","maxLength":30,"minLength":1},"source":{"type":"object","properties":{"kind":{"const":"supplied_input"},"sha256":{"type":"string","maxLength":64,"minLength":1},"reference":{"type":"string","maxLength":1024,"minLength":1}},"required":["kind","sha256","reference"],"additionalProperties":false},"data":{"type":"object","properties":{"winner":{"type":["string","null"]},"rounds":{"type":"array","items":{"type":"object","properties":{"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0,"maximum":1000000000000}},"exhausted_weight":{"type":"integer","minimum":0,"maximum":1000000000000},"eliminated":{"type":["string","null"]}},"required":["counts","exhausted_weight","eliminated"],"additionalProperties":false},"maxItems":20,"minItems":0}},"required":["winner","rounds"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"type":"number","minimum":0,"maximum":0.025}},"additionalProperties":true},"requestExample":{"candidates":["solar","storage","grid"],"ballots":[{"ranking":["solar","storage"],"weight":4},{"ranking":["storage","grid"],"weight":3},{"ranking":["grid","storage"],"weight":2}]},"usageGuide":[],"price_usdc":"0.005"}