{"inputSchema":{"type":"object","properties":{"surplus_w":{"type":"array","items":{"type":"number","minimum":0,"maximum":1000000},"maxItems":200,"minItems":1},"load_w":{"type":"number","minimum":1,"maximum":1000000},"duration_intervals":{"type":"integer","minimum":1,"maximum":200},"interval_h":{"type":"number","minimum":0.0002777777777777778,"maximum":24}},"required":["surplus_w","load_w","duration_intervals","interval_h"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"pv-surplus-load-shift-window"},"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":{"best_start":{"$ref":"#/$defs/s0"},"grid_wh":{"$ref":"#/$defs/s1"},"solar_wh":{"$ref":"#/$defs/s1"},"candidates":{"type":"array","items":{"type":"object","properties":{"start":{"$ref":"#/$defs/s0"},"grid_wh":{"$ref":"#/$defs/s1"}},"required":["start","grid_wh"],"additionalProperties":false},"maxItems":200,"minItems":0}},"required":["best_start","grid_wh","solar_wh","candidates"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"const":0}},"additionalProperties":true,"$id":"urn:halowerk:w2:B10","$defs":{"s0":{"type":"integer","minimum":0,"maximum":1000000000000},"s1":{"type":"number","minimum":-1e+30,"maximum":1e+30}}},"requestExample":{"surplus_w":[0,500,1500,1500,0],"load_w":1000,"duration_intervals":2,"interval_h":1},"price_usdc":"0.005"}