{"inputSchema":{"type":"object","properties":{"pv_w":{"type":"array","items":{"type":"number","minimum":0,"maximum":1000000},"maxItems":200,"minItems":1},"load_w":{"type":"array","items":{"type":"number","minimum":0,"maximum":1000000},"maxItems":200,"minItems":1},"interval_h":{"type":"number","minimum":0.0002777777777777778,"maximum":24},"capacity_wh":{"type":"number","minimum":1,"maximum":10000000},"initial_wh":{"type":"number","minimum":0,"maximum":10000000},"reserve_wh":{"type":"number","minimum":0,"maximum":10000000},"power_limit_w":{"type":"number","minimum":1,"maximum":1000000},"efficiency":{"type":"number","minimum":0.01,"maximum":1}},"required":["pv_w","load_w","interval_h","capacity_wh","initial_wh","reserve_wh","power_limit_w","efficiency"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"pv-storage-dispatch-replay"},"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":{"stored_wh":{"type":"array","items":{"$ref":"#/$defs/s0"},"maxItems":200,"minItems":0},"grid_import_wh":{"$ref":"#/$defs/s0"},"grid_export_wh":{"$ref":"#/$defs/s0"},"loss_wh":{"$ref":"#/$defs/s0"}},"required":["stored_wh","grid_import_wh","grid_export_wh","loss_wh"],"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:B2","$defs":{"s0":{"type":"number","minimum":-1e+30,"maximum":1e+30}}},"requestExample":{"pv_w":[1500,0],"load_w":[500,1000],"interval_h":1,"capacity_wh":2000,"initial_wh":500,"reserve_wh":200,"power_limit_w":1000,"efficiency":0.9},"price_usdc":"0.005"}