{"lexicon":1,"id":"tickets.atmosphere.updateCapacityGroup","defs":{"main":{"type":"procedure","description":"Update a private capacity group for an app-scoped ticketed event.","input":{"encoding":"application/json","schema":{"type":"object","required":["capacityGroupId"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"capacityGroupId":{"type":"string","minLength":1,"maxLength":300},"name":{"type":"string","minLength":1,"maxLength":200},"totalCapacity":{"type":"integer","minimum":1,"maximum":250000},"status":{"type":"string","knownValues":["active","archived"],"maxLength":32},"metadata":{"type":"unknown"}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["capacityGroup"],"properties":{"capacityGroup":{"type":"ref","ref":"tickets.atmosphere.defs#capacityGroupSummary"}}}},"errors":[{"name":"AppNotRegistered","description":"Caller DID is not registered as an ATM app."},{"name":"TicketsModuleDisabled","description":"This app has not enabled ATM Tickets."},{"name":"CapacityGroupNotFound","description":"Capacity group not found."},{"name":"InvalidCapacity","description":"Capacity must be at least 1."}]}}}