schema { query: Audience mutation: Mutation subscription: Subscription } """ App Clips call this field (HOT_MESS, VELVET, BACKSTAGE), so their small clients (doc/APP_CLIP_API.md) depend on it. Keep it working for clips people already have: add a replacement and deprecate rather than change it. It is a marking, not security: @requires is enforced as on any other field. """ directive @appClip( """ The clips that call it. """ clips: [String!]! ) on FIELD_DEFINITION """ The endpoints this field is on: AUDIENCE (an audience's graph), STAFF (the same graph with the staff edges) and TENANTS (platform administration). Without it a field is on every endpoint where its type is reachable. It is visibility, not security: @requires is enforced on every endpoint. """ directive @endpoint( """ The endpoints it is on. """ in: [Endpoint!]! ) on FIELD_DEFINITION | INTERFACE """ Connects a module capability to the audience tag populated by that capability. """ directive @facet( """ The connected tag key, e.g. karaoke, music or tickets. """ tag: String! ) on INTERFACE | OBJECT """ Declares a module-owned interface available as an edge on eligible object types. """ directive @mixin( """ The module that owns this contract. """ extensionKey: String! """ The generated edge name. """ field: String! """ False when the edge is never null where its module is installed; where it is not, the edge is left out of the schema. """ null: Boolean = true """ Eligible GraphQL object type names. """ on: [String!]! """ Makes it a facet: the key of the tag (Tag.facet) a record carries for the edge to resolve on it. Null on records without it; they list it in their facets when they have it. """ tag: String ) on INTERFACE """ The permissions that let a caller use this field, any one of them: each `namespace:action:scope`, where namespace is the owning module (or a core area), action is read, write, moderate or admin, and scope is * (anything in the audience), mine (what the caller manages), my_troupes (troupes they act for), venue (a venue device's venue), self (their own records) or door (venues whose door they work). Without it a field is public. """ directive @requires( """ Any one of these permits the field. """ permissions: [String!]! ) on FIELD_DEFINITION | INTERFACE """ Autogenerated input type of AccountDelete """ input AccountDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Must be true. """ confirm: Boolean! } """ Autogenerated return type of AccountDelete. """ type AccountDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether the account is gone from this audience. """ deleted: Boolean! } """ Someone's cover for one night at a venue, and their pass. See CoverPass for the QR code. """ type Admission implements ICharge & Node { """ The cover. """ amount: Money! """ When the door first scanned it. """ checkedInAt: ISO8601DateTime """ Coat check hanger or claim number. """ claimCheckNumber: String """ When the record was created. """ createdAt: ISO8601DateTime! """ The event that night, if it set the cover. """ event: Event """ The Hot Mess fee. """ fee: Money! """ Unique identifier. """ id: ID! """ Whether the buyer can refund it themselves: paid, not scanned in, and the night isn't over. """ isRefundable: Boolean! """ The kind of pass (cover or coat_check). """ kind: AdmissionKindEnum! """ The local date of the cover night. """ night: ISO8601Date! """ The pass QR code right now, for clients that don't make their own. Changes every 30 seconds. The buyer only. """ passCode: String """ The Base64 key the app makes the pass QR code with. The buyer only; null for everyone else. """ passSecret: String """ The buyer: their name for the door and the console, their picture so the door can match faces. """ profile: Profile! """ Number of covers in this admission. """ quantity: Int! """ How many times the door has scanned it. """ scanCount: Int! """ Current payment status. """ status: AdmissionStatus! """ The cover tier, e.g. general, vip. """ tier: String """ What the buyer paid. """ total: Money! """ The venue associated with this record. """ venue: Venue! } """ The connection type for Admission. """ type AdmissionConnection { """ A list of edges. """ edges: [AdmissionEdge] """ A list of nodes. """ nodes: [Admission] """ Information to aid in pagination. """ pageInfo: PageInfo! """ How many there are in all, whatever page this is. """ totalCount: Int! } """ An edge in a connection. """ type AdmissionEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Admission } """ The kind of admission or service pass. """ enum AdmissionKindEnum { """ A coat check claim ticket pass. """ COAT_CHECK """ A cover pass to enter the venue. """ COVER } """ Autogenerated input type of AdmissionRefund """ input AdmissionRefundInput { """ The cover admission identifier. """ admissionId: ID! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AdmissionRefund. """ type AdmissionRefundPayload { """ The cover admission affected by this operation. """ admission: Admission! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Where a cover payment stands. """ enum AdmissionStatus { """ The payment was abandoned. """ CANCELED """ The buyer disputed the charge with their bank. """ DISPUTED """ The payment was declined. """ FAILED """ Paid: the pass works. """ PAID """ Paying in the app has started but not finished. """ PENDING """ The money went back; the pass no longer works. """ REFUNDED } """ How much paid placement an audience's apps carry, from none to traditional ads. See doc/ADVERTISING.md. """ enum AdvertisingMode { """ None: no promoted or sponsored cards. Only AudienceKit's own cards, free charity cards and the audience's announcements show. adFreeSponsor names who pays for it. """ AD_FREE """ Privacy-protected ads: venues, events and local sponsors can book promoted cards, shown labelled, contextually, at a flat rate and in fair rotation. """ OPEN """ Sponsorships only: its own venues and events can be placed higher, labelled Sponsored and never targeted or tracked; nothing from outside, and its admins book them (venues can't buy their own). """ SPONSORSHIPS """ Traditional ads. For now the same as OPEN: ad-network delivery isn't built. """ TRADITIONAL } """ The proof of age members in the United Kingdom and Australia need. Report the store country first (reportStoreCountry), show `explainer`, then let them pick one of `methodsOffered`. A free one starts right away (startAgeCheck with its method). The paid one: sell one of `productIds`, send the purchase (recordAgeCheckPurchase), then open the check (startAgeCheck). """ type AgeCheck { """ Whether the API refuses posting until a required check passes. While false the apps may let them carry on and ask again later. """ enforced: Boolean! """ Show this before the purchase sheet. """ explainer: AgeCheckExplainer! """ The ways to prove it, free first. """ methodsOffered: [AgeCheckOption!]! """ The one-time purchase's product ID in each of this audience's apps: the app's bundle ID or package, then ".agecheck". """ productIds: [String!]! """ Set when the paid check couldn't confirm their age in the tries the purchase paid for: where they ask the store for their money back. Offer it next to the free method. """ refundUrl: String """ GB or AU when their country asks for one. """ region: String """ Whether they still owe a check. """ required: Boolean! """ What the app should do next. """ state: AgeCheckState! """ When the check confirmed they are an adult. """ verifiedAt: ISO8601DateTime } """ What the apps show before selling the age check: why it is asked and what the fee is for. """ type AgeCheckExplainer { """ Why their country asks for it. """ body: String! """ Short points: what the fee covers, how long, what is kept. """ points: [String!]! """ A short heading. """ title: String! } """ A way to prove an age. """ enum AgeCheckMethod { """ A credit card check: free, no ID. The card's bank confirms a real credit card. """ CARD """ A photo ID and a selfie with an age check company, paid for by the one-time purchase. """ DOCUMENT } """ One way to prove an age, for the app to list. Show them in the order given: the free one is first. """ type AgeCheckOption { """ A sentence or two about it. """ detail: String! """ Pass this to startAgeCheck. """ method: AgeCheckMethod! """ Whether it needs the one-time purchase first. A free one starts right away. """ paid: Boolean! """ Its name. """ title: String! } """ Autogenerated input type of AgeCheckPurchaseRecord """ input AgeCheckPurchaseRecordInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Google Play: the product bought. """ productId: String """ Google Play: the purchase's token. """ purchaseToken: String """ App Store: the transaction's JWS. """ signedTransaction: String } """ Autogenerated return type of AgeCheckPurchaseRecord. """ type AgeCheckPurchaseRecordPayload { """ Where they stand now. """ ageCheck: AgeCheck! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of AgeCheckRefresh """ input AgeCheckRefreshInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AgeCheckRefresh. """ type AgeCheckRefreshPayload { """ Where they stand now. """ ageCheck: AgeCheck! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of AgeCheckStart """ input AgeCheckStartInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Which of `ageCheck.methodsOffered` to open. """ method: AgeCheckMethod = DOCUMENT """ Where the hosted page sends them afterwards: the app's own link. """ returnUrl: String } """ Autogenerated return type of AgeCheckStart. """ type AgeCheckStartPayload { """ Where they stand now. """ ageCheck: AgeCheck! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ For the vendor's mobile SDK, when it has one. """ clientSecret: String """ Which age check company runs it, e.g. stripe. """ provider: String! """ The vendor's hosted page for this check. """ url: String } """ Where someone stands with the proof of age their country asks for. """ enum AgeCheckState { """ With the age check company, waiting on its answer. """ IN_PROGRESS """ Their country doesn't ask for one. """ NOT_REQUIRED """ Confirmed 18 or older. Nothing more to do. """ PASSED """ They need one and have no paid check: show why, then sell the one-time purchase. """ PURCHASE_NEEDED """ Paid for: start the check (startAgeCheck), or try it again. """ READY } """ How an app learned that someone is 18 or older. """ enum AgeSource { """ Apple's Declared Age Range shared a range of 18 or more. """ APP_STORE """ Google Play's Age Signals said they are an adult. """ GOOGLE_PLAY """ They said so themselves on the sign-in screen. """ SELF_DECLARED } """ What an iOS app's update prompts tell installs from one StoreKit 2 environment (TestFlight or the App Store): the build to offer and the oldest one that still works. Null fields mean no opinion. """ type AppReleaseChannel { """ When latestBuild starts being offered (CI waits for TestFlight to process it). """ availableAt: ISO8601DateTime """ The newest build (CFBundleVersion). """ latestBuild: Int """ Its version, e.g. 2.1. """ latestVersion: String """ Builds below this must update before they can be used. """ minimumBuild: Int """ What's new, one line each. """ notes: [String!]! """ When it last changed. """ updatedAt: ISO8601DateTime """ Who changed it last: the CI token, or "admin". """ updatedBy: String } """ A code App Review signs in with and the test account it signs in as: the demo venue's code (the main reviewer, in Hot Mess and the staff apps) or an AppReviewCode linked to its own account. """ type AppReviewCode { """ The code; null for one set before codes were kept. """ code: String """ When the code stops working. """ expiresAt: ISO8601DateTime """ Its UUID. """ id: ID! """ What the code is for. """ label: String! """ Whether removeAppReviewCode can remove it: not the demo venue's main code, which createAppReviewCode or resetAppReview replaces. """ removable: Boolean! """ The email address of the test account it signs in as. """ userEmail: String """ The name of the test account it signs in as. """ userName: String } """ An entry in a lineup: someone (or several people) on, or an intermission. A lineup is a venue night's own, built as the night goes, or an event's, built ahead. Each runs in `position` order and can be advanced like a slide deck (advanceLineup). """ type Appearance implements Node { """ A segment or intermission: what runs in the venue's chat while it's on; null for nothing. """ activity: AppearanceActivity """ A break inside an act: the scene it follows. """ afterScene: Scene """ When advancing (or finishing it) took it off. """ cameOffAt: ISO8601DateTime """ An act the curtain rises on: places is called this many minutes before it (or once it is up next), and it goes on only on a go (goNoGo). Null: no curtain call. """ curtainCallMinutes: Int """ endTiming DURATION: how long it runs once on. """ durationMinutes: Int """ How it ends. """ endTiming: AppearanceEndTiming! """ Its set end time; null until close or advanced. """ endsAt: ISO8601DateTime """ What ending it goes to, as set: an act's scenes unless they say, or a break. """ endsTo: ShowEndsTo """ What it is: an act, an intermission or a segment. """ entryKind: AppearanceKind! """ How long it is expected to run: its set length, else an act's scenes or tracks plus other time; null when nothing says. """ estimatedMinutes: Int """ The event whose lineup it's on, built ahead; null for one on the venue night's own lineup. """ event: Event """ An act: time beyond its scenes or tracks, as set; null for the default (10 minutes). """ extraMinutes: Int """ Whether it stretches or shrinks to bring the show back on time. """ flexible: Boolean! """ An act's curtain call go/no-go: who is ready. Null without a curtain call, and for anyone not working the show. """ goNoGo: GoNoGo """ Its UUID. """ id: ID! """ An act or an intermission. Segments read as INTERMISSION here, for apps built before them (they fail on values they do not know); entryKind has the full kind. """ kind: AppearanceKind! """ How many minutes after its set time it starts, as projected (negative: early); null without a set time. """ lateMinutes: Int """ The lineup it's on (doc/LINEUP_MODEL.md): a zone's night or an event's in a zone. """ lineup: Lineup """ The longest it runs when it flexes, as set. """ maxMinutes: Int """ Activity WATCH: the episode or film the room watches. """ mediaItem: MediaItem """ Activity SING_ALONG: the audience's media playlist it sings, its songs as its scenes; WATCH: the series. """ mediaPlaylist: MediaPlaylist """ The shortest it runs when it flexes, as set. """ minMinutes: Int """ How many of an act's scenes have no length or track (each counted as 4 minutes in the estimate). """ missingTracks: Int! """ The venue night it is on. """ night: ISO8601Date! """ Notes for the crew, in Markdown. """ notes: String """ Who's on it, in billing order: two for a duet. """ people( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ Who, or the first of them; null for an intermission. """ person: Person """ The night's playlist this segment holds (spotify:playlist:), its songs as its scenes in the order the venue plays them, each on while it plays; null for any other entry. """ playlistUri: String """ Its place in its lineup's running order, from 0. """ position: Int! """ An act: its own preshow before it, from doors to the host, in minutes. """ preshowMinutes: Int """ When it is expected off: when it came off, its hard end, else its projected start plus its estimate. """ projectedEndsAt: ISO8601DateTime """ When it is expected on: when it went on, its hard time, else moved out behind what runs late. """ projectedStartsAt: ISO8601DateTime """ What they are doing; null for an intermission. """ role: AppearanceRole """ An act's numbers, in order. """ scenes: [Scene!]! """ A singer's karaoke signup: the song, artist and who is singing it; null for everything else. """ songRequest: SongRequest """ How it starts. """ startTiming: AppearanceStartTiming! """ Its set (hard or soft) time, or when an entry with no set time went on; null until then. """ startsAt: ISO8601DateTime """ Upcoming, on now or done. """ state: AppearanceState! """ What has to happen for it: its venue's, event series', event's and talent's task templates, then its own. Null for anyone not working the show. """ tasks( """ List the tasks taken off it too (removed true). """ includeRemoved: Boolean = false ): [LineupTask!] """ An act's billing (a duet's name) or an intermission's label, if it has one. """ title: String """ Who moves its trivia along; null unless it runs trivia. """ triviaDriver: TriviaDriver """ When its trivia answers show; null unless it runs trivia. """ triviaReveal: TriviaReveal """ The trivia set it runs: its own, else the best match for its event or venue tags. Null unless it runs trivia. """ triviaSet: TriviaSet """ Where. """ venue: Venue! """ A break with an activity: whether it runs for the whole venue, every zone, not just its own. """ venueWide: Boolean! """ When advancing put it on. """ wentOnAt: ISO8601DateTime } """ What a segment or intermission runs while it's on, which the venue's screens show (Venue.liveActivity). An act can run TRIVIA or PROMPTS in the venue chat only, while it's on; the screens keep the show. """ enum AppearanceActivity { """ Bingo: a host draws each number and the screens keep the board (Venue.bingo). """ BINGO """ Karaoke: signups are open while it's on, and it calls the singers up (Venue.requests.karaoke), with no host needed. """ KARAOKE """ The event's chat prompts carry on. """ PROMPTS """ The room sings along to its songs (its scenes), with the lyrics on the screens. """ SING_ALONG """ Group trivia: the room talks each round over in the chat and votes together (Venue.trivia). No scores. """ TRIVIA """ The room watches its media: an episode or film (mediaItem), or a series (mediaPlaylist). """ WATCH } """ The connection type for Appearance. """ type AppearanceConnection { """ A list of edges. """ edges: [AppearanceEdge] """ A list of nodes. """ nodes: [Appearance] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type AppearanceEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Appearance } """ How a lineup entry ends. """ enum AppearanceEndTiming { """ When the venue advances to what is next. """ ADVANCE """ When the night ends. """ CLOSE """ durationMinutes after it goes on, or when the venue advances, whichever is first. """ DURATION """ At its end time. """ TIME } """ What a lineup entry is. """ enum AppearanceKind { """ Someone (or several people) on: hosting, DJing, performing or MCing. """ ACT """ A break in the show. """ INTERMISSION """ A generic time block with a title, e.g. "Photos with cast" for 10 minutes after an act (endTiming DURATION). It and an intermission can run an activity. """ SEGMENT } """ What someone is doing at a venue. """ enum AppearanceRole { """ DJing. """ DJ """ Hosting. """ HOST """ MCing. """ MC """ Performing, e.g. a drag or live act. """ PERFORMER """ Singing karaoke: a signup, with its song as songRequest. """ SINGER } """ How a lineup entry starts. """ enum AppearanceStartTiming { """ At its time, by the clock (or earlier, if advanced to). """ HARD """ No set time: when the venue advances to it. """ NONE """ Around its time: when the venue advances to it. """ SOFT } """ Where a lineup entry is in its night. """ enum AppearanceState { """ Finished, or its night is over. """ DONE """ On now. """ ON """ Hasn't gone on yet. """ UPCOMING } """ A count rounded down into a bucket (none, a few, 5+, 10+, 25+, 50+, 100+), never exact. """ type ApproximateCount { """ The bucket's floor: 0, 1, 5, 10, 25, 50 or 100. """ atLeast: Int! """ How to show it, e.g. "A few" or "10+". """ label: String! } """ One of Arbiter's guard policies about the AI host, and the score it flags at for the audience. """ type ArbiterGuardPolicy { """ The score it flags at unless someone sets another. """ default: Float! """ The policy, e.g. rule_override. """ key: String! """ What it checks, for people. """ name: String! """ Whether someone set its score. """ overridden: Boolean! """ The score (0 to 1) it flags at. """ value: Float! } """ Arbiter (Moderation::Arbiter, key moderation_lmstudio): the moderator and AI host (Glam) that runs on someone's own Mac with local models, following the moderation feed over a websocket. How it judges and hosts for the audience is set in the Moderation plugin's settings. """ type ArbiterModerationProvider implements IModerationProvider & IProvider { """ Actions it can take, e.g. escalate or remove_message. An audience grants it some of them. """ actions: [String!]! """ Policy categories it judges, e.g. spam or threats. """ categories: [String!]! """ Chat events it receives, e.g. message.created or user.joined. """ events: [String!]! """ Whether it reads this audience's chat now: always for inline ones; for remote ones, while a live service token of the audience's is issued for it with chat:moderate:*. """ following: Boolean! """ Whether it receives each event on this server as it happens. """ inline: Boolean! """ Its key, e.g. karafun. """ key: String! """ Its name, e.g. KaraFun. """ name: String! """ Whether it runs on its own server and dials in for the event feed. """ remote: Boolean! """ How Arbiter judges and hosts for the endpoint audience. Admins only; null for everyone else. """ settings: ArbiterModerationSettings @requires(permissions: ["audience:admin:*"]) } """ How Arbiter judges and hosts for an audience, set in the console's Moderation plugin. Unset values show their defaults; the Mac keeps its own value for anything nobody has set yet. """ type ArbiterModerationSettings { """ The conformal sets' error rate (0.01 to 0.3): lower makes more answers unsure. """ alpha: Float! """ Whether anyone has set anything yet. """ configured: Boolean! """ Under this share of the answer on true/false (0.1 to 0.9), a check is unscored and goes to a person. """ coverageThreshold: Float! """ The evaluation queue's work types Arbiter's worker takes. """ evaluationTypes: [String!]! """ Whether Glam answers from the backend (a model picked for the hosting AI capability): Arbiter then hosts nothing itself and reviews Glam's outputs (glam.output events). """ glamFastLane: Boolean! """ What Glam, the AI host, does: shadow (drafts, posts nothing), approve (a person approves each step) or live. """ glamMode: String! """ The guard's policies about the AI host, with the score each flags at. """ guardPolicies: [ArbiterGuardPolicy!]! """ The AI host's picture in the chats, an https URL; blank for Glam's. """ hostAvatar: String! """ What the AI host is called in the chats and its own prompt (default Glam). """ hostName: String! """ The prompts Arbiter's models are shown, as this audience has them. """ prompts: [ArbiterPrompt!]! """ What Glam's “Re-show guidelines” posts. """ roomGuidelines: String! """ The moderation rules (config/moderation/matchers.yml), with the score each is acted on at per venue rating. """ rules: [ArbiterRule!]! """ Whether the moderation rules are checked. """ rulesEnabled: Boolean! """ Which model judges the rules: guard (fast) or decisions. """ rulesModel: String! """ When someone last changed them. """ updatedAt: ISO8601DateTime """ Which rules' thresholds apply: general (all ages) or adult. """ venueRating: String! """ The work types there are to choose from. """ workTypes: [String!]! } """ One of the prompts Arbiter's models are shown, as this audience has it: the repo's default or the audience's own. {{host_name}} and {{app_name}} are filled in by the server, the arguments by the Mac. """ type ArbiterPrompt { """ The {{variables}} the Mac fills in, besides the server’s. """ arguments: [String!]! """ The template as this audience has it. """ body: String! """ Whether the audience's admins wrote it (deletable). """ custom: Boolean! """ The repo's default (config/arbiter/prompts). """ defaultBody: String! """ Where it is used. """ description: String! """ The first 16 hex digits of the body's SHA-256, as traces record. """ digest: String! """ The template, e.g. glam.system. """ name: String! """ Whether this audience changed it. """ overridden: Boolean! """ When this audience last changed it. """ updatedAt: ISO8601DateTime """ How the Mac uses it: system (the system prompt) or user_suffix (after the chat). """ use: String! """ The default's version, with the audience's change time when overridden. """ version: String! """ The AI worker it belongs to: glam, moderation or research. """ worker: String } """ One moderation rule Arbiter checks, and the score it is acted on at for the audience, per venue rating. """ type ArbiterRule { """ The score (0 to 1) it is acted on at in an adult room. """ adult: Float! """ The matchers' seed score for an adult room. """ defaultAdult: Float! """ The matchers' seed score for a general room. """ defaultGeneral: Float! """ The score (0 to 1) it is acted on at in a general room. """ general: Float! """ The rule, e.g. identity_hate. """ key: String! """ The rule, for people. """ name: String! """ Whether someone set its scores. """ overridden: Boolean! } """ A Soapbox publication's article, in Markdown (doc/SOAPBOX.md): its own, or an op-ed a reader sent it. Readers see it once it is published; the publication, the writer and the audience's admins see it before. """ type Article implements HasCredits & HasTimestamps { """ The ad to show after it in the reader, sold by its publication on its own content (label Ad, soldBy). Null on a teaser or an op-ed, when none runs, or when the reader reads it without ads. Report it with recordCardViews. """ ad: PromoCard """ Who started it, or the reader who sent an op-ed: the audience's admins only. """ author: Profile @requires(permissions: ["soapbox:read:*"]) """ What it says, in Markdown. """ body: String! """ Who it shows as written by: its byline, else the publication's name. """ byline: String! """ Where the publication also publishes it. """ canonicalUrl: String """ When it was started. """ createdAt: ISO8601DateTime! """ Its credits that everyone sees, original source first. """ credits: [Credit!]! """ Ties the publication declared to what it covers (its own gala, a sponsor), shown to readers above the article. """ disclosure: String """ Whether it changed after it was published. """ edited: Boolean! """ Events it's about. """ events: [Event!]! """ Whether it's in the audience's national news now (soapbox.articles(national: true)). """ featuredNationally: Boolean! """ When an admin featured it nationally (featureArticleNationally); null when they did not. Admins only. """ featuredNationallyAt: ISO8601DateTime @requires(permissions: ["soapbox:read:*"]) """ Its photo, described for screen readers. """ heroAltText: String """ Its photo, shown above it. """ heroPhotoUrl: PhotoURL """ Its UUID. """ id: ID! """ The publication's own, or a reader's op-ed. """ kind: ArticleKind! """ Locales it's about. """ locales: [Locale!]! """ People it's about. """ people: [Person!]! """ Whether it's pinned above the publication's others. """ pinned: Boolean! """ Who publishes it. """ publication: Publication! """ When it went (or, scheduled, goes) live. """ publishedAt: ISO8601DateTime """ When its locale push went out (ArticlePush). """ pushedAt: ISO8601DateTime @requires(permissions: ["soapbox:read:mine", "soapbox:read:*"]) """ When the audience's admins took it down (removeArticle); null while it stands. Admins only. """ removedAt: ISO8601DateTime @requires(permissions: ["soapbox:read:*"]) """ Why it was sent back, or why an op-ed was declined. """ reviewNote: String @requires(permissions: ["soapbox:read:mine", "soapbox:read:*", "soapbox:read:self"]) """ When the audience's admins last approved, sent back or removed it. Admins only. """ reviewedAt: ISO8601DateTime @requires(permissions: ["soapbox:read:*"]) """ The admin who last approved, sent back or removed it. """ reviewedBy: Profile @requires(permissions: ["soapbox:read:*"]) """ Whether it is published but not live yet. """ scheduled: Boolean! """ Its name in links, unique in its publication. """ slug: String! """ Where it is between writing and readers: the publication, the writer and the audience's admins. """ status: ArticleStatus @requires(permissions: ["soapbox:read:mine", "soapbox:read:*", "soapbox:read:self"]) """ When it was last sent in. """ submittedAt: ISO8601DateTime @requires(permissions: ["soapbox:read:mine", "soapbox:read:*", "soapbox:read:self"]) """ A line or two under its title. """ summary: String """ A headline and blurb linking to the piece on the publication's site (canonicalUrl): open that rather than a reader. Every article of a publication that links out (Publication.linksOut) is one. """ teaser: Boolean! """ Its headline. """ title: String! """ When it last changed. """ updatedAt: ISO8601DateTime! """ Venues it's about. """ venues: [Venue!]! """ Whether the signed-in reader reads its publication without ads now, from a tip: show no ads or sponsored spots with it. A teaser's own site is the publisher's business. """ viewerAdFree: Boolean! """ Whether the signed-in user may edit it: its publication's managers and the audience's admins. """ viewerCanManage: Boolean! """ Who can read it once published. """ visibility: ArticleVisibility! } """ The connection type for Article. """ type ArticleConnection { """ A list of edges. """ edges: [ArticleEdge] """ A list of nodes. """ nodes: [Article] """ Information to aid in pagination. """ pageInfo: PageInfo! """ How many there are in all, whatever page this is. """ totalCount: Int! } """ An edge in a connection. """ type ArticleEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Article } """ What a Soapbox article is: written by the publication, an op-ed from a reader, or a guide. """ enum ArticleKind { """ Written by the publication. """ ARTICLE """ A standing guide the publication keeps, e.g. a Pride guide. """ GUIDE """ Sent to the publication by a reader from the apps. """ OP_ED } """ Where a Soapbox article is between writing and readers (doc/SOAPBOX.md). """ enum ArticleStatus { """ An op-ed the publication won't run. """ DECLINED """ Being written; only the publication sees it. """ DRAFT """ Waiting for the audience's admins to approve it. """ IN_REVIEW """ Live from publishedAt on (scheduled while that is still to come). """ PUBLISHED """ An op-ed a reader sent, waiting for the publication. """ SUBMITTED """ Taken down by the publication; it can publish it again. """ UNPUBLISHED } """ Who can read a published Soapbox article. """ enum ArticleVisibility { """ Anyone signed in to the apps. The default. """ COMMUNITY """ The web too, once the audience's site shows articles. """ PUBLIC } """ The local Soapbox implementation of a venue, event, person or locale's articles. """ type ArticlesView implements IArticles { """ Live articles about it, newest first; a person's also the articles of a publication they run; a locale's news: about it or anything in it, or by a publication covering it, from the last 30 days (pinned ones whatever their age). Also the articles linked to it or to anything under it (doc/ROLL_UP.md). """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ArticleConnection! """ The Soapbox publication a person runs here (QSaltLake), null for anything else or a person who runs none. A pending or suspended one only for its managers and the audience's admins. """ publication: Publication } """ An audience: its listings, members and configuration. On an audience's endpoints it is the query root. """ type Audience implements IRelay & Node { """ When it carries no ads (AD_FREE or SPONSORSHIPS), who pays for it (e.g. an organization covering its members), for the apps to thank; null when nobody is named. """ adFreeSponsor: String @endpoint(in: [AUDIENCE, STAFF]) """ How much paid placement its apps carry: AD_FREE, SPONSORSHIPS, OPEN (privacy-protected ads) or TRADITIONAL. """ advertising: AdvertisingMode! @endpoint(in: [AUDIENCE, STAFF]) """ App Review settings: period end time and reusable review code. """ appReview: AudienceAppReview! """ Uploaded branding configs it can start its look from: platform-wide ones and its own, by name. Admins only. """ brandingConfigs: [BrandingConfig!]! @requires(permissions: ["audience:write:*"]) """ The published categories of promoted card, for "Cards you see". What a viewer turns off stays on their device and is never sent here. """ cardCategories: [CardCategory!]! @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudienceChat mixin. Left out of the schema where its module isn't installed. """ chat: IAudienceChat! @endpoint(in: [AUDIENCE, STAFF]) """ The locale nearest a position. """ closestLocale( """ Near. """ near: CoordinatesInput! ): Locale @endpoint(in: [AUDIENCE, STAFF]) """ Community resources in a locale (food, shelter, health, crisis, DV): its own, those within it and those of the locales it is in. Load the whole directory and filter on the phone, so a need is never sent. """ communityResources( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ The locale. """ localeId: ID! ): [CommunityResource!]! @endpoint(in: [AUDIENCE, STAFF]) """ Whether sign-ins from its apps must pass device attestation (App Attest, Play Integrity): OFF, REPORT (recorded only) or ENFORCE. """ deviceAttestationMode: DeviceAttestationMode! """ Ways to donate its apps don't offer (Donations), such as Venmo and Cash App. Empty (the default) offers them all. """ disabledDonationProviders: [DonationProvider!]! """ Plugins marked disabled in the admin console. Configuration and runtime behavior are preserved. """ disabledPluginKeys: [String!]! """ Ways to tip its apps don't offer (Tipping). Empty (the default) offers them all. """ disabledTipProviders: [TipProvider!]! """ Domains connected to this audience. They change on /v1/tenants/graphql only. """ domains: [AudienceDomain!]! """ The instance's IAudienceEvents mixin. Left out of the schema where its module isn't installed. """ events: IAudienceEvents! @endpoint(in: [AUDIENCE, STAFF]) """ Declared mixins and viewer access gates. """ extensionMixins: [ExtensionMixin!]! """ Capabilities available to this audience. Configured remotes are excluded. """ extensions( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ExtensionConnection! """ The instance's IAudienceFacebook mixin. Left out of the schema where its module isn't installed. """ facebook: IAudienceFacebook! """ Every field in this endpoint's schema that declares the endpoints it is on (its @endpoint, which introspection does not carry). """ fieldEndpoints: [FieldEndpoint!]! """ Every field in this endpoint's schema that requires a permission, with the permissions (its @requires, which introspection does not carry). """ fieldPermissions: [FieldPermission!]! """ The words around digital flyers and community resources. """ flyerCopy: FlyerCopy! @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudienceGithub mixin. Left out of the schema where its module isn't installed. """ github: IAudienceGithub! @endpoint(in: [AUDIENCE, STAFF]) """ Unique identifier. """ id: ID! """ The link venue and talent Page managers open to join. Admins only; null for everyone else. """ inviteUrl: String @requires(permissions: ["audience:admin:*"]) """ The instance's IAudienceKaraoke mixin. Left out of the schema where its module isn't installed. """ karaoke: IAudienceKaraoke! @endpoint(in: [AUDIENCE, STAFF]) """ A screen's cards, ranked by the server for this moment: what is on, where the viewer is, their check-in. Ranking never uses tribes or anything else about who they are. Not cached; ask again after refreshAfter. """ layout( """ What the app can draw. """ client: LayoutClientInput! """ The app's locale, used when there is no position (location off); for the LOCALE screen, the locale it is about, position or not. """ localeId: ID """ The device's position, when it has one. Read, not recorded: reportLocation records it. """ position: CoordinatesInput """ The screen. """ screen: LayoutScreen! ): Layout! @endpoint(in: [AUDIENCE, STAFF]) """ Listings files admins uploaded (uploadListings): calendar sites’ and researched lists, newest first, at most 10. Admins only; empty for everyone else. """ listingImports: [ListingImport!]! @requires(permissions: ["audience:read:*"]) """ A locale in the audience by its UUID. """ locale( """ Its UUID. """ id: ID! ): Locale @endpoint(in: [AUDIENCE, STAFF]) """ What each kind of thing attached to locales does along the locale tree: whether it collects up (venues), inherits down (liquor rules, administration) or is replaced going down (chat). """ localeTree: [LocaleTreeRule!]! """ Locales belonging to this audience: all of them, or those the arguments pick (doc/LOCALE_HIERARCHY.md). """ locales( """ Only locales whose area takes in this point (by their exact outline where known): the state, districts and precinct someone is in. Outermost first. """ at: CoordinatesInput """ Only locales of this kind. """ kind: LocaleKind """ Only the locales directly within this one. """ parentId: ID """ Only top-level locales (those within no other). """ roots: Boolean = false ): [Locale!]! """ Its locale envelopes and venue envelopes and points, as a GeoJSON FeatureCollection. Admins only; empty for everyone else. """ map( """ Only this locale and its venues. """ localeId: ID ): JSON! @requires(permissions: ["audience:read:*"]) """ The signed-in viewer and their state here: their profile (`self`), what they block, the listings they manage and the modules' viewer state. Null when nobody is signed in. """ me: UserState @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudienceMedia mixin. Left out of the schema where its module isn't installed. """ media: IAudienceMedia! @endpoint(in: [AUDIENCE, STAFF]) """ How many people have signed in on its console or apps, leaving out test accounts (TestUsers). Admins only; 0 for everyone else. """ memberCount: Int! @requires(permissions: ["audience:read:*"]) """ People who have signed in on the audience's console or apps, with their latest activity and whether they're banned, oldest member first. Admins only; empty for everyone else. """ members( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only members whose name contains this. """ search: String ): AudienceMemberConnection! @requires(permissions: ["audience:read:*"]) """ The apps its share links open, which its verified domains list in /.well-known. They change on /v1/tenants/graphql only. """ mobileApps: [AudienceMobileApp!]! """ Its own Musixmatch key, which its venues' sing-along screens use before AudienceKit's (setAudienceMusixmatchKey); null without one. Admins only. """ musixmatch: MusixmatchKey @requires(permissions: ["audience:read:*"]) """ Display name. """ name: String! """ Fetches a record by its `id`, the UUID every Node carries; null when nothing visible to this request has it. """ node( """ The record's UUID, as its `id` field gives it. """ id: ID! ): Node @endpoint(in: [AUDIENCE, STAFF]) """ Fetches records by their `id`s, in the order asked; a missing one is null. """ nodes( """ The records' UUIDs. """ ids: [ID!]! ): [Node]! @endpoint(in: [AUDIENCE, STAFF]) """ Someone's candidates and representatives: the offices on the locales at a position or within a locale, and on every locale above them, most local first (doc/plans/CIVIC_ORGANIZING_PLAN.md). Empty without either argument. """ offices( """ A position: the districts it lies in, and above. """ at: CoordinatesInput """ A locale: its offices and those above it. """ localeId: ID """ Only these; incumbents and candidates by default. """ status: [OfficeStatus!] """ Only community titles (true) or only civic offices (false); both by default. """ titles: Boolean ): [PersonOffice!]! """ The instance's IAudiencePayments mixin, when available to the viewer. """ payments: IAudiencePayments @requires(permissions: ["payments:read:*"]) """ The instance's IAudiencePeople mixin. Left out of the schema where its module isn't installed. """ people: IAudiencePeople! @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IPhotography mixin, when available to the viewer. """ photography: IPhotography @requires(permissions: ["photography:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudiencePing mixin, when available. """ ping: IAudiencePing @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudiencePosts mixin. Left out of the schema where its module isn't installed. """ posts: IAudiencePosts! @endpoint(in: [AUDIENCE, STAFF]) """ The privacy choices its apps show and the privacy pass it sells (doc/PRIVACY_CHOICES.md). """ privacyOffer: PrivacyOffer! @endpoint(in: [AUDIENCE, STAFF]) """ Whether people may show a tribe to everyone. Off (the default), a tribe shows only to the people who share it and apps offer no public choice. """ publicTribes: Boolean! """ The instance's IAudiencePush mixin, when available to the viewer. """ push: IAudiencePush @requires(permissions: ["push:read:*"]) """ A signed, expiring link to one of its venues, events or people or visible Pings; null for unavailable paths. """ shareLink( """ How long it opens the page. Defaults to MONTH. """ lifetime: ShareLinkLifetime = MONTH """ The record's path: /venues/, /events/ or /people/ or /pings/. """ path: String! ): ShareLink """ How people can sign in to its apps and website. Its admin consoles and the staff apps always sign in as before. """ signInMethods: [SignInMethod!]! """ What its apps and website say before each sign-in method that has a warning, with Cancel and Continue. """ signInWarnings: [SignInWarning!]! """ The instance's IAudienceSoapbox mixin. Left out of the schema where its module isn't installed. """ soapbox: IAudienceSoapbox! @endpoint(in: [AUDIENCE, STAFF]) """ Its connected Spotify account, which reads nights' playlists (connectSpotify). Admins only; null for everyone else. """ spotify: AudienceSpotify @requires(permissions: ["audience:read:*"]) """ A Spotify song, playlist, album or artist link read without signing in to Spotify: what the share extension and link paste show before a song request. Null when it is not a Spotify link. """ spotifyLink( """ The link as shared: open.spotify.com, spotify.link or a spotify: URI. """ url: String! ): SpotifyLink @endpoint(in: [AUDIENCE, STAFF]) """ The unique audience subdomain. """ subdomain: String! """ "Need support?": the emergency number and crisis and support lines for a region. """ supportResources( """ Where the guest is: an ISO 3166-2 subdivision (US-UT) or 3166-1 country (US). Left out, or unknown, gives the default (US). """ region: String ): SupportResources! @endpoint(in: [AUDIENCE, STAFF]) """ Its tags for people, events and venues, by name. """ tags( """ Compatibility argument. Connected facet tags are always included. """ facets: Boolean = false """ When true, returns only tags configured as tribes. When false, returns only non-tribe tags. """ tribes: Boolean ): [Tag!]! """ The audience's look: preset, tagline and colors. """ theme: AudienceTheme! """ The instance's IAudienceTicketing mixin. Left out of the schema where its module isn't installed. """ ticketing: IAudienceTicketing! @endpoint(in: [AUDIENCE, STAFF]) """ The instance's IAudienceTipping mixin. Left out of the schema where its module isn't installed. """ tipping: IAudienceTipping! @endpoint(in: [AUDIENCE, STAFF]) """ The most tribes one person may identify with here: a quarter of its tribes, and at least one. """ tribeCap: Int! """ Its tribes grouped for the picker: curated categories in their order, then any it made itself under "More". """ tribeCatalog: [TribeCategory!]! """ Its tribes, by category with their phrases, as an audiencekit.tribes file (doc/IMPORT_EXPORT.md) for importTribes. Admins only; null for everyone else. """ tribesFile( """ The curated list (config/tribes.yml) instead of the audience's own. """ curated: Boolean = false ): JSON @requires(permissions: ["audience:read:*"]) """ The instance's IAudienceVenues mixin. Left out of the schema where its module isn't installed. """ venues: IAudienceVenues! @endpoint(in: [AUDIENCE, STAFF]) """ Where the audience's web app lives (https://hotmess.social): its first verified domain, else its console's. Share links are /venues/, /events/ and /people/ under it, which its app opens when installed. """ webUrl: String! } """ An audience's App Review period and review codes for its apps. """ type AudienceAppReview { """ The link App Review opens the Hot Mess App Clip and app with: The Review Room, a hidden Hot Mess venue that opens only while App Review is on there. Null until a reset sets it up. """ clipUrl: String @requires(permissions: ["platform:admin:*"]) """ This audience's App Review codes and the test accounts they sign in as. """ codes: [AppReviewCode!] @requires(permissions: ["audience:admin:*"]) """ The main App Review code status (the demo venue grant). """ grant: VenueDeviceGrant @requires(permissions: ["audience:admin:*"]) """ When the App Review period ends. """ until: ISO8601DateTime } """ The local Chat implementation of the chat module's root lookups. """ type AudienceChatView implements IAudienceChat { """ Its connection to the provider that runs its rooms, e.g. its Discord server. Null on AudienceKit, and for anyone but its admins. """ account: ChatAccount @requires(permissions: ["chat:write:*"]) """ Its own Discord application, whose bot "Add bot" adds (setDiscordApp). Admins only. """ discordApp: DiscordApp @requires(permissions: ["chat:write:*"]) """ The chat moderators audiences can use, and what each reads and can do. """ moderationProviders( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): IModerationProviderConnection! """ Who runs its rooms: AudienceKit unless it connected another provider. Apps check inApp before opening a room, and otherwise send people to the room's url. """ provider: ChatProvider! """ The chat providers an audience can use, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ChatProviderConnection! """ Venues with a chat community of their own (e.g. a venue's own Discord server), whose rooms go there instead of the audience's. Admins only. """ venueAccounts: [ChatAccount!]! @requires(permissions: ["chat:write:*"]) } """ A domain connected to an audience. Its admin console is served at admin. once it's verified. """ type AudienceDomain implements HasTimestamps & Node { """ Where the audience admin console is served: admin.. """ adminHost: String! """ The audience identifier. """ audienceId: ID! """ Heroku's certificate status for the admin host. """ certificateStatus: String """ When DNS was last checked. """ checkedAt: ISO8601DateTime """ When the record was created. """ createdAt: ISO8601DateTime! """ The domain name connected to this audience. """ dnsName: String! """ The CNAME target for the admin host, once it has been added to Heroku. """ dnsTarget: String """ Unique identifier. """ id: ID! """ The TXT record that proves control of the domain. """ txtRecordName: String! """ The value of that TXT record. """ txtRecordValue: String! """ When the record was last updated. """ updatedAt: ISO8601DateTime! """ When the TXT record was found. """ verifiedAt: ISO8601DateTime } """ The local Events implementation of an audience's events. """ type AudienceEventsView implements IAudienceEvents { """ How many upcoming events it has (canceled ones included, as in `list`): from a series, one-off, and in all. """ counts( """ Also the events that are part of a super-event (a Pride festival's parties). Left out by default so a festival shows once; always in when filtering by venue or searching. """ includeChildren: Boolean = false """ Only events in this locale, TBA ones included. """ localeId: ID """ Only events the viewer's listings cover, as in `list`. """ mine: Boolean = false """ Only events with this tag. """ tagId: ID """ Only events at this venue. """ venueId: ID ): EventCounts! """ An event in the audience by its UUID. """ event( """ Its UUID. """ id: ID! ): Event @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) """ A recurring series in the audience by its UUID. """ eventSeries( """ Its UUID. """ id: ID! ): EventSeries @endpoint(in: [AUDIENCE, STAFF]) """ Its events, canceled ones included. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Also the events that are part of a super-event (a Pride festival's parties). Left out by default so a festival shows once; always in when filtering by venue or searching. """ includeChildren: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ Only events in this locale, TBA ones included. """ localeId: ID """ Only events the viewer's listings cover (`me { listings }`): at their venues, in their locales, run by their series or added by their talent. Everything for an admin; nothing for anyone else. """ mine: Boolean = false """ Only events whose name, or whose venue's name, contains this. """ search: String """ Only events starting before this time: an upcoming list a few weeks long, which the admin console asks for so it never loads every generated night at once. """ startsBefore: ISO8601DateTime """ Only events with this tag. """ tagId: ID """ Only events at this venue. """ venueId: ID """ Upcoming (the default) or past events. """ window: EventWindow = UPCOMING ): EventConnection! """ Its recurring series, by name. """ series( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only series held at venues in this locale, and talent series with no venue yet run by people featured there. """ localeId: ID """ Only series the viewer's listings cover (`me { listings }`): held at their venues, in their locales or run by their venues and talent. Everything for an admin; nothing for anyone else. """ mine: Boolean = false """ Only series run by this venue or person. """ ownerId: ID """ Only series run or hosted by this person. """ personId: ID """ Only series held at this venue. """ venueId: ID ): EventSeriesConnection! } """ The Facebook module's view of an audience. """ type AudienceFacebook implements IAudienceFacebook { """ The audience's Facebook apps, one per environment. """ apps( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): FacebookAppConnection! """ The audience's own Facebook Page. Its managers can run the audience's console. """ page: Page } """ The organization as the audience's GitHub App reads it (GithubCommunity). """ type AudienceGithubView implements IAudienceGithub { """ Items on the open public projects assigned to the signed-in member's connected GitHub account (me.githubUsername); empty without one. """ myItems: [GithubProjectItem!]! """ The organization, or null when GitHub is unreachable or the app isn't installed. """ organization: GithubOrganization """ A public project with its items, by number; null when there is none. """ project( """ The project's number in the organization. """ number: Int! ): GithubProject """ Open public projects, most recently updated first, without their items. """ projects: [GithubProject!]! """ Public, unarchived repositories, most recently pushed first. """ repositories( """ How many, up to 100. """ first: Int = 30 ): [GithubRepository!]! """ The signed-in member's connected GitHub login (myItems are theirs), or null when they have not connected GitHub. """ viewerLogin: String } """ The local Karaoke implementation of the karaoke module's root lookups. """ type AudienceKaraokeView implements IAudienceKaraoke { """ The karaoke partners venues can connect, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): KaraokeProviderConnection! } """ A venue's AudienceKit karaoke connection (Karaoke::AudienceKit): no partner, no session. Singers sign up from the venue's chat while a host is on, and the host calls them up (Venue.requests.karaoke). """ type AudienceKitKaraokeAccount implements IKaraokeAccount { """ Whether an API token for the partner is stored, e.g. KaraFun Box's. """ hasApiToken: Boolean! """ Unique identifier. """ id: ID! """ Where singers join its standing session. """ joinUrl: String """ Why the last check with the partner failed, if it did. """ lastError: String """ When the partner last accepted its token. """ lastVerifiedAt: ISO8601DateTime """ The venue's name for its account on the partner. """ name: String """ The karaoke partner. """ provider: KaraokeProvider! """ Its standing session code, used by karaoke nights that have none of their own. """ sessionCode: String } """ AudienceKit itself as a built-in provider: the seller of covers taken in the apps or at the door. """ type AudienceKitProvider implements IProvider { """ Its key, e.g. karafun. """ key: String! """ Its name, e.g. KaraFun. """ name: String! } """ Media titles stored in AudienceKit (MediaTitle). """ type AudienceMediaView implements IAudienceMedia { """ A clip by its UUID; null when there is none. """ clip( """ Its UUID. """ id: ID! ): MediaClip """ Every tag on a listed clip, most used first. """ clipTags: [MediaLabel!]! """ Listed clips by when their source came out, all of them: a few hundred at most. Filters narrow it; all must match. """ clips( """ Only clips in this collection. """ collection: String """ Only clips whose source is from these decades, e.g. 1990s. """ decades: [String!] """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Words in its song, performers or source title. """ search: String """ Only these sources. """ sources: [MediaClipSource!] """ Only clips with every one of these tags. """ tags: [String!] """ Only clips from this media title. """ titleId: ID ): [MediaClip!]! """ The list sections, most titles first. """ collections: [MediaLabel!]! """ A media item by its UUID, IMDb id or Spotify track id; null when there is none. """ item( """ Its UUID. """ id: ID """ IMDb's id for it. """ imdbId: String """ Its Spotify track id. """ spotifyId: String ): MediaItem """ Media items of every kind (doc/plans/UNIFIED_MEDIA_PLAN.md) by title. Filters narrow it; all must match. """ items( """ Only items in this collection. """ collection: String """ At most this many, up to 2000. """ first: Int = 500 """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaItemKind!] """ Only items in this playlist. """ playlistId: ID """ Words in its title or artists, or an IMDb or Spotify id. """ search: String """ Only variants of this song. """ songId: ID """ Only these Spotify tracks. """ spotifyIds: [String!] """ Only items with every one of these tags. """ tags: [String!] """ Only recordings, live versions, music videos and scenes not yet linked to a song. """ withoutSong: Boolean = false ): [MediaItem!]! """ A playlist by its UUID; null when there is none. """ playlist( """ Its UUID. """ id: ID! ): MediaPlaylist """ Playlists by title: series, albums, playlists, podcasts. """ playlists( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaPlaylistKind!] """ Words in its title or artists. """ search: String ): [MediaPlaylist!]! """ A song by its UUID; null when there is none. """ song( """ Its UUID. """ id: ID! ): MediaSong """ Songs by title, each with its variants. Filters narrow it. """ songs( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Words in its title, writers or variants' artists. """ search: String """ Only songs with every one of these tags. """ tags: [String!] """ Only songs with no scene yet (no show-tune clip). """ withoutScene: Boolean = false ): [MediaSong!]! """ Every tag on a listed title, most used first. """ tags: [MediaLabel!]! """ A title by its UUID or IMDb id; null when there is none. """ title( """ Its UUID. """ id: ID """ IMDb's id for it, e.g. tt0109045. """ imdbId: String ): MediaTitle """ Listed titles by title, all of them: a list is a few hundred at most. Filters narrow it; all must match. """ titles( """ Only titles in this collection. """ collection: String """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaKind!] """ Words in its title, or its IMDb id. """ search: String """ Only titles with every one of these tags. """ tags: [String!] ): [MediaTitle!]! """ Listed watch parties by name. Filters narrow it. """ watchParties( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only those watching this title. """ titleId: ID """ Only those at this venue. """ venueId: ID ): [WatchParty!]! """ A watch party by its UUID; null when there is none. """ watchParty( """ Its UUID. """ id: ID! ): WatchParty } """ Someone who has signed in on an audience's console or apps. """ type AudienceMember implements IUserSummary { """ Their profile photo. """ avatarUrl: PhotoURL """ Why they were banned, if an admin said. """ banReason: String """ When they were banned; null if they aren't. """ bannedAt: ISO8601DateTime """ Who banned them. """ bannedByName: String """ Whether the viewer may kick or ban them. Never themselves or a platform admin, and only platform admins may kick or ban the audience's admins. """ canModerate: Boolean! """ The ID of the membership. """ id: ID! """ Whether they manage the audience. """ isAdmin: Boolean! """ Whether they are an AudienceKit super admin, who can manage every audience. """ isPlatformAdmin: Boolean! """ Whether they are a test account (TestUsers): their reports stay out of the open queues and their actions push only test accounts. """ isTestUser: Boolean! """ When they first signed in there. """ joinedAt: ISO8601DateTime! """ Their latest entry in the activity log. """ lastActiveAt: ISO8601DateTime """ Their name, from Facebook. """ name: String """ How many devices they are signed in on there. """ sessionCount: Int! """ The accounts they can sign in with: Facebook, Apple, Google, or the App Review code. """ signInMethods: [SignInMethod!]! """ The tribes they identify with publicly. Private identifications are never shown in the console. """ tribes: [TribeIdentification!]! """ The ID of the user. """ userId: ID! } """ The connection type for AudienceMember. """ type AudienceMemberConnection { """ A list of edges. """ edges: [AudienceMemberEdge] """ A list of nodes. """ nodes: [AudienceMember] """ Information to aid in pagination. """ pageInfo: PageInfo! """ How many there are in all, whatever page this is. """ totalCount: Int! } """ An edge in a connection. """ type AudienceMemberEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: AudienceMember } """ One of the audience's apps that opens its share links (https:///venues/ and the like). Each verified domain's /.well-known/apple-app-site-association and assetlinks.json list them. """ type AudienceMobileApp implements Node { """ iOS: the app's numeric Apple ID, for App Store links. """ appStoreId: String """ iOS: what App Store installs are told about updates. """ appStoreRelease: AppReleaseChannel """ The builds it is. """ environment: ClientEnvironment! """ Unique identifier. """ id: ID! """ The iOS bundle ID or the Android package name. """ identifier: String! """ The app, or an iOS App Clip. """ kind: MobileAppKind! """ iOS or Android. """ platform: MobilePlatform! """ Android: the SHA-256s of the certificates its builds are signed with (Play app signing, upload, debug), colon hex. Its links verify only with one. """ sha256CertFingerprints: [String!]! """ iOS: the Apple Developer team ID. """ teamId: String """ iOS: what TestFlight installs of betas (next and feature branches) are told about updates. """ testflightBetaRelease: AppReleaseChannel """ iOS: what TestFlight installs of main's archives are told about updates. """ testflightRelease: AppReleaseChannel """ iOS: the public TestFlight invite link. """ testflightUrl: String } """ The local Payments implementation of an audience's keys. """ type AudiencePayments implements IAudiencePayments { """ Its production Square application. """ squareApplicationId: String """ Whether its production Square application ID and secret are set. """ squareConfigured: Boolean! """ The OAuth redirect URL to set on both Square applications. """ squareRedirectUrl: String! """ Sandbox Square application used by staging builds. """ squareSandboxApplicationId: String """ Whether its sandbox Square ID and secret are set. """ squareSandboxConfigured: Boolean! """ When the sandbox application last sent a webhook. """ squareSandboxWebhookLastAt: ISO8601DateTime """ Whether its signature checked out. """ squareSandboxWebhookLastOk: Boolean """ Whether its sandbox Square signature key is set. """ squareSandboxWebhookSet: Boolean! """ The sandbox application's webhook URL. """ squareSandboxWebhookUrl: String! """ When the production application last sent a webhook (Send test event sends one). """ squareWebhookLastAt: ISO8601DateTime """ Whether its signature checked out with the stored key. """ squareWebhookLastOk: Boolean """ Whether its production Square signature key is set. """ squareWebhookSet: Boolean! """ The URL to subscribe the production application to Square webhooks with (payment.updated, refund.updated, dispute.created, oauth.authorization.revoked). """ squareWebhookUrl: String! """ Whether its Stripe secret and publishable keys are set. """ stripeConfigured: Boolean! """ Public Stripe key used by payment clients. """ stripePublishableKey: String """ Whether its Stripe webhook secret is set. """ stripeWebhookSet: Boolean! """ The URL of its Stripe Connect webhook endpoint (account.updated, payment_intent.*, charge.refunded, charge.dispute.created). """ stripeWebhookUrl: String! } """ The local People implementation of an audience's people. """ type AudiencePeopleView implements IAudiencePeople { """ The people featured in it. Guests (see IVenuePeople.guests) are left out. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only people with this tag. """ tagId: ID ): PersonConnection! """ A person in the audience by their UUID. """ person( """ Its UUID. """ id: ID! ): Person @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) } """ The local Ping implementation of the audience's Ping. """ type AudiencePingView implements IAudiencePing { """ How many active pings there are tonight. Admins only; a count, never names. """ count: Int @requires(permissions: ["ping:read:mine", "ping:read:my_troupes", "ping:read:venue"]) } """ The local Posts implementation of the posts module's root lookups. """ type AudiencePostsView implements IAudiencePosts { """ A post in the audience by its UUID, unless removed. """ post( """ Its UUID. """ id: ID! ): Post } """ The local Push implementation of an audience's keys. """ type AudiencePush implements IAudiencePush { """ Whether its APNs key, key ID and team ID are all set. """ apnsConfigured: Boolean! """ The APNs key ID. """ apnsKeyId: String """ The Apple Developer team ID. """ apnsTeamId: String """ Whether its Firebase service account is set. """ firebaseConfigured: Boolean! """ The service account's Firebase project. """ firebaseProjectId: String } """ The local Soapbox implementation of the soapbox module's root lookups. """ type AudienceSoapboxView implements IAudienceSoapbox { """ Publishers' ads waiting for the audience's admins to approve them, oldest first. """ adReviewQueue: [PromoPlacement!] @requires(permissions: ["soapbox:moderate:*"]) """ Every article in the audience, whatever its status and removed ones too, newest change first: the audience's admins, for moderation (doc/SOAPBOX.md, "In the admin"). """ allArticles( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Only these kinds. """ kinds: [ArticleKind!] """ Returns the last _n_ elements from the list. """ last: Int """ Only the publication's that this person listing runs (QSaltLake's page). """ personId: ID """ Only this publication's. """ publicationId: ID """ true: only the ones the audience took down; false: only the rest. Both when left out. """ removed: Boolean """ Words in its title, summary or byline. """ search: String """ Only these statuses. """ statuses: [ArticleStatus!] ): ArticleConnection @requires(permissions: ["soapbox:moderate:*"]) """ An article by its UUID: a live one, or one the viewer may see before it is (their publication's, or their own op-ed). """ article( """ Its UUID. """ id: ID! ): Article """ Live articles in the audience, pinned first, then newest; 20 unless `first` says. """ articles( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only a locale's news (Locale.articles). """ localeId: ID """ true: only the audience's national news, the articles its admins featured nationally in the last 14 days, most recently featured first. """ national: Boolean """ Only this publication's. """ publicationId: ID ): ArticleConnection! """ Op-eds the signed-in user sent, newest first, with where each stands. """ myOpEds: [Article!] @requires(permissions: ["soapbox:read:self"]) """ Publications the signed-in user runs (manages their person); every one for admins. """ myPublications: [Publication!] @requires(permissions: ["soapbox:read:mine", "soapbox:read:*"]) """ A publication by its UUID. """ publication( """ Its UUID. """ id: ID! ): Publication """ Tips readers sent Soapbox publications, newest first: the audience's admins. """ publicationTips( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only this publication's. """ publicationId: ID """ Only these statuses. """ statuses: [TipStatus!] ): TipConnection @requires(permissions: ["soapbox:moderate:*"]) """ Publications readers can follow: trusted ones, by name. Admins can ask for others by trust. """ publications( """ Admins only: these trusts instead (the audience's pending requests, its suspended ones). """ trust: [PublicationTrust!] ): [Publication!]! """ Whether publishers sell ads on their own content here, and which of their ads admins review first. """ publisherAds: PublisherAdsMode! """ Articles waiting for the audience's admins to approve them, oldest first. """ reviewQueue: [Article!] @requires(permissions: ["soapbox:moderate:*"]) """ Every publication's counts added up: articles, tips and ad-free readers. The audience's admins only. """ stats: PublicationStats @requires(permissions: ["soapbox:moderate:*"]) } """ The audience's connected Spotify account, which reads nights' playlists (connectSpotify). Its tokens are never returned. """ type AudienceSpotify { """ Whether this server can connect Spotify (its app keys are set). """ available: Boolean! """ Whether an account is connected. """ connected: Boolean! """ When it was connected. """ connectedAt: ISO8601DateTime """ The connected account's Spotify name. """ displayName: String } """ An audience's customization of the AudienceKit design system. """ type AudienceTheme { """ Token overrides for dark mode. """ dark: [ThemeToken!]! """ Fonts for headings and body text. """ fonts: ThemeFonts! """ Token overrides for light mode. """ light: [ThemeToken!]! """ Logo images. """ logos: ThemeLogos! """ Design system preset, e.g. default or hot_mess. """ preset: String! """ One line about the audience, in its own voice. """ tagline: String } """ The local Ticketing implementation of an audience's partner accounts. """ type AudienceTicketingView implements IAudienceTicketing { """ Connected ticketing partner accounts, oldest first. Admins only; empty for everyone else. """ accounts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TicketingAccountConnection! @requires(permissions: ["ticketing:read:*"]) """ The ticketing partners events can come from or go to, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TicketingProviderConnection! @endpoint(in: [AUDIENCE, STAFF]) } """ The local Tipping implementation of the tipping module's root lookups. """ type AudienceTippingView implements IAudienceTipping { """ The ways performers can be tipped, and how each works. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TippingProviderConnection! } """ The local Venues implementation of an audience's venues. """ type AudienceVenuesView implements IAudienceVenues { """ Its venues, hidden ones included unless near is given. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Leave out hidden venues, order nearest first and fill in each distance. """ near: CoordinatesInput """ Only visible venues whose name, or Facebook Page's name, contains this, by name. """ search: String """ Only venues with this tag. """ tagId: ID ): VenueConnection! """ A venue in the audience by its UUID. """ venue( """ Its UUID. """ id: ID! ): Venue @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) } """ One of a venue's banner images, which the apps rotate through. """ type BannerPhoto implements HasPhotoFocus { """ The faces in it, largest first; empty when there are none, null before it has been looked at. """ faces: [FaceBox!] """ Where a crop should centre; null before it has been looked at (centre it). """ focalPoint: FocalPoint """ Whether it is mostly text (a flyer, words across it), so screens show it last; null before it has been looked at. """ hasText: Boolean """ Its height in pixels, upright; null before it has been looked at. """ height: Int """ Its UUID. """ id: ID! """ How much of it has text in it, 0..1; null before it has been looked at. """ textCoverage: Float """ A copy with its text painted out by an image model, to show behind your own words; null when there is none. """ textFreeUrl: PhotoURL """ The image. """ url: PhotoURL! """ Its width in pixels, upright; null before it has been looked at. """ width: Int } """ A card that needs nothing beyond its kind: the app loads its content as before (pings). """ type BasicCard implements ICard { """ Stable for this card in this place, e.g. now.chat:. """ id: ID! """ What it is: now.stage, now.chat, now.smallTalk, posts.tonight, posts.locale, articles.locale, events.upcoming, venues.nearby, venues.friends, venues.tonight, venues.all, venues.thinCity, locales.showcase, people.playingThisWeek, people.basedHere, people.everyone, pings, flyers, web or promo.slot. New kinds are added; a kind the app did not list in cardKinds is never sent. """ kind: String! """ Its place on the screen, from 1 at the top. """ rank: Int! """ A heading the app may use; null to use its own. """ title: String } """ Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it's encoded as a string. """ scalar BigInt """ Binary data represented as an encoded string. """ scalar Binary """ One number called in a bingo game. """ type BingoCall { """ How the host reads it out: B-12, or 12 in 90-ball. """ label: String! """ B, I, N, G or O in 75-ball; null in 90-ball. """ letter: String """ The number. """ number: Int! } """ A game of bingo at a venue: a host draws each number (drawBingoNumber) and reads it out, and the venue's screens keep the board of what's been called. Players mark paper cards; none are kept here. """ type BingoGame { """ The numbers called, first to last. """ calls: [BingoCall!]! """ When it ended; null while it runs. """ endedAt: ISO8601DateTime """ The highest number on the board: 75 or 90. """ highest: Int! """ Its UUID. """ id: ID! """ The latest number called; null before the first. """ lastCall: BingoCall """ What wins this game, as the host named it: Four corners. """ pattern: String """ How many numbers are left to call. """ remaining: Int! """ Whether it is still being played. """ running: Boolean! """ When it started. """ startedAt: ISO8601DateTime! """ Which bingo. """ style: BingoStyle! } """ Which bingo is played. """ enum BingoStyle { """ 1 to 90, numbers only (the British game). """ NINETY """ B-I-N-G-O, 1 to 75: B 1-15, I 16-30, N 31-45, G 46-60, O 61-75. """ SEVENTY_FIVE } """ Autogenerated input type of BlockedUserAdd """ input BlockedUserAddInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Who to block, e.g. a chat message's userId. """ userId: ID! } """ Autogenerated return type of BlockedUserAdd. """ type BlockedUserAddPayload { """ Everyone they block, after the change. """ blockedUsers: [Profile!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of BlockedUserRemove """ input BlockedUserRemoveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Who to unblock. """ userId: ID! } """ Autogenerated return type of BlockedUserRemove. """ type BlockedUserRemovePayload { """ Everyone they block, after the change. """ blockedUsers: [Profile!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Software with a name of its own, like Glam, the AI host. Never a person, so it has no presence and nobody to block. """ type BotSender implements Sender { """ The sender's avatar: the bot's art, the venue's photo, the listing's or the member's. Null for the room itself. """ avatarUrl: PhotoURL """ Which bot, e.g. glam. Stable across renames. """ handle: String! """ Which kind of sender. """ kind: ChatSenderKind! """ The name the room shows: the bot's, the venue's or the listing's, or a member's as ChatMessage.name gives it. Null for the room itself. """ name: String } """ A named branding config uploaded as JSON: a starting point for an audience's look, next to the built-in presets (doc/BRANDING_CONFIGS.md). """ type BrandingConfig { """ When it was first uploaded. """ createdAt: ISO8601DateTime! """ Token overrides for dark mode. """ dark: [ThemeToken!]! """ What it is for. """ description: String """ Fonts for headings and body text. """ fonts: ThemeFonts! """ Its UUID. """ id: ID! """ Top-level keys in the upload that are kept but not applied to a theme yet, e.g. fonts or logos. """ ignoredKeys: [String!]! """ Its slug, unique among the configs in the same place. """ key: String! """ Token overrides for light mode. """ light: [ThemeToken!]! """ Logo images. """ logos: ThemeLogos! """ Its name, shown with the built-in presets. """ name: String! """ Whether every audience can start from it (no audience of its own). """ platformWide: Boolean! """ The built-in preset it builds on, e.g. default or hot_mess. """ preset: String! """ The uploaded JSON, as sent. """ source: String! """ The tagline it sets; null keeps the audience's own. """ tagline: String """ When it was last uploaded. """ updatedAt: ISO8601DateTime! } """ The viewer's calendar subscription here (doc/CALENDAR_SYNC.md): a private link calendar apps poll for the events they are going to (and maybe going to), the lineup slots and events of the talent they manage, and their shifts, from a month ago to a year ahead. Anyone with the link sees those, so the apps show it only to them; resetting it ends the old link. """ type CalendarFeed { """ When the current link was made. """ createdAt: ISO8601DateTime! """ Google Calendar's page that adds the subscription, for Android and the web. """ googleUrl: String! """ About when a calendar app last read it (within the hour); null until one has. """ lastFetchedAt: ISO8601DateTime """ https:///v1/calendar/.ics: the feed itself. """ url: String! """ The venues it follows (setCalendarFeedVenue): every event at each is in it. A venue that banned them, or closed, drops out. """ venues: [Venue!]! """ The same link as webcal://, which Apple Calendar and Outlook open as a subscription. """ webcalUrl: String! } """ Autogenerated input type of CalendarFeedCreate """ input CalendarFeedCreateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether to replace the link (when it was shared by mistake). """ reset: Boolean = false } """ Autogenerated return type of CalendarFeedCreate. """ type CalendarFeedCreatePayload { """ The subscription. """ calendarFeed: CalendarFeed! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of CalendarFeedDelete """ input CalendarFeedDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of CalendarFeedDelete. """ type CalendarFeedDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether there was one to end. """ deleted: Boolean! } """ Autogenerated input type of CalendarFeedVenueSet """ input CalendarFeedVenueSetInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ False to stop following it. """ following: Boolean = true """ The venue's UUID. """ venueId: ID! } """ Autogenerated return type of CalendarFeedVenueSet. """ type CalendarFeedVenueSetPayload { """ The subscription. """ calendarFeed: CalendarFeed! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ A category of promoted card, from the published list (config/promo_cards.yml, in the audience's words), for the app's "Cards you see" settings. What the viewer turns off stays on their device. """ type CardCategory { """ Examples, e.g. "STI testing, PrEP clinics". """ description: String! """ Whether people can turn it off. Never for announcements; not by default for venues and events (people block the venue instead). """ hideable: Boolean! """ The category cards carry: venue, health, charity, ... """ key: String! """ Its name, e.g. "Health". """ label: String! } """ Autogenerated input type of CardViewsRecord """ input CardViewsRecordInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The layout they were in, as Layout.id gave it. """ layoutId: ID """ The PromoCard ids shown, at most 10. """ promoIds: [ID!]! } """ Autogenerated return type of CardViewsRecord. """ type CardViewsRecordPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How many of the cards were counted. """ recorded: Int! } """ An audience's connection to the provider that runs its chat rooms, e.g. its Discord server. Its bot token is stored encrypted and never returned. """ type ChatAccount { """ Whether its bot is the audience's own Discord application's (setDiscordApp), added through Discord's OAuth. """ audienceBot: Boolean! """ Whether its bot is AudienceKit's own, added through Discord's OAuth (startDiscordBotInstall), rather than a pasted token. """ audiencekitBot: Boolean! """ A link that adds its bot to its server with the permissions it needs there, to copy or send to the server's owner. Null for a pasted token. """ botInstallUrl: String """ The servers the audience's own bot is in, to pick from. Empty for AudienceKit's bot, which is in other audiences' servers too. """ botServers: [DiscordPlace!]! """ Whether an admin turned the bridge on (connectChat bridge). """ bridge: Boolean! """ Whether the bot bridges the rooms now: the bridge is on and there's a bot token. The apps keep their rooms; the lines go both ways, or only come in (readOnly). """ bridged: Boolean! """ Its venues' and locales' channels. """ channels: [ChatChannel!]! """ The event whose own community it is; null for the audience's and venues'. """ eventId: ID """ The community's ID on the provider, e.g. a Discord server ID. """ externalId: String! """ Whether it has a bot: a stored token, or AudienceKit's own bot. """ hasBotToken: Boolean! """ Unique identifier. """ id: ID! """ The link that lets people into the community. """ inviteUrl: String """ Why the last check with the provider failed, if it did. """ lastError: String """ When the provider last accepted its token. """ lastVerifiedAt: ISO8601DateTime """ How many people (not bots) were in its servers when last saved. """ memberCount: Int! """ The people (bots last) the bot saw in its servers when last saved, by name. """ members( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Part of a name or username. """ search: String """ Only this server. """ server: String ): ChatServerMemberConnection! """ A link that adds its bot to the server it migrated from, to read: View Channels and Read Message History. """ migratedBotInstallUrl: String """ The server the community is moving from, which the bot reads too. """ migratedFrom: String """ The community's name on the provider. """ name: String """ The provider. """ provider: ChatProvider! """ Whether the bridge only reads (connectChat readOnly): the provider's messages come in for signed-in people to read and report, nothing goes out. """ readOnly: Boolean! """ The channels the bot saw in its servers when last saved, in the servers' order. """ savedChannels: [ChatServerChannel!]! """ A server's text channels, to pick from: the community's, the one it migrated from, or one the audience's own bot is in. """ serverChannels( """ The server ID. """ server: String! ): [DiscordPlace!]! """ Why the last save of its servers' channels or members fell short. """ syncError: String """ When its servers' channels and members were last saved. """ syncedAt: ISO8601DateTime """ The venue whose own community it is; null for the audience's. """ venueId: ID """ That venue's name. """ venueName: String } """ A chat room's latest lines: the venue's (now.chat), branded for its event when one is on, or the locale's Small talk (now.smallTalk). """ type ChatCard implements ICard { """ The event on at the venue, for the room's branding. """ event: Event """ Stable for this card in this place, e.g. now.chat:. """ id: ID! """ What it is: now.stage, now.chat, now.smallTalk, posts.tonight, posts.locale, articles.locale, events.upcoming, venues.nearby, venues.friends, venues.tonight, venues.all, venues.thinCity, locales.showcase, people.playingThisWeek, people.basedHere, people.everyone, pings, flyers, web or promo.slot. New kinds are added; a kind the app did not list in cardKinds is never sent. """ kind: String! """ The locale, for Small talk. """ locale: Locale """ Its place on the screen, from 1 at the top. """ rank: Int! """ A heading the app may use; null to use its own. """ title: String """ The venue, for its room. """ venue: Venue } """ A venue's or locale's room as one of the chat provider's channels. """ type ChatChannel { """ The provider's channel ID. """ externalId: String! """ Unique identifier. """ id: ID! """ The locale whose room it is, or null for a venue. """ localeId: ID """ The room's channel in the server the community migrated from, whose messages come in too. """ migratedChannelId: String """ The channel's name, as the bot last saw it (Discord). """ name: String """ Where the apps send people to the room. """ url: String """ The venue whose room it is, or null for a locale. """ venueId: ID } """ One of your friends, as a chat room names them. """ type ChatFriend { """ Their name in full. """ name: String """ Their user ID. """ userId: ID! } """ Autogenerated input type of ChatInitialsSet """ input ChatInitialsSetInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether chat shows their initials. """ enabled: Boolean! } """ Autogenerated return type of ChatInitialsSet. """ type ChatInitialsSetPayload { """ The setting, after the change. """ chatInitials: Boolean! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ A chat room's first event, on joining it: who is there, its recent history and its pinned announcement. """ type ChatJoined { """ When the room stops showing messages: those sent before it have expired (its chat retention) for everyone but its admins, whose history goes back further. The apps put a divider there between what has cleared and what is current. """ expiresBefore: ISO8601DateTime! """ The room's last 100 messages, oldest first: the last 24 hours of it, or all of it for its admins. Removed messages and people you blocked are left out. """ history: [ChatMessagePosted!]! """ Whether you're in the room only because you're an admin, away from it. ChatRangeChanged says when that changes. """ outOfRange: Boolean! """ The announcement pinned under the room's title, however old. """ pinnedMessage: ChatMessagePosted """ Whether the room mirrors a provider's channel (connectChat readOnly): read and report here, reply on the provider (replyUrl). Sending fails. """ readOnly: Boolean! """ With readOnly: the channel's page on the provider, to reply there, e.g. a Discord channel link. """ replyUrl: String """ Who is in the room now, and who's your friend. """ roster: ChatRoster! } """ What a chat message is. Only messages with a role can be anything but TEXT or REQUEST. """ enum ChatKind { """ A title, the message as its body and an optional photo. One per room can be pinned under its title. """ ANNOUNCEMENT """ One of the audience's events, with the message as a caption. """ EVENT """ A photo, with the message as a caption. """ PHOTO """ One of the event's chat prompts (`prompt`), posted as the audience. The newest PINNED one shows under the room's title. """ PROMPT """ A song request or karaoke signup (`request`), with the message as a note to the host. Anyone in a venue room may send one while the venue takes them (requestSong). """ REQUEST """ A title and body that stop showing at endsAt. """ SPECIAL """ Just what they wrote. """ TEXT } """ A chat room's last event: you're out of the room, and the subscription ends. """ type ChatLeft { """ Why. """ reason: ChatLeftReason! } """ Why someone is out of a chat room. """ enum ChatLeftReason { """ They're no longer at the venue (or in the locale) and tried to speak. """ AWAY """ The room's audience banned them. """ BANNED """ They joined another venue's or locale's room: a person is in one at a time. """ MOVED """ The venue's moderators kicked or banned them from its room. """ REMOVED } """ Someone hosting as a listing on what's on in the room arrived or left: the whole lineup's presence again, replacing ChatRoster.lineup. """ type ChatLineupChanged { """ Everyone on what's on in the room now. """ lineup: [ChatLineupPresence!]! } """ Someone on what's on in a chat room now (an event's people, tonight's lineup at the venue), and how reachable whoever hosts as them is (see LineupPresence). A listing is public, so everyone in the room sees it. """ type ChatLineupPresence { """ The person (listing) on the lineup. """ personId: ID! """ ONLINE while anyone hosting as them is in a chat room, PUSH while a notification reaches one of them, else OFFLINE (also for someone nobody has hosted as tonight). """ presence: Presence! } """ A message in a venue's or a locale's chat room: a VenueMessage or a LocaleMessage. """ interface ChatMessage implements HasTribes { """ Whether the server posted it on its own, like an "On now" announcement. """ automatic: Boolean! """ The sender's profile photo, or the venue's photo for a post as the venue. """ avatarUrl: PhotoURL """ What they wrote: the text, or a rich message's body or caption (may be empty). """ body: String! """ When a special stops showing. """ endsAt: ISO8601DateTime """ The event an event message shares. """ event: Event """ The ID of the message. """ id: ID! """ Whether only one person sees it: a private nudge from the AI host, which apps show as "Only you can see this". Nobody else in the room gets it. """ isPrivate: Boolean! """ Whether it is a moderation test: a test phrase someone typed, or the AI host's answer to one (config/moderation/test_phrases.yml). Apps mark it as a test, and reporting it files nothing. """ isTest: Boolean! """ What the message is. """ kind: ChatKind! """ The sender's membership in the room's audience, for kicking or banning them. Admins only; null for anyone else. """ member: AudienceMember @requires(permissions: ["audience:read:*"]) """ The message as apps that only show text show it: the text, or a rich message in words ("Shared an event: Sunset Social"). """ message: String! """ The sender's name: in full for themself, their friends and admins; first name and last initial ("Aurora B.") for anyone else, as the room shows it. The venue's name for a post as the venue. """ name: String """ The talent listing it was posted as, if any. """ person: Person """ What's in a photo message's picture, for screen readers, when its poster said. """ photoAlt: String """ The photo of a photo message or an announcement. """ photoUrl: PhotoURL """ Whether it's the announcement pinned under the room's title. """ pinned: Boolean! """ Whether it was posted as the room's audience, like a prompt: shown with its name and mark, not a person. """ postedAsAudience: Boolean! """ Whether talent posted it as their listing (role HOST): `person` is who. """ postedAsPerson: Boolean! """ Whether it was posted as the venue. """ postedAsVenue: Boolean! """ Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. """ presence: Presence! """ The prompt a PROMPT message puts to the room. """ prompt: ChatPromptFrame """ The prompt a TEXT message answers, if it does. """ promptId: ID """ Who removed it and why, for a removed message in a transcript asked with includeRemoved; null while it shows. """ removal: ChatMessageRemoval """ The song request or karaoke signup a REQUEST message made, with its place in the queue and what became of it. """ request: SongRequest """ Their role in the room, if any. """ role: ChatRole """ Who it is from, as apps draw it: the room, a bot, the venue, someone posting as a listing, or a member. Replaces postedAsVenue, postedAsPerson and postedAsAudience. """ sender: Sender! """ When they sent it. """ sentAt: ISO8601DateTime! """ The tribes the signed-in user and they both identify with, for the "You're both" mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. """ sharedTribes: [Tag!]! """ An announcement or special's headline. """ title: String """ Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. """ tribes: [TribeIdentification!]! """ The ID of the user who sent it. """ userId: ID! } """ A message in a chat room, as it was posted. """ type ChatMessagePosted { """ The message. """ message: ChatMessage! """ ONLINE when its sender is in the room now; PUSH when they aren't but a notification reaches them, which only their friends and the room's admins see; otherwise null, as for a post as the venue or a listing. """ senderPresence: Presence } """ Who removed a chat message, when and why. Only transcripts that include removed messages carry it. """ type ChatMessageRemoval { """ When it was removed. """ at: ISO8601DateTime! """ The name of the person who removed it; null when a moderation provider did, or the person is gone. """ byName: String """ Whether the sender took it back themself. """ bySender: Boolean! """ The ID of the person who removed it. """ byUserId: ID """ The name of the moderation provider that removed it, such as "Claude". """ provider: String """ Why it was removed, when the remover said; "Room cleared" for a clear. """ reason: String } """ Autogenerated input type of ChatMessageRemoveOwn """ input ChatMessageRemoveOwnInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message: a chat frame's id. """ messageId: ID! } """ Autogenerated return type of ChatMessageRemoveOwn. """ type ChatMessageRemoveOwnPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the message removed. """ deletedId: ID! } """ A message taken out of the room, by its sender or an admin. Nothing shows it again. """ type ChatMessageRemoved { """ The ID of the message. """ messageId: ID! } """ Autogenerated input type of ChatMessageReport """ input ChatMessageReportInput { """ Also block the sender. """ block: Boolean = false """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message: a chat frame's id. """ messageId: ID! """ What's wrong with it. """ reason: String """ A test report (the apps' Send test report): checked like any other, but nothing is filed and nobody is blocked. A moderation test phrase's line (isTest) is always reported as a test, and may be your own. """ test: Boolean = false } """ Autogenerated return type of ChatMessageReport. """ type ChatMessageReportPayload { """ Whether the person responsible is now blocked. """ blocked: Boolean! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether the report was filed. """ reported: Boolean! """ Whether it was a test report: it went through every check but filed nothing and blocked nobody, so it never reaches the moderators' queue. """ test: Boolean! } """ Autogenerated input type of ChatMessageSendOwn """ input ChatMessageSendOwnInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ A locale's room. """ localeId: ID """ What you typed (up to 1,000 characters). """ message: String! """ The prompt it answers (a PROMPT message's prompt), in a venue's room. """ promptId: ID """ A venue's room. """ venueId: ID } """ Autogenerated return type of ChatMessageSendOwn. """ type ChatMessageSendOwnPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message, as the room sees it. """ message: ChatMessage! } """ A message its sender or an admin edited. """ type ChatMessageUpdated { """ The message as it is now. """ message: ChatMessage! } """ An announcement pinned under the room's title, replacing whichever was, or taken down from there. """ type ChatPinChanged { """ The announcement, when pinned. """ announcement: ChatMessage """ The ID of the announcement. """ messageId: ID! """ Whether it's pinned now. """ pinned: Boolean! } """ Someone's first connection joined the room (ONLINE), or their last one left it or lapsed. Someone who left shows as PUSH to their friends and the room's admins when a notification still reaches them, otherwise OFFLINE, and stays listed until `recentUntil`. """ type ChatPresenceChanged implements IUserSummary { """ Their profile photo, on arriving. """ avatarUrl: PhotoURL """ First name and last initial ("Aurora B."), on arriving; the roster names your friends in full. """ name: String """ Where they are now. """ presence: Presence! """ On leaving: the room keeps listing them, offline, until then (30 minutes after they were last there, or when what they host there ends). """ recentUntil: ISO8601DateTime """ The tribes you and they both identify with, for the "You're both" mark. Only the two of you see it; empty for you and for anyone you share none with. """ sharedTribes: [Tag!]! """ Their user ID. """ userId: ID! } """ A short question an event's chat room puts to the people in it, to get them talking to each other in the venue. Each shows once a night, in order (ChatPrompts). """ type ChatPrompt { """ A trivia question's answer. """ answer: String """ How many messages in the room answer it. """ answerCount: Int! """ The ID of the prompt. """ id: ID! """ What it asks. """ kind: ChatPromptKind! """ Its place in the night, from 0. """ position: Int! """ When a trivia question's answer shows for everyone. """ revealAt: ISO8601DateTime """ How it went up, if it has. """ shownAs: ChatPromptShownAs """ When it went up, if it has. """ shownAt: ISO8601DateTime """ Whether it went up and was taken out of the room since (removeChatPrompt, or a moderator). """ takenDown: Boolean! """ The question. """ text: String! } """ The prompt a PROMPT message puts to the room, with its place in the night's prompts. """ type ChatPromptFrame { """ A trivia question's answer: the apps hide it until tapped or revealAt. """ answer: String """ The ID of the prompt; answers send it as promptId. """ id: ID! """ What it asks. """ kind: ChatPromptKind! """ When the next rotates in, if one will. """ nextAt: ISO8601DateTime """ Which prompt of the night it is, from 1. """ number: Int! """ When the answer shows for everyone. """ revealAt: ISO8601DateTime """ How it went up. """ shownAs: ChatPromptShownAs! """ The question. """ text: String! """ How many the night will show, at most. """ total: Int! } """ What a chat prompt (ChatPrompt) asks. """ enum ChatPromptKind { """ Something to talk about with the people around you. """ CONVERSATION """ A question with an answer, hidden until tapped or revealAt. """ TRIVIA } """ How a chat prompt went up in its room. """ enum ChatPromptShownAs { """ Dropped into a quiet room as a card. """ CARD """ Rotated in, pinned under the room's title until the next one. """ PINNED } """ A hand-written list of chat prompts staff can start an event from (ChatPrompts::STARTER_SETS). """ type ChatPromptStarterSet { """ It as an audiencekit.chatPrompts file (doc/IMPORT_EXPORT.md). """ file: JSON! """ Its key, for setEventChatPrompts(starterSet:). """ key: String! """ What it is for ("Viewing party"). """ name: String! """ Its prompts, unsaved. """ prompts: [ChatPrompt!]! } """ A chat provider an audience's rooms can run on (Chat::Provider), and what AudienceKit can do with it: AudienceKit (its own), Discord, Matrix or IRC. Apps offer only what the provider supports. """ type ChatProvider implements IProvider { """ How its bridge can run: "on" carries lines both ways, "read" only brings the provider's in (connectChat readOnly). """ bridgeModes: [String!]! """ Whether a bot can bridge its rooms with the apps' own (ChatAccount.bridge). """ bridges: Boolean! """ Whether each venue's and locale's room can be one of its channels. """ channels: Boolean! """ Whether the rooms run in the apps (the live room subscriptions and sendMyChatMessage). When false, apps send people to the room's url instead. """ inApp: Boolean! """ Whether members join its rooms with a short-lived room token AudienceKit mints once it has checked they may. """ joinTokens: Boolean! """ Its key, e.g. karafun. """ key: String! """ Whether the moderation feed sees its rooms. """ moderates: Boolean! """ Its name, e.g. KaraFun. """ name: String! """ Whether AudienceKit holds the rooms' live state and history itself, rather than the provider carrying them. """ storesMessages: Boolean! """ Whether an account's credentials can be checked with it. """ verifies: Boolean! } """ The connection type for ChatProvider. """ type ChatProviderConnection { """ A list of edges. """ edges: [ChatProviderEdge] """ A list of nodes. """ nodes: [ChatProvider] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type ChatProviderEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: ChatProvider } """ An admin crossed the edge of the room: they stay in it either way. """ type ChatRangeChanged { """ Whether they're in the room only because they're an admin, away from it. """ outOfRange: Boolean! } """ Someone who left a chat room in the last 30 minutes, or hosts what is on there now, whom the room still lists, offline. """ type ChatRecentPerson implements IUserSummary { """ Their profile photo. """ avatarUrl: PhotoURL """ Whether they are your friend. """ friend: Boolean! """ When they were last in the room; null for a host who posted from Backstage. """ lastSeenAt: ISO8601DateTime """ In full for your friends; first name and last initial ("Aurora B.") for anyone else. """ name: String """ PUSH to their friends and the room's admins when a notification reaches them, otherwise OFFLINE. """ presence: Presence! """ When the room stops listing them: 30 minutes after they were last there, or when what they host ends, whichever is later. """ recentUntil: ISO8601DateTime! """ The tribes you and they both identify with, for the "You're both" mark. Only the two of you see it; empty for you and for anyone you share none with. """ sharedTribes: [Tag!]! """ Their user ID. """ userId: ID! } """ Who a chat message is from, when they have a role there (see ChatMessage). Set by the server. """ enum ChatRole { """ A host or performer on tonight's event at the venue. """ HOST """ One of the audience's admins. """ STAFF """ Posted as the venue, shown with its name and photo. """ VENUE } """ A venue's or a locale's chat room, as the console lists them (see ChatRoom). """ type ChatRoom implements Node { """ The venue's or locale's ID. """ id: ID! """ The latest message, in words. """ lastMessage: String """ When it was sent. """ lastMessageAt: ISO8601DateTime """ Who sent it, as admins see them. """ lastMessageName: String """ The locale, for a locale's room. """ locale: Locale """ The venue's or locale's name. """ name: String """ How many people are in the room now. """ onlineCount: Int! """ How many messages were sent in the last 24 hours. """ recentCount: Int! """ The venue, for a venue's room. """ venue: Venue } """ An admin cleared the room, or its oldest messages expired (its chat retention): every message sent up to then is gone. """ type ChatRoomCleared { """ Messages sent at or before this are removed. """ clearedAt: ISO8601DateTime! """ Whether they expired rather than an admin clearing them. Apps keep what was sent after clearedAt, and mark an admin clearing in the room. """ expired: Boolean! } """ The connection type for ChatRoom. """ type ChatRoomConnection { """ A list of edges. """ edges: [ChatRoomEdge] """ A list of nodes. """ nodes: [ChatRoom] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type ChatRoomEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: ChatRoom } """ What someone following a chat room hears (Subscription.venueChat, Subscription.localeChat), as they see it: ChatJoined first, then the room as it changes, until ChatLeft ends the subscription. """ union ChatRoomEvent = ChatJoined | ChatLeft | ChatLineupChanged | ChatMessagePosted | ChatMessageRemoved | ChatMessageUpdated | ChatPinChanged | ChatPresenceChanged | ChatRangeChanged | ChatRoomCleared """ Who is in a chat room as you join it. ChatPresenceChanged keeps it current afterwards. """ type ChatRoster { """ All your friends, in the room or not, named in full, so a friend who arrives later can be marked and named. """ friends: [ChatFriend!]! """ Everyone on what's on in the room now (its event's people, tonight's lineup at the venue), whether or not they have been in it, and how reachable they are. ChatLineupChanged keeps it current. """ lineup: [ChatLineupPresence!]! """ Everyone in the room now, you included: your friends first. """ people: [ChatRosterPerson!]! """ Who left the room in the last 30 minutes, and the hosts of what's on there, the latest to leave first. The apps list them offline until `recentUntil`. """ recent: [ChatRecentPerson!]! } """ Someone in a chat room. """ type ChatRosterPerson implements IUserSummary { """ Their profile photo. """ avatarUrl: PhotoURL """ Whether they are your friend. """ friend: Boolean! """ In full for you and your friends; first name and last initial ("Aurora B.") for anyone else. """ name: String """ The tribes you and they both identify with, for the "You're both" mark. Only the two of you see it; empty for you and for anyone you share none with. """ sharedTribes: [Tag!]! """ Their user ID. """ userId: ID! } """ Who a chat message is from (see Sender), as apps draw it. More kinds may come: draw one you don't know as MEMBER. """ enum ChatSenderKind { """ Software with a name of its own, like Glam, the AI host: its own art with no border or fill, and a bot mark. """ BOT """ Anyone posting as themself: their own avatar and presence. """ MEMBER """ Someone posting as a listing, like a host as their talent page: its name and photo in a ringed circle, with a role badge. """ PERSONA """ The room itself, like a prompt: no avatar, a centred line. """ SYSTEM """ Someone posting as the venue: its name and photo, in a squarer avatar. """ VENUE } """ A channel in one of a chat account's servers, as its bot last saw it (Chat::Discord::Sync). """ type ChatServerChannel { """ The provider's channel ID. """ externalId: String! """ Unique identifier. """ id: ID! """ The provider's channel type (Discord: 0 text, 2 voice, 4 category, 5 announcement). """ kind: Int """ Its name on the provider. """ name: String """ The category it sits in. """ parentExternalId: String """ Where the server lists it. """ position: Int """ The provider's server ID. """ serverId: String! """ Where it opens on Discord. """ url: String! } """ Someone in one of a chat account's servers, as its bot last saw them (Chat::Discord::Sync). """ type ChatServerMember { """ Whether it is a bot. """ bot: Boolean! """ The provider's user ID. """ externalId: String! """ Unique identifier. """ id: ID! """ When they joined the server. """ joinedAt: ISO8601DateTime """ The name the server shows: nickname, display name or username. """ name: String """ Their roles' IDs in the server. """ roleIds: [String!]! """ The provider's server ID. """ serverId: String! """ The AudienceKit user with the same Discord account, if any. """ userId: ID """ That user's name in AudienceKit. """ userName: String """ Their username on the provider. """ username: String } """ The connection type for ChatServerMember. """ type ChatServerMemberConnection { """ A list of edges. """ edges: [ChatServerMemberEdge] """ A list of nodes. """ nodes: [ChatServerMember] """ Information to aid in pagination. """ pageInfo: PageInfo! """ How many there are in all, whatever page this is. """ totalCount: Int! } """ An edge in a connection. """ type ChatServerMemberEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: ChatServerMember } """ Our AI moderator, moderation_claude (Moderation::Claude), which runs on its own server and judges messages with Claude. """ type ClaudeModerationProvider implements IModerationProvider & IProvider { """ Actions it can take, e.g. escalate or remove_message. An audience grants it some of them. """ actions: [String!]! """ Policy categories it judges, e.g. spam or threats. """ categories: [String!]! """ Chat events it receives, e.g. message.created or user.joined. """ events: [String!]! """ Whether it reads this audience's chat now: always for inline ones; for remote ones, while a live service token of the audience's is issued for it with chat:moderate:*. """ following: Boolean! """ Whether it receives each event on this server as it happens. """ inline: Boolean! """ Its key, e.g. karafun. """ key: String! """ The model that judges each message. """ model: String! """ Its name, e.g. KaraFun. """ name: String! """ Whether it runs on its own server and dials in for the event feed. """ remote: Boolean! """ The model that takes a second look before it removes, kicks or bans. """ reviewModel: String! } """ Which builds of the apps something is for. """ enum ClientEnvironment { """ Development builds. """ DEVELOPMENT """ The shipped apps. """ PRODUCTION """ Staging builds, which name this environment when they sign in. """ STAGING } """ A venue's coat check service for the night. """ type CoatCheck implements ICharge { """ The coat check fee the venue receives. """ amount: Money! """ The platform fee. """ fee: Money! """ The night this coat check applies. """ night: ISO8601Date! """ Whether coat check can be paid in the app. """ payable: Boolean! """ Supported payment mechanisms, e.g. ["apple_pay", "card"]. """ paymentMechanisms: [String!]! """ What the buyer pays per coat, all in. """ total: Money! } """ Autogenerated input type of CoatCheckBuy """ input CoatCheckBuyInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Number of coats to check. """ quantity: Int = 1 """ The venue identifier. """ venueId: ID! } """ Autogenerated return type of CoatCheckBuy. """ type CoatCheckBuyPayload { """ The coat check pass, pending until paid. """ admission: Admission! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Stripe: for the payment sheet. Null once it's paid. """ paymentIntentClientSecret: String """ The provider serving this record. """ provider: PaymentProvider! """ Stripe: the audience's publishable key. """ publishableKey: String """ Square: the audience's application ID. """ squareApplicationId: String """ Square: the venue's location that gets paid. """ squareLocationId: String """ Stripe: the venue's account, for the payment sheet. """ stripeAccountId: String } """ A food pantry, shelter, clinic, STI testing, mental health, crisis or DV service, paged like a venue. Show title in lists and screen titles: for a DV or stalking resource it is a neutral title. """ type CommunityResource { """ Where it is. """ address: String """ When its details were last checked; null until someone has, and the apps show no date. """ checkedAt: ISO8601Date """ What it offers. """ description: String """ What it offers and for whom: food, shelter, health-coverage, sti-testing, mental-health, dv-stalking, crisis, youth-safe, lgbtq-affirming, no-id-required, faith-based or secular. """ facets: [String!]! """ Its regular opening hours. """ hours: [CommunityResourceSlot!]! """ Its UUID. """ id: ID! """ What to bring or expect, e.g. "No ID needed." """ intakeNote: String """ Where it is. """ latitude: Float """ The locale it is in. """ locale: Locale! """ Where it is. """ longitude: Float """ Its real name, for its page. """ name: String! """ What lists show instead of its name, if anything. """ neutralTitle: String """ Its next session from now, or the one under way, within a week. """ nextSession: CommunityResourceSession """ Whether its regular hours cover now. """ openNow: Boolean! """ The number to call. """ phone: String """ A DV or stalking resource: show the quick-exit button, keep it out of history and recents, and use title everywhere but its page body. """ sensitive: Boolean! """ Recurring sessions, e.g. mobile pantry stops. """ sessions: [CommunityResourceSlot!]! """ Where its details were checked. """ sourceUrl: String """ The number to text. """ textNumber: String """ What lists, flyers and screen titles call it. """ title: String! """ Its website. """ url: String } """ A resource's next session, or the one under way. """ type CommunityResourceSession { """ When it ends. """ endsAt: ISO8601DateTime! """ Which session it is. """ session: CommunityResourceSlot! """ When it starts. """ startsAt: ISO8601DateTime! } """ A resource's regular hours on some days, or one of its recurring sessions (a mobile pantry stop). """ type CommunityResourceSlot { """ Where a session is, when it is somewhere else. """ address: String """ Weekdays (0 = Sunday); empty for every day. """ days: [Int!]! """ Start, HH:MM local time; null when not known. """ from: String """ Anything to know about it. """ note: String """ What the place a session is at is called. """ place: String """ End, HH:MM local time; null when not known. """ until: String } """ Someone on the app the viewer has saved in their contacts, who has the viewer's number too. """ type ContactMatch { """ Which of the hashes just sent found them, so the phone can show the name it has them saved under. Only on the answer to checkContacts: hashes are not kept, so it is null everywhere else. """ contactHash: String """ The request between them while one is waiting for an answer, whichever of them sent it. """ request: FriendRequest """ Where the viewer stands with them. """ status: ContactMatchStatus! """ Who they are: "First L." until friends. The app shows the name the viewer saved them under from its own contacts. """ user: Profile! } """ Autogenerated input type of ContactMatchNameSet """ input ContactMatchNameSetInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The first name friends would save them under. """ firstName: String! """ Their last name. """ lastName: String! } """ Autogenerated return type of ContactMatchNameSet. """ type ContactMatchNameSetPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! } """ Where the viewer stands with someone contact matching found. """ enum ContactMatchStatus { """ Already friends. """ FRIENDS """ They asked the viewer: the app offers "Accept" and "Not now". """ INCOMING """ Nobody has asked yet: the app offers "Add". """ NONE """ The viewer asked; no answer yet (a quiet "Not now" also reads as this). """ REQUESTED } """ The viewer's friend matching from contacts (#388). Phones send ContactMatching hashes, never names or numbers: SHA-256 hex of "first|last|+E164", names lower-cased with accents and everything but letters and digits removed. """ type ContactMatching { """ When they may ask for another text code. """ codeResendAt: ISO8601DateTime! """ How many contacts their last check covered. """ contactsChecked: Int! """ Whether matching is on: they can find people and be found. Turns on with their first checkContacts after verifyContactPhone. """ enabled: Boolean! """ The first name friends match them on. """ firstName: String """ Requests waiting on their answer, newest first. """ incomingRequests: [FriendRequest!]! """ When they last checked. """ lastCheckedAt: ISO8601DateTime """ The last name friends match them on. """ lastName: String """ Everyone found both ways, with where they stand. Empty while matching is off. """ matches: [ContactMatch!]! """ When they may check their contacts again (once a day). """ nextCheckAt: ISO8601DateTime! """ Their verified number in E.164. Only they ever see it. """ phoneNumber: String """ Whether they proved their number by text. """ phoneVerified: Boolean! """ Whether a code can be texted right now. False until the platform has a text provider set up; apps hide the offer to turn matching on. True for a review account that can prove a fictional number without a text. """ textCodesAvailable: Boolean! } """ Autogenerated input type of ContactMatchingDisable """ input ContactMatchingDisableInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of ContactMatchingDisable. """ type ContactMatchingDisablePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! } """ Autogenerated input type of ContactPhoneVerificationStart """ input ContactPhoneVerificationStartInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The first name friends would save them under. """ firstName: String! """ Their last name, as friends would save it. """ lastName: String! """ Their mobile number in E.164 ("+12065550142"). """ phoneNumber: String! } """ Autogenerated return type of ContactPhoneVerificationStart. """ type ContactPhoneVerificationStartPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! } """ Autogenerated input type of ContactPhoneVerify """ input ContactPhoneVerifyInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The six digits from the text. """ code: String! } """ Autogenerated return type of ContactPhoneVerify. """ type ContactPhoneVerifyPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! } """ Autogenerated input type of ContactsCheck """ input ContactsCheckInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How many contacts were read, for "We checked 457 contacts". """ contactCount: Int! """ At most 10,000 hashes, in any order. """ hashes: [String!]! } """ Autogenerated return type of ContactsCheck. """ type ContactsCheckPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! """ Everyone found, as contactMatching.matches, each with the contactHash that found them. """ matches: [ContactMatch!]! } """ Autogenerated input type of ContentReport """ input ContentReportInput { """ Also block the person responsible. Ignored for venues, photos, talent listings and posts as the venue or a person. """ block: Boolean = false """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What's wrong with it. """ reason: String """ Its id, as the app has it: a chat frame's id, a user id (or a Person id for a talent listing), a venue, ping or photo id. """ targetId: ID! """ What kind of thing it is. """ targetType: ReportTarget! } """ Autogenerated return type of ContentReport. """ type ContentReportPayload { """ Whether the person responsible is now blocked. """ blocked: Boolean! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether the report was filed. """ reported: Boolean! """ Whether it was a test report: it went through every check but filed nothing and blocked nobody, so it never reaches the moderators' queue. """ test: Boolean! } """ Autogenerated input type of ContributionSubmit """ input ContributionSubmitInput { """ Anything else the reviewer should know. """ body: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Links or photos that show it is right. """ evidence: [SubmissionEvidenceInput!] = [] """ What it proposes. """ kind: SubmissionKind! """ The city it is filed from (the city page). """ localeId: ID """ For a missing venue or event: the member says it isn't the existingVenue or existingEvent it matched, so file it anyway. """ notListed: Boolean = false """ The fields it proposes, by kind: see doc/CONTRIBUTIONS.md. """ proposed: JSON = {} """ The venue, event or recurring night it is about; none for a missing one. """ targetId: ID } """ Autogenerated return type of ContributionSubmit. """ type ContributionSubmitPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The listed event a missing event already is. """ existingEvent: Event """ The listed venue a missing venue already is. """ existingVenue: Venue """ Whether someone had already suggested the same thing. """ merged: Boolean! """ The suggestion, unless it was already listed. """ submission: Submission } """ A device's position, with the iBeacon it can see when it can see one. """ input CoordinatesInput { """ The beacon's major value: a locale. """ beaconMajor: Int """ The beacon's minor value. Not used yet. """ beaconMinor: Int """ Latitude in decimal degrees. """ latitude: Float! """ Longitude in decimal degrees. """ longitude: Float! } """ Autogenerated input type of CoverBuy """ input CoverBuyInput { """ What the buyer chooses to pay for each cover, when it's on a sliding scale (CoverCharge.scale): from its min to its max. Left out, the suggested amount. """ amount: MoneyInput """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Number of covers to buy. """ quantity: Int = 1 """ Optional cover tier to purchase. """ tier: String """ The venue identifier. """ venueId: ID! } """ Autogenerated return type of CoverBuy. """ type CoverBuyPayload { """ The pass, pending until the payment succeeds. """ admission: Admission! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Stripe: for the payment sheet. Null once it's paid. """ paymentIntentClientSecret: String """ The provider serving this record. """ provider: PaymentProvider! """ Stripe: the audience's publishable key. """ publishableKey: String """ Square: the audience's application ID. """ squareApplicationId: String """ Square: the venue's location that gets paid. """ squareLocationId: String """ Stripe: the venue's account, for the payment sheet. """ stripeAccountId: String } """ What it costs to get into a venue on a night. The apps show total, the all-in price, and take it with buyCover when payable is true; otherwise it's paid at the door. """ type CoverCharge implements IAdmissionOffer & ICharge { """ The cover the venue receives. """ amount: Money! """ The venue's coat check service for the night, if offered. """ coatCheck: CoatCheck """ The event that night, when it sets the night's cover. """ event: Event """ The Hot Mess fee in it. Part of total when the buyer pays fees; taken from the cover when the venue does. Zero when it is paid at the door. """ fee: Money! """ When the cover starts, local time, e.g. 21:00. """ from: TimeOfDay """ The night it is for. A night runs 6am to 6am, so 1am Saturday is Friday night. """ night: ISO8601Date! """ Whether the venue changed this night's cover from its usual one. """ override: Boolean! """ Whether it can be paid in the app. """ payable: Boolean! """ Supported payment mechanisms, e.g. apple_pay, card. """ paymentMechanisms: [String!]! """ What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. """ price: Money """ Its sliding scale, when the buyer chooses what to pay; null for a fixed cover. amount is then the suggested amount. """ scale: CoverScale """ Who sells it: a ticketing partner, or AudienceKit itself. """ seller: IProvider! """ Cover tiers for this night, if any. """ tiers: [CoverTier!] """ What the buyer pays, all in. The cover itself when it is paid at the door. """ total: Money! """ What the buyer pays, all in, for one cover at amount: null when the cover doesn't take that amount. """ totalFor( """ The amount the buyer chooses. """ amount: MoneyInput! ): Money """ When the cover ends, local time, e.g. 02:00. """ until: TimeOfDay """ Where to buy it on the web. Null when it's bought in the app (buyCover) or at the door. """ url: String } """ Autogenerated input type of CoverConfirm """ input CoverConfirmInput { """ The cover admission identifier. """ admissionId: ID! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of CoverConfirm. """ type CoverConfirmPayload { """ The cover admission affected by this operation. """ admission: Admission! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Who pays the card fee and the Hot Mess fee on a cover. """ enum CoverFeePayer { """ Added to the price, so the venue receives the full cover. """ BUYER """ Taken from the cover, so the buyer pays the round price. """ VENUE } """ One night's change to a venue's cover. Null fields keep the usual. """ type CoverNight { """ That night's cover in cents: 0 for none, null for the usual. """ coverCents: Int """ A sliding scale that night: the most, in cents. """ coverMaxCents: Int """ A sliding scale that night: the least, in cents; coverCents is the suggested amount. Null for a fixed cover. """ coverMinCents: Int """ When the cover starts that night. """ from: TimeOfDay """ The night it changes. """ night: ISO8601Date! """ When the cover ends that night. """ until: TimeOfDay } """ Autogenerated input type of CoverPay """ input CoverPayInput { """ The cover admission identifier. """ admissionId: ID! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The payment token (nonce) Square's SDK made. """ sourceId: String! """ From Square's buyer verification, when the SDK asked for it. """ verificationToken: String } """ Autogenerated return type of CoverPay. """ type CoverPayPayload { """ The cover admission affected by this operation. """ admission: Admission! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ A sliding-scale cover's range (SlidingCover): the buyer chooses what to pay from min to max, starting at suggested, and passes it as buyCover(amount:). Amounts are what the venue receives, before fees (CoverCharge.totalFor gives the all-in price for one). """ type CoverScale { """ The most a buyer can pay. """ max: Money! """ The least a buyer can pay. """ min: Money! """ What the venue suggests; the cover amount. """ suggested: Money! } """ A pricing tier for a cover charge, e.g. General Admission, VIP. """ type CoverTier { """ Base cover amount for the tier. """ amount: Money! """ Perks or description of this tier. """ description: String """ Tier identifier. """ id: String! """ Name of the tier. """ name: String! """ All-in price for the tier. """ total: Money! } """ Who is credited on something, and as what: a persona (a publication, author, organization or performer), or a member whose suggestion was accepted. """ type Credit { """ For a republisher, the credit it republished. """ derivedFrom: Credit """ When an admin hid it; null when not hidden. """ hiddenAt: ISO8601DateTime @requires(permissions: ["audience:write:*"]) """ The credit's id. """ id: ID! """ The member credited, for a suggester: named "First L." unless the viewer may see their full name. """ member: Profile """ Who is credited, as shown in the credits. """ name: String! """ The persona credited; null for a suggester. """ person: Person """ What they are credited as. """ role: CreditRole! """ Whether everyone sees it: not hidden, not an unonboarded publisher's, and a suggester's only when they chose to be. """ shown: Boolean! @requires(permissions: ["audience:write:*"]) } """ What someone is credited as (Credit). """ enum CreditRole { """ Who wrote it. """ AUTHOR """ Who provided the data it was listed from. """ DATA_PROVIDER """ Where it first came from, e.g. the paper that first ran a guide. """ ORIGINAL_SOURCE """ Who took its photos. """ PHOTOGRAPHER """ A publication that ran it again; derivedFrom is the credit it republished. """ REPUBLISHER """ A member whose suggestion added or changed it, shown only when they chose to be. """ SUGGESTER } """ The next curtain call's readiness for anyone to see: counts per area, never who. """ type CurtainReadiness { """ The act the curtain rises on. """ act: Appearance! """ Venue, then talent, then support staff. """ counts: [ReadinessCount!]! """ Where it stands. """ verdict: GoNoGoVerdict! } """ A venue's custom karaoke URL connection (Karaoke::CustomUrl): its standing session URL. """ type CustomUrlAccount implements IKaraokeAccount { """ Whether an API token for the partner is stored, e.g. KaraFun Box's. """ hasApiToken: Boolean! """ Unique identifier. """ id: ID! """ Where singers join its standing session. """ joinUrl: String """ Why the last check with the partner failed, if it did. """ lastError: String """ When the partner last accepted its token. """ lastVerifiedAt: ISO8601DateTime """ The venue's name for its account on the partner. """ name: String """ The karaoke partner. """ provider: KaraokeProvider! """ Its standing session code, used by karaoke nights that have none of their own. """ sessionCode: String } """ Whether sign-ins from its apps must prove they come from its genuine app on a genuine device (App Attest on iOS, Play Integrity on Android). See doc/DEVICE_ATTESTATION.md. """ enum DeviceAttestationMode { """ App sign-ins that fail or skip attestation are refused. """ ENFORCE """ Not checked. """ OFF """ Checked and recorded on each session; nobody is refused. """ REPORT } """ Autogenerated input type of DeviceRegister """ input DeviceRegisterInput { """ The app build's iOS bundle ID (the APNs topic) or Android package. """ appId: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The APNs or FCM token, as the platform gave it. """ notificationToken: String! """ Whether an iOS token is for Apple's sandbox (development-signed builds). """ sandbox: Boolean } """ Autogenerated return type of DeviceRegister. """ type DeviceRegisterPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether the device registration succeeded. """ registered: Boolean! } """ A card for a city, like a flyer on a community board: chosen from the city and the time, nothing else. Show the card disclosure with it. Pick one of lines at random for each showing, never the same one twice in a row on this phone. """ type DigitalFlyer { """ A line or two under the headline. """ body: String """ The category a person can hide it by (FlyerCopy.categories); hiding is kept on the phone and never sent. """ category: String! """ What it says. """ headline: String! """ Its UUID; dismissing it is kept on the phone by this. """ id: ID! """ Its tone's lines, one shown at a time: gentle for crisis, food, housing, health coverage, youth or DV; status-neutral for health; else playful. """ lines: [String!]! """ What its link says. """ linkLabel: String """ Where its link goes. """ linkUrl: String """ The resource it points at, if any. """ resource: CommunityResource """ What it is about; its tone and category follow from these. """ tags: [String!]! """ gentle, health or playful, from its tags. """ tone: String! } """ The audience's own Discord application (setDiscordApp), whose bot startDiscordBotInstall adds to its servers so people see the audience's brand. Its client secret and bot token are stored encrypted and never returned. """ type DiscordApp { """ The application's ID (its OAuth2 client ID). """ clientId: String """ Whether it has a client ID, client secret and bot token, so "Add bot" uses it instead of AudienceKit's application. """ configured: Boolean! """ Whether the application on Discord already points its interactions, linked roles and event webhooks at these URLs (asked with its bot token). Null when Discord could not be asked. """ endpointsSet: Boolean """ Webhooks > Endpoint URL: where Discord sends the application's events, signed with its public key. """ eventWebhooksUrl: String! """ Whether a bot token is stored. """ hasBotToken: Boolean! """ Whether a client secret is stored. """ hasClientSecret: Boolean! """ A link that adds the audience's bot (its own, or AudienceKit's) to any server, to read; connect the server afterwards. Null without a bot. """ installUrl: String """ General Information > Interactions Endpoint URL: where Discord sends slash commands and other interactions. """ interactionsEndpointUrl: String! """ General Information > Linked Roles Verification URL: where members verify for a linked role. """ linkedRolesVerificationUrl: String! """ General Information > Public Key, which Discord signs the application's interactions and events with. Not secret. """ publicKey: String """ The address to add to the application's OAuth2 redirects, where Discord comes back after "Add bot". """ redirectUri: String! } """ A Discord server or channel the bot can see, to pick instead of pasting its ID. """ type DiscordPlace { """ Discord's ID for it. """ id: String! """ Its name on Discord. """ name: String } """ Where a Donate button sends someone: the recipient's own page with a provider (DonationTarget). """ enum DonationProvider { """ An ActBlue donation page. """ ACTBLUE """ Cash App; never for a political committee. """ CASHAPP """ A PayPal donate page (or PayPal.Me, for a nonprofit). """ PAYPAL """ Venmo; never for a political committee. """ VENMO """ A donation page on the recipient's own site. """ WEBSITE } """ Where a Donate button goes: a link out to the recipient's own donation page (an ActBlue page, a PayPal donate page or their site). AudienceKit never takes, holds or forwards the money, so apps open it in the browser and show the disclaimer. """ type DonationTarget { """ The "Paid for by" line to show with the button. """ disclaimer: String """ Unique identifier. """ id: ID! """ Whether it goes to a political committee. """ political: Boolean! """ Whose page it is. """ provider: DonationProvider! """ Who the money goes to, e.g. the campaign committee. """ recipientName: String """ The donation page, to open in the browser. """ url: String! } """ A venue's door for one night: who paid cover and who has been scanned in. """ type DoorNight { """ Paid, refunded and disputed covers, newest first; every one unless paged. """ admissions( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): AdmissionConnection! """ Paid covers scanned in. """ checkedInCount: Int! """ Covers paid and not refunded, before fees. """ gross: Money! """ The local date of the cover night. """ night: ISO8601Date! """ Covers paid and not refunded. """ paidCount: Int! } """ What happened to a member of a list. """ enum EdgeChange { """ It joined the list: it was created there, or moved there. """ ADDED """ It left the list: it was deleted, or moved elsewhere. """ REMOVED """ It changed, and is still in the list. """ UPDATED } """ One of a record's lists you follow (Subscription.edgeChanged) changed: a member joined, left or changed. """ type EdgeChanged { """ What happened to the member. """ change: EdgeChange! """ Which of the record's lists, by its association's name (`events`, `appearances`). """ edge: String! """ The ID of the record whose list it is. """ id: ID! """ The member as it is now, as you may read it; null when it left. """ node: Node """ The member's ID. """ nodeId: ID! } """ A GraphQL endpoint of the API. """ enum Endpoint { """ An audience's graph, /v1/audience/:id/graphql: what its apps and websites use. """ AUDIENCE """ The same graph with the staff edges, /v1/audience/:id/staffql: StaffKit, the staff apps and the console. """ STAFF """ Platform administration, /v1/tenants/graphql. """ TENANTS } """ An item (a podcast episode, a film, an article, a person) linked to what it is about (an event, a venue, a series, a person or a locale). Venue.rollUp and the like list the links to a record and to everything under it. """ type EntityLink { """ The event it is linked to, when it is linked to an event: the night an episode was recorded, say. """ event: Event """ Its UUID. """ id: ID! """ What is linked. """ item: EntityLinkItem! """ When it was linked. """ linkedAt: ISO8601DateTime! """ How it was made. """ origin: EntityLinkOrigin! """ How sure matching is, 0 to 1; null for links people made. """ score: Float """ Whether it shows. """ status: EntityLinkStatus! """ What it is linked to. """ target: EntityLinkTarget! } """ What an entity link points from: a podcast episode or music track, a film or series, a series episode, an article or a person (doc/ROLL_UP.md). """ union EntityLinkItem = Article | MediaEpisode | MediaTitle | Person | Track """ A kind of item that can be linked to an event, venue, series, person or locale. """ enum EntityLinkItemKind { """ An article. """ ARTICLE """ An episode of a series. """ MEDIA_EPISODE """ A film or television title. """ MEDIA_TITLE """ A person. """ PERSON """ A podcast episode or music track. """ TRACK } """ How an entity link was made. """ enum EntityLinkOrigin { """ Found by matching the item's text to venue names and event dates. """ FUZZY """ Made by a person (linkEntity). """ MANUAL } """ Where an entity link stands. """ enum EntityLinkStatus { """ Shown wherever it rolls up. """ LINKED """ Turned down by a person: never shown, and matching never suggests it again. """ REJECTED """ Found by matching but not sure enough to show: waits for an admin (reviewEntityLink). """ SUGGESTED } """ What an entity link points to: an event, an event series, a venue, a person or a locale. Items linked to an event roll up to its venue, series, locale and people (doc/ROLL_UP.md). """ union EntityLinkTarget = Event | EventSeries | Locale | Person | Venue """ Track metadata reported by venue equipment. """ type EquipmentTrack { """ Album name. """ album: String """ Artist name. """ artist: String """ The cover art, an https link, when the player gives one. """ artworkUrl: String """ When the report becomes stale. """ expiresAt: ISO8601DateTime! """ Player selected by the equipment agent. """ playerId: String """ Whether it was playing (false: paused) when reported, with positionMs; null when the player gave no position. """ playing: Boolean """ How far into the song the player was at reportedAt, in ms. """ positionMs: Int """ Server time of the report. """ reportedAt: ISO8601DateTime! """ Equipment adapter, such as alphatheta-connect. """ source: String """ Track title. """ title: String! """ The songs the venue plays next, in order, when its player knows them (Velvet Display shuffling a night). """ upNext: [UpNextTrack!]! } """ An event hosted at a venue or awaiting a venue. """ type Event implements HasBanner & HasCredits & HasReviews & HasTags & HasTaskTemplates & Node { """ The instance's IArticles mixin. Left out of the schema where its module isn't installed. """ articles: IArticles! """ Identifier of the event's banner photo. """ bannerPhotoId: ID """ Its event or series photo, else a host photo, else its venue hero photo. """ bannerUrl: PhotoURL """ The instance's IEventChat mixin, when available to the viewer. """ chat: IEventChat @requires(permissions: ["events:write:mine", "events:write:my_troupes", "events:write:venue"]) """ Its own chat community (a conference's Discord server), where the apps send people from it; null without one. """ chatCommunity: EventChatCommunity """ The events that are part of it, when it is a super-event (a Pride festival's parade and parties, a conference's parties): upcoming and under way, soonest first. Empty for any other. """ childEvents( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventConnection! """ Its credits that everyone sees, original source first. """ credits: [Credit!]! """ Description of the event. """ description: String """ When the event ends. """ endAt: ISO8601DateTime """ The recurring series it is an occurrence of. """ eventSeries: EventSeries """ Its Facebook event's ID. A string: Facebook IDs don't fit GraphQL's Int. """ facebookId: String """ The keys of the facets switched on for it, e.g. karaoke, in key order: each is a tag the system keeps (Tag.facet) and turns on the edges of the mixins declaring it (@mixin(tag:)). Only those whose module is installed. """ facets: [String!]! """ Unique identifier. """ id: ID! """ Whether the event has been canceled. """ isCanceled: Boolean! """ Whether the event is featured. """ isFeatured: Boolean! """ The instance's IKaraokeNight mixin, when available. Null unless it has the karaoke facet (its facets). """ karaoke: IKaraokeNight """ Its venue's locale, or its series' while its venue is still to be announced. """ locale: Locale """ The display name: the override when one is set, otherwise the name. """ name: String """ Display name set for this occurrence only. """ nameOverride: String """ The series date it stands for, even when it's been moved. """ occurrenceOn: ISO8601Date """ Display ordering value. """ order: Int! """ The super-event it is part of, such as the Pride festival a bar's party belongs to ("Part of …"). Null for one standing on its own. """ parentEvent: Event """ The instance's IEventPeople mixin. Left out of the schema where its module isn't installed. """ people: IEventPeople! """ The instance's IEventPhotos mixin, when available. """ photography: IEventPhotos """ The instance's IPingFeed mixin, when available. """ ping: IPingFeed """ What it plays (a Spotify link), shuffled unless turned off; copied from its series. A Sing-along karaoke night shows its lyrics. Null: none. """ playlist: EventPlaylist """ The instance's IPosts mixin. Left out of the schema where its module isn't installed. """ posts: IPosts! """ Its published reviews, newest first. """ reviews: [Review!]! """ Items linked to it or to anything under it (a venue's events and series, a locale's venues), one row per item, newest first. Only linked items, unless an admin asks for suggested or rejected ones too. """ rollUp( """ Only these kinds of items. """ itemKinds: [EntityLinkItemKind!] """ At most this many (up to 200). """ limit: Int = 50 """ Links in these states; anything but LINKED needs an admin. """ statuses: [EntityLinkStatus!] = [LINKED] ): [EntityLink!]! """ The instance's IEventRSVP mixin. Left out of the schema where its module isn't installed. """ rsvp: IEventRSVP! """ An occurrence edited on its own: changes to its series leave it alone. """ seriesOverride: Boolean! """ Its set list on Spotify, for people to open in their own Spotify (syncEventSetList); null until the venue mirrors it. """ setList: EventSetList """ Where its community talks outside AudienceKit (Discord, Matrix, IRC, mailing lists) and its social profiles, such as a conference's own Discord. """ socialLinks( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): SocialLinkConnection! """ Where it was found, for imported events. """ sourceUrl: String """ When the event starts. """ startAt: ISO8601DateTime """ Its audience tags, including tags connected to module facets, by name. """ tags: [Tag!]! """ Its lineup task templates, in order. Empty for anyone but whoever keeps them (its managers; an event's hosts too). """ taskTemplates: [TaskTemplate!]! """ The instance's IEventTickets mixin. Left out of the schema where its module isn't installed. """ tickets: IEventTickets! """ The instance's IEventVenue mixin. Left out of the schema where its module isn't installed. """ venue: IEventVenue! """ The local date when it starts at venue opening, or null for an explicit time. """ venueOpenOn: ISO8601Date """ The signed-in user's RSVP. Shipped Hot Mess apps still read it; the rsvp module answers it. """ viewerRsvp: RSVPState! @deprecated(reason: "Use rsvp { mine }.") """ Whether full listing details are public on the web. """ visibility: ListingVisibility! } """ Someone going to an event: who they are, and how they count as going. """ type EventAttendee { """ Whether they are the viewer's friend. """ friend: Boolean! """ Who they are. Named in full for its staff, you and your friends; first name and last initial ("Aurora B.") for anyone else. """ profile: Profile! """ Whether they RSVPed or hold a ticket. """ source: RSVPSource! } """ The connection type for EventAttendee. """ type EventAttendeeConnection { """ A list of edges. """ edges: [EventAttendeeEdge] """ A list of nodes. """ nodes: [EventAttendee] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type EventAttendeeEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: EventAttendee } """ An event's own chat community, e.g. a conference's Discord server, made from its chat link (promoteChatLink). The apps send people there from the event. """ type EventChatCommunity { """ The community's name on its provider, e.g. the Discord server's. """ name: String """ Who runs it: Discord, Matrix or IRC. """ provider: ChatProvider! """ Where the apps send people to it, e.g. the server's invite. """ url: String } """ The local Chat implementation of an event's chat prompts. """ type EventChatView implements IEventChat { """ Its prompts and settings as an audiencekit.chatPrompts file (doc/IMPORT_EXPORT.md), for importChatPrompts. """ file: JSON! """ How long the room is quiet before a prompt drops in as a card (at most one every 30 minutes); null for never. """ idleMinutes: Int """ When the next prompt rotates in, if one will. """ nextPromptAt: ISO8601DateTime """ At most this many prompts a night. """ nightlyCap: Int! """ Whether prompts wait while an act is on stage. """ pauseDuringActs: Boolean! """ Its prompts, in the order they show. """ prompts: [ChatPrompt!]! """ Whether the room shows its prompts. """ promptsEnabled: Boolean! """ How often the pinned prompt changes, from when the event starts; null when it doesn't rotate. """ rotateMinutes: Int """ Hand-written lists to start from. """ starterSets: [ChatPromptStarterSet!]! } """ The connection type for Event. """ type EventConnection { """ A list of edges. """ edges: [EventEdge] """ A list of nodes. """ nodes: [Event] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ How many upcoming events there are (Audience.events.counts), by whether a series made them. """ type EventCounts { """ The same counts for each locale with upcoming events, so a console can show its working locale's without asking again. """ locales: [EventLocaleCounts!]! """ Events on their own, not from a recurring series. """ oneOff: Int! """ Nights of a recurring series. """ series: Int! """ Both together. """ total: Int! } """ The local Cover implementation of an event's cover. """ type EventCoverView implements IEventCover { """ The cover that night instead of the venue's, in cents: 0 for none, null for the venue's. """ cents: Int """ The cover at its venue that night. Null when there's none, or when it sells tickets (tickets.url). """ charge: CoverCharge """ Its own sliding scale: the most, in cents. """ maxCents: Int """ Its own sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. """ minCents: Int } """ An edge in a connection. """ type EventEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Event } """ An event's copy on a ticketing partner, which sells tickets to it (an IAdmissionOffer). Its sync details (lastError, pulledAt, pushedAt) are for admins; null for everyone else. """ type EventListing implements IAdmissionOffer & Node { """ The partner's ID for the event. """ externalId: String! """ The ID of the listing. """ id: ID! """ Why the last push failed, if it did. """ lastError: String @requires(permissions: ["ticketing:read:*"]) """ Which side owns its details. """ origin: EventListingOrigin! """ What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. """ price: Money """ eventbrite or ticketmaster. """ provider: String! """ When it was last read from the partner. """ pulledAt: ISO8601DateTime @requires(permissions: ["ticketing:read:*"]) """ When it was last sent to the partner. """ pushedAt: ISO8601DateTime @requires(permissions: ["ticketing:read:*"]) """ Who sells it: a ticketing partner, or AudienceKit itself. """ seller: IProvider! """ The partner's status, e.g. draft, live or canceled. """ status: String """ Its page on the partner. """ url: String } """ The connection type for EventListing. """ type EventListingConnection { """ A list of edges. """ edges: [EventListingEdge] """ A list of nodes. """ nodes: [EventListing] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type EventListingEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: EventListing } """ Which side owns an event listing's details. """ enum EventListingOrigin { """ Created here and pushed to the partner. """ AUDIENCE_KIT """ Created on the partner, which owns its details. """ PARTNER } """ One locale's upcoming events, counted (EventCounts.locales). """ type EventLocaleCounts { """ The locale. """ localeId: ID! """ Events on their own, not from a recurring series. """ oneOff: Int! """ Nights of a recurring series. """ series: Int! """ Both together. """ total: Int! } """ The local People implementation of an event's lineup. """ type EventPeopleView implements IEventPeople { """ Organizations co-presenting it alongside its organizers. Not on its lineup or hosts. """ coPresenters( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ How many of its people you can't see until you sign in, as 'plus other performers': the Community ones, to someone signed out. 0 when signed in. """ hiddenPerformerCount: Int! """ The people hosting it. """ hosts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ What its jockeys are billed as, by its kind of night: KJ (karaoke), VJ (video or visuals) or DJ (anything else), as in "KJ Dalton". """ jockeyLabel: String! """ Who runs its music or screens: its KJ, DJ or VJ (jockeyLabel says which). Also on its lineup, not on its hosts. """ jockeys( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ The latest earlier event at its venue with a lineup to copy (its lineupFile): one of its series, else one with its name. Null when there's none, and for anyone not working the show. """ lastLineup: Event """ Who is hosting or playing it, its running order included. """ lineup( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ Its lineup as an audiencekit.lineup file (doc/IMPORT_EXPORT.md), for importLineup. Null without a venue, and for anyone not working the show. """ lineupFile: JSON """ Its lineups (doc/LINEUP_MODEL.md), one in each venue zone it uses: its default zone's until it has one. Empty without a venue or start. """ lineups: [Lineup!]! """ The organizations presenting it, billed as 'Presented by' (doc/ORGANIZERS.md). Not on its lineup or hosts. """ organizers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ Its lineup built ahead, in order: acts and intermissions. """ runningOrder( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): AppearanceConnection! """ Its show (its lineup): who covers the stage, whether it can be ended, when it ends on its own. Null without a venue. """ show: ShowStatus """ Its support staff, e.g. who is on photography. Empty for anyone not working the show. """ supportStaff: [StaffAssignment!]! } """ A photo of an event or venue: a photographer's, published from hedonism_bot (only a preview: viewUrl is where to see it full size or buy it), or a member's, taken with the app's camera there (doc/CROWD_PHOTOS.md). Either is tagged with whoever was on stage. """ type EventPhoto implements Node { """ What it shows, for screen readers. """ altText: String """ The photographer's caption. """ caption: String """ The event it was taken at, if any. """ event: Event """ The preview's height in pixels. """ height: Int """ Why an admin hid it, or that someone reported it. Admins only. """ hiddenReason: String @requires(permissions: ["photography:moderate:*"]) """ The ID of the photo. """ id: ID! """ Hidden from the apps. Only admins see hidden photos. """ isHidden: Boolean! """ Who was on stage when it was taken, in billing order. """ people: [Person!]! """ The photographer who took it, to credit them; null for a member's (AMATEUR) photo. """ photographer: Photographer """ What the photographer charges for it, if for sale. """ priceCents: Int """ A photographer's, or a member's. """ source: EventPhotoSource! """ When it was taken. """ takenAt: ISO8601DateTime """ Who to credit: the photographer's name, or the member's short name ("Aurora B."). """ takenBy: String """ The preview image. """ url: PhotoURL! """ Where it was taken. """ venue: Venue! """ Its page on the photographer's site. """ viewUrl: String """ Whether the viewer took it, so can remove it (removeEventPhoto). """ viewerCanRemove: Boolean! """ The preview's width in pixels. """ width: Int } """ The connection type for EventPhoto. """ type EventPhotoConnection { """ A list of edges. """ edges: [EventPhotoEdge] """ A list of nodes. """ nodes: [EventPhoto] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type EventPhotoEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: EventPhoto } """ Autogenerated input type of EventPhotoRemove """ input EventPhotoRemoveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the photo. """ id: ID! } """ Autogenerated return type of EventPhotoRemove. """ type EventPhotoRemovePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the photo removed. """ id: ID! } """ Autogenerated input type of EventPhotoReport """ input EventPhotoReportInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the photo. """ id: ID! """ What's wrong with it. """ reason: String } """ Autogenerated return type of EventPhotoReport. """ type EventPhotoReportPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The photo, after the change. """ photo: EventPhoto! } """ Who took a photo of a venue or event (EventPhoto). """ enum EventPhotoSource { """ A member's, taken with the app's camera there. """ AMATEUR """ A photographer's, published from hedonism_bot. """ PROFESSIONAL } """ Autogenerated input type of EventPhotoTake """ input EventPhotoTakeInput { """ What it shows, for screen readers. """ altText: String """ A line about it. """ caption: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The image (JPEG, up to 10 MB), as a data: URI. """ photo: String! """ The venue you're at. """ venueId: ID! } """ Autogenerated return type of EventPhotoTake. """ type EventPhotoTakePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The photo, as it now shows. """ photo: EventPhoto! } """ The Photography module's photographers' photos of a venue or event. """ type EventPhotosView implements IEventPhotos { """ How many photographers' photos the apps show of it. """ count: Int! """ Photographers' photos of it: an event's oldest first, a venue's newest first. """ photos( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Hidden photos, and revoked photographers' photos, too. Admins and its venue's managers only. """ includeHidden: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int ): EventPhotoConnection! } """ A night's playlist: what the venue plays (Spotify for now), and whether shuffled. On a Sing-along karaoke night (Event.karaoke.provider sing_along) the screens show its lyrics. """ type EventPlaylist { """ Where it plays: spotify, else other. """ provider: String! """ Whose Spotify account read its songs: person (a performer's own), venue or audience, most specific first (connectVenueSpotify, connectPersonSpotify, connectSpotify); null for an album, or when unread. """ readBy: String """ Whether to play it shuffled, so nights vary. True unless turned off. """ shuffle: Boolean! """ Its songs in the playlist's order (up to 500), so the venue can shuffle it itself and show what plays next. Null when Spotify's catalog isn't available, or for a playlist no connected Spotify account (a performer's, the venue's or the audience's) can read and the event's lineup has none of its songs (its playlist or sing-along segment). """ tracks: [PlaylistTrack!] """ Its Spotify URI (spotify:playlist:), which the Spotify app plays; null for other links. """ uri: String """ Its web link, e.g. https://open.spotify.com/playlist/. """ url: String! } """ The local RSVP implementation of who's going to an event. """ type EventRSVP implements IEventRSVP { """ Who's going, by name. Signed in only. Its staff (admins, its listing's managers and its venue's devices) see everyone in full; anyone else sees their friends in full, everyone else as first name and last initial, and not the people they blocked. """ attendees( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventAttendeeConnection! @requires(permissions: ["rsvp:read:self", "rsvp:read:*", "rsvp:read:mine", "rsvp:read:my_troupes", "rsvp:read:venue"]) """ How many are going. """ count: Int! """ How many are going, interested and holding tickets. Its staff only. """ counts: RSVPCounts @requires(permissions: ["rsvp:read:*", "rsvp:read:mine", "rsvp:read:my_troupes", "rsvp:read:venue"]) """ The signed-in user's answer: ATTENDING when they hold a ticket, UNSURE when signed out. """ mine: RSVPState! """ Why the signed-in user counts as going, when they do. """ mineSource: RSVPSource } """ Autogenerated input type of EventRSVP """ input EventRSVPInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event identifier. """ eventId: ID! """ The RSVP state to record: ATTENDING when left out. """ state: RSVPState = ATTENDING } """ Autogenerated return type of EventRSVP. """ type EventRSVPPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, to read its rsvp { mine count } again. """ event: Event! } """ A recurring event, such as "first Friday of the month". Its occurrences are ordinary events, put on the calendar 90 days ahead. """ type EventSeries implements HasBanner & HasTags & HasTaskTemplates & Node { """ Its banner, which its occurrences show until one has its own. """ bannerUrl: PhotoURL """ What it is, copied to each occurrence. """ description: String """ How long each occurrence runs. Null: until close. """ durationMinutes: Int """ Its upcoming occurrences, soonest first. """ events: [Event!]! """ The keys of the facets switched on for it, e.g. karaoke, in key order: each is a tag the system keeps (Tag.facet) and turns on the edges of the mixins declaring it (@mixin(tag:)). Only those whose module is installed. """ facets: [String!]! """ The last day occurrences were put on the calendar through. """ generatedThrough: ISO8601Date """ Its UUID. """ id: ID! """ Whether its occurrences are karaoke nights. """ karaoke: Boolean! """ Its occurrences' own karaoke provider, e.g. sing_along. Null: their venue's partner. """ karaokeProvider: String """ Its session code. Null means venue controlled. """ karaokeSessionCode: String """ Where it happens: its venue's locale, or the one chosen while its venue is to be announced. """ locale: Locale """ Its name, copied to each occurrence. """ name: String! """ The venue or person who runs it. """ owner: EventSeriesOwner! """ The instance's IEventSeriesPeople mixin. Left out of the schema where its module isn't installed. """ people: IEventSeriesPeople! """ What its occurrences play (a Spotify link), copied to each. Null: none. """ playlist: EventPlaylist """ The instance's IPosts mixin. Left out of the schema where its module isn't installed. """ posts: IPosts! """ Its rule in words, e.g. "Every month on the 1st Friday". """ recurrenceText: String """ Items linked to it or to anything under it (a venue's events and series, a locale's venues), one row per item, newest first. Only linked items, unless an admin asks for suggested or rejected ones too. """ rollUp( """ Only these kinds of items. """ itemKinds: [EntityLinkItemKind!] """ At most this many (up to 200). """ limit: Int = 50 """ Links in these states; anything but LINKED needs an admin. """ statuses: [EntityLinkStatus!] = [LINKED] ): [EntityLink!]! """ Whether its occurrences have a back-of-house chat. An occurrence can say otherwise (Event.roomEnabled). """ roomEnabled: Boolean! """ Whether each occurrence has its own back-of-house chat (PER_EVENT, the default) or they all share one (SHARED). """ roomMode: SeriesRoomMode! """ How many of its upcoming occurrences have their back-of-house chat listed among the rooms people are in (Audience.rooms), 2 unless changed. One further ahead opens when asked for. """ roomsAhead: Int! """ Its RFC 5545 recurrence rule, e.g. FREQ=MONTHLY;BYDAY=1FR. """ rrule: String! """ Dates the rule produces that it skips. """ skippedDates: [ISO8601Date!]! """ When each occurrence starts, local time. """ startTime: TimeOfDay! """ The first date the rule counts from. """ startsOn: ISO8601Date! """ Its audience tags, including tags connected to module facets, by name. """ tags: [Tag!]! """ Its lineup task templates, in order. Empty for anyone but whoever keeps them (its managers; an event's hosts too). """ taskTemplates: [TaskTemplate!]! """ The instance's IEventSeriesTickets mixin. Left out of the schema where its module isn't installed. """ tickets: IEventSeriesTickets! """ The IANA time zone start_time is in. """ timeZone: String! """ When the next occurrences start, skipped dates left out. """ upcomingStarts( """ How many, up to 50. """ count: Int = 5 ): [ISO8601DateTime!]! """ The instance's IEventSeriesVenue mixin. Left out of the schema where its module isn't installed. """ venue: IEventSeriesVenue! } """ The connection type for EventSeries. """ type EventSeriesConnection { """ A list of edges. """ edges: [EventSeriesEdge] """ A list of nodes. """ nodes: [EventSeries] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type EventSeriesEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: EventSeries } """ Who runs a recurring series: a venue or a person (talent). """ union EventSeriesOwner = Person | Venue """ The local People implementation of a series' hosts. """ type EventSeriesPeopleView implements IEventSeriesPeople { """ Its default hosts. """ hosts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ What its jockeys are billed as: KJ on a karaoke series, VJ for video or visuals, else DJ. """ jockeyLabel: String! """ Its default jockeys (KJ, DJ or VJ): each occurrence gets them, as its hosts. """ jockeys( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! } """ The local Ticketing implementation of a series' tickets. """ type EventSeriesTickets implements IEventSeriesTickets { """ Where to buy tickets, copied to each occurrence. """ url: String } """ The local Venues implementation of a series' venue. """ type EventSeriesVenueView implements IEventSeriesVenue { """ Where its occurrences are: its default venue's name, else its owning venue's, else its owning talent's home venue's, else "To be announced". """ name: String! """ Its default venue. Null for a venue-owned series held at its owner, or a talent series at their home venue or still to be announced. """ venue: Venue } """ A night's set list mirrored to a public Spotify playlist in the venue's connected account (syncEventSetList), for people to open in their own Spotify: save it, add its songs to their own playlists, or listen to rehearse. For personal listening only: Spotify is not for playing to a room. """ type EventSetList { """ How many songs it held at the last mirror. """ songCount: Int """ Its Spotify URI (spotify:playlist:), which the app opens. """ spotifyUri: String! """ Its open.spotify.com link. """ spotifyUrl: String! """ When it was last mirrored. """ syncedAt: ISO8601DateTime } """ The local Ticketing implementation of an event's tickets. """ type EventTickets implements IEventTickets { """ The instance's IEventCover mixin. Left out of the schema where its module isn't installed. """ cover: IEventCover! """ Its copies on ticketing partners. Admins only; empty for everyone else. """ listings( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventListingConnection! @requires(permissions: ["ticketing:read:*"]) """ Every way in on sale, whichever module sells it: tickets on its live partner listings and its night's cover. """ offers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): IAdmissionOfferConnection! """ Where to buy tickets. """ url: String } """ The local Venues implementation of an event's venue. """ type EventVenueView implements IEventVenue { """ Its venue's name, or "To be announced". """ name: String! """ Its venue. Null while it is to be announced. """ venue: Venue } """ Which events to list, by when they happen. """ enum EventWindow { """ Over, most recent first. """ PAST """ Not over yet, soonest first. """ UPCOMING } """ The next events at the venue, or in the locale (events.upcoming). """ type EventsCard implements ICard { """ The events, soonest first. """ events: [Event!]! """ Stable for this card in this place, e.g. now.chat:. """ id: ID! """ What it is: now.stage, now.chat, now.smallTalk, posts.tonight, posts.locale, articles.locale, events.upcoming, venues.nearby, venues.friends, venues.tonight, venues.all, venues.thinCity, locales.showcase, people.playingThisWeek, people.basedHere, people.everyone, pings, flyers, web or promo.slot. New kinds are added; a kind the app did not list in cardKinds is never sent. """ kind: String! """ The locale, when they are the locale's. """ locale: Locale """ Its place on the screen, from 1 at the top. """ rank: Int! """ A heading the app may use; null to use its own. """ title: String """ The venue, when they are the venue's. """ venue: Venue } """ The local Events implementation of a venue or locale's events. """ type EventsView implements ILocaleEvents & IVenueEvents { """ Its upcoming events, soonest first. """ upcoming( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Also the events that are part of a super-event (a Pride festival's parties), which otherwise list under it (Event.childEvents). """ includeChildren: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int ): EventConnection! } """ A module contract, shared by local capabilities and remote extensions. """ type Extension { """ Required extension keys. """ dependencies: [String!]! """ Stable identifier for capability discovery. """ key: String! """ Display name. """ name: String! """ Sidebar entry the admin console shows for this extension; null when it wants none. """ navLabel: String """ Wanted modules; absence does not prevent this extension from working. """ optionalDependencies: [String!]! """ Declared action permissions. """ permissions: [ExtensionPermission!]! """ Version of this schema contract. """ schemaVersion: String! """ Effective permissions for the viewer, including super admin access. Resource access checks still apply. """ viewerPermissions: [String!]! } """ The connection type for Extension. """ type ExtensionConnection { """ A list of edges. """ edges: [ExtensionEdge] """ A list of nodes. """ nodes: [Extension] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type ExtensionEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Extension } """ An eligible mixin edge. Individual resource instances may still return null. """ type ExtensionMixin { """ The endpoints the edge is on (its @endpoint); every endpoint where its target is reachable when it declares none. """ endpoints: [Endpoint!]! """ The module providing this mixin. """ extensionKey: String! """ When it is a facet, the key of the tag a record carries for the edge to resolve on it (@mixin(tag:)); null for a mixin every record has. """ facetTag: String """ Nullable GraphQL edge on the target type. """ fieldName: String! """ The interface the target implements to say it has this edge (IWith, marked @holder). """ holderName: String! """ The mixin contract. """ interfaceName: String! """ All required modules are available in this audience. """ moduleAvailable: Boolean! """ The permissions that let a viewer have the edge, any one of them (its @requires); empty when it needs none. """ permissions: [String!]! """ Modules needed for this edge. """ requiredExtensions: [String!]! """ Resource type eligible for this mixin. """ targetType: String! """ The viewer passes the module and permission gates. """ viewerPermitted: Boolean! } """ One action declared by an extension. """ type ExtensionPermission { """ What this permission permits. """ description: String! """ A stable key namespaced by the extension. """ key: String! } """ A face found in a photo (PhotoFocus), as fractions of the upright image from its top left. """ type FaceBox { """ Its height, as a fraction of the image height. """ height: Float! """ How sure the detector was, 0..1. """ score: Float! """ Its width, as a fraction of the image width. """ width: Float! """ Its left edge, 0..1 from the left. """ x: Float! """ Its top edge, 0..1 from the top. """ y: Float! } """ A Facebook app the audience's people sign in with. Its secret is never returned. """ type FacebookApp implements Node { """ When its ID and secret were last checked with Facebook. """ checkedAt: ISO8601DateTime """ The builds that sign in with it. """ environment: ClientEnvironment! """ The Facebook app ID. """ facebookAppId: String! """ The ID of the connection. """ id: ID! """ A label, e.g. "Hot Mess (staging)". """ name: String! """ What Facebook said was wrong with its ID or secret at the last check; null when it passed or was never checked. """ problem: String """ When Facebook last accepted its ID and secret. """ verifiedAt: ISO8601DateTime } """ The connection type for FacebookApp. """ type FacebookAppConnection { """ A list of edges. """ edges: [FacebookAppEdge] """ A list of nodes. """ nodes: [FacebookApp] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type FacebookAppEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: FacebookApp } """ The Facebook module's view of a venue, person or locale. """ type FacebookProfile implements IFacebookProfile { """ Its Facebook Page's ID. A string: Page IDs overflow Int. """ facebookId: String """ Whether the signed-in user likes its Facebook Page. """ isLiked: Boolean! """ Canonical Facebook Page, profile, or public group URL. """ link: String """ The Meta metro area a locale sits in, if linked. """ metro: MetaMetro """ Its Facebook Page, if it has one; talent added by name has none yet. """ page: Page } """ A field that declares the endpoints it is on (@endpoint). Fields that declare none are on every endpoint where their type is reachable. """ type FieldEndpoint { """ The endpoints it is on. """ endpoints: [Endpoint!]! """ The field. """ fieldName: String! """ The type or interface it is on. """ typeName: String! } """ A field that requires a permission (@requires): any one of its permissions lets a caller use it. """ type FieldPermission { """ The field. """ fieldName: String! """ Its permissions, each namespace:action:scope. """ permissions: [String!]! """ The type or interface it is on. """ typeName: String! } """ A kind of flyer a person can hide all of, on their phone only. """ type FlyerCategory { """ What DigitalFlyer.category says. """ key: String! """ What to call it. """ label: String! } """ The words shown around digital flyers and community resources (legal review pending, so they come from the server). """ type FlyerCopy { """ Lines for DV and stalking resource pages, to both sides. """ advocacy: [String!]! """ The kinds of flyer a person can hide. """ categories: [FlyerCategory!]! """ Shown on every flyer card. """ disclosure: String! """ The link to the explainer, e.g. What is a digital flyer? """ explainerLabel: String! """ The explainer page. """ explainerUrl: String! """ "I need..." choices. """ needs: [ResourceNeed!]! """ The quick-exit button's label. """ quickExit: String! } """ Digital flyers for the city (flyers): the same for everyone in it at this moment. Rotate through them; drop ones the person dismissed and categories they hid, both kept on the phone only. """ type FlyersCard implements ICard { """ Show on the card: about the flyer, never the app. """ disclosure: String! """ The explainer link. """ explainerLabel: String! """ The explainer page. """ explainerUrl: String! """ The pool, in rotation order. """ flyers: [DigitalFlyer!]! """ Stable for this card in this place, e.g. now.chat:. """ id: ID! """ What it is: now.stage, now.chat, now.smallTalk, posts.tonight, posts.locale, articles.locale, events.upcoming, venues.nearby, venues.friends, venues.tonight, venues.all, venues.thinCity, locales.showcase, people.playingThisWeek, people.basedHere, people.everyone, pings, flyers, web or promo.slot. New kinds are added; a kind the app did not list in cardKinds is never sent. """ kind: String! """ The city they are for. """ locale: Locale """ Its place on the screen, from 1 at the top. """ rank: Int! """ A heading the app may use; null to use its own. """ title: String } """ Where a crop of a photo should centre, as fractions of the upright image from its top left (PhotoFocus): the middle of its faces, else its most eye-catching part. """ type FocalPoint { """ What set it: 'faces', 'attention' (no face; libvips' attention point) or 'none' (the middle). """ source: String! """ 0 at the left edge, 1 at the right. """ x: Float! """ 0 at the top, 1 at the bottom. """ y: Float! } """ A Facebook friend of the signed-in user who also uses the app (from the user_friends permission). """ type Friend implements HasTribes { """ Their profile photo. """ avatarUrl: PhotoURL """ The ID the audience's Facebook app knows them by. """ facebookId: String """ Unique identifier. """ id: ID! """ Display name. """ name: String """ The instance's IUserPing mixin, when available. """ ping: IUserPing """ Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. """ presence: Presence! """ The tribes the signed-in user and they both identify with, for the "You're both" mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. """ sharedTribes: [Tag!]! """ Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. """ tribes: [TribeIdentification!]! } """ The connection type for Friend. """ type FriendConnection { """ A list of edges. """ edges: [FriendEdge] """ A list of nodes. """ nodes: [Friend] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type FriendEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Friend } """ A request to be friends, sent after contact matching found two people with each other saved. """ type FriendRequest { """ When it was sent. """ createdAt: ISO8601DateTime! """ Who was asked. """ friend: Profile! """ The id respondToFriendRequest takes. """ id: ID! """ Where it stands, as the viewer sees it. """ status: FriendRequestStatus! """ Who asked. """ user: Profile! } """ Autogenerated input type of FriendRequestRespond """ input FriendRequestRespondInput { """ True to accept, false for "Not now". """ accept: Boolean! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ An incomingRequests id. """ requestId: ID! } """ Autogenerated return type of FriendRequestRespond. """ type FriendRequestRespondPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! """ The request, as it now stands. """ friendRequest: FriendRequest! } """ Autogenerated input type of FriendRequestSend """ input FriendRequestSendInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Who to ask: a contactMatching.matches user id. """ userId: ID! } """ Autogenerated return type of FriendRequestSend. """ type FriendRequestSendPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The viewer's contact matching, after the change. """ contactMatching: ContactMatching! """ The request, as it now stands. """ friendRequest: FriendRequest! } """ Where a friend request stands. """ enum FriendRequestStatus { """ Accepted: they're friends. """ ACCEPTED """ The person asked chose "Not now". Only they see this; the sender sees PENDING. """ DISMISSED """ Not answered yet. """ PENDING """ The sender turned contact matching off before an answer. """ WITHDRAWN } """ A venue where some of the signed-in user's friends have been lately, with how many. """ type FriendVenue { """ How many of their friends are there. """ friendCount: Int! """ Those friends, by name. """ friends: [Friend!]! """ Where they are. """ venue: Venue! } """ The connection type for FriendVenue. """ type FriendVenueConnection { """ A list of edges. """ edges: [FriendVenueEdge] """ A list of nodes. """ nodes: [FriendVenue] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type FriendVenueEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: FriendVenue } """ Geographic data encoded as GeoJSON. """ scalar GeoJSON """ A geographic point or boundary. """ scalar Geography """ What a GitHub Project item is. """ enum GithubItemType { """ A draft on the project itself, with no repository yet. """ DRAFT_ISSUE """ An issue in one of the repositories. """ ISSUE """ A pull request in one of the repositories. """ PULL_REQUEST } """ A label on an issue or pull request. """ type GithubLabel { """ Its color, as six hex digits without #. """ color: String """ Its name. """ name: String! } """ The community's GitHub organization (GithubCommunity::Organization). """ type GithubOrganization { """ Its avatar's URL. """ avatarUrl: String """ What it says about itself. """ description: String """ Its login, e.g. hack-different. """ login: String! """ Its display name. """ name: String """ Its page on GitHub. """ url: String! """ The website it links to. """ websiteUrl: String } """ A GitHub account, as an assignee (GithubCommunity::Person). """ type GithubPerson { """ Their avatar's URL. """ avatarUrl: String """ Their GitHub login. """ login: String! """ Their page on GitHub. """ url: String } """ One of the community organization's public GitHub Projects (Projects v2, GithubCommunity::Project). """ type GithubProject { """ How many items it has. """ itemCount: Int! """ Its items in the order the project keeps them (the first 100), ones in private repositories left out. Only on github.project(number:); null in lists. """ items: [GithubProjectItem!] """ Its number in the organization, for github.project(number:). """ number: Int! """ Its README, in Markdown. Only on github.project(number:). """ readme: String """ Its short description. """ shortDescription: String """ Its Status columns, in order; empty when it has no Status field. """ statuses: [GithubStatusOption!]! """ Its title. """ title: String! """ When it last changed. """ updatedAt: ISO8601DateTime """ Its page on GitHub. """ url: String! } """ An item on a GitHub Project: an issue, pull request or draft, with its Status (GithubCommunity::Item). """ type GithubProjectItem { """ Who it is assigned to. """ assignees: [GithubPerson!]! """ GitHub's ID for the item. """ id: String! """ Its labels; none for drafts. """ labels: [GithubLabel!]! """ Its issue or pull request number; null for drafts. """ number: Int """ owner/name of its repository; null for drafts. """ repository: String """ OPEN, CLOSED or MERGED (pull requests) as GitHub says; null for drafts. """ state: String """ The name of its Status column (GithubProject.statuses), or null when unset. """ status: String """ Its title. """ title: String! """ Whether it is an issue, pull request or draft. """ type: GithubItemType! """ When the item last changed. """ updatedAt: ISO8601DateTime """ Its page on GitHub; null for drafts. """ url: String } """ One of the community organization's public repositories (GithubCommunity::Repository). """ type GithubRepository { """ Whether it is archived (read-only). """ archived: Boolean! """ What it says it is. """ description: String """ How many forks it has. """ forks: Int! """ Its main language. """ language: String """ Its name, e.g. hack_different_mobile. """ name: String! """ owner/name. """ nameWithOwner: String! """ How many issues are open. """ openIssues: Int! """ When it was last pushed to. """ pushedAt: ISO8601DateTime """ How many stars it has. """ stars: Int! """ Its topics. """ topics: [String!]! """ Its page on GitHub. """ url: String! } """ One of a GitHub Project's Status columns (Todo, In Progress, Done), in the project's order. """ type GithubStatusOption { """ GitHub's name for its color (GRAY, BLUE, GREEN...). """ color: String """ What the column means, when the project says. """ description: String """ GitHub's ID for the option. """ id: String! """ Its name, which items show as their status. """ name: String! } """ An act's curtain call go/no-go: the venue, the talent the curtain rises on and the required support staff each say they are ready (setReadiness). Advancing onto the act waits for GO unless forced. """ type GoNoGo { """ How many are ready, per area. """ counts: [ReadinessCount!]! """ The act the curtain rises on. """ curtainCall: Appearance! """ What it waits on: the venue, then the talent in running order, then the support staff. """ items: [ReadinessItem!]! """ Where it stands. """ verdict: GoNoGoVerdict! } """ Where a curtain call's go/no-go stands. """ enum GoNoGoVerdict { """ Everyone is ready: advancing raises the curtain. """ GO """ Someone said not ready. """ NO_GO """ Some haven't answered yet. """ PENDING } """ A photo of a place from Google, stored on our CDN. Google asks that its author be shown with it. """ type GooglePhoto { """ Who took it, as Google credits them. """ author: String """ A link to the author's Google Maps profile. """ authorUrl: String """ The photo's CDN URL. """ url: PhotoURL! } """ What Google Maps says about a location, as of the last Refresh Google places run (or when its place was set). Fields Google has no value for are null. """ type GooglePlace { """ OPERATIONAL, CLOSED_TEMPORARILY or CLOSED_PERMANENTLY. """ businessStatus: String """ Its main type, e.g. "Gay bar" or "Night club". """ category: String """ Its opening hours, a line a day, e.g. "Monday: 4:00 PM – 2:00 AM". """ hours: [String!]! """ Whether it is open now by its hours; null without hours. """ isOpenNow: Boolean """ Its page on Google Maps. """ mapsUrl: String """ Its name on Google Maps. """ name: String """ Its phone number, as written locally. """ phone: String """ Google's first few photos of it. """ photos: [GooglePhoto!]! """ From 0 (free) to 4 (very expensive). """ priceLevel: Int """ Its average Google review rating, from 1 to 5. """ rating: Float """ How many Google reviews the rating averages. """ ratingCount: Int """ Google's short description of it. """ summary: String """ Its website, as Google lists it. """ website: String } """ Why a guest purchase's claim token claimed nothing (claimGuestPurchases). """ enum GuestClaimReason { """ They already hold a cover at that venue that night. The guest pass still works in the App Clip with its token. """ ALREADY_HAS_COVER """ No unclaimed cover or tip in this audience has that token: it is unknown, already claimed, or another audience's. """ NOT_FOUND } """ A claim token that claimed nothing, and why (ClipCheckout::Unclaimed). """ type GuestPurchaseUnclaimed { """ The token as it was sent. """ claimToken: String! """ Why it claimed nothing. """ reason: GuestClaimReason! } """ Autogenerated input type of GuestPurchasesClaim """ input GuestPurchasesClaimInput { """ The claim tokens the App Clip kept, at most 20. """ claimTokens: [String!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of GuestPurchasesClaim. """ type GuestPurchasesClaimPayload { """ The covers now theirs. """ admissions: [Admission!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The tips now theirs. """ tips: [Tip!]! """ The tokens that claimed nothing, and why. """ unclaimed: [GuestPurchaseUnclaimed!]! } """ An object with a banner: a wide image shown across the top of its page. """ interface HasBanner { """ The banner's CDN URL, if there is one. """ bannerUrl: PhotoURL } """ Something people are credited on (Credit): an event, venue, article, media title or locale. """ interface HasCredits { """ Its credits that everyone sees, original source first. """ credits: [Credit!]! } """ An object with a profile photo. """ interface HasPhoto { """ The photo's CDN URL, if there is one. """ photoUrl: PhotoURL } """ A photo whose faces and focal point have been found, for cropping around them. """ interface HasPhotoFocus { """ The faces in it, largest first; empty when there are none, null before it has been looked at. """ faces: [FaceBox!] """ Where a crop should centre; null before it has been looked at (centre it). """ focalPoint: FocalPoint """ Whether it is mostly text (a flyer, words across it), so screens show it last; null before it has been looked at. """ hasText: Boolean """ Its height in pixels, upright; null before it has been looked at. """ height: Int """ How much of it has text in it, 0..1; null before it has been looked at. """ textCoverage: Float """ A copy with its text painted out by an image model, to show behind your own words; null when there is none. """ textFreeUrl: PhotoURL """ Its width in pixels, upright; null before it has been looked at. """ width: Int } """ Something people write reviews of (Review): a media title or an event. """ interface HasReviews { """ Its published reviews, newest first. """ reviews: [Review!]! } """ Something its audience can tag: a person, event, series or venue. """ interface HasTags { """ The keys of the facets switched on for it, e.g. karaoke, in key order: each is a tag the system keeps (Tag.facet) and turns on the edges of the mixins declaring it (@mixin(tag:)). Only those whose module is installed. """ facets: [String!]! """ Its audience tags, including tags connected to module facets, by name. """ tags: [Tag!]! } """ A venue, event series, event or performer that keeps lineup task templates: tasks every lineup entry they apply to gets. """ interface HasTaskTemplates { """ Its lineup task templates, in order. Empty for anyone but whoever keeps them (its managers; an event's hosts too). """ taskTemplates: [TaskTemplate!]! } """ Creation and update times of a record. """ interface HasTimestamps { """ When the record was created. """ createdAt: ISO8601DateTime! """ When the record was last updated. """ updatedAt: ISO8601DateTime! } """ Someone who can identify with tribes. """ interface HasTribes { """ The tribes the signed-in user and they both identify with, for the "You're both" mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. """ sharedTribes: [Tag!]! """ Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. """ tribes: [TribeIdentification!]! } """ A way into an event or a venue night, from whoever sells it: tickets on a partner or the cover AudienceKit takes. """ interface IAdmissionOffer { """ What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. """ price: Money """ Who sells it: a ticketing partner, or AudienceKit itself. """ seller: IProvider! """ Where to buy it on the web. Null when it's bought in the app (buyCover) or at the door. """ url: String } """ The connection type for IAdmissionOffer. """ type IAdmissionOfferConnection { """ A list of edges. """ edges: [IAdmissionOfferEdge] """ A list of nodes. """ nodes: [IAdmissionOffer] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type IAdmissionOfferEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: IAdmissionOffer } """ Soapbox articles about a venue, event, person or locale; a locale's are its news (doc/SOAPBOX.md). """ interface IArticles @mixin(extensionKey: "soapbox", field: "articles", null: false, on: ["Venue", "Event", "Person", "Locale"]) { """ Live articles about it, newest first; a person's also the articles of a publication they run; a locale's news: about it or anything in it, or by a publication covering it, from the last 30 days (pinned ones whatever their age). Also the articles linked to it or to anything under it (doc/ROLL_UP.md). """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ArticleConnection! """ The Soapbox publication a person runs here (QSaltLake), null for anything else or a person who runs none. A pending or suspended one only for its managers and the audience's admins. """ publication: Publication } """ The chat module's root lookups: the audience's rooms, a room's transcript and bans, and the moderators an audience can use. """ interface IAudienceChat @mixin(extensionKey: "chat", field: "chat", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Its connection to the provider that runs its rooms, e.g. its Discord server. Null on AudienceKit, and for anyone but its admins. """ account: ChatAccount @requires(permissions: ["chat:write:*"]) """ Its own Discord application, whose bot "Add bot" adds (setDiscordApp). Admins only. """ discordApp: DiscordApp @requires(permissions: ["chat:write:*"]) """ The chat moderators audiences can use, and what each reads and can do. """ moderationProviders( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): IModerationProviderConnection! """ Who runs its rooms: AudienceKit unless it connected another provider. Apps check inApp before opening a room, and otherwise send people to the room's url. """ provider: ChatProvider! """ The chat providers an audience can use, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ChatProviderConnection! """ Venues with a chat community of their own (e.g. a venue's own Discord server), whose rooms go there instead of the audience's. Admins only. """ venueAccounts: [ChatAccount!]! @requires(permissions: ["chat:write:*"]) } """ An audience's events and the recurring series they come from, and lookups of one by its UUID. """ interface IAudienceEvents @mixin(extensionKey: "events", field: "events", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ How many upcoming events it has (canceled ones included, as in `list`): from a series, one-off, and in all. """ counts( """ Also the events that are part of a super-event (a Pride festival's parties). Left out by default so a festival shows once; always in when filtering by venue or searching. """ includeChildren: Boolean = false """ Only events in this locale, TBA ones included. """ localeId: ID """ Only events the viewer's listings cover, as in `list`. """ mine: Boolean = false """ Only events with this tag. """ tagId: ID """ Only events at this venue. """ venueId: ID ): EventCounts! """ An event in the audience by its UUID. """ event( """ Its UUID. """ id: ID! ): Event @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) """ A recurring series in the audience by its UUID. """ eventSeries( """ Its UUID. """ id: ID! ): EventSeries @endpoint(in: [AUDIENCE, STAFF]) """ Its events, canceled ones included. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Also the events that are part of a super-event (a Pride festival's parties). Left out by default so a festival shows once; always in when filtering by venue or searching. """ includeChildren: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ Only events in this locale, TBA ones included. """ localeId: ID """ Only events the viewer's listings cover (`me { listings }`): at their venues, in their locales, run by their series or added by their talent. Everything for an admin; nothing for anyone else. """ mine: Boolean = false """ Only events whose name, or whose venue's name, contains this. """ search: String """ Only events starting before this time: an upcoming list a few weeks long, which the admin console asks for so it never loads every generated night at once. """ startsBefore: ISO8601DateTime """ Only events with this tag. """ tagId: ID """ Only events at this venue. """ venueId: ID """ Upcoming (the default) or past events. """ window: EventWindow = UPCOMING ): EventConnection! """ Its recurring series, by name. """ series( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only series held at venues in this locale, and talent series with no venue yet run by people featured there. """ localeId: ID """ Only series the viewer's listings cover (`me { listings }`): held at their venues, in their locales or run by their venues and talent. Everything for an admin; nothing for anyone else. """ mine: Boolean = false """ Only series run by this venue or person. """ ownerId: ID """ Only series run or hosted by this person. """ personId: ID """ Only series held at this venue. """ venueId: ID ): EventSeriesConnection! } """ The audience's own Facebook Page, the Facebook apps its people sign in with, and finding Pages and Meta metro areas to link. """ interface IAudienceFacebook @mixin(extensionKey: "facebook", field: "facebook", null: false, on: ["Audience"]) { """ The audience's Facebook apps, one per environment. """ apps( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): FacebookAppConnection! """ The audience's own Facebook Page. Its managers can run the audience's console. """ page: Page } """ The github module's root lookups: the community's GitHub organization, its public repositories and its public GitHub Projects with their items, read by the audience's GitHub App (doc/GITHUB.md). Only audiences with a GitHub App on an organization have it (GithubAppKeys). """ interface IAudienceGithub @mixin(extensionKey: "github", field: "github", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Items on the open public projects assigned to the signed-in member's connected GitHub account (me.githubUsername); empty without one. """ myItems: [GithubProjectItem!]! """ The organization, or null when GitHub is unreachable or the app isn't installed. """ organization: GithubOrganization """ A public project with its items, by number; null when there is none. """ project( """ The project's number in the organization. """ number: Int! ): GithubProject """ Open public projects, most recently updated first, without their items. """ projects: [GithubProject!]! """ Public, unarchived repositories, most recently pushed first. """ repositories( """ How many, up to 100. """ first: Int = 30 ): [GithubRepository!]! """ The signed-in member's connected GitHub login (myItems are theirs), or null when they have not connected GitHub. """ viewerLogin: String } """ The karaoke module's root lookups. """ interface IAudienceKaraoke @mixin(extensionKey: "karaoke", field: "karaoke", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ The karaoke partners venues can connect, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): KaraokeProviderConnection! } """ The media module's root lookups: films and television the audience recommends, each linked to its IMDb page, with the tags and collections to filter them by, and the songs show-tune nights play from them (clips; doc/MEDIA.md). Load the whole list and filter on the phone. """ interface IAudienceMedia @mixin(extensionKey: "media", field: "media", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ A clip by its UUID; null when there is none. """ clip( """ Its UUID. """ id: ID! ): MediaClip """ Every tag on a listed clip, most used first. """ clipTags: [MediaLabel!]! """ Listed clips by when their source came out, all of them: a few hundred at most. Filters narrow it; all must match. """ clips( """ Only clips in this collection. """ collection: String """ Only clips whose source is from these decades, e.g. 1990s. """ decades: [String!] """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Words in its song, performers or source title. """ search: String """ Only these sources. """ sources: [MediaClipSource!] """ Only clips with every one of these tags. """ tags: [String!] """ Only clips from this media title. """ titleId: ID ): [MediaClip!]! """ The list sections, most titles first. """ collections: [MediaLabel!]! """ A media item by its UUID, IMDb id or Spotify track id; null when there is none. """ item( """ Its UUID. """ id: ID """ IMDb's id for it. """ imdbId: String """ Its Spotify track id. """ spotifyId: String ): MediaItem """ Media items of every kind (doc/plans/UNIFIED_MEDIA_PLAN.md) by title. Filters narrow it; all must match. """ items( """ Only items in this collection. """ collection: String """ At most this many, up to 2000. """ first: Int = 500 """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaItemKind!] """ Only items in this playlist. """ playlistId: ID """ Words in its title or artists, or an IMDb or Spotify id. """ search: String """ Only variants of this song. """ songId: ID """ Only these Spotify tracks. """ spotifyIds: [String!] """ Only items with every one of these tags. """ tags: [String!] """ Only recordings, live versions, music videos and scenes not yet linked to a song. """ withoutSong: Boolean = false ): [MediaItem!]! """ A playlist by its UUID; null when there is none. """ playlist( """ Its UUID. """ id: ID! ): MediaPlaylist """ Playlists by title: series, albums, playlists, podcasts. """ playlists( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaPlaylistKind!] """ Words in its title or artists. """ search: String ): [MediaPlaylist!]! """ A song by its UUID; null when there is none. """ song( """ Its UUID. """ id: ID! ): MediaSong """ Songs by title, each with its variants. Filters narrow it. """ songs( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Words in its title, writers or variants' artists. """ search: String """ Only songs with every one of these tags. """ tags: [String!] """ Only songs with no scene yet (no show-tune clip). """ withoutScene: Boolean = false ): [MediaSong!]! """ Every tag on a listed title, most used first. """ tags: [MediaLabel!]! """ A title by its UUID or IMDb id; null when there is none. """ title( """ Its UUID. """ id: ID """ IMDb's id for it, e.g. tt0109045. """ imdbId: String ): MediaTitle """ Listed titles by title, all of them: a list is a few hundred at most. Filters narrow it; all must match. """ titles( """ Only titles in this collection. """ collection: String """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only these kinds. """ kinds: [MediaKind!] """ Words in its title, or its IMDb id. """ search: String """ Only titles with every one of these tags. """ tags: [String!] ): [MediaTitle!]! """ Listed watch parties by name. Filters narrow it. """ watchParties( """ Staff only: hidden ones too. """ includeHidden: Boolean = false """ Only those watching this title. """ titleId: ID """ Only those at this venue. """ venueId: ID ): [WatchParty!]! """ A watch party by its UUID; null when there is none. """ watchParty( """ Its UUID. """ id: ID! ): WatchParty } """ Which payment keys an audience's cover charges go through, and the URLs to give Stripe and Square. Secrets are stored encrypted and never returned. """ interface IAudiencePayments @mixin(extensionKey: "payments", field: "payments", on: ["Audience"]) @requires(permissions: ["payments:read:*"]) { """ Its production Square application. """ squareApplicationId: String """ Whether its production Square application ID and secret are set. """ squareConfigured: Boolean! """ The OAuth redirect URL to set on both Square applications. """ squareRedirectUrl: String! """ Sandbox Square application used by staging builds. """ squareSandboxApplicationId: String """ Whether its sandbox Square ID and secret are set. """ squareSandboxConfigured: Boolean! """ When the sandbox application last sent a webhook. """ squareSandboxWebhookLastAt: ISO8601DateTime """ Whether its signature checked out. """ squareSandboxWebhookLastOk: Boolean """ Whether its sandbox Square signature key is set. """ squareSandboxWebhookSet: Boolean! """ The sandbox application's webhook URL. """ squareSandboxWebhookUrl: String! """ When the production application last sent a webhook (Send test event sends one). """ squareWebhookLastAt: ISO8601DateTime """ Whether its signature checked out with the stored key. """ squareWebhookLastOk: Boolean """ Whether its production Square signature key is set. """ squareWebhookSet: Boolean! """ The URL to subscribe the production application to Square webhooks with (payment.updated, refund.updated, dispute.created, oauth.authorization.revoked). """ squareWebhookUrl: String! """ Whether its Stripe secret and publishable keys are set. """ stripeConfigured: Boolean! """ Public Stripe key used by payment clients. """ stripePublishableKey: String """ Whether its Stripe webhook secret is set. """ stripeWebhookSet: Boolean! """ The URL of its Stripe Connect webhook endpoint (account.updated, payment_intent.*, charge.refunded, charge.dispute.created). """ stripeWebhookUrl: String! } """ The people featured in an audience, and a lookup of one by their UUID. """ interface IAudiencePeople @mixin(extensionKey: "people", field: "people", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ The people featured in it. Guests (see IVenuePeople.guests) are left out. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only people with this tag. """ tagId: ID ): PersonConnection! """ A person in the audience by their UUID. """ person( """ Its UUID. """ id: ID! ): Person @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) } """ Ping across the audience: what's the audience's, not any one viewer's. The viewer's own pings and their friends' are `me { ping }` (IUserStatePing). """ interface IAudiencePing @mixin(extensionKey: "ping", field: "ping", on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ How many active pings there are tonight. Admins only; a count, never names. """ count: Int @requires(permissions: ["ping:read:mine", "ping:read:my_troupes", "ping:read:venue"]) } """ The posts module's root lookups. A venue's posts are on it (Venue.posts). """ interface IAudiencePosts @mixin(extensionKey: "posts", field: "posts", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ A post in the audience by its UUID, unless removed. """ post( """ Its UUID. """ id: ID! ): Post } """ Which push keys an audience's apps send with. The APNs key and the Firebase service account are stored encrypted and never returned. """ interface IAudiencePush @mixin(extensionKey: "push", field: "push", on: ["Audience"]) @requires(permissions: ["push:read:*"]) { """ Whether its APNs key, key ID and team ID are all set. """ apnsConfigured: Boolean! """ The APNs key ID. """ apnsKeyId: String """ The Apple Developer team ID. """ apnsTeamId: String """ Whether its Firebase service account is set. """ firebaseConfigured: Boolean! """ The service account's Firebase project. """ firebaseProjectId: String } """ The soapbox module's root lookups: publications and their articles (doc/SOAPBOX.md). What an article is about shows it too (Venue/Event/Person/Locale.articles). """ interface IAudienceSoapbox @mixin(extensionKey: "soapbox", field: "soapbox", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Publishers' ads waiting for the audience's admins to approve them, oldest first. """ adReviewQueue: [PromoPlacement!] @requires(permissions: ["soapbox:moderate:*"]) """ Every article in the audience, whatever its status and removed ones too, newest change first: the audience's admins, for moderation (doc/SOAPBOX.md, "In the admin"). """ allArticles( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Only these kinds. """ kinds: [ArticleKind!] """ Returns the last _n_ elements from the list. """ last: Int """ Only the publication's that this person listing runs (QSaltLake's page). """ personId: ID """ Only this publication's. """ publicationId: ID """ true: only the ones the audience took down; false: only the rest. Both when left out. """ removed: Boolean """ Words in its title, summary or byline. """ search: String """ Only these statuses. """ statuses: [ArticleStatus!] ): ArticleConnection @requires(permissions: ["soapbox:moderate:*"]) """ An article by its UUID: a live one, or one the viewer may see before it is (their publication's, or their own op-ed). """ article( """ Its UUID. """ id: ID! ): Article """ Live articles in the audience, pinned first, then newest; 20 unless `first` says. """ articles( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only a locale's news (Locale.articles). """ localeId: ID """ true: only the audience's national news, the articles its admins featured nationally in the last 14 days, most recently featured first. """ national: Boolean """ Only this publication's. """ publicationId: ID ): ArticleConnection! """ Op-eds the signed-in user sent, newest first, with where each stands. """ myOpEds: [Article!] @requires(permissions: ["soapbox:read:self"]) """ Publications the signed-in user runs (manages their person); every one for admins. """ myPublications: [Publication!] @requires(permissions: ["soapbox:read:mine", "soapbox:read:*"]) """ A publication by its UUID. """ publication( """ Its UUID. """ id: ID! ): Publication """ Tips readers sent Soapbox publications, newest first: the audience's admins. """ publicationTips( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only this publication's. """ publicationId: ID """ Only these statuses. """ statuses: [TipStatus!] ): TipConnection @requires(permissions: ["soapbox:moderate:*"]) """ Publications readers can follow: trusted ones, by name. Admins can ask for others by trust. """ publications( """ Admins only: these trusts instead (the audience's pending requests, its suspended ones). """ trust: [PublicationTrust!] ): [Publication!]! """ Whether publishers sell ads on their own content here, and which of their ads admins review first. """ publisherAds: PublisherAdsMode! """ Articles waiting for the audience's admins to approve them, oldest first. """ reviewQueue: [Article!] @requires(permissions: ["soapbox:moderate:*"]) """ Every publication's counts added up: articles, tips and ad-free readers. The audience's admins only. """ stats: PublicationStats @requires(permissions: ["soapbox:moderate:*"]) } """ An audience's connections to ticketing partners, and the partners it can connect. """ interface IAudienceTicketing @mixin(extensionKey: "ticketing", field: "ticketing", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Connected ticketing partner accounts, oldest first. Admins only; empty for everyone else. """ accounts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TicketingAccountConnection! @requires(permissions: ["ticketing:read:*"]) """ The ticketing partners events can come from or go to, and what each supports. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TicketingProviderConnection! @endpoint(in: [AUDIENCE, STAFF]) } """ The tipping module's root lookups. """ interface IAudienceTipping @mixin(extensionKey: "tipping", field: "tipping", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ The ways performers can be tipped, and how each works. """ providers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TippingProviderConnection! } """ An audience's venues, a lookup of one by its UUID, and a venue's staff devices. """ interface IAudienceVenues @mixin(extensionKey: "venues", field: "venues", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Its venues, hidden ones included unless near is given. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Leave out hidden venues, order nearest first and fill in each distance. """ near: CoordinatesInput """ Only visible venues whose name, or Facebook Page's name, contains this, by name. """ search: String """ Only venues with this tag. """ tagId: ID ): VenueConnection! """ A venue in the audience by its UUID. """ venue( """ Its UUID. """ id: ID! ): Venue @endpoint(in: [AUDIENCE, STAFF]) @appClip(clips: ["HOT_MESS"]) } """ One card in a screen layout, in rank order. The app skips a kind it does not know. """ interface ICard { """ Stable for this card in this place, e.g. now.chat:. """ id: ID! """ What it is: now.stage, now.chat, now.smallTalk, posts.tonight, posts.locale, articles.locale, events.upcoming, venues.nearby, venues.friends, venues.tonight, venues.all, venues.thinCity, locales.showcase, people.playingThisWeek, people.basedHere, people.everyone, pings, flyers, web or promo.slot. New kinds are added; a kind the app did not list in cardKinds is never sent. """ kind: String! """ Its place on the screen, from 1 at the top. """ rank: Int! """ A heading the app may use; null to use its own. """ title: String } """ What a payment comes to: the amount its recipient gets, the fee on top, and the total the buyer pays. """ interface ICharge { """ What the venue or performer receives. """ amount: Money! """ The fee on top of the amount. """ fee: Money! """ What the buyer pays, all in. """ total: Money! } """ How an event's chat room (its venue's, while it's on) gets people talking: the prompts it shows, and when (ChatPrompts). Its staff only. Change it with setEventChatPrompts. """ interface IEventChat @mixin(extensionKey: "chat", field: "chat", on: ["Event"]) @requires(permissions: ["events:write:mine", "events:write:my_troupes", "events:write:venue"]) { """ Its prompts and settings as an audiencekit.chatPrompts file (doc/IMPORT_EXPORT.md), for importChatPrompts. """ file: JSON! """ How long the room is quiet before a prompt drops in as a card (at most one every 30 minutes); null for never. """ idleMinutes: Int """ When the next prompt rotates in, if one will. """ nextPromptAt: ISO8601DateTime """ At most this many prompts a night. """ nightlyCap: Int! """ Whether prompts wait while an act is on stage. """ pauseDuringActs: Boolean! """ Its prompts, in the order they show. """ prompts: [ChatPrompt!]! """ Whether the room shows its prompts. """ promptsEnabled: Boolean! """ How often the pinned prompt changes, from when the event starts; null when it doesn't rotate. """ rotateMinutes: Int """ Hand-written lists to start from. """ starterSets: [ChatPromptStarterSet!]! } """ An event's cover, inside its tickets (Event.tickets { cover }): its own for the night, or its venue's. Its charge is also one of tickets.offers. """ interface IEventCover @mixin(extensionKey: "cover", field: "cover", null: false, on: ["EventTickets"]) { """ The cover that night instead of the venue's, in cents: 0 for none, null for the venue's. """ cents: Int """ The cover at its venue that night. Null when there's none, or when it sells tickets (tickets.url). """ charge: CoverCharge """ Its own sliding scale: the most, in cents. """ maxCents: Int """ Its own sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. """ minCents: Int } """ Who is hosting or playing an event. """ interface IEventPeople @mixin(extensionKey: "people", field: "people", null: false, on: ["Event"]) { """ Organizations co-presenting it alongside its organizers. Not on its lineup or hosts. """ coPresenters( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ How many of its people you can't see until you sign in, as 'plus other performers': the Community ones, to someone signed out. 0 when signed in. """ hiddenPerformerCount: Int! """ The people hosting it. """ hosts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ What its jockeys are billed as, by its kind of night: KJ (karaoke), VJ (video or visuals) or DJ (anything else), as in "KJ Dalton". """ jockeyLabel: String! """ Who runs its music or screens: its KJ, DJ or VJ (jockeyLabel says which). Also on its lineup, not on its hosts. """ jockeys( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ The latest earlier event at its venue with a lineup to copy (its lineupFile): one of its series, else one with its name. Null when there's none, and for anyone not working the show. """ lastLineup: Event """ Who is hosting or playing it, its running order included. """ lineup( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ Its lineup as an audiencekit.lineup file (doc/IMPORT_EXPORT.md), for importLineup. Null without a venue, and for anyone not working the show. """ lineupFile: JSON """ Its lineups (doc/LINEUP_MODEL.md), one in each venue zone it uses: its default zone's until it has one. Empty without a venue or start. """ lineups: [Lineup!]! """ The organizations presenting it, billed as 'Presented by' (doc/ORGANIZERS.md). Not on its lineup or hosts. """ organizers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ Its lineup built ahead, in order: acts and intermissions. """ runningOrder( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): AppearanceConnection! """ Its show (its lineup): who covers the stage, whether it can be ended, when it ends on its own. Null without a venue. """ show: ShowStatus """ Its support staff, e.g. who is on photography. Empty for anyone not working the show. """ supportStaff: [StaffAssignment!]! } """ The photos photographers published of a venue or event (EventPhoto). """ interface IEventPhotos @mixin(extensionKey: "photography", field: "photography", on: ["Venue", "Event"]) { """ How many photographers' photos the apps show of it. """ count: Int! """ Photographers' photos of it: an event's oldest first, a venue's newest first. """ photos( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Hidden photos, and revoked photographers' photos, too. Admins and its venue's managers only. """ includeHidden: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int ): EventPhotoConnection! } """ Who's going to an event: everyone who RSVPed attending and, with the ticketing module, everyone holding a ticket to it. Answer with rsvpEvent and cancelRsvp. """ interface IEventRSVP @mixin(extensionKey: "rsvp", field: "rsvp", null: false, on: ["Event"]) { """ Who's going, by name. Signed in only. Its staff (admins, its listing's managers and its venue's devices) see everyone in full; anyone else sees their friends in full, everyone else as first name and last initial, and not the people they blocked. """ attendees( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventAttendeeConnection! @requires(permissions: ["rsvp:read:self", "rsvp:read:*", "rsvp:read:mine", "rsvp:read:my_troupes", "rsvp:read:venue"]) """ How many are going. """ count: Int! """ How many are going, interested and holding tickets. Its staff only. """ counts: RSVPCounts @requires(permissions: ["rsvp:read:*", "rsvp:read:mine", "rsvp:read:my_troupes", "rsvp:read:venue"]) """ The signed-in user's answer: ATTENDING when they hold a ticket, UNSURE when signed out. """ mine: RSVPState! """ Why the signed-in user counts as going, when they do. """ mineSource: RSVPSource } """ Who hosts a series' occurrences, and who's their KJ, DJ or VJ. """ interface IEventSeriesPeople @mixin(extensionKey: "people", field: "people", null: false, on: ["EventSeries"]) { """ Its default hosts. """ hosts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! """ What its jockeys are billed as: KJ on a karaoke series, VJ for video or visuals, else DJ. """ jockeyLabel: String! """ Its default jockeys (KJ, DJ or VJ): each occurrence gets them, as its hosts. """ jockeys( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! } """ Where to buy tickets to a series, copied to each occurrence. """ interface IEventSeriesTickets @mixin(extensionKey: "ticketing", field: "tickets", null: false, on: ["EventSeries"]) { """ Where to buy tickets, copied to each occurrence. """ url: String } """ Where a series happens: its default venue, and the name of the venue its occurrences are at. """ interface IEventSeriesVenue @mixin(extensionKey: "venues", field: "venue", null: false, on: ["EventSeries"]) { """ Where its occurrences are: its default venue's name, else its owning venue's, else its owning talent's home venue's, else "To be announced". """ name: String! """ Its default venue. Null for a venue-owned series held at its owner, or a talent series at their home venue or still to be announced. """ venue: Venue } """ How to get into an event: where to buy tickets, its copies on ticketing partners and every offer from any module, like tickets { offers } and tickets { cover }. """ interface IEventTickets @facet(tag: "tickets") @mixin(extensionKey: "ticketing", field: "tickets", null: false, on: ["Event"]) { """ The instance's IEventCover mixin. Left out of the schema where its module isn't installed. """ cover: IEventCover! """ Its copies on ticketing partners. Admins only; empty for everyone else. """ listings( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventListingConnection! @requires(permissions: ["ticketing:read:*"]) """ Every way in on sale, whichever module sells it: tickets on its live partner listings and its night's cover. """ offers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): IAdmissionOfferConnection! """ Where to buy tickets. """ url: String } """ Where an event is: its venue, or still to be announced. """ interface IEventVenue @mixin(extensionKey: "venues", field: "venue", null: false, on: ["Event"]) { """ Its venue's name, or "To be announced". """ name: String! """ Its venue. Null while it is to be announced. """ venue: Venue } """ What Meta says about a listing: a venue or person's Facebook Page, or a locale's Meta metro area. """ interface IFacebookProfile @mixin(extensionKey: "facebook", field: "facebook", null: false, on: ["ListingProfile"]) { """ Its Facebook Page's ID. A string: Page IDs overflow Int. """ facebookId: String """ Whether the signed-in user likes its Facebook Page. """ isLiked: Boolean! """ Canonical Facebook Page, profile, or public group URL. """ link: String """ The Meta metro area a locale sits in, if linked. """ metro: MetaMetro """ Its Facebook Page, if it has one; talent added by name has none yet. """ page: Page } """ A venue's connection to a karaoke partner, as its provider shows it (Karaoke::Provider#account_type). Its API token is stored encrypted and never returned. """ interface IKaraokeAccount { """ Whether an API token for the partner is stored, e.g. KaraFun Box's. """ hasApiToken: Boolean! """ Unique identifier. """ id: ID! """ Where singers join its standing session. """ joinUrl: String """ Why the last check with the partner failed, if it did. """ lastError: String """ When the partner last accepted its token. """ lastVerifiedAt: ISO8601DateTime """ The venue's name for its account on the partner. """ name: String """ The karaoke partner. """ provider: KaraokeProvider! """ Its standing session code, used by karaoke nights that have none of their own. """ sessionCode: String } """ An event that is a karaoke night, run with its venue's karaoke partner. A facet: only events marked as karaoke nights have it, not every event at a karaoke venue. """ interface IKaraokeNight @facet(tag: "karaoke") @mixin(extensionKey: "karaoke", field: "karaoke", on: ["Event"], tag: "karaoke") { """ The partner's page singers open to join the night's session and request songs. Null without a session. """ joinUrl: String """ The night's own provider, e.g. sing_along, set over its venue's partner. Null when the night uses its venue's. """ ownProvider: String """ The night's own session code, set over its venue's standing one. Null when the night uses its venue's. """ ownSessionCode: String """ The night's karaoke provider, e.g. karafun or sing_along: its own, else its venue's partner. Null when there is neither. """ provider: String """ The partner's name, e.g. KaraFun. """ providerName: String """ The singer queue that night, soonest first, when the venue's partner lets the server read one (AudienceKit: the night's karaoke signups from the chat). Null otherwise. """ queue: [KaraokeQueueEntry!] """ The partner's session singers join that night, e.g. a KaraFun remote code: the night's own, else its venue's standing one. """ sessionCode: String """ Whether the room sings along (provider sing_along): the night's playlist (Event.playlist) plays with the lyrics on the venue's screens. """ singAlong: Boolean! } """ A listing's public profile: how to reach it, merged from its own details and every connected provider. Each provider module adds its own view of the listing to the profile, like profile { facebook { page } } and profile { places { place } }. """ interface IListingProfile @mixin(extensionKey: "listings", field: "profile", null: false, on: ["Venue", "Person", "Locale"]) { """ Its street address, from Google or the researcher. """ address: String """ The instance's IFacebookProfile mixin. Left out of the schema where its module isn't installed. """ facebook: IFacebookProfile! """ Its public phone number. """ phone: String """ The instance's IPlacesProfile mixin. Left out of the schema where its module isn't installed. """ places: IPlacesProfile! """ Its social media profiles. """ socialLinks( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): SocialLinkConnection! """ Its public website. """ website: String } """ A locale's chat room, as the signed-in user sees it from outside: whether they can join it and its last few lines. """ interface ILocaleChat @mixin(extensionKey: "chat", field: "chat", null: false, on: ["Locale"]) { """ Whether the signed-in user can join it: they are out in the locale and not at one of its venues, or they are an admin. Apps hide the way in when it is false. """ open: Boolean! """ Who runs the room: its audience's chat provider. """ provider: ChatProvider! """ Whether the room is a read-only mirror of its provider's channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. """ readOnly: Boolean! """ Its last few lines, oldest first. Empty unless the signed-in user is in the locale (or is an admin), as the room is. Only the last 24 hours, except for admins. """ recentMessages( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ How many lines, at most 20. """ limit: Int = 5 ): LocaleMessageConnection! """ Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. """ replyUrl: String """ Where the apps send people to the room when its provider doesn't run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. """ url: String } """ A locale's events and those of the locales within it: those at its venues, and those still waiting for a venue there. """ interface ILocaleEvents @mixin(extensionKey: "events", field: "events", null: false, on: ["Locale"]) { """ Its upcoming events, soonest first. """ upcoming( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Also the events that are part of a super-event (a Pride festival's parties), which otherwise list under it (Event.childEvents). """ includeChildren: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int ): EventConnection! } """ Where the signed-in user's friends are out in a locale now. """ interface ILocaleFriends @mixin(extensionKey: "friends", field: "friends", null: false, on: ["Locale"]) { """ The signed-in user's friends who have been at its venues lately, by name. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): FriendConnection! """ Its venues where those friends have been lately, most friends first, then by name. """ venues( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): FriendVenueConnection! } """ The liquor rules across a locale: last call, when drinks must be cleared, closing and re-entry, as its state and cities set them. """ interface ILocaleLiquor @mixin(extensionKey: "liquor", field: "liquor", null: false, on: ["Locale"]) { """ The states and cities whose rules apply, most general first: those of the locales it lies within, then its own. """ jurisdictions: [String!]! """ Their rules, grouped by jurisdiction. Empty for a locale not researched yet. """ rules( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Only these kinds. """ kinds: [LiquorRuleKind!] """ Returns the last _n_ elements from the list. """ last: Int ): LiquorRuleConnection! } """ The people featured in a locale and in the locales within it. """ interface ILocalePeople @mixin(extensionKey: "people", field: "people", null: false, on: ["Locale"]) { """ The people featured in it. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PersonConnection! } """ A locale's venues. """ interface ILocaleVenues @mixin(extensionKey: "venues", field: "venues", null: false, on: ["Locale"]) { """ Its venues, hidden ones left out. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Order nearest first and fill in each distance. """ near: CoordinatesInput ): VenueConnection! } """ A chat moderator (a Moderation::Provider): a service that receives chat events (messages, joins, reports, kicks, bans) and can remove messages and warn, kick or ban people. Shows where it runs, the events it reads, the actions it can take and the policy categories it judges. Each provider has its own type. """ interface IModerationProvider implements IProvider { """ Actions it can take, e.g. escalate or remove_message. An audience grants it some of them. """ actions: [String!]! """ Policy categories it judges, e.g. spam or threats. """ categories: [String!]! """ Chat events it receives, e.g. message.created or user.joined. """ events: [String!]! """ Whether it reads this audience's chat now: always for inline ones; for remote ones, while a live service token of the audience's is issued for it with chat:moderate:*. """ following: Boolean! """ Whether it receives each event on this server as it happens. """ inline: Boolean! """ Its key, e.g. karafun. """ key: String! """ Its name, e.g. KaraFun. """ name: String! """ Whether it runs on its own server and dials in for the event feed. """ remote: Boolean! } """ The connection type for IModerationProvider. """ type IModerationProviderConnection { """ A list of edges. """ edges: [IModerationProviderEdge] """ A list of nodes. """ nodes: [IModerationProvider] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type IModerationProviderEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: IModerationProvider } """ The chat rooms a person can post in as themself (HOST). """ interface IPersonChat @mixin(extensionKey: "chat", field: "chat", null: false, on: ["Person"]) { """ The rooms they can post in as themself, from anywhere: the venues they're featured at or host events at and the locales they're featured in, the most recently active first. Only for admins and those who act as them; empty for anyone else. """ rooms( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): ChatRoomConnection! @requires(permissions: ["chat:read:mine", "chat:read:my_troupes"]) } """ The events a person hosts, plays (its lineup included) or was granted, and those of the troupes they're in. """ interface IPersonEvents @mixin(extensionKey: "events", field: "events", null: false, on: ["Person"]) { """ The same events as upcoming, with how they're on each: themselves, or through a troupe they're in. """ involvements: PersonEventConnection! """ Upcoming events they host, play (on its lineup too) or were granted, and those of the troupes they're in (their groups, not their groups' groups), each once, soonest first. involvements says how. """ upcoming( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventConnection! } """ A person's music and podcast links, imported music tracks and podcast episodes. """ interface IPersonMusic @facet(tag: "music") @mixin(extensionKey: "music", field: "music", null: false, on: ["Person"]) { """ Music, podcast and RSS feed links, oldest first. """ links( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): SocialLinkConnection! """ Their five newest music tracks or podcast episodes. """ tracks( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TrackConnection! } """ The venues a person is tied to. """ interface IPersonVenues @mixin(extensionKey: "venues", field: "venues", null: false, on: ["Person"]) { """ The venue a guest was added at (someone put on its lineups, like a host, without a People page); null for anyone on People. listGuestPerson puts them there. """ guestOf: Venue """ The venue they are based at, if any. """ home: Venue } """ A photographer supplied by any connected Photography provider. """ interface IPhotographer { """ AudienceKit connection identifier. """ id: ID! """ Photographer name verified when connecting. """ name: String! """ Published photos, oldest publication first by the provider's keyset cursor; null when unavailable. """ photos( """ Opaque provider cursor. """ after: String """ Page size, between 1 and 50. """ first: Int = 20 """ Only photos shared, changed or removed at or after this time, tombstones (removed: true) included. """ updatedSince: ISO8601DateTime ): ProviderPhotoPage } """ The connection type for IPhotographer. """ type IPhotographerConnection { """ A list of edges. """ edges: [IPhotographerEdge] """ A list of nodes. """ nodes: [IPhotographer] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type IPhotographerEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: IPhotographer } """ Photographers connected to this audience through the Photography contract. """ interface IPhotography @mixin(extensionKey: "photography", field: "photography", on: ["Audience"]) @requires(permissions: ["photography:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Photographers' hedonism_bot accounts granted to the audience, by name. Admins only; empty for everyone else. """ accounts( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): PhotographerConnection! @requires(permissions: ["photography:admin:*"]) """ One photographer connected to this audience. """ photographer( """ AudienceKit photographer connection ID. """ id: ID! ): IPhotographer """ Connected photo providers. """ photographers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): IPhotographerConnection! } """ Pings visible to the viewer that pick a venue or event. The viewer's pings across the audience are `me { ping }` (IUserStatePing). """ interface IPingFeed @mixin(extensionKey: "ping", field: "ping", on: ["Venue", "Event"]) { """ How many active pings pick it tonight (for a venue, it or one of its events). Admins and the managers of a venue's or event's listing only; a count, never names. """ count: Int @requires(permissions: ["ping:read:mine", "ping:read:my_troupes", "ping:read:venue"]) """ Active pings visible through friendship or circle membership. """ friendPings: [Ping!]! """ The viewer's active ping, if it picks this scope. """ myPing: Ping } """ What Google Maps says about a venue, locale or location, from its location. """ interface IPlacesProfile @mixin(extensionKey: "places", field: "places", null: false, on: ["ListingProfile", "Location"]) { """ The place details stored from Google, as Google sent them. Only on a location; null on a profile. """ details: JSON """ Its opening hours and whether it's open now, in its time zone (a venue's own when Google gave none). UNKNOWN without a Google place or hours. """ hours: OpeningHours! """ Its Google place, if its location is one. """ place: GooglePlace """ Its Google place ID, from its location. """ placeId: String } """ Posts on a venue, event, series or person, or a locale's updates (doc/design-system/Posts.md). """ interface IPosts @mixin(extensionKey: "posts", field: "posts", null: false, on: ["Venue", "Event", "EventSeries", "Person", "Locale"]) { """ A venue's own posts (as the venue, on it, its events and series); an event's by its venue and the people on it; a series'; a person's own; a locale's updates from the last 14 days. Pinned first, then newest; a locale's newest first. Posts from venues and people the viewer hid are left out. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Whose posts: everyone, venues, talent, or (signed in) posts on events the viewer is going to. """ from: PostsFrom = ALL """ Returns the last _n_ elements from the list. """ last: Int ): PostConnection! """ Photos of it (doc/CROWD_PHOTOS.md): photographers' and members' taken with the app's camera, newest first. A venue's taken there; an event's taken at it; a series' at its events; a person's those they were on stage in. None for a locale. Hidden photos, and members' photos from people a block stands between the viewer and, are left out. """ photos( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Only these: PROFESSIONAL, AMATEUR. Default both. """ sources: [EventPhotoSource!] ): EventPhotoConnection! } """ A promotion's headline, copy, picture and link. """ interface IPromoContent { """ A line or two under the headline. """ body: String """ What it says. """ headline: String! """ What the picture shows, for screen readers. """ imageAlt: String """ Its picture. """ imageUrl: String """ The link's button text. """ linkLabel: String """ Where it goes. """ linkUrl: String } """ A partner or service AudienceKit works with through a provider module, e.g. KaraFun or Eventbrite. AudienceKit itself is one where it sells something (AudienceKitProvider). """ interface IProvider { """ Its key, e.g. karafun. """ key: String! """ Its name, e.g. KaraFun. """ name: String! } """ A query root that fetches any record by its `id` (`node`, `nodes`), as Relay refetches. """ interface IRelay { """ Fetches a record by its `id`, the UUID every Node carries; null when nothing visible to this request has it. """ node( """ The record's UUID, as its `id` field gives it. """ id: ID! ): Node """ Fetches records by their `id`s, in the order asked; a missing one is null. """ nodes( """ The records' UUIDs. """ ids: [ID!]! ): [Node]! } """ An ISO 8601-encoded date """ scalar ISO8601Date @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") """ An ISO 8601-encoded datetime """ scalar ISO8601DateTime @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") """ How fans can tip a performer: links to Cash App or Venmo, or paying in the app. """ interface ITipping @mixin(extensionKey: "tipping", field: "tipping", on: ["Person"]) { """ Three-letter currency code of in-app tips. """ currency: String! """ The most one in-app tip can be, in cents. """ maximumCents: Int! """ The least one in-app tip can be, in cents. """ minimumCents: Int! """ Every way to tip them right now, links first. Empty when they haven't set any up. """ options: [TipOption!]! """ The Stripe or Square account they take tips through in the app. Admins and their listing managers only. """ paymentAccount( """ Defaults to the caller's: SANDBOX for staging builds. """ environment: PaymentEnvironment ): PaymentAccount @requires(permissions: ["tipping:read:mine"]) """ Suggested in-app tip amounts, in cents. """ presetCents: [Int!]! """ What a fan pays to tip amountCents in the app, card fee included. Null when they don't take tips in the app or the amount is out of range. """ quote( """ What the performer should get, in cents. """ amountCents: Int! ): TipQuote @appClip(clips: ["HOT_MESS"]) """ Their in-app tips, newest first. Admins and their listing managers only; null for everyone else. """ tips( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): TipConnection @requires(permissions: ["tipping:read:mine"]) } """ The public fields of a user: what anyone who reaches them may see. """ interface IUser implements HasTribes { """ Their profile picture: the URL of `photo`. """ avatarUrl: PhotoURL """ The user first name. """ firstName: String """ Unique identifier: the user's UUID, the same on User and SelfUser. """ id: ID! """ Display name: in full for the user themself, their friends and the audience's staff; first name and last initial ("Aurora B.") for anyone else. """ name: String """ The user profile photo: full size for the user themself, their friends and the audience's staff; the tiny copy chat rooms show (48 pixels square, or none for initials) for anyone else. """ photo: Photo """ Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. """ presence: Presence! """ The tribes the signed-in user and they both identify with, for the "You're both" mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. """ sharedTribes: [Tag!]! """ Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. """ tribes: [TribeIdentification!]! } """ A user's Ping activity that the current viewer may see. """ interface IUserPing @mixin(extensionKey: "ping", field: "ping", on: ["User", "Friend"]) { """ Their active ping in this audience, if visible to the viewer. """ activePing: Ping } """ The cover module's viewer state: the viewer's cover passes and the doors they work. """ interface IUserStateCover @mixin(extensionKey: "cover", field: "cover", null: false, on: ["UserState"]) @endpoint(in: [AUDIENCE, STAFF]) { """ The viewer's cover passes in the audience, newest first (at most 100). """ admissions( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): AdmissionConnection! """ Venues whose door the viewer can work, for the apps' Door mode. """ doorVenues( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): VenueConnection! } """ The viewer's Ping in the audience: their own active ping and the ones they can see. """ interface IUserStatePing @mixin(extensionKey: "ping", field: "ping", on: ["UserState"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Active pings visible through friendship or circle membership. """ friendPings: [Ping!]! """ The viewer's active ping, if any. """ myPing: Ping } """ Someone shown by name and picture: an audience member, someone in a chat room, or a room member. """ interface IUserSummary { """ Their profile photo. """ avatarUrl: PhotoURL """ Their name, as the viewer may see it. """ name: String """ The ID of the user. """ userId: ID! } """ Bingo on a venue's screens: a host draws from Velvet or Backstage and the screens keep the board. """ interface IVenueBingo @mixin(extensionKey: "trivia", field: "bingo", null: false, on: ["Venue"]) { """ Tonight's game: the one running, else the last ended. Null before the first. """ current: BingoGame } """ A venue's chat room, as the signed-in user sees it from outside: whether they can join it, its last few lines and its pinned announcement. """ interface IVenueChat @mixin(extensionKey: "chat", field: "chat", null: false, on: ["Venue"]) { """ Whether the signed-in user can join it: they are here, or they are an admin. Apps hide the way in when it is false. """ open: Boolean! """ The announcement pinned under its title, however old. For whoever can read the room and its managers; null for anyone else. """ pinnedMessage: VenueMessage """ Who runs the room: its audience's chat provider. """ provider: ChatProvider! """ Whether the room is a read-only mirror of its provider's channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. """ readOnly: Boolean! """ Its last few lines, oldest first. Empty unless the signed-in user is at the venue (or is an admin), as the room is. Only the last 24 hours, except for admins. """ recentMessages( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ How many lines, at most 20. """ limit: Int = 5 ): VenueMessageConnection! """ Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. """ replyUrl: String """ Where the apps send people to the room when its provider doesn't run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. """ url: String } """ A venue's cover charge, inside its tickets (Venue.tickets { cover }): what it usually charges and when, changes on coming nights, and its door. Its charge for a night is also one of tickets.offers. """ interface IVenueCover @mixin(extensionKey: "cover", field: "cover", null: false, on: ["VenueTickets"]) { """ Whether the viewer can scan passes: the audience's admins and its listing managers. """ canWorkDoor: Boolean! """ Its usual cover in cents, on the nights in days. """ cents: Int """ Tonight's cover, or null when there is none (or an event tonight sells tickets instead). """ charge( """ Another night instead. """ night: ISO8601Date ): CoverCharge """ The venue's coat check service tonight, if offered. """ coatCheck: CoatCheck """ The weekdays its cover applies, 0 for Sunday; empty for every night. """ days: [Int!]! """ Its door for a night: covers paid and scanned. Null unless canWorkDoor. """ door( """ Defaults to tonight. """ night: ISO8601Date ): DoorNight """ Who pays processing fees. """ feePayer: CoverFeePayer! """ When its cover starts. """ from: TimeOfDay """ Its usual sliding scale: the most, in cents. """ maxCents: Int """ Its usual sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. """ minCents: Int """ Changes to its cover on nights from tonight on. """ nights: [CoverNight!]! """ Whether its cover can be paid in the app. When false it is paid at the door, with no fees added, so feePayer does not apply. """ payable: Boolean! """ The Stripe or Square account its covers are paid to. Admins and its listing managers only. """ paymentAccount( """ Defaults to the caller's: SANDBOX for staging builds. """ environment: PaymentEnvironment ): PaymentAccount @requires(permissions: ["payments:read:mine"]) """ The IANA time zone its nights are counted in: its cover zone, else its locale's. """ timeZone: String """ When its cover ends. """ until: TimeOfDay """ The signed-in user's cover for tonight, paid or being paid. """ viewerAdmission: Admission """ The signed-in user's coat check pass for tonight, paid or being paid. """ viewerCoatCheck: Admission } """ A venue's events. """ interface IVenueEvents @mixin(extensionKey: "events", field: "events", null: false, on: ["Venue"]) { """ Its upcoming events, soonest first. """ upcoming( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): EventConnection! } """ Which of the signed-in user's friends are at a venue now. """ interface IVenueFriends @mixin(extensionKey: "friends", field: "friends", null: false, on: ["Venue"]) { """ The signed-in user's friends who have been here lately, by name. """ list( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): FriendConnection! } """ A venue's karaoke: its connections to karaoke partners, and the defaults its karaoke nights use unless they have their own. A facet: only venues connected to a partner have it. """ interface IVenueKaraoke @facet(tag: "karaoke") @mixin(extensionKey: "karaoke", field: "karaoke", on: ["Venue"], tag: "karaoke") { """ Its connections to karaoke partners, each as its provider shows it. Admins and its listing managers only; null for everyone else. """ accounts: [IKaraokeAccount!] @requires(permissions: ["karaoke:read:mine"]) """ The partner's page singers open to join its standing session. Null without one. """ joinUrl: String """ Its karaoke partner, e.g. karafun. Null until it connects one. """ provider: String """ The partner's name, e.g. KaraFun. """ providerName: String """ The singer queue of its standing session, soonest first, when its partner lets the server read one (AudienceKit: tonight's karaoke signups from the chat). Null otherwise. """ queue: [KaraokeQueueEntry!] """ Its standing session on the partner, e.g. a KaraFun remote code. Null when it has none, or the partner has no sessions. """ sessionCode: String """ Whether tonight is one of its karaoke nights: one of tonight's events there is one (Event.karaoke). The apps show its karaoke only then. """ tonight: Boolean! } """ Live music reported by equipment linked to this venue. """ interface IVenueMusic @mixin(extensionKey: "music", field: "music", null: false, on: ["Venue"]) { """ When each lyric line of these Spotify tracks or recordings is sung, without the words, for sing-along screens; tracks nobody has timed are left out. Shared by every venue. """ lyricTimings( """ Recordings by ISRC, at most 100 (any copy of the audio). """ isrcs: [String!] = [] """ MusicBrainz recording ids (MBIDs), at most 100: a venue's own copy of a song finds its timing whether it was kept for a Spotify track or not. """ musicbrainzRecordingIds: [String!] = [] """ Spotify track ids, at most 100. """ spotifyTrackIds: [String!] = [] ): [LyricTiming!]! """ A song's words, fetched through AudienceKit's Musixmatch key so the venue's Mac needs no key of its own, and kept so each song is fetched once and survives the key failing. Only this venue's devices with the music permission. Null when the source has no words for it. """ lyrics( """ Artist name. """ artist: String """ Track length, so synced lyrics match this version. """ durationMs: Int """ The recording's ISRC. """ isrc: String """ The MusicBrainz recording id (MBID). """ musicbrainzRecordingId: String """ The Spotify track id. """ spotifyTrackId: String """ Track title. """ title: String! ): SongLyrics """ Latest track while equipment reporting is active. """ nowPlaying: EquipmentTrack """ Tonight's songs in the order the venue's Mac plays them (its night playlist in the lineup): the one on and the ones still to play. Null without a night playlist tonight. """ queue: VenueMusicQueue } """ How a venue takes food and drink orders from the apps (doc/plans/VENUE_ORDERING_PLAN.md). For now, its own ordering page, which the apps open from an Order button. A facet: only venues that connected one have it. """ interface IVenueOrdering @facet(tag: "ordering") @mixin(extensionKey: "ordering", field: "ordering", on: ["Venue"], tag: "ordering") { """ How it takes orders, e.g. link (its own ordering page). """ provider: String! """ The provider's name, e.g. Ordering page. """ providerName: String! """ The page the apps open to order, when its provider links out. Null otherwise. """ url: String } """ Quickie at a venue: pairs two people there to talk about a shared topic. A facet projected from Venue.pairUpEnabled: every venue has it unless it opted out. """ interface IVenuePairUp @facet(tag: "pair_up") @mixin(extensionKey: "pair_up", field: "pairUp", on: ["Venue"], tag: "pair_up") { """ Whether the viewer can opt in now: the app places them at the venue. """ here: Boolean! """ The viewer's Quickie here tonight; null until they opt in (joinPairUp), and once it expires. """ mine: PairUpState } """ Who is on at a venue (Appearance), with or without an event: its lineup, running order and who's on now. """ interface IVenuePeople @mixin(extensionKey: "people", field: "people", null: false, on: ["Venue"]) { """ The next curtain call's readiness as counts, for anyone (guests too). Null unless the act up next has a curtain call. """ curtainReadiness: CurtainReadiness """ The go/no-go of the act up next in tonight's running order, when it has a curtain call. Null otherwise, and for anyone not working the show. """ goNoGo: GoNoGo """ People added here without a People page, like a one-off host, by name: to put on its lineups again (createGuestPerson). Empty for anyone not working its shows. """ guests: [Person!]! """ Who's hosting here now, for the apps' host row: the host and MC entries on now, else the hosts of the event under way (its lineup's, else the ones listed on it), else none. Signed out, only the Public ones. """ hostsTonight: [Person!]! """ What jockeysTonight are billed as, by the kind of night under way: KJ, DJ or VJ. Null with no event under way. """ jockeyLabelTonight: String """ Who's the KJ, DJ or VJ here now, for the apps' host row beside hostsTonight: the jockeys of the event under way (jockeyLabelTonight says which). Signed out, only the Public ones. """ jockeysTonight: [Person!]! """ The acts on a night that have a time (or have gone on), in running order. """ lineup( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Another night than tonight. """ night: ISO8601Date ): AppearanceConnection! """ A lineup as an audiencekit.lineup file (doc/IMPORT_EXPORT.md), for importLineup: the venue night's own, or an event's. Null for anyone not working the show. """ lineupFile( """ An event's lineup at the venue instead. """ eventId: ID """ Another night than tonight. """ night: ISO8601Date ): JSON """ A night's zone lineups (doc/LINEUP_MODEL.md): the default zone's (Stage), then each named zone's. Each holds its events as steps, and their lineups as children. """ lineups( """ Another night than tonight. """ night: ISO8601Date ): [Lineup!]! """ The acts on there right now. """ onNow( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int ): AppearanceConnection! """ What tonight's lineup is on now, an act or an intermission: what advancing takes off. Null before the show starts and after it ends. The lineup is the one with something on stage, else the started event's, else the venue's own. """ onStage: Appearance """ Everything on a night's lineups in order: the venue's own, then its events' as they start; intermissions and entries with no set time too. """ runningOrder( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Another night than tonight. """ night: ISO8601Date ): AppearanceConnection! """ Tonight's show, the lineup advancing moves (see onStage): who covers the stage, whether it can be ended, when it ends on its own. """ show: ShowStatus! """ A night's shows: the venue's own lineup, then its events' as they start. """ shows( """ Another night than tonight. """ night: ISO8601Date ): [ShowStatus!]! """ The show on now in a zone (the default zone without zoneId): an event's lineup from its preshow to its end, else the zone's night. What cueLineup on the zone's night moves. """ stage( """ A named zone. """ zoneId: ID ): Lineup! """ Its zones, in order. The default zone (Stage) is listed only when the venue has named it. """ stageZones: [StageZone!]! """ A night's support staff on the venue's own show, then its events'. Empty for anyone not working the show. """ supportStaff( """ Another night than tonight. """ night: ISO8601Date ): [StaffAssignment!]! """ What advancing tonight's running order puts on next. """ upNext: Appearance } """ Requests from a venue's chat: song requests for whoever is on, and karaoke signups. Each kind has its own queue and is open only while the venue permits it and a host is on the lineup. """ interface IVenueRequests @mixin(extensionKey: "requests", field: "requests", null: false, on: ["Venue"]) { """ Minutes before the event on (or the night) ends that both kinds close by themselves (updateVenue requestsCutoffMinutes); null for no cutoff. """ cutoffMinutes: Int """ Karaoke signups: open while the venue runs karaoke with AudienceKit and a host is on. """ karaoke: SongRequestWindow! """ Song requests: open while the venue takes them and a host or DJ is on. """ song: SongRequestWindow! """ Whether the venue takes song requests at all (updateVenue songRequests); whether any are open now is `song.open`. """ takesRequests: Boolean! } """ How to get into a venue on a night, a virtual event: every offer from any module, like tickets { offers(night:) } and tickets { cover }. """ interface IVenueTickets @mixin(extensionKey: "ticketing", field: "tickets", null: false, on: ["Venue"]) { """ The instance's IVenueCover mixin. Left out of the schema where its module isn't installed. """ cover: IVenueCover! """ Every way in that night, whichever module sells it: the venue's cover, and tickets on the live partner listings of that night's events. """ offers( """ Returns the elements in the list that come after the specified cursor. """ after: String """ Returns the elements in the list that come before the specified cursor. """ before: String """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Defaults to tonight. """ night: ISO8601Date ): IAdmissionOfferConnection! } """ Group trivia in a venue's chat (doc/SHOW_CONTROL.md): runs while a trivia segment (or an intermission given a set) is on the lineup, so it never competes with the talent. """ interface IVenueTrivia @mixin(extensionKey: "trivia", field: "trivia", null: false, on: ["Venue"]) { """ Tonight's latest round: open, or the last revealed. Null before the first. """ current: TriviaRound """ The lineup entry running trivia now; null while none is. """ segment: Appearance """ A trivia set, answers and all, as an audiencekit.triviaSet file (doc/IMPORT_EXPORT.md), for importTriviaSet. Null for an unknown key, and for anyone who doesn't run the venue's shows. """ setFile( """ The set, as Venue.trivia.sets keys it. """ key: String! ): JSON """ The trivia sets, those whose topics meet the venue's tags first. """ sets: [TriviaSet!]! } """ Represents untyped JSON """ scalar JSON """ A venue's KaraFun Business connection (Karaoke::KaraFun): its standing remote code and, for KaraFun Box, its Session Management API token. """ type KaraFunAccount implements IKaraokeAccount { """ Whether an API token for the partner is stored, e.g. KaraFun Box's. """ hasApiToken: Boolean! """ Unique identifier. """ id: ID! """ Where singers join its standing session. """ joinUrl: String """ Why the last check with the partner failed, if it did. """ lastError: String """ When the partner last accepted its token. """ lastVerifiedAt: ISO8601DateTime """ The venue's name for its account on the partner. """ name: String """ The karaoke partner. """ provider: KaraokeProvider! """ Its standing session code, used by karaoke nights that have none of their own. """ sessionCode: String } """ The local Karaoke implementation of a karaoke night. """ type KaraokeNightView implements IKaraokeNight { """ The partner's page singers open to join the night's session and request songs. Null without a session. """ joinUrl: String """ The night's own provider, e.g. sing_along, set over its venue's partner. Null when the night uses its venue's. """ ownProvider: String """ The night's own session code, set over its venue's standing one. Null when the night uses its venue's. """ ownSessionCode: String """ The night's karaoke provider, e.g. karafun or sing_along: its own, else its venue's partner. Null when there is neither. """ provider: String """ The partner's name, e.g. KaraFun. """ providerName: String """ The singer queue that night, soonest first, when the venue's partner lets the server read one (AudienceKit: the night's karaoke signups from the chat). Null otherwise. """ queue: [KaraokeQueueEntry!] """ The partner's session singers join that night, e.g. a KaraFun remote code: the night's own, else its venue's standing one. """ sessionCode: String """ Whether the room sings along (provider sing_along): the night's playlist (Event.playlist) plays with the lyrics on the venue's screens. """ singAlong: Boolean! } """ A karaoke partner venues can connect, and what AudienceKit can do with it. Partners publish little, so the console offers only what a partner supports. """ type KaraokeProvider implements IProvider { """ Its key, e.g. karafun. """ key: String! """ Its name, e.g. KaraFun. """ name: String! """ Whether a night's singer queue can be read from it. """ readsQueue: Boolean! """ Whether its song catalog can be searched. """ searchesCatalog: Boolean! """ Whether a karaoke night can be linked to its session, which singers join with a code. """ sessions: Boolean! """ Whether the room sings with the night's playlist, lyrics on the venue's screens, instead of singers taking turns. """ singsAlong: Boolean! """ Whether a venue's API token can be checked with it on this server. """ verifies: Boolean! } """ The connection type for KaraokeProvider. """ type KaraokeProviderConnection { """ A list of edges. """ edges: [KaraokeProviderEdge] """ A list of nodes. """ nodes: [KaraokeProvider] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type KaraokeProviderEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: KaraokeProvider } """ One singer's turn in a karaoke session's queue, as the venue's karaoke provider reads it (Karaoke::QueueEntry). """ type KaraokeQueueEntry { """ Who the song is by. """ artist: String """ Their place in the queue, from 0. """ position: Int! """ Who is singing, as they gave it. """ singer: String """ The provider's ID for the song or the turn, if it has one. """ songId: ID """ The song. """ title: String } """ A screen's cards, ranked by the server for this moment (Layouts). When it can't be fetched, the app falls back to its own built-in order. """ type Layout { """ The cards, top first. """ cards: [ICard!]! """ This ranking, for recordCardViews. """ id: ID! """ Seconds until the app should ask again. """ refreshAfter: Int! } """ What the app asking for a layout can draw. """ input LayoutClientInput { """ Its marketing version (2.2.0), for logs only: ranking never depends on it. """ appVersion: String """ Every card kind it can draw (now.stage, venues.nearby, promo.slot, ...). No other kind is returned. """ cardKinds: [String!]! } """ A screen whose cards the server ranks (Audience.layout). """ enum LayoutScreen { """ The Venues screen's Everywhere view: a card per locale (locales.showcase). """ EVERYWHERE """ One locale's screen, opened from its Everywhere card: its next events and its venues. Needs localeId; the position is not used. """ LOCALE """ Now: where the viewer is and what is on. """ NOW """ People, under the Local/Everyone picker. """ PEOPLE """ The locale's venues, under the map. """ VENUES } """ One show (doc/LINEUP_MODEL.md): a venue zone's night, open to close, with its own acts and breaks and each event in the zone as one step; or an event's in a zone, a child of that night. It has hosts; its acts are scenes of performers. The show goes from preshow to the host to each scene (back to the host, by setting) to postshow. """ type Lineup implements Node { """ A zone's night: its events' lineups in this zone, as they start. """ children: [Lineup!]! """ When it closes: a zone night's close, an event's end. """ closesAt: ISO8601DateTime """ The step on now; null while the host has it. """ current: LineupStep """ When the show ended, if it has. """ endedAt: ISO8601DateTime """ Its entries in order: acts, breaks, and the host and clock-run entries made before lineups. """ entries: [Appearance!]! """ The event whose lineup it is; null for a zone's night. """ event: Event """ The go/no-go of the act whose curtain the next advance raises. Null otherwise, and for anyone not working the show. """ goNoGo: GoNoGo """ Its hosts, in billing order. """ hosts: [Person!]! """ Its UUID. """ id: ID! """ What its event's jockeys are billed as (KJ, DJ or VJ); null for a zone's night. """ jockeyLabel: String """ Its event's jockeys (KJ, DJ or VJ): who runs the music or screens. Empty for a zone's night. """ jockeys: [Person!]! """ What it's billed as: its title, the event's name or the zone's. """ name: String! """ The venue night it runs on. """ night: ISO8601Date! """ When it opens: a zone night's open, an event's start. """ opensAt: ISO8601DateTime """ An event's: the zone night it is a step of. """ parent: Lineup """ Where the show stands. """ phase: LineupPhase! """ An event's breaks after its last scene: on in postshow. """ postshow: [LineupStep!]! """ An event's breaks before its first scene: on in preshow. """ preshow: [LineupStep!]! """ What ending a scene goes to unless the scene or its act says; null: the host. """ sceneEndsTo: ShowEndsTo """ When the show started, if it has. """ startedAt: ISO8601DateTime """ What advancing steps through, in order: scenes, breaks between them, and in a zone's night its events. """ steps: [LineupStep!]! """ Its billing, as set. """ title: String """ What advancing from the host puts on next. """ upNext: LineupStep """ Where. """ venue: Venue! """ Its zone; null for the venue's default zone. """ zone: StageZone """ Its zone's name: Stage for an unnamed default zone. """ zoneName: String! } """ Where a lineup's show stands (doc/LINEUP_MODEL.md). """ enum LineupPhase { """ An intermission or segment is on. """ BREAK """ Over: an event's has ended, a zone's night has closed. """ ENDED """ A zone's night: one of its events is on (see its lineup). """ EVENT """ The host has the stage: between scenes, and at the start and end. """ HOST """ An event's, after the show ends until the event does. Breaks after the last scene run now. """ POSTSHOW """ Before "Start the show" (an event's, from its start; a zone's night, before it opens). Breaks before the first scene run now. """ PRESHOW """ A scene is on. """ SCENE """ An event's: its event hasn't started; the zone's night is on. """ SCHEDULED } """ One step of a show, in order: a scene of an act, a break, or (in a zone night) an event. """ type LineupStep { """ A scene: its act. """ act: Appearance """ When it came off, if it has. """ cameOffAt: ISO8601DateTime """ What ending it goes to: as set on it, its act or its lineup. Null for an event. """ endsTo: ShowEndsTo """ A break: the intermission or segment. """ entry: Appearance """ Its own ID, step::, so a normalizing cache never merges it into the record it steps through. """ id: ID! """ What it is. """ kind: LineupStepKind! """ An event: its lineup in this zone. """ lineup: Lineup """ Who performs it, in billing order. """ performers: [Person!]! """ A scene: the scene, null for an act with no scenes. """ scene: Scene """ Upcoming, on now or done. """ state: AppearanceState! """ The record it steps through: the scene's ID (the act's for an act with no scenes), the break's or the event lineup's. """ targetId: ID! """ What it's billed as. """ title: String """ When it went on, if it has. """ wentOnAt: ISO8601DateTime } """ What a step of a show is. """ enum LineupStepKind { """ In a zone's night: an event's lineup, as one element. """ EVENT """ An intermission: a break between scenes. """ INTERMISSION """ A scene of an act: one or more performers. """ SCENE """ A segment, e.g. trivia or photos with the cast. """ SEGMENT } """ Something to get done for a lineup entry: from its venue's, event series', event's or talent's task templates, or added to the entry alone. Any can be removed from the entry. Shown only to the people working the show. """ type LineupTask { """ What ticks it by itself; null when someone ticks it. """ auto: LineupTaskAuto """ Whether it is done. """ done: Boolean! """ When someone ticked it. """ doneAt: ISO8601DateTime """ Who ticked it: their full name. """ doneByName: String """ When it's due: its template's lead time before the entry's set time (else its event's start), or as set on the entry. """ dueAt: ISO8601DateTime """ Its UUID for the entry's own, else template: