{"lexicon":1,"id":"tickets.atmosphere.claimFreeTicket","defs":{"main":{"type":"procedure","description":"Atomically claim zero-price scarce tickets for a verified buyer without checkout redirect.","input":{"encoding":"application/json","schema":{"type":"object","required":["buyerDid","buyerAssertionJwt","items"],"nullable":["customerEmail","idempotencyKey"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"eventId":{"type":"string","minLength":1,"maxLength":300},"eventUri":{"type":"string","format":"at-uri"},"buyerDid":{"type":"string","format":"did"},"buyerAssertionJwt":{"type":"string","description":"Required short-lived user service-auth JWT from buyerDid to ATM, scoped to tickets.atmosphere.claimFreeTicket.","maxLength":8192},"customerEmail":{"type":"string","maxLength":320},"items":{"type":"array","items":{"type":"ref","ref":"tickets.atmosphere.defs#ticketHoldItemRequest"},"minLength":1,"maxLength":20},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"metadata":{"type":"unknown"}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["claimId","holdId","environment","items","tickets"],"properties":{"claimId":{"type":"string","maxLength":300},"holdId":{"type":"string","maxLength":300},"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"items":{"type":"array","items":{"type":"ref","ref":"tickets.atmosphere.defs#ticketHoldItem"},"minLength":1,"maxLength":20},"tickets":{"type":"array","items":{"type":"ref","ref":"tickets.atmosphere.defs#issuedTicketWithContext"},"minLength":1,"maxLength":50},"reused":{"type":"boolean"}}}}}}}