{"inputSchema":{"type":"object","properties":{"advertised":{"type":"array","items":{"type":"integer","minimum":0,"maximum":10000000},"maxItems":50,"minItems":1},"checkout":{"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}},"required":["advertised","checkout","quantities"],"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":{"higher_lines":{"type":"integer"},"lower_lines":{"type":"integer"},"net_change":{"type":"integer"}},"required":["higher_lines","lower_lines","net_change"]},"limitations":{"type":"string"}}},"requestExample":{"advertised":[255,339,295],"checkout":[295,339,295],"quantities":[1,1,1]},"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.847Z","source":{"reference":"Buyer-supplied basket. Example unit prices: D. Chen, Online Retail.","retrieved_at":"2026-11-25T23:48:39.847Z"},"data":{"higher_lines":1,"lower_lines":0,"net_change":40},"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"}