{"inputSchema":{"type":"object","properties":{"night_start":{"type":"number","minimum":0,"maximum":24},"night_end":{"type":"number","minimum":0,"maximum":24},"shifts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":32,"minLength":1},"team":{"type":"string","pattern":"^pool_[A-Z0-9_]{1,24}$"},"start":{"type":"number","minimum":0,"maximum":744},"end":{"type":"number","minimum":0,"maximum":744}},"required":["id","team","start","end"],"additionalProperties":false},"maxItems":200,"minItems":1}},"required":["night_start","night_end","shifts"],"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":{"shifts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"night_h":{"$ref":"#/$defs/s0"},"other_h":{"$ref":"#/$defs/s0"}},"required":["id","night_h","other_h"],"additionalProperties":false},"maxItems":200,"minItems":0},"total_night_h":{"$ref":"#/$defs/s0"}},"required":["shifts","total_night_h"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string"},"maxItems":5}},"additionalProperties":true,"$id":"urn:h:w4:I2","$defs":{"s0":{"type":"number","minimum":-1e+30,"maximum":1e+30}}},"requestExample":{"night_start":22,"night_end":6,"shifts":[{"id":"S1","team":"pool_A","start":20,"end":30}]},"usageGuide":[],"price_usdc":"0.005"}