{"lexicon":1,"id":"tickets.atmosphere.createCapacityGroup","defs":{"main":{"type":"procedure","description":"Create a private capacity group for an app-scoped ticketed event.","input":{"encoding":"application/json","schema":{"type":"object","required":["organizerDid","event","name","totalCapacity"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"organizerDid":{"type":"string","format":"did"},"event":{"type":"ref","ref":"tickets.atmosphere.defs#eventInput"},"name":{"type":"string","minLength":1,"maxLength":200},"totalCapacity":{"type":"integer","minimum":1,"maximum":250000},"metadata":{"type":"unknown"}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["event","capacityGroup"],"properties":{"event":{"type":"ref","ref":"tickets.atmosphere.defs#eventSummary"},"capacityGroup":{"type":"ref","ref":"tickets.atmosphere.defs#capacityGroupSummary"}}}}}}}