{"lexicon":1,"id":"tickets.atmosphere.checkInTicket","defs":{"main":{"type":"procedure","description":"Verify and check in a private ATM Tickets scan token.","input":{"encoding":"application/json","schema":{"type":"object","required":["ticketToken"],"nullable":["checkInListId","scannerDid"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"ticketToken":{"type":"string","minLength":1,"maxLength":4000},"checkInListId":{"type":"string","minLength":1,"maxLength":300},"scannerDid":{"type":"string","format":"did"},"metadata":{"type":"unknown"}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","knownValues":["checked_in","already_checked_in","not_valid"],"maxLength":32},"checkedInAt":{"type":"string","format":"datetime"},"ticket":{"type":"ref","ref":"tickets.atmosphere.defs#issuedTicket"}}}},"errors":[{"name":"AppNotRegistered","description":"Caller DID is not registered as an ATM app."},{"name":"TicketsModuleDisabled","description":"This app has not enabled ATM Tickets."},{"name":"TicketNotFound","description":"Ticket not found or verification failed."}]}}}