{"inputSchema":{"type":"object","properties":{"initial":{"$ref":"#/$defs/s0"},"actions":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/$defs/s2"},"costs":{"$ref":"#/$defs/s0"},"gains":{"$ref":"#/$defs/s0"}},"required":["id","costs","gains"],"additionalProperties":false},"maxItems":200,"minItems":0}},"required":["initial","actions"],"additionalProperties":false,"$id":"urn:h:w5:G5:input","$defs":{"s0":{"type":"object","additionalProperties":{"$ref":"#/$defs/s1"},"maxProperties":100,"propertyNames":{"$ref":"#/$defs/s2"}},"s1":{"type":"integer","minimum":0,"maximum":1000000000},"s2":{"type":"string","maxLength":64,"minLength":1}}},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"const":"caller-supplied data"},"data":{"type":"object","properties":{"balances":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","maxLength":4096},"amount":{"type":"number","minimum":-1e+30,"maximum":1e+30}},"required":["resource","amount"],"additionalProperties":false},"maxItems":10000,"minItems":0},"actions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":4096},"accepted":{"type":"boolean"},"shortages":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"string","maxLength":4096},"missing":{"type":"number","minimum":-1e+30,"maximum":1e+30}},"required":["resource","missing"],"additionalProperties":false},"maxItems":100,"minItems":0}},"required":["id","accepted","shortages"],"additionalProperties":false},"maxItems":200,"minItems":0}},"required":["balances","actions"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true},"requestExample":{"initial":{"wood":2},"actions":[{"id":"craft","costs":{"wood":3},"gains":{"plank":1}}]},"usageGuide":[],"price_usdc":"0.005"}