{"inputSchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number","minimum":-1000000000,"maximum":1000000000},"maxItems":100,"minItems":3},"window":{"type":"integer","minimum":3,"maximum":31},"threshold":{"type":"number","minimum":0.1,"maximum":20}},"required":["values","window","threshold"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"series-rolling-mad-flags"},"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":{"points":{"type":"array","items":{"type":"object"},"maxItems":100,"minItems":0},"flag_indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000000000},"maxItems":100,"minItems":0}},"required":["points","flag_indices"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"const":0}},"additionalProperties":true},"requestExample":{"values":[1,1,1,20,1,1,1],"window":3,"threshold":3},"price_usdc":"0.005"}