{"lexicon":1,"id":"tickets.atmosphere.updateTicketEvent","defs":{"main":{"type":"procedure","description":"Update an app-scoped ATM ticketed-event config shell for a public event. Requires app service-auth plus current primary-organizer or accepted co-organizer authority; archival remains primary-organizer-only, and the app that created the config has no standing mutation authority. V1 does not support private or unlisted events.","input":{"encoding":"application/json","schema":{"type":"object","required":["eventId"],"nullable":["startsAt","eventCid","imageUrl"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"eventId":{"type":"string","minLength":1,"maxLength":300},"organizerDid":{"type":"string","format":"did","description":"The primary organizer or accepted co-organizer authorizing this mutation. Omit only when the calling app is itself the event's primary organizer."},"organizerAssertionJwt":{"type":"string","description":"Optional only for an app updating its own event. Otherwise, a short-lived user service-auth JWT from organizerDid to ATM scoped to tickets.atmosphere.updateTicketEvent.","maxLength":8192},"title":{"type":"string","minLength":1,"maxGraphemes":300,"maxLength":3000},"startsAt":{"type":"string","format":"datetime"},"eventCid":{"type":"string","format":"cid"},"imageUrl":{"type":"string","format":"uri","maxLength":2000},"status":{"type":"string","description":"ATM ticket-sales lifecycle state. It does not control visibility of the public event record.","knownValues":["active","paused","archived"],"maxLength":32},"metadata":{"type":"unknown"}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["event"],"properties":{"event":{"type":"ref","ref":"tickets.atmosphere.defs#eventSummary"}}}},"errors":[{"name":"AppNotRegistered","description":"Caller DID is not registered as an ATM app."},{"name":"TicketsModuleDisabled","description":"This app has not enabled ATM Tickets."},{"name":"TicketEventNotFound","description":"Ticketed event config not found."},{"name":"EventControlRequired","description":"A verified primary-organizer or accepted co-organizer authorization is required for this event."},{"name":"PrimaryOrganizerRequired","description":"Only the current primary organizer can archive the event."},{"name":"UserDidMismatch","description":"organizerAssertionJwt issuer does not match organizerDid."}]}}}