{"lexicon":1,"id":"tickets.atmosphere.listPublicConfig","defs":{"publicConfigRecord":{"type":"object","required":["uri","cid","organizer","collection","rkey","event","archived","indexedAt"],"properties":{"uri":{"type":"string","format":"at-uri"},"cid":{"type":"string","format":"cid"},"organizer":{"type":"string","format":"did"},"collection":{"type":"string","knownValues":["tickets.atmosphere.ticketTier","tickets.atmosphere.capacityGroup","tickets.atmosphere.publicOffer"],"maxLength":64},"rkey":{"type":"string","maxLength":512},"event":{"type":"ref","ref":"com.atproto.repo.strongRef"},"title":{"type":"string","maxGraphemes":100,"maxLength":1000},"description":{"type":"string","maxGraphemes":1000,"maxLength":10000},"currency":{"type":"string","minLength":3,"maxLength":3,"description":"Lowercase ISO 4217 currency code, matching money.atmosphere.price."},"unitAmount":{"type":"integer","minimum":0},"capacityGroup":{"type":"ref","ref":"com.atproto.repo.strongRef"},"maxPerOrder":{"type":"integer","minimum":1,"maximum":50},"product":{"type":"ref","ref":"com.atproto.repo.strongRef"},"price":{"type":"ref","ref":"com.atproto.repo.strongRef"},"saleStartsAt":{"type":"string","format":"datetime"},"saleEndsAt":{"type":"string","format":"datetime"},"totalCapacity":{"type":"integer","minimum":1,"maximum":250000},"tiers":{"type":"array","maxLength":250,"items":{"type":"ref","ref":"com.atproto.repo.strongRef"}},"startsAt":{"type":"string","format":"datetime"},"endsAt":{"type":"string","format":"datetime"},"archived":{"type":"boolean"},"createdAt":{"type":"string","format":"datetime"},"updatedAt":{"type":"string","format":"datetime"},"indexedAt":{"type":"string","format":"datetime","description":"When the AppView indexed this public ticket config record."}}},"main":{"type":"query","description":"List indexed public tickets.atmosphere ticket config records. Requires organizer or eventUri. Public read; no authentication required. Live availability, holds, issued tickets, attendee data, and scan state remain private ATM service state.","parameters":{"type":"params","properties":{"organizer":{"type":"string","format":"did"},"eventUri":{"type":"string","format":"at-uri"},"collections":{"type":"array","maxLength":3,"items":{"type":"string","knownValues":["tickets.atmosphere.ticketTier","tickets.atmosphere.capacityGroup","tickets.atmosphere.publicOffer"],"maxLength":64}},"includeArchived":{"type":"boolean","default":false},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","maxLength":1024}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["records"],"properties":{"records":{"type":"array","items":{"type":"ref","ref":"#publicConfigRecord"}},"cursor":{"type":"string","maxLength":1024}}}},"errors":[{"name":"InvalidRequest","description":"The query must include organizer or eventUri, and only supported ticket config collections may be requested."}]}}}