{"inputSchema":{"type":"object","properties":{"factors":{"type":"array","items":{"type":"integer","minimum":2,"maximum":1000},"maxItems":5,"minItems":1},"available":{"type":"array","items":{"type":"integer","minimum":0,"maximum":100000000},"maxItems":6,"minItems":2},"units":{"type":"integer","minimum":0,"maximum":100000000}},"required":["factors","available","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":{"exact_fill":{"type":"boolean"},"pick_counts":{"type":"array","items":{"type":"integer"}},"unfilled_units":{"type":"integer"}},"required":["exact_fill","pick_counts","unfilled_units"]},"limitations":{"type":"string"}}},"requestExample":{"factors":[6,4,20],"available":[0,8,2,0],"units":66},"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.207Z","source":{"reference":"urn:sha256:8fcea4fd1258474ca9ae04f73166e762e15cdf2d14e177c6242adb8ff59c368b","retrieved_at":"2026-11-23T12:33:52.207Z"},"data":{"exact_fill":true,"pick_counts":[0,3,2,0],"unfilled_units":0},"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"}