{"lexicon":1,"id":"tickets.atmosphere.revokeCollaboration","defs":{"main":{"type":"procedure","description":"Revoke a co-organizer collaboration. After revocation the co-organizer no longer has operational control of the event. Any recorded revenueShareBps was only ever a manual-reconciliation intent, so nothing is unwound on the payment rail. Requires app service-auth plus a verified organizer assertion.","input":{"encoding":"application/json","schema":{"type":"object","required":["collaborationId","organizerDid"],"properties":{"environment":{"type":"string","knownValues":["test","live"],"maxLength":16},"collaborationId":{"type":"string","minLength":1,"maxLength":300},"organizerDid":{"type":"string","format":"did","description":"The revoking PRIMARY organizer (or accepted co-organizer) authorizing this revocation via event control."},"organizerAssertionJwt":{"type":"string","description":"Optional short-lived user service-auth JWT from organizerDid to ATM, scoped to tickets.atmosphere.revokeCollaboration.","maxLength":8192}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["collaboration"],"properties":{"collaboration":{"type":"ref","ref":"tickets.atmosphere.defs#organizerCollaboration"}}}},"errors":[{"name":"AppNotRegistered","description":"Caller DID is not registered as an ATM app."},{"name":"TicketsModuleDisabled","description":"This app has not enabled ATM Tickets."},{"name":"CollaborationNotFound","description":"Collaboration invitation not found."},{"name":"EventNotFound","description":"Ticketed event not found."},{"name":"EventControlRequired","description":"A verified primary-organizer or accepted co-organizer authorization is required for this event."},{"name":"UserDidMismatch","description":"organizerAssertionJwt issuer does not match organizerDid."}]}}}