{"inputSchema":{"type":"object","properties":{"factors":{"type":"array","items":{"type":"integer","minimum":2,"maximum":1000},"maxItems":5,"minItems":1},"new_factors":{"type":"array","items":{"type":"integer","minimum":2,"maximum":1000},"maxItems":5,"minItems":1},"top_count":{"type":"integer","minimum":0,"maximum":100000000}},"required":["factors","new_factors","top_count"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"old_units":{"type":"integer"},"new_units":{"type":"integer"},"delta_units":{"type":"integer"}},"required":["old_units","new_units","delta_units"]},"limitations":{"type":"string"}}},"requestExample":{"factors":[6,4,20],"new_factors":[8,4,20],"top_count":2},"usageGuide":["Level 0 is one piece; each factor is the number of preceding-level units in the next pack. Physical counts must be disjoint."],"outputExample":{"measured_at":"2026-11-23T12:33:52.225Z","source":{"reference":"urn:sha256:fb17aec9595238edb519078895915fddfc7ed016f49130c476d146b176e651b8","retrieved_at":"2026-11-23T12:33:52.225Z"},"data":{"old_units":960,"new_units":1280,"delta_units":320},"limitations":"Level 0 is one piece; each factor is the number of preceding-level units in the next pack. Physical counts must be disjoint."},"tags":["packaging hierarchy","case quantity","order fulfilment","inventory units"],"price_usdc":"0.005"}