{"inputSchema":{"type":"object","properties":{"method":{"enum":["equity","control"]},"sites":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"minLength":1},"ownership":{"type":"number","minimum":0,"maximum":1},"controlled":{"type":"boolean"}},"required":["id","ownership","controlled"],"additionalProperties":false},"maxItems":100,"minItems":0},"records":{"type":"array","items":{"type":"object","properties":{"site":{"type":"string","maxLength":64,"minLength":1},"activity":{"type":"string","maxLength":64,"minLength":1},"kg_co2e":{"type":"number","minimum":0,"maximum":1000000000000000}},"required":["site","activity","kg_co2e"],"additionalProperties":false},"maxItems":200,"minItems":0}},"required":["method","sites","records"],"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":{"allocated_kg_co2e":{"type":"number","minimum":-1e+30,"maximum":1e+30},"overallocated":{"type":"array","items":{"type":"object","properties":{"activity":{"type":"string","maxLength":4096},"total_membership":{"type":"number","minimum":-1e+30,"maximum":1e+30},"record_indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000000000},"maxItems":200,"minItems":0}},"required":["activity","total_membership","record_indices"],"additionalProperties":false},"maxItems":200,"minItems":0}},"required":["allocated_kg_co2e","overallocated"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true},"requestExample":{"method":"equity","sites":[{"id":"plant-north","ownership":0.6,"controlled":true},{"id":"plant-east","ownership":0.5,"controlled":false}],"records":[{"site":"plant-north","activity":"steam-loop","kg_co2e":100},{"site":"plant-east","activity":"steam-loop","kg_co2e":100}]},"usageGuide":[],"price_usdc":"0.005"}