{"inputSchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"quantity":{"type":"number","minimum":0,"maximum":1000000000000000},"unit":{"enum":["kWh","MWh","kg","t","km","passenger_km"]},"factor":{"type":"number","minimum":0,"maximum":1000000000000000},"factor_per":{"enum":["kWh","MWh","kg","t","km","passenger_km"]}},"required":["quantity","unit","factor","factor_per"],"additionalProperties":false},"maxItems":100,"minItems":1}},"required":["rows"],"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":{"rows":{"type":"array","items":{"type":"object","properties":{"valid":{"type":"boolean"},"converted_quantity":{"type":["number","null"]},"kg_co2e":{"type":["number","null"]}},"required":["valid","converted_quantity","kg_co2e"],"additionalProperties":false},"maxItems":100,"minItems":0},"valid_total_kg_co2e":{"type":"number","minimum":-1e+30,"maximum":1e+30},"invalid_indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000000000},"maxItems":100,"minItems":0}},"required":["rows","valid_total_kg_co2e","invalid_indices"],"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":{"rows":[{"quantity":1,"unit":"MWh","factor":0.4,"factor_per":"kWh"},{"quantity":1,"unit":"kg","factor":2,"factor_per":"km"}]},"usageGuide":[],"price_usdc":"0.005"}