{"lexicon":1,"id":"tickets.atmosphere.archiveTicketType","defs":{"main":{"type":"procedure","description":"Archive an organizer-owned ATM ticket type. Requires app service-auth.","input":{"encoding":"application/json","schema":{"type":"object","required":["ticketTypeId"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"ticketTypeId":{"type":"string","minLength":1,"maxLength":300}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["ticketType"],"properties":{"ticketType":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","maxLength":300},"status":{"type":"string","knownValues":["archived"],"maxLength":32}}}}}},"errors":[{"name":"AppNotRegistered","description":"Caller DID is not registered as an ATM app."},{"name":"TicketsModuleDisabled","description":"This app has not enabled ATM Tickets."},{"name":"TicketTypeNotFound","description":"Ticket type not found."}]}}}