{"inputSchema":{"type":"object","properties":{"factors":{"type":"array","items":{"type":"integer","minimum":2,"maximum":1000},"maxItems":5,"minItems":1},"units":{"type":"integer","minimum":0,"maximum":100000000}},"required":["factors","units"],"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":{"counts_from_each":{"type":"array","items":{"type":"integer"}},"handling_units":{"type":"integer"}},"required":["counts_from_each","handling_units"]},"limitations":{"type":"string"}}},"requestExample":{"factors":[6,4,20],"units":538},"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.169Z","source":{"reference":"urn:sha256:89347e094ae72ecb696b95d4516fd9458c7647c1f095b11278e0981e67a23b75","retrieved_at":"2026-11-23T12:33:52.169Z"},"data":{"counts_from_each":[4,1,2,1],"handling_units":8},"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"}