{"inputSchema":{"type":"object","properties":{"units":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"maxItems":50,"minItems":1},"quantities":{"type":"array","items":{"type":"integer","minimum":1,"maximum":10000},"maxItems":50,"minItems":1},"bundle":{"type":"integer","minimum":0,"maximum":1000000000}},"required":["units","quantities","bundle"],"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":{"separate":{"type":"integer"},"bundle_saving":{"type":"integer"},"bundle_cheaper":{"type":"boolean"}},"required":["separate","bundle_saving","bundle_cheaper"]},"limitations":{"type":"string"}}},"requestExample":{"units":[255,339,339],"quantities":[6,6,6],"bundle":5498},"usageGuide":["Integer minor units, one currency. Retail examples are historical GBP observations, CC BY 4.0. Promotion, discount and deposit terms are supplied for the calculation.","Example prices and units adapted from https://doi.org/10.24432/C5BW33."],"outputExample":{"measured_at":"2026-11-25T23:48:39.834Z","source":{"reference":"Buyer-supplied basket. Example unit prices: D. Chen, Online Retail.","retrieved_at":"2026-11-25T23:48:39.834Z"},"data":{"separate":5598,"bundle_saving":100,"bundle_cheaper":true},"limitations":"Integer minor units, one currency. Retail examples are historical GBP observations, CC BY 4.0. Promotion, discount and deposit terms are supplied for the calculation."},"tags":["basket price","checkout calculation","merchant offers","discount check"],"price_usdc":"0.005"}