{"inputSchema":{"type":"object","properties":{"available":{"type":"integer","minimum":0,"maximum":1000000000},"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64,"minLength":1},"quantity":{"type":"integer","minimum":0,"maximum":1000000000},"priority":{"type":"integer","minimum":0,"maximum":100}},"required":["id","quantity","priority"],"additionalProperties":false},"maxItems":100,"minItems":1}},"required":["available","requests"],"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":{"allocations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":4096},"allocated":{"$ref":"#/$defs/s0"},"shortfall":{"$ref":"#/$defs/s0"}},"required":["id","allocated","shortfall"],"additionalProperties":false},"maxItems":100,"minItems":0},"unused":{"$ref":"#/$defs/s0"}},"required":["allocations","unused"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true,"$id":"urn:h:w4:E6","$defs":{"s0":{"type":"integer","minimum":0,"maximum":1000000000000}}},"requestExample":{"available":7,"requests":[{"id":"A","quantity":3,"priority":0},{"id":"B","quantity":4,"priority":1},{"id":"C","quantity":4,"priority":1}]},"usageGuide":[],"price_usdc":"0.005"}