{"inputSchema":{"type":"object","properties":{"factors":{"type":"array","items":{"type":"integer","minimum":2,"maximum":1000},"maxItems":5,"minItems":1},"top_count":{"type":"integer","minimum":0,"maximum":100000000},"label_levels":{"type":"array","items":{"type":"integer","minimum":0,"maximum":5},"maxItems":6,"minItems":1}},"required":["factors","top_count","label_levels"],"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":{"labels_per_level":{"type":"array","items":{"type":"integer"}},"total_labels":{"type":"integer"}},"required":["labels_per_level","total_labels"]},"limitations":{"type":"string"}}},"requestExample":{"factors":[6,4,20],"top_count":3,"label_levels":[1,3]},"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.261Z","source":{"reference":"urn:sha256:3e8ba156f72b35fcb9896d9c434c86421e687da4d97807094f6d8484dbf14d55","retrieved_at":"2026-11-23T12:33:52.261Z"},"data":{"labels_per_level":[240,3],"total_labels":243},"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"}