{"lexicon":1,"id":"money.atmosphere.catalog.listPrices","defs":{"catalogPrice":{"type":"object","required":["uri","cid","currency","type","archived"],"properties":{"uri":{"type":"string","format":"at-uri"},"cid":{"type":"string","format":"cid"},"lookupKey":{"type":"string","maxLength":200},"nickname":{"type":"string","maxGraphemes":100,"maxLength":1000},"currency":{"type":"string","minLength":3,"maxLength":16},"unitAmount":{"type":"integer","minimum":0,"description":"Amount in the smallest currency unit. Absent for tiered prices. For customer-chosen amounts, this is the sole default/preset amount shown to the buyer."},"customUnitAmount":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"},"minimum":{"type":"integer","minimum":1},"maximum":{"type":"integer","minimum":1}}},"billingScheme":{"type":"string","knownValues":["per-unit","tiered"],"maxLength":32},"tiersMode":{"type":"string","knownValues":["graduated","volume"],"maxLength":32},"tiers":{"type":"array","maxLength":100,"items":{"type":"ref","ref":"money.atmosphere.price#tier"}},"type":{"type":"string","knownValues":["one-time","recurring"],"maxLength":16},"recurring":{"type":"object","required":["interval"],"properties":{"interval":{"type":"string","knownValues":["day","week","month","year"],"maxLength":16},"intervalCount":{"type":"integer","minimum":1,"maximum":1095,"description":"Absent means 1 (matching Stripe Price.recurring.interval_count)."}}},"archived":{"type":"boolean"},"createdAt":{"type":"string","format":"datetime"}}},"main":{"type":"query","description":"List indexed ATM Prices authored in an offer's repo whose offerUri exactly names that Product, membership tier, or ticket type. Public read; no authentication required.","parameters":{"type":"params","required":["offerUri"],"properties":{"offerUri":{"type":"string","format":"at-uri"},"includeArchived":{"type":"boolean","default":false},"type":{"type":"string","knownValues":["one-time","recurring"],"maxLength":16},"currency":{"type":"string","minLength":3,"maxLength":16},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","maxLength":1024}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["prices"],"properties":{"prices":{"type":"array","maxLength":100,"items":{"type":"ref","ref":"#catalogPrice"}},"cursor":{"type":"string","maxLength":1024}}}}}}}