{"inputSchema":{"type":"object","properties":{"readings":{"type":"array","items":{"type":"object","properties":{"at_ms":{"type":"integer","minimum":0,"maximum":1000000000},"value":{"type":"integer","minimum":0,"maximum":1000000000}},"required":["at_ms","value"],"additionalProperties":false},"maxItems":100,"minItems":2},"mode":{"enum":["reset_to_zero","wrap"]},"modulus":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["readings","mode","modulus"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"series-counter-reset-deltas"},"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":256,"minLength":1}},"required":["kind","sha256","reference"],"additionalProperties":false},"data":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object"},"maxItems":99,"minItems":0},"total_minimum":{"type":"number","minimum":-1000000000000,"maximum":1000000000000}},"required":["steps","total_minimum"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"const":0}},"additionalProperties":true},"requestExample":{"readings":[{"at_ms":0,"value":100},{"at_ms":10,"value":120},{"at_ms":20,"value":5}],"mode":"reset_to_zero","modulus":1000},"price_usdc":"0.005"}