{"inputSchema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":100,"minLength":1},"at_ms":{"type":"integer","minimum":0,"maximum":1000000000}},"required":["id","at_ms"],"additionalProperties":false},"maxItems":50,"minItems":1},"rules":{"type":"array","items":{"type":"object","properties":{"before":{"type":"string","maxLength":100,"minLength":1},"after":{"type":"string","maxLength":100,"minLength":1},"min_gap_ms":{"type":"integer","minimum":0,"maximum":1000000000},"max_gap_ms":{"type":["integer","null"],"minimum":0,"maximum":1000000000}},"required":["before","after","min_gap_ms","max_gap_ms"],"additionalProperties":false},"maxItems":100,"minItems":0}},"required":["events","rules"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"workflow-event-order-invariants"},"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":{"evaluations":{"type":"array","items":{"type":"object"},"maxItems":100,"minItems":0},"violation_count":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["evaluations","violation_count"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"const":0}},"additionalProperties":true},"requestExample":{"events":[{"id":"started","at_ms":0},{"id":"ready","at_ms":30}],"rules":[{"before":"started","after":"ready","min_gap_ms":10,"max_gap_ms":20}]},"price_usdc":"0.005"}