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 """ How an audience pays for AI on AudienceKit's keys (AiBillingAccount, doc/AI_USAGE.md). """ enum AIBillingMode { """ On the house: no allowance, never billed. """ COMP """ A demo or trial: allowance enforced, never billed. """ DEMO """ Allowance enforced; invoiced monthly through Stripe's AI meter once invoicing is set up. """ INVOICE """ Covered by other revenue it brings in, such as ads: allowance enforced, not invoiced. """ REVENUE } """ An AI capability and this audience’s explicit provider/model choice, if any. """ type AICapability { """ Capability key. """ key: String! """ Explicit model ID, or null for feature defaults. """ model: String """ Which models its model picker offers: those of any of these kinds. """ modelKinds: [AIModelKind!]! """ Display name. """ name: String! """ Providers this capability can use on AudienceKit’s own key without a link, metered to the audience. """ platformProviders: [String!]! """ Explicit provider choice, or null for feature defaults. """ provider: String """ Supported provider keys. """ providers: [String!]! } """ A model an AI provider offers a linked key (AI::Model). """ type AIModel { """ Its ID, as a request names it, e.g. gpt-5-mini or openrouter/auto. """ id: String! """ What it is for; a model can be several. """ kinds: [AIModelKind!]! """ Its name, for people. """ name: String! } """ What an AI model is for (AI::MODEL_KINDS), so a picker offers only the models that fit. """ enum AIModelKind { """ Writes text from a conversation (GPT, Claude, Gemini). """ CHAT """ Turns text into vectors for search. """ EMBEDDING """ Draws images. """ IMAGE """ Flags harmful content. """ MODERATION """ Anything else, such as older completion-only models. """ OTHER """ Turns text into speech. """ SPEECH """ Turns speech into text. """ TRANSCRIPTION """ Makes video. """ VIDEO } """ An AI model provider an audience can link its own account to (AI::Provider): OpenAI, Anthropic, Google or OpenRouter. """ type AIProvider implements IProvider { """ The model features use when a link doesn't choose one. """ defaultModel: String! """ Its key, e.g. karafun. """ key: String! """ Where an admin makes an API key for it. """ keyUrl: String! """ Its name, e.g. KaraFun. """ name: String! """ Where to send an admin to link it by signing in (OAuth PKCE); null when it doesn't sign in. The code it sends back to callbackUrl goes to linkAiProvider with the verifier. """ signInUrl( """ The console page the provider sends them back to. """ callbackUrl: String! """ The S256 challenge of the console's verifier. """ codeChallenge: String! ): String """ Whether an admin can link it by signing in to it (signInUrl) instead of pasting a key. """ signsIn: Boolean! } """ What an AI provider said when its key was checked. """ type AIProviderCheck { """ What the provider said, for the admin. """ message: String! """ Whether the provider accepted the key. """ ok: Boolean! } """ An audience's link to an AI provider (AiProviderLink): its own API key, stored encrypted and never returned, and the model its features use. """ type AIProviderLink { """ api_key or oauth. """ authMethod: String! """ Who linked it. """ connectedByName: String """ When it was linked. """ createdAt: ISO8601DateTime! """ Access token expiry; refreshed on use. """ expiresAt: ISO8601DateTime """ Unique identifier. """ id: ID! """ The key's last four characters, to tell keys apart. """ keyHint: String """ Why the last check with the provider failed, if it did. """ lastError: String """ When the provider last accepted the key. """ lastVerifiedAt: ISO8601DateTime """ The model its features use: the audience's choice, else the provider's default. """ model: String! """ Whether the audience chose the model. """ modelChosen: Boolean! """ The models the key can use, asked of the provider now; empty when it refuses (lastError says why after checkAiProvider). """ models: [AIModel!]! """ What the provider calls the key, when it says. """ name: String """ Google Cloud quota and billing project. """ projectId: String """ The provider. """ provider: AIProvider! """ Whether authorization must be renewed. """ reconnectRequired: Boolean! } """ A month of an audience's AI calls: its allowance for calls on AudienceKit's keys, what's spent, and the calls by feature and model (doc/AI_USAGE.md). """ type AIUsage { """ Where Stripe sends its AI invoices. """ billingEmail: String """ How it pays for calls on AudienceKit's keys. """ billingMode: AIBillingMode! """ The month's allowance for calls on AudienceKit's keys, in cents. """ budgetCents: Int! """ Calls on AudienceKit's keys are never billed back or limited. """ comped: Boolean! """ What calls on AudienceKit's keys cost this month before markup, in cents. """ costCents: Float! """ The allowance was set for this audience, not the default. """ customBudget: Boolean! """ The markup was set for this audience, not the default. """ customMarkup: Boolean! """ Invoiced, and its Stripe invoicing is set up. """ invoicing: Boolean! """ Markup on cost, in percent (20 is 1.2× cost). """ markupPercent: Int! """ The first day of the month. """ month: ISO8601Date! """ Why it pays as it does. Platform admins only; null for others. """ note: String """ What calls on the audience's own keys cost it at the providers, in cents. AudienceKit never bills these. """ ownKeyCents: Float! """ What is left of the allowance, in cents. """ remainingCents: Int! """ Calls by feature, provider, model and payer. """ rows: [AIUsageRow!]! """ What calls on AudienceKit's keys cost this month with markup, in cents: what is billed back. """ spentCents: Int! } """ A month's AI calls for one feature, provider, model and payer. """ type AIUsageRow { """ How many calls. """ calls: Int! """ What they cost, in cents, before markup. """ costCents: Float! """ What made them, e.g. poster_background. """ feature: String! """ Images made or processed. """ images: Int! """ Input tokens. """ inputTokens: Int! """ The model. """ model: String! """ Output tokens. """ outputTokens: Int! """ platform (AudienceKit's key, billed back) or audience (its own key). """ payer: String! """ Who answered, e.g. openai. """ provider: String! """ Calls on a model with no price yet: counted, not billed. """ unpricedCalls: Int! } """ A generic subject:principal:action access grant. """ type AccessGrant { """ The granted action, e.g. admin, write, read. """ action: String! """ When the grant was created. """ createdAt: ISO8601DateTime! """ The user who created this grant. """ createdBy: User """ The grant identifier. """ id: ID! """ The talent listing if the principal is one: an event grant (grantEventAccess). """ person: Person """ The ID of the principal. """ principalId: ID! """ The type of principal (User, or Person for an event grant). """ principalType: String! """ The ID of the subject. """ subjectId: ID! """ The display name of the subject. """ subjectName: String """ The type of subject (Venue, Person, Locale, Event). """ subjectType: String! """ The user if principal is a user. """ user: User } """ Autogenerated input type of AccessGrantCreate """ input AccessGrantCreateInput { """ The granted action: admin, write, or read. """ action: String = "admin" """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The subject UUID. """ subjectId: ID! """ Subject type: Venue, Person, or Locale. """ subjectType: String! """ The user UUID receiving access. """ userId: ID! } """ Autogenerated return type of AccessGrantCreate. """ type AccessGrantCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The created access grant. """ grant: AccessGrant! """ The locale, if the subject is a Locale. """ locale: Locale """ The audience member, if the principal is a user. """ member: AudienceMember """ The person, if the subject is a Person. """ person: Person """ The venue, if the subject is a Venue. """ venue: Venue } """ Autogenerated input type of AccessGrantRevoke """ input AccessGrantRevokeInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The access grant UUID. """ id: ID! } """ Autogenerated return type of AccessGrantRevoke. """ type AccessGrantRevokePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The locale, if the subject was a Locale. """ locale: Locale """ The audience member, if the principal was a user. """ member: AudienceMember """ The person, if the subject was a Person. """ person: Person """ The ID of the revoked grant. """ revokedGrantId: ID! """ The venue, if the subject was a Venue. """ venue: Venue } """ 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! } """ A persona buying ads in the audience: the advertiser facet. """ type AdAccount { """ Who publishers write to about its ads. """ contactEmail: String """ Its id. """ id: ID! """ active, paused or closed. """ status: String! } """ Autogenerated input type of AdAccountSave """ input AdAccountSaveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Who publishers write to about its ads. """ contactEmail: String """ The persona. """ personId: ID! """ active (the default), paused or closed. """ status: String } """ Autogenerated return type of AdAccountSave. """ type AdAccountSavePayload { """ The account as saved. """ adAccount: AdAccount! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ Autogenerated input type of AdmissionScan """ input AdmissionScanInput { """ Optional coat check hanger or claim number. """ claimCheckNumber: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What the scanner read. """ code: String! """ The door being worked. """ venueId: ID! } """ Autogenerated return type of AdmissionScan. """ type AdmissionScanPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The result of scanning the pass. """ result: ScanResult! } """ 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 } """ Autogenerated input type of AiCapabilitySet """ input AiCapabilitySetInput { """ Capability key. """ capability: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Exact model ID for this capability. """ model: String """ Linked provider key, or null for feature defaults. """ provider: String } """ Autogenerated return type of AiCapabilitySet. """ type AiCapabilitySetPayload { """ Updated audience capability selections. """ capabilities: [AICapability!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of AiProviderLinkCheck """ input AiProviderLinkCheckInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The provider, e.g. openai. """ provider: String! } """ Autogenerated return type of AiProviderLinkCheck. """ type AiProviderLinkCheckPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The link, after the check. """ link: AIProviderLink! """ What the provider said, for the admin. """ message: String! """ Whether the provider accepted the key. """ ok: Boolean! } """ Autogenerated input type of AiProviderLinkDelete """ input AiProviderLinkDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The provider, e.g. openai. """ provider: String! } """ Autogenerated return type of AiProviderLinkDelete. """ type AiProviderLinkDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The audience's links that remain. """ links: [AIProviderLink!]! } """ Autogenerated input type of AiProviderLinkSet """ input AiProviderLinkSetInput { """ The provider's API key. """ apiKey: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The code a provider that signs in sent back (signInUrl). """ code: String """ The verifier behind the challenge in signInUrl. """ codeVerifier: String """ The model its features use, e.g. gpt-5-mini. """ model: String """ The provider, e.g. openai, anthropic, google, openrouter. """ provider: String! """ The state returned by startAiProviderSignIn. """ state: String } """ Autogenerated return type of AiProviderLinkSet. """ type AiProviderLinkSetPayload { """ What the provider said about a new key. """ check: AIProviderCheck """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The link, after the change. """ link: AIProviderLink! } """ Autogenerated input type of AiProviderSignIn """ input AiProviderSignInInput { """ An allowlisted settings URL. """ callbackUrl: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Google Cloud billing project ID. """ projectId: String """ Provider key. """ provider: String! } """ Autogenerated return type of AiProviderSignIn. """ type AiProviderSignInPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Single-use state to verify when the provider returns. """ state: String! """ Provider authorization URL. """ url: String! } """ One of an audience's AI workers (the AI host, moderation, research), as its admins set it: whether it works and when, which model provider it uses, its prompts and the MCP tools it may call. """ type AiWorker { """ Whether anyone changed it yet. """ configured: Boolean! """ What it does. """ description: String! """ Whether it works at all. """ enabled: Boolean! """ The worker: glam, moderation or research. """ key: String! """ The provider's model; null for its default. """ model: String """ What the console calls it. """ name: String! """ Its prompts, as this audience has them. """ prompts: [ArbiterPrompt!]! """ An AI provider the audience linked (openai, anthropic, ...), or device for the models on the worker Mac. """ provider: String! """ When it works. """ schedule: AiWorkerSchedule! """ The MCP tools it can be permitted. """ tools: [AiWorkerTool!]! """ When someone last changed it. """ updatedAt: ISO8601DateTime """ Whether it is enabled and inside its hours now. """ workingNow: Boolean! } """ When an AI worker works: always, or in hours on chosen days, in a time zone. """ type AiWorkerSchedule { """ The days its hours start on, 0 (Sunday) to 6. """ days: [Int!]! """ When its hours end, HH:MM; before start runs overnight. """ end: String! """ How often it looks for work, in minutes; null for as soon as there is some. """ everyMinutes: Int """ always or hours. """ mode: String! """ When its hours start, HH:MM. """ start: String! """ The IANA time zone its hours are in. """ timeZone: String! } """ An AI worker's schedule. Fields left out keep their value. """ input AiWorkerScheduleInput { """ The days its hours start on, 0 (Sunday) to 6. """ days: [Int!] """ When its hours end, HH:MM. """ end: String """ How often it looks for work, 1 to 1440 minutes; null for as soon as there is some. """ everyMinutes: Int """ always or hours. """ mode: String """ When its hours start, HH:MM. """ start: String """ An IANA time zone, like America/Los_Angeles. """ timeZone: String } """ An MCP tool (action) an AI worker can be permitted to call. """ type AiWorkerTool { """ Whether the worker has it by default. """ default: Boolean! """ What it does, as the model is told. """ description: String! """ The tool, e.g. propose_change. """ name: String! """ Whether the worker may call it now. """ permitted: Boolean! """ Whether it only reads; false for one that changes something. """ readOnly: Boolean! """ Its title. """ title: String! } """ Autogenerated input type of AiWorkerUpdate """ input AiWorkerUpdateInput { """ The audience. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether it works at all. """ enabled: Boolean """ The worker: glam, moderation or research. """ key: String! """ The provider's model; blank for its default. """ model: String """ A linked AI provider (openai, anthropic, google, openrouter), or device for the models on the worker Mac. """ provider: String """ Put it back on its defaults (its prompts are kept). """ reset: Boolean = false """ When it works. """ schedule: AiWorkerScheduleInput """ Every MCP tool it may call (replaces the list). """ tools: [String!] } """ Autogenerated return type of AiWorkerUpdate. """ type AiWorkerUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The worker as saved. """ worker: AiWorker! } """ 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 } """ Autogenerated input type of AppReviewCodeAdd """ input AppReviewCodeAddInput { """ The tenant audience whose apps this code signs in to; omit in Olympus to add a staff app review code. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The code to use. Left out, a new code is issued. """ code: String """ The test account's email address: a new account, or one already used for App Review. """ email: String! """ What the code is for, e.g. "Banned from Neighbours". """ label: String! """ The test account's name. """ name: String! } """ Autogenerated return type of AppReviewCodeAdd. """ type AppReviewCodeAddPayload { """ The audience asked from, with its codes. """ audience: Audience """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The code, which works while App Review is on. """ code: String! """ Updated staff App Review settings. """ platformAppReview: PlatformAppReview! } """ Autogenerated input type of AppReviewCodeCreate """ input AppReviewCodeCreateInput { """ The audience whose console asks; omit in Olympus. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AppReviewCodeCreate. """ type AppReviewCodeCreatePayload { """ The audience asked from, with updated code status. """ audience: Audience """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The main review code. """ code: String! """ Updated staff App Review settings. """ platformAppReview: PlatformAppReview! } """ Autogenerated input type of AppReviewCodeRemove """ input AppReviewCodeRemoveInput { """ The audience whose console asks; omit in Olympus when removing a staff app code. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The code's ID (AppReviewCodeType id). """ id: ID! } """ Autogenerated return type of AppReviewCodeRemove. """ type AppReviewCodeRemovePayload { """ The audience asked from, with its codes. """ audience: Audience """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Updated staff App Review settings. """ platformAppReview: PlatformAppReview! } """ Autogenerated input type of AppReviewReset """ input AppReviewResetInput { """ The audience whose console asks; codes are shared by every audience. """ audienceId: ID """ The banned reviewer's code to use. Left out, the current one is kept (a new one when there is none). """ bannedCode: String """ The Hot Mess venue the banned reviewer is banned from. Left out, the one with the most events coming up. """ bannedVenueId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The main review code to use, e.g. the one in Apple's review notes. Left out, the current main code is kept (a new one when there is none). Earlier codes keep working either way. """ code: String } """ Autogenerated return type of AppReviewReset. """ type AppReviewResetPayload { """ The audience asked from, with updated App Review state. """ audience: Audience """ The banned reviewer's code, which works from now on. """ bannedCode: String! """ The venue the banned reviewer is banned from; null when Hot Mess has no venue to ban them from. """ bannedVenueName: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The review code, which works from now on. """ code: String! """ Updated staff App Review settings. """ platformAppReview: PlatformAppReview! } """ 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! } """ Autogenerated input type of AppearanceCreate """ input AppearanceCreateInput { """ Who, what and when. """ appearance: AppearanceInput! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The venue. """ venueId: ID! } """ Autogenerated return type of AppearanceCreate. """ type AppearanceCreatePayload { """ The appearance; null once removed. """ appearance: Appearance """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of AppearanceDelete """ input AppearanceDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The appearance. """ id: ID! } """ Autogenerated return type of AppearanceDelete. """ type AppearanceDeletePayload { """ The appearance; null once removed. """ appearance: Appearance """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ A lineup entry. Fields left out aren't changed. """ input AppearanceInput { """ 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. Null: it sits at its position, between acts. """ afterSceneId: ID """ An act: call places this many minutes before it (or once it is up next) and wait for a go before it goes on. Null: no curtain call. """ curtainCallMinutes: Int """ endTiming DURATION: how long it runs once on. """ durationMinutes: Int """ How it ends. Defaults to TIME when endsAt is given, CLOSE when it is null. """ endTiming: AppearanceEndTiming """ When they finish; null until the night ends. """ endsAt: ISO8601DateTime """ What ending it goes to: an act's scenes unless they say, or a break. Null: the lineup's setting for an act, the host for a break. """ endsTo: ShowEndsTo """ The event at the venue whose lineup it's on, for one built ahead; null for the venue night's own. Its night is then the event's. """ eventId: ID """ An act: time beyond its scenes or tracks (hosting, hellos, an encore), for its estimate. Null: 10 minutes. """ extraMinutes: Int """ Whether it stretches or shrinks to bring the show back on time. Null: intermissions do, the rest do not. """ flexible: Boolean """ An act (the default), an intermission or a segment. """ kind: AppearanceKind """ The lineup it's on (doc/LINEUP_MODEL.md): a zone's night or an event's in a zone. Sets its night and event. Null: the one its night and event say, in the default zone. """ lineupId: ID """ The longest it runs when it flexes. Null: no limit. """ maxMinutes: Int """ Activity WATCH: the episode or film the room watches, from the audience's media. Null: none. """ mediaItemId: ID """ Activity SING_ALONG: the audience's media playlist it sings (Audience.media.playlist); its songs become the scenes, and the venue's Mac plays its Spotify copy. WATCH: the series. Null: none. """ mediaPlaylistId: ID """ The shortest it runs when it flexes. Null: 5 minutes. """ minMinutes: Int """ The venue night, for an entry with no set time. Defaults to the night startsAt falls in, or tonight. """ night: ISO8601Date """ Notes for the crew, in Markdown. """ notes: String """ Who, for one person. An act needs people or a title. """ personId: ID """ Who, in billing order: several for a duet or group. """ personIds: [ID!] """ An act: a preshow of this many minutes before it, from doors to the host. Null: none. """ preshowMinutes: Int """ What they are doing. Needed for an act. """ role: AppearanceRole """ An act's numbers, in order; replaces those it has. """ scenes: [SceneInput!] """ How it starts. Defaults to HARD. """ startTiming: AppearanceStartTiming """ Its hard or soft time. """ startsAt: ISO8601DateTime """ An act's billing or an intermission's label. """ title: String """ Activity TRIVIA: who moves the rounds along. Null: HOST when it has people, else ROOM. """ triviaDriver: TriviaDriver """ Activity TRIVIA: when answers show. Null: EACH. """ triviaReveal: TriviaReveal """ Activity TRIVIA: the trivia set to run (a Venue.trivia.sets key). Null picks one by the event's or venue's tags. """ triviaSet: String """ A break with an activity: it runs for the whole venue, every zone, not just its own. """ venueWide: Boolean } """ 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 } """ Autogenerated input type of AppearanceUpdate """ input AppearanceUpdateInput { """ The fields to change. """ appearance: AppearanceInput! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The appearance. """ id: ID! } """ Autogenerated return type of AppearanceUpdate. """ type AppearanceUpdatePayload { """ The appearance; null once removed. """ appearance: Appearance """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ Autogenerated input type of ArbiterPromptCreate """ input ArbiterPromptCreateInput { """ The audience. Defaults to the endpoint audience. """ audienceId: ID """ The text, with {{variables}}. """ body: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What it is for, as the Mac and the console show it. """ description: String! """ Its name after the worker, e.g. drag_brunches. """ name: String! """ The worker: glam, moderation or research. """ worker: String! } """ Autogenerated return type of ArbiterPromptCreate. """ type ArbiterPromptCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The prompt as saved. """ prompt: ArbiterPrompt! } """ Autogenerated input type of ArbiterPromptDelete """ input ArbiterPromptDeleteInput { """ The audience. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The prompt, e.g. research.drag_brunches. """ name: String! } """ Autogenerated return type of ArbiterPromptDelete. """ type ArbiterPromptDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The prompt that was deleted. """ deletedName: String! } """ Autogenerated input type of ArbiterPromptUpdate """ input ArbiterPromptUpdateInput { """ The audience. Defaults to the endpoint audience. """ audienceId: ID """ The text, with {{variables}}; blank or null goes back to the default. """ body: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The template, e.g. glam.system. """ name: String! } """ Autogenerated return type of ArbiterPromptUpdate. """ type ArbiterPromptUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The prompt as saved. """ prompt: ArbiterPrompt! } """ 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! } """ Autogenerated input type of ArbiterSettingsUpdate """ input ArbiterSettingsUpdateInput { """ The conformal sets' error rate, 0.01 to 0.3. """ alpha: Float """ The audience. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The unscored cut-off, 0.1 to 0.9. """ coverageThreshold: Float """ The work types its worker takes. """ evaluationTypes: [String!] """ shadow, approve or live. """ glamMode: String """ Per guard policy, its score (value). """ guardThresholds: [ArbiterThresholdInput!] """ The AI host's picture, an https URL; blank for Glam's. """ hostAvatar: String """ What the AI host is called, at most 30 characters. """ hostName: String """ Forget everything set first, back to the defaults. """ reset: Boolean = false """ What Glam's “Re-show guidelines” posts. """ roomGuidelines: String """ Per rule, its general and adult scores. """ ruleThresholds: [ArbiterThresholdInput!] """ Whether the moderation rules are checked. """ rulesEnabled: Boolean """ guard or decisions. """ rulesModel: String """ general or adult. """ venueRating: String } """ Autogenerated return type of ArbiterSettingsUpdate. """ type ArbiterSettingsUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The settings as saved. """ settings: ArbiterModerationSettings! } """ One of Arbiter's guard policies or rules and the scores to act on it at. A null score goes back to its default. """ input ArbiterThresholdInput { """ A rule's score in an adult room. """ adult: Float """ A rule's score in a general room. """ general: Float """ The guard policy or rule. """ key: String! """ A guard policy's score. """ value: Float } """ 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 """ Every credit on it, shown or not, for its admins. """ allCredits: [Credit!]! @requires(permissions: ["audience:write:*"]) @endpoint(in: [STAFF]) """ 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! } """ What setArticleStatus does to a Soapbox article (doc/SOAPBOX.md). """ enum ArticleAction { """ Take a reader's op-ed: it becomes a draft the publication edits. """ ACCEPT_OP_ED """ Decline a reader's op-ed, with a note for the writer. """ DECLINE_OP_ED """ Publish now or at publishAt: a trusted publication's managers, or the audience's admins (approving one in review). """ PUBLISH """ Back to a draft: the publication pulling it back, or an admin sending it back with a note. """ RETURN_TO_DRAFT """ Send a draft to the audience's admins for approval (a pending publication's way out). """ SUBMIT """ Take it down; it can be published again. """ UNPUBLISH } """ 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! } """ Autogenerated input type of ArticleDelete """ input ArticleDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The article. """ id: ID! } """ Autogenerated return type of ArticleDelete. """ type ArticleDeletePayload { """ Null once deleted. """ article: Article """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ Autogenerated input type of ArticleFeatureNationally """ input ArticleFeatureNationallyInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ false takes it out. """ featured: Boolean = true """ The article. """ id: ID! } """ Autogenerated return type of ArticleFeatureNationally. """ type ArticleFeatureNationallyPayload { """ The article. """ article: Article """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ What a Soapbox locale push asks people to do. Pushes are for showing up, never for money (the "no grifting" policy, doc/SOAPBOX.md). """ enum ArticlePushPurpose { """ The audience's admins only: an election-season push (register, mail ballots, early voting, polling places) that opens the article. """ ELECTION """ Come to an upcoming event the article is about. """ EVENT """ Volunteer. """ VOLUNTEER } """ Autogenerated input type of ArticleRemove """ input ArticleRemoveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The article. """ id: ID! """ Why, shown to the publication. """ note: String """ false puts it back. """ removed: Boolean = true } """ Autogenerated return type of ArticleRemove. """ type ArticleRemovePayload { """ The article. """ article: Article """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ArticleSave """ input ArticleSaveInput { """ What it says, in Markdown. """ body: String """ Who it shows as written by; empty: the writer's name. """ byline: String """ Where the publication also publishes it. """ canonicalUrl: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Ties to what it covers, shown to readers (its own event, a sponsor). """ disclosure: String """ Events it's about, replacing the ones it had. """ eventIds: [ID!] """ Its photo, described for screen readers. """ heroAltText: String """ Its photo from the publication's media library (Publication.media), instead of heroPhoto; its alt text fills heroAltText when that is not given. """ heroMediaId: ID """ Its photo: an image URL, or an image uploaded as a data: URI; empty removes it. """ heroPhoto: String """ The article to change. """ id: ID """ Locales it's about, replacing the ones it had. """ localeIds: [ID!] """ People it's about, replacing the ones it had. """ personIds: [ID!] """ Pin it above the publication's others. """ pinned: Boolean """ The publication a new draft is for. """ publicationId: ID """ A line or two under its title. """ summary: String """ Its headline; needed for a new draft. """ title: String """ Venues it's about, replacing the ones it had. """ venueIds: [ID!] """ Who can read it once published. Default: COMMUNITY. """ visibility: ArticleVisibility } """ Autogenerated return type of ArticleSave. """ type ArticleSavePayload { """ The article. """ article: Article """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 } """ Autogenerated input type of ArticleStatusSet """ input ArticleStatusSetInput { """ What to do. """ action: ArticleAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The article. """ id: ID! """ Why: shown to the publication when an admin sends it back, or to the writer when an op-ed is declined. """ note: String """ PUBLISH only: when it goes live. Default now. """ publishAt: ISO8601DateTime """ PUBLISH only: push people in these locales (and the locales under them) when it goes live. Trusted publications, once a day per locale; admins any time (ArticlePush). """ pushLocaleIds: [ID!] """ With pushLocaleIds: what the push asks people to do. Pushes never ask for money. """ pushPurpose: ArticlePushPurpose } """ Autogenerated return type of ArticleStatusSet. """ type ArticleStatusSetPayload { """ The article. """ article: Article """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 { """ The audience's activity log, newest first. Admins only. """ activity( """ 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 entries about this user. """ userId: ID ): AudienceActivityConnection! @requires(permissions: ["audience:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) """ 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]) """ AI capabilities and this audience’s provider/model selections. """ aiCapabilities: [AICapability!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ Its links to AI providers (OpenAI, Anthropic, Google, OpenRouter), oldest first. Admins only; empty for everyone else. """ aiProviderLinks: [AIProviderLink!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ The AI providers it can link (linkAiProvider). Admins only; empty for everyone else. """ aiProviders: [AIProvider!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ A month of its AI calls: its allowance on AudienceKit's keys, what is spent, and calls by feature and model. Admins only; null for everyone else. """ aiUsage( """ Any day in the month; this month when omitted. """ month: ISO8601Date ): AIUsage @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ Its AI workers (the AI host, moderation, research) and how each runs. Admins only; empty for everyone else. """ aiWorkers: [AiWorker!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [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:*"]) """ How the audience orders each app screen's cards. Admins only; empty for everyone else. """ cardArrangements: [CardArrangement!]! @requires(permissions: ["audience:read:*"]) @endpoint(in: [STAFF]) """ 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]) """ How complete its venue and People records are: websites, photos, Google places, events and social links, and locales with no venues. Admins only; null for everyone else. """ coverage( """ Only venues and people in this locale. """ localeId: ID ): Coverage @requires(permissions: ["audience:read:*"]) @endpoint(in: [STAFF]) """ The decision queue as the server sees it: counts per type, the worker devices and the AI host's calls today. Admins only; null for everyone else. """ decisionQueueStatus: DecisionQueueStatus @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ The audience's decision queue (doc/DECISION_QUEUE.md): what worker devices answered and a person decides, unsure ones first, then the longest waiting; or decided ones, newest first. Admins only; empty for everyone else. """ decisions( """ 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 """ Only these types. """ evaluationTypes: [String!] """ Returns the first _n_ elements from the list. """ first: Int """ Returns the last _n_ elements from the list. """ last: Int """ Waiting for a person (the default), or false for decided ones. """ open: Boolean = true ): DecisionConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ Whether sign-ins from its apps must pass device attestation (App Attest, Play Integrity): OFF, REPORT (recorded only) or ENFORCE. """ deviceAttestationMode: DeviceAttestationMode! """ The audience's digital flyers, for staff to manage, newest first. """ digitalFlyers( """ Only those for this locale. """ localeId: ID ): [DigitalFlyer!]! @endpoint(in: [STAFF]) """ 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!]! """ Links between items and what they are about, newest first: suggested ones by default, for an admin to confirm or turn down (reviewEntityLink, doc/ROLL_UP.md). Admins only. """ entityLinks( """ At most this many (up to 200). """ limit: Int = 50 """ Links in these states. """ statuses: [EntityLinkStatus!] = [SUGGESTED] ): [EntityLink!]! @requires(permissions: ["audience:read:*"]) @endpoint(in: [STAFF]) """ 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]) """ Performers' headshots found elsewhere (their own Instagram posts, or a worker's proposal) that nobody has approved yet, oldest first (doc/INSTAGRAM_HEADSHOTS.md). Approving one (setPersonHeadshotApproval) lets posters use it and cuts out its background; removing it (removePersonHeadshot) drops it. Admins only; empty for everyone else. """ headshotsToReview( """ At most this many (1-100). """ limit: Int = 24 ): [PersonHeadshot!]! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ Every call the audience's AI host made about its feed, newest first, as its Mac uploaded them, with all it read and checked (doc/DECISION_QUEUE.md, "Diagnosing"). Admins only; empty for everyone else. """ hostDecisions( """ 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 ones a guard or rule check flagged (true). """ flagged: Boolean """ Returns the last _n_ elements from the list. """ last: Int """ Only this room (a venue or locale ID). """ roomId: String """ Only live, replay or try. """ source: String ): HostDecisionConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [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:*"]) """ An Add with AI request you started (researchListing), with its draft once done. Null for anyone else’s. """ listingResearch( """ Its ID. """ id: ID! ): ListingResearch @requires(permissions: ["people:write:*", "venues:write:*", "locales:admin:mine"]) @endpoint(in: [STAFF]) """ 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!]! """ Maintenance operations and their runs. Admins only. """ maintenance: Maintenance! @endpoint(in: [AUDIENCE, STAFF]) """ 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 standard TV posters its venues' screens can show, AudienceKit's then its own, approved or not (setMarqueePosterApproved). Admins only; empty for everyone else. """ marqueePosters: [MarqueePoster!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ 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]) """ Someone who has signed in on the audience, by their user ID. Admins only. """ member( """ The ID of the user. """ userId: ID! ): AudienceMember @requires(permissions: ["audience:read:*"]) @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:*"]) """ What the audience's AI host made of each chat message, newest first: by default the winning run of the default configuration on each, with its ruling, what was done and the deep analysis (doc/MESSAGE_ANALYSIS.md). Arbiter on an iPad shows these without running a model. Admins only; empty for everyone else. """ messageAnalyses( """ Only ones ruled something other than no_action. """ actedOn: Boolean """ Returns the elements in the list that come after the specified cursor. """ after: String """ Every configuration, not only one. """ allConfigurations: Boolean """ Earlier runs too, not only the winning ones. """ allVersions: Boolean """ Returns the elements in the list that come before the specified cursor. """ before: String """ This named configuration, not the default. """ configuration: String """ Returns the first _n_ elements from the list. """ first: Int """ Only ones a guard or rule check flagged (true). """ flagged: Boolean """ Returns the last _n_ elements from the list. """ last: Int """ Only this room (a venue or locale ID). """ roomId: String """ Only this ruling, e.g. private_nudge. """ ruling: String ): MessageAnalysisConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ One message's winning run of a configuration, by its chat provider and its ID there. Admins only. """ messageAnalysis( """ The chat provider, e.g. audiencekit or discord. """ chatProvider: String! """ A named configuration; the default without. """ configuration: String """ The message's ID on it. """ messageId: String! ): MessageAnalysis @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ 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!]! """ Onboarding invites (createOnboardingInvite), newest first: a venue's or performer's (subjectId), the ones a venue's managers made for performers (venueId), or, with neither, the invites to add a new listing and the ownership requests a curator can see. Open ones (pending, or waiting for approval), or every one with includeEnded. """ onboardingInvites( """ Also accepted, declined, expired and revoked ones. """ includeEnded: Boolean = false """ The venue or person (performer) UUID. """ subjectId: ID """ The venue whose managers made them, in Velvet. """ venueId: ID ): [OnboardingInvite!]! @requires(permissions: ["venues:admin:mine", "people:admin:mine", "venues:admin:*", "people:admin:*", "audience:admin:*"]) @endpoint(in: [STAFF]) """ 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 IAudiencePlaces mixin. Left out of the schema where its module isn't installed. """ places: IAudiencePlaces! @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]) """ What the badges on promoted cards say. """ promoBadges: PromoBadges! @endpoint(in: [STAFF]) """ The share of charity cards' impressions kept for free placements (0 to 1). Admins only. """ promoCharityFreeShare: Float! @requires(permissions: ["audience:read:*"]) @endpoint(in: [STAFF]) """ Promoted, charity and announcement cards booked into the apps, newest start first. Admins only; empty for everyone else. """ promoPlacements: [PromoPlacement!]! @requires(permissions: ["audience:read:*"]) @endpoint(in: [STAFF]) """ The public rate card for promoted cards (as GET /v1/promoted/rate_card): tiers with their prices by city size, city sizes, discounts and the rules. """ promoRateCard: JSON! @endpoint(in: [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:*"]) """ The audience's report queue: what members reported (messages, people, venues, pings, photos) and whom they blocked, newest first. Admins only; empty for everyone else. Platform admins see every audience's on the tenants endpoint (contentReports). """ reports( """ 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 reports nobody has resolved yet (the default); false for only resolved ones. """ open: Boolean = true """ Only test accounts' reports (TestUsers), which the queue otherwise leaves out. """ tests: Boolean = false ): ContentReportConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ The instance's IAudienceRooms mixin. Left out of the schema where its module isn't installed. """ rooms: IAudienceRooms! @endpoint(in: [STAFF]) """ Safety alerts across its venues, newest first (doc/SAFETY_ALERTS.md): by default the ones flagged for the team's look and not decided yet. Admins only; empty for everyone else. """ safetyAlerts( """ 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 flagged ones nobody decided yet (the default); false for every alert. """ needsLook: Boolean = true ): SafetyAlertConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ Its service tokens (worker devices, moderation providers, CI, web renderers), newest first. Admins only; empty for everyone else. """ serviceTokens( """ Also revoked and expired ones. """ includeInactive: Boolean = false ): [ServiceToken!]! @requires(permissions: ["audience:admin:*"]) @endpoint(in: [STAFF]) """ 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! """ The audience's suggestions review queue (doc/CONTRIBUTIONS.md): open ones by priority, or decided ones newest first. Admins only; empty for everyone else. """ submissions( """ 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 this kind. """ kind: SubmissionKind """ Returns the last _n_ elements from the list. """ last: Int """ Open ones (the default), or false for decided ones. """ open: Boolean = true """ Only this status. """ status: SubmissionStatus """ Only test accounts' suggestions (TestUsers), which the queue otherwise leaves out. """ tests: Boolean = false ): SubmissionConnection! @requires(permissions: ["audience:moderate:*"]) @endpoint(in: [STAFF]) """ "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:*"]) """ Users across all audiences, for granting access or making admins. Super admins only. """ users( """ 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 users whose name or email contains this. """ search: String ): UserConnection! @requires(permissions: ["platform:admin:*"]) @endpoint(in: [STAFF]) """ 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! } """ Something that happened in an audience: someone new signed in, someone signed in, someone chatted in a venue's room, someone arrived at a venue, or an admin kicked, banned or unbanned someone. """ type AudienceActivity implements Node { """ Who it was. """ actor: Profile """ The start of a chat message (a reported or removed one, with its sender), how many messages a cleared room lost, or who kicked or banned them and why. """ detail: String """ The ID of the activity. """ id: ID! """ What happened. """ kind: AudienceActivityKind! """ When it happened. """ occurredAt: ISO8601DateTime! """ The venue it happened at, if any. """ venue: Venue } """ The connection type for AudienceActivity. """ type AudienceActivityConnection { """ A list of edges. """ edges: [AudienceActivityEdge] """ A list of nodes. """ nodes: [AudienceActivity] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type AudienceActivityEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: AudienceActivity } """ What an AudienceActivity records. """ enum AudienceActivityKind { BANNED BUG_REPORTED CHAT_CLEARED CHAT_MESSAGE CHAT_REMOVED CHAT_REPORTED CHECKED_IN CONTENT_REPORTED CONTRIBUTION_APPROVED CONTRIBUTION_REJECTED CONTRIBUTION_SUBMITTED COVER_PAID COVER_REFUNDED ENTERED_VENUE FLAG_REVIEWED KICKED PHOTO_REPORTED SIGN_IN TIP_PAID TIP_REFUNDED UNBANNED USER_BLOCKED USER_CREATED } """ Autogenerated input type of AudienceAdminSet """ input AudienceAdminSetInput { """ The audience ID (when specifying user or on tenants endpoint). """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The user email address to find across all audiences. """ email: String """ The ID of the membership or user UUID or email. """ id: ID """ Whether they should manage the audience. """ isAdmin: Boolean! """ The user ID to make an admin. """ userId: ID } """ Autogenerated return type of AudienceAdminSet. """ type AudienceAdminSetPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The member, after the change. """ member: AudienceMember! } """ Autogenerated input type of AudienceAdvertisingUpdate """ input AudienceAdvertisingUpdateInput { """ Who pays for it to be ad-free, e.g. an organization covering its members; the apps thank them. Left out, it stays as it is; empty clears it. """ adFreeSponsor: String """ How much paid placement it carries. """ advertising: AdvertisingMode! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AudienceAdvertisingUpdate. """ type AudienceAdvertisingUpdatePayload { """ Audience that was updated. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: 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 implementation of the moderation module's lookups on chat. """ type AudienceChatModerationView implements IAudienceChatModeration { """ The feed's kept events after a cursor, oldest first. Only the provider signed in with its service token reads it. """ events( """ The cursor of the last event handled. """ after: ID """ How many at most (up to 200, the default). """ first: Int ): ChatModerationEventPage! @requires(permissions: ["chat:moderate:*"]) """ What an AI host may tell the room of an event's message about where it is, to answer from facts: a venue's details (address, hours, cover), tonight (events and the running order) and, with days, its events after tonight; a locale's events at its venues through tonight and days more. Performers by name only where they are Public, and never anyone a block stands between them and the message's sender. Moderation::RoomInfo. """ room( """ An event of the feed in that room. """ cursor: ID! """ How many days after tonight to list events for (14 at most). """ days: Int = 0 ): JSON @requires(permissions: ["chat:moderate:*"]) """ What the audience's admins set for the provider signed in, in the console's Moderation plugin: only the values someone set, camelCased, with configured and updatedAt. Null for a provider without settings. Arbiter reads Moderation::ArbiterSettings here. """ settings: JSON @requires(permissions: ["chat:moderate:*"]) } """ 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:*"]) """ A locale's chat transcript, newest first. Admins only; talent who can post there (Person.chat.rooms) read its last 24 hours. """ localeMessages( """ 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 return removed messages, each with its removal. Ignored for talent. """ includeRemoved: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ The ID of the locale. """ localeId: ID! ): LocaleMessageConnection! @requires(permissions: ["chat:read:mine"]) """ The instance's IAudienceChatModeration mixin. Left out of the schema where its module isn't installed. """ moderation: IAudienceChatModeration! @endpoint(in: [AUDIENCE, STAFF]) """ 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! """ Who a room's admins can post as besides themselves and the venue (sendChatMessage asPersonId): the people on its events and lineup tonight, those on now first, then a venue's regulars. Empty for anyone but the room's admins. """ roomHosts( """ The locale whose room it is (or venueId). """ localeId: ID """ The venue whose room it is (or localeId). """ venueId: ID ): [ChatHostChoice!]! @requires(permissions: ["chat:read:mine"]) """ The audience's chat rooms, the most recently active first. Admins see every venue and locale; venue listing managers their own venues. """ 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"]) """ 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:*"]) """ People banned from a venue (its chat and seeing it), newest first. Admins, and the managers of that venue's listing, only. """ venueBans( """ 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 """ The venue UUID. """ venueId: ID! ): VenueChatBanConnection! @requires(permissions: ["chat:moderate:mine", "chat:moderate:venue"]) """ A venue's chat transcript, newest first. Admins, and the managers of that venue's listing, only; talent who can post there (Person.chat.rooms) read its last 24 hours. """ venueMessages( """ 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 return removed messages, each with its removal, so messages taken down for breaking the terms stay on record. Ignored for talent. """ includeRemoved: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ The ID of the venue. """ venueId: ID! ): VenueMessageConnection! @requires(permissions: ["chat:read:mine", "chat:read:venue"]) } """ 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! """ Finds Meta metro areas (DMAs) to link locales to. Admins only. """ metroSearch( """ 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 """ A city or metro name, e.g. Seattle. """ query: String! ): MetaMetroConnection! @requires(permissions: ["facebook:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) """ The audience's own Facebook Page. Its managers can run the audience's console. """ page: Page """ Finds Facebook Pages and profiles to link. Admins only. """ search( """ 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 """ A name, a Facebook id or username, or a facebook.com link. """ query: String! ): FacebookSearchResultConnection! @requires(permissions: ["facebook:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) } """ 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 } """ Editable audience details. """ input AudienceInput { """ App Review end time: App Review's sandbox account gets "Pretend I'm here" and the review sign-in code works until then. Null ends it. """ appReviewUntil: ISO8601DateTime """ Whether app sign-ins must pass device attestation: start with REPORT, then ENFORCE once old app versions are gone. """ deviceAttestationMode: DeviceAttestationMode """ Ways to donate its apps don't offer (Donations): these off, the rest on. """ disabledDonationProviders: [DonationProvider!] """ Plugins to mark disabled and hide in the admin plugin list. Does not stop runtime behavior. """ disabledPluginKeys: [String!] """ Ways to tip its apps don't offer (Tipping): these off, the rest on. """ disabledTipProviders: [TipProvider!] """ The audience's own Facebook Page, by ID or username; an empty string unlinks it. Changed only from /v1/tenants/graphql. """ facebookPageId: String """ Audience display name. """ name: String """ Let people show a tribe to everyone. Off (the default), a tribe shows only to the people who share it. """ publicTribes: Boolean """ How people can sign in to its apps and website: these on, the rest off. At least one of Facebook, Apple and Google stays on. """ signInMethods: [SignInMethod!] """ Warnings to show before sign-in methods, with Cancel and Continue. Replaces them all; [] removes them. """ signInWarnings: [SignInWarningInput!] """ Unique audience subdomain. """ subdomain: String } """ Autogenerated input type of AudienceInviteReset """ input AudienceInviteResetInput { """ The ID of the audience. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AudienceInviteReset. """ type AudienceInviteResetPayload { """ The audience, with its new invite link. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: 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 { """ Permissions granted to this member on venues, people, or locales. """ accessGrants: [AccessGrant!]! @requires(permissions: ["audience:read:*", "audience:admin:*"]) @endpoint(in: [STAFF]) """ 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 audience's venues they are banned from (the venue's chat and seeing it), newest first. """ venueBans: [VenueChatBan!]! @requires(permissions: ["audience:read:*", "audience:admin:*"]) @endpoint(in: [STAFF]) } """ Autogenerated input type of AudienceMemberBan """ input AudienceMemberBanInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the membership. """ id: ID! """ Why, for the audience's admins. The member isn't shown it. """ reason: String } """ Autogenerated return type of AudienceMemberBan. """ type AudienceMemberBanPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The member, after the change. """ member: AudienceMember! } """ 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 } """ Autogenerated input type of AudienceMemberKick """ input AudienceMemberKickInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the membership. """ id: ID! } """ Autogenerated return type of AudienceMemberKick. """ type AudienceMemberKickPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The member, after the change. """ member: AudienceMember! } """ Autogenerated input type of AudienceMemberUnban """ input AudienceMemberUnbanInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the membership. """ id: ID! } """ Autogenerated return type of AudienceMemberUnban. """ type AudienceMemberUnbanPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The member, after the change. """ member: 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 } """ Autogenerated input type of AudienceMusixmatchKeySet """ input AudienceMusixmatchKeySetInput { """ The Musixmatch API key, or empty to remove it. """ apiKey: String! """ The audience, on the platform console. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AudienceMusixmatchKeySet. """ type AudienceMusixmatchKeySetPayload { """ The audience. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The kept key, checked; null once removed. """ musixmatch: MusixmatchKey } """ 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 Places implementation of the places module's root lookups. """ type AudiencePlacesView implements IAudiencePlaces { """ Finds places on Google Maps to set as venues' and locales' locations. """ search( """ 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 """ Prefer places near this locale. """ localeId: ID """ A place's name or address, as typed. """ query: String! """ Only cities, neighborhoods and other regions, for locales. """ regions: Boolean = false ): PlaceSearchResultConnection! @requires(permissions: ["places:read:*"]) } """ 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 } """ Autogenerated input type of AudiencePrivacyPassUpdate """ input AudiencePrivacyPassUpdateInput { """ The price, 99 to 100000; null stops selling it. """ cents: Int """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How long one lasts, 1 to 366 days. Left out, unchanged. """ days: Int } """ Autogenerated return type of AudiencePrivacyPassUpdate. """ type AudiencePrivacyPassUpdatePayload { """ Audience that was updated. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 Rooms implementation of the rooms module's root lookups. """ type AudienceRoomsView implements IAudienceRooms { """ The rooms you're in, the most recently active first: your venues' and the venues where your talent works, and the open rooms of events there in the next 30 days. Admins get every room anyone has opened. """ mine: [Room!]! @requires(permissions: ["rooms:read:member"]) """ A room by its UUID; null when you're not in it, or it has closed. """ room( """ Its UUID. """ id: ID! ): Room @requires(permissions: ["rooms:read:member"]) } """ 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 } """ An audience's design system preset, tagline and color overrides, fonts and logos. """ input AudienceThemeInput { """ Token overrides for dark mode. """ dark: [ThemeTokenInput!] """ Fonts; omitted means the design system's. """ fonts: ThemeFontsInput """ Token overrides for light mode. """ light: [ThemeTokenInput!] """ Logo images; omitted means none. """ logos: ThemeLogosInput """ Design system preset, e.g. default or hot_mess. """ preset: String! """ One line about the audience, in its own voice. """ tagline: String } """ Autogenerated input type of AudienceThemeUpdate """ input AudienceThemeUpdateInput { """ The ID of the audience. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The new theme. """ theme: AudienceThemeInput! } """ Autogenerated return type of AudienceThemeUpdate. """ type AudienceThemeUpdatePayload { """ Audience that was updated. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: 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! } """ Autogenerated input type of AudienceUpdate """ input AudienceUpdateInput { """ The ID of the audience. Defaults to the endpoint audience. """ audienceId: ID """ Fields to change. """ audienceInput: AudienceInput! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of AudienceUpdate. """ type AudienceUpdatePayload { """ Audience that was updated. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ The local Venues implementation of an audience's venues. """ type AudienceVenuesView implements IAudienceVenues { """ A venue's staff devices, newest first. Admins, and the managers of that venue's listing, only. """ devices( """ 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 """ The venue UUID. """ venueId: ID! ): VenueDeviceGrantConnection! @requires(permissions: ["venues:admin:mine", "venues:admin:venue"]) @endpoint(in: [AUDIENCE, STAFF]) """ Pairs administrators said are different places, open and undone, newest first, to reassess. Administrators only. """ dismissedDuplicates: [VenueDuplicateDismissal!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [STAFF]) """ Venues that are most likely the same place, to merge (mergeVenue), leaving out pairs dismissed as different places (dismissVenueDuplicate). Administrators only. """ duplicates: [VenueDuplicate!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [STAFF]) """ Venues of other audiences this one could link (linkVenue), by name or Google place, at most 25: public, visible ones still open (any venue for platform admins), leaving out ones it already lists. Admins only. """ linkable( """ Only the venue at this Google place. """ googlePlaceId: String """ Only venues whose name contains this. """ search: String ): [Venue!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [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 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! } """ Autogenerated input type of BingoCallUndo """ input BingoCallUndoInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ id: ID! } """ Autogenerated return type of BingoCallUndo. """ type BingoCallUndoPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ game: BingoGame """ The round. """ round: TriviaRound } """ 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! } """ Autogenerated input type of BingoGameEnd """ input BingoGameEndInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ id: ID! } """ Autogenerated return type of BingoGameEnd. """ type BingoGameEndPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ game: BingoGame """ The round. """ round: TriviaRound } """ Autogenerated input type of BingoGameStart """ input BingoGameStartInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What wins it, as the host says it: Four corners. """ pattern: String """ 75-ball (the default) or 90-ball. """ style: BingoStyle """ The venue. """ venueId: ID! } """ Autogenerated return type of BingoGameStart. """ type BingoGameStartPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ game: BingoGame """ The round. """ round: TriviaRound } """ Autogenerated input type of BingoNumberDraw """ input BingoNumberDrawInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ id: ID! } """ Autogenerated return type of BingoNumberDraw. """ type BingoNumberDrawPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The game. """ game: BingoGame """ The round. """ round: TriviaRound } """ 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! } """ Autogenerated input type of BrandingConfigApply """ input BrandingConfigApplyInput { """ The ID of the audience. Defaults to the endpoint audience. """ audienceId: ID """ A platform-wide config or one of the audience's. """ brandingConfigId: ID! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ A tagline to use instead of the config's. """ tagline: String } """ Autogenerated return type of BrandingConfigApply. """ type BrandingConfigApplyPayload { """ Audience that was updated. """ audience: Audience! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of BrandingConfigDelete """ input BrandingConfigDeleteInput { """ The audience whose console asks. Defaults to the endpoint audience. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The config's ID. """ id: ID! } """ Autogenerated return type of BrandingConfigDelete. """ type BrandingConfigDeletePayload { """ The audience asked from, with its branding configs. """ audience: Audience """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The deleted config's ID. """ deletedId: ID! } """ Autogenerated input type of BrandingConfigUpload """ input BrandingConfigUploadInput { """ The audience it belongs to. Defaults to the endpoint audience; omit on the tenants endpoint for a platform-wide config. """ audienceId: ID """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The branding config file's contents. """ json: String! """ Its name, instead of the file's "name". """ name: String """ Store it for every audience instead of this one (administrators). """ platformWide: Boolean = false } """ Autogenerated return type of BrandingConfigUpload. """ type BrandingConfigUploadPayload { """ The audience asked from, with its branding configs. """ audience: Audience """ The stored config. """ brandingConfig: BrandingConfig! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether it replaced an earlier upload with the same key. """ replaced: Boolean! } """ 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 } """ How the audience orders one app screen's cards (Layouts::Arrangement), for Olympus: its content cards in order, which it leaves out, and where announcements and promo slots go. """ type CardArrangement { """ How many content cards come before its announcements. """ announcementsAfter: Int! """ The screen's content cards, in the audience's order. """ cards: [CardArrangementCard!]! """ Whether the audience set its own; false is the platform's default. """ customized: Boolean! """ The screen's default for announcementsAfter. """ defaultAnnouncementsAfter: Int! """ The screen's default for promoAfter. """ defaultPromoAfter: [Int!]! """ The most promo slots a screen can have. """ maxPromoSlots: Int! """ Where the promo slots go: after this many content cards each. Empty is no promoted cards on this screen. """ promoAfter: [Int!]! """ The screen. """ screen: LayoutScreen! } """ One kind of content card on a screen, as the audience arranged it. """ type CardArrangementCard { """ What the card shows. """ description: String! """ Whether the audience leaves it out of the screen. """ hidden: Boolean! """ The card kind the apps draw, e.g. now.stage. """ kind: String! """ Its name in Olympus, e.g. "On stage". """ label: String! } """ Autogenerated input type of CardArrangementUpdate """ input CardArrangementUpdateInput { """ How many content cards come before announcements. """ announcementsAfter: Int """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Card kinds to leave out of the screen. """ hidden: [String!] """ Card kinds, first to last. """ order: [String!] """ Where promo slots go: after this many content cards each, at most two and never at the top. Empty turns them off here. """ promoAfter: [Int!] """ Go back to the default for this screen. """ reset: Boolean """ The screen. """ screen: LayoutScreen! } """ Autogenerated return type of CardArrangementUpdate. """ type CardArrangementUpdatePayload { """ The screen as now arranged. """ cardArrangement: CardArrangement! """ 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! } """ An audience's own words for one category of promoted card. Leave a field out, or blank, for the default. """ input CardCategoryCopyInput { """ Examples, e.g. "STI testing, PrEP clinics". """ description: String """ Whether people can turn it off. Announcements never can. """ hideable: Boolean """ The category: 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 } """ Autogenerated input type of ChatChannelSet """ input ChatChannelSetInput { """ The channel's ID, or a link to it. """ channel: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The locale whose room it is (or venueId). """ localeId: ID """ The room's channel in the server the community migrated from (connectChat migratedFrom), whose messages come in too. Omitted keeps it; an empty string clears it. """ migratedChannel: String """ The venue whose room it is (or localeId). """ venueId: ID } """ Autogenerated return type of ChatChannelSet. """ type ChatChannelSetPayload { """ The channel, or null once cleared. """ channel: ChatChannel """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatConnect """ input ChatConnectInput { """ The provider's bot token, e.g. from the Discord Developer Portal (Bot > Token). """ botToken: String """ Whether the bot bridges the rooms: the apps keep their rooms and each room's lines go both ways with its channel. Needs a bot token and a provider that bridges (ChatProvider.bridges). """ bridge: Boolean """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The community on the provider: a Discord server's ID, or a link into it. Required when connecting. """ community: String """ Matrix only: the homeserver the bot's account is on (its address, e.g. matrix.example.org); left out, the community's own server. An empty string clears it. """ homeserver: String """ The link that lets people into the community, e.g. https://discord.gg/abc. """ inviteUrl: String """ The server the community is moving from (its ID, or a link into it), where the bot is too: each room's old channel (setChatChannel migratedChannel) comes into the room as well, and is copied into the new channel. An empty string clears it. """ migratedFrom: String """ The provider, e.g. discord. """ provider: String! """ With the bridge: only bring the provider's messages in, for signed-in people to read and report in the apps, and send nothing out (people reply on the provider). The bot then needs only View Channels and Read Message History. """ readOnly: Boolean """ A venue with a community of its own (e.g. its own Discord server): its room goes there instead of the audience's. Left out for the audience's. """ venueId: ID } """ Autogenerated return type of ChatConnect. """ type ChatConnectPayload { """ The connection, after the change. """ account: ChatAccount! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatDisconnect """ input ChatDisconnectInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ A venue's own community: its room goes back to the audience's chat. """ venueId: ID } """ Autogenerated return type of ChatDisconnect. """ type ChatDisconnectPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The audience's provider, after the change. """ provider: ChatProvider! } """ One of your friends, as a chat room names them. """ type ChatFriend { """ Their name in full. """ name: String """ Their user ID. """ userId: ID! } """ Someone a room's admins can post as from the console (sendChatMessage asPersonId, tagged HOST): who hosts in the room tonight, or a regular whose home venue it is. """ type ChatHostChoice { """ When what they are on ends. """ endsAt: ISO8601DateTime """ What they are on: an event's name, or tonight's lineup. Null for a regular. """ onName: String """ Whether what they are on is on now. """ onNow: Boolean! """ The person (talent listing). """ person: Person! """ When what they are on starts, or when they went on. """ startsAt: ISO8601DateTime } """ 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! } """ Autogenerated input type of ChatLinkPromote """ input ChatLinkPromoteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The venue's or event's chat link (SocialLink.id). """ socialLinkId: ID! } """ Autogenerated return type of ChatLinkPromote. """ type ChatLinkPromotePayload { """ The venue's or event's chat account. """ account: ChatAccount! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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! } """ Autogenerated input type of ChatMessagePin """ input ChatMessagePinInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the venue or locale message. """ id: ID! """ Pin it (true) or unpin it (false). """ pinned: Boolean! } """ Autogenerated return type of ChatMessagePin. """ type ChatMessagePinPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message, in a locale's room. """ localeMessage: LocaleMessage """ The message, in a venue's room. """ venueMessage: VenueMessage } """ 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 ChatMessageRemove """ input ChatMessageRemoveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the venue or locale message. """ id: ID! """ Why it was removed, such as the term it broke. Only the console shows it. """ 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! } """ Autogenerated return type of ChatMessageRemove. """ type ChatMessageRemovePayload { """ 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 ChatMessageSend """ input ChatMessageSendInput { """ Post as this person (talent), with their name and photo and the HOST role. """ asPersonId: ID """ Post as the venue, with its name and photo. Venue rooms only. """ asVenue: Boolean = false """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ When a SPECIAL stops showing. Required for one. """ endsAt: ISO8601DateTime """ The event an EVENT message shares. """ eventId: ID """ What to post. """ kind: ChatKind = TEXT """ The locale whose room to post in (or venueId). """ localeId: ID """ The text, or the body or caption of a rich message. """ message: String = "" """ A PHOTO message's photo, or an announcement's: an image URL, or an image uploaded as a data: URI. """ photo: String """ Pin an ANNOUNCEMENT under the room's title, replacing the pinned one. """ pinned: Boolean = false """ An ANNOUNCEMENT or SPECIAL's headline. """ title: String """ The venue whose room to post in (or localeId). """ venueId: ID } """ 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! } """ Autogenerated return type of ChatMessageSend. """ type ChatMessageSendPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message, in a locale's room. """ localeMessage: LocaleMessage """ The message, in a venue's room. """ venueMessage: VenueMessage } """ Autogenerated input type of ChatMessageUpdate """ input ChatMessageUpdateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ When a special stops showing. """ endsAt: ISO8601DateTime """ The ID of the venue or locale message. """ id: ID! """ The body. """ message: String """ The headline. """ title: String } """ Autogenerated return type of ChatMessageUpdate. """ type ChatMessageUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The message, in a locale's room. """ localeMessage: LocaleMessage """ The message, in a venue's room. """ venueMessage: VenueMessage } """ A message its sender or an admin edited. """ type ChatMessageUpdated { """ The message as it is now. """ message: ChatMessage! } """ What a moderator does to a person in one venue chat. """ enum ChatModerationAction { """ Drops them and keeps them out of this room. """ BAN """ Drops them from the room now; they may come back. """ KICK """ Lets a banned person back in. """ UNBAN } """ Autogenerated input type of ChatModerationBanUser """ input ChatModerationBanUserInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ Why, in a line, for the admins. """ reason: String """ Who: their handle in this provider's feed. """ subject: ID! """ The venue whose room (the room id on its events). """ venueId: ID! } """ Autogenerated return type of ChatModerationBanUser. """ type ChatModerationBanUserPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ The moderation policy's categories (Moderation::CATEGORIES), most severe first. """ enum ChatModerationCategory { """ The policy's body shaming category. """ BODY_SHAMING """ The policy's doxxing category. """ DOXXING """ The policy's drug sales category. """ DRUG_SALES """ The policy's exclusionary preference category. """ EXCLUSIONARY_PREFERENCE """ The policy's harassment category. """ HARASSMENT """ The policy's hate category. """ HATE """ The policy's minors category. """ MINORS """ The policy's outing category. """ OUTING """ The policy's self harm category. """ SELF_HARM """ The policy's sexual harassment category. """ SEXUAL_HARASSMENT """ The policy's sex work category. """ SEX_WORK """ The policy's spam category. """ SPAM """ The policy's threats category. """ THREATS """ The policy's unsafe venue category. """ UNSAFE_VENUE } """ Every kept event after the cursor a provider subscribed from has been sent; what follows is live. A provider that keeps its cursor can save it from here on. """ type ChatModerationCaughtUp { """ The last event sent, or the cursor it subscribed from if none were. """ cursor: ID } """ Autogenerated input type of ChatModerationCooldownUser """ input ChatModerationCooldownUserInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ How long. """ minutes: Int! """ Why, in a line, for the admins. """ reason: String """ Who: their handle in this provider's feed. """ subject: ID! """ The venue whose room (the room id on its events). """ venueId: ID! } """ Autogenerated return type of ChatModerationCooldownUser. """ type ChatModerationCooldownUserPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationCrisisResources """ input ChatModerationCrisisResourcesInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose sender to offer support. """ cursor: ID! """ Why, in a line, for the admins. """ reason: String } """ Autogenerated return type of ChatModerationCrisisResources. """ type ChatModerationCrisisResourcesPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationEscalate """ input ChatModerationEscalateInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose message to escalate. """ cursor: ID! """ Why, in a line, for the admins. """ reason: String } """ Autogenerated return type of ChatModerationEscalate. """ type ChatModerationEscalatePayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ One thing on the moderation feed (Subscription.chatModeration): a chat event (IChatModerationEvent), or a marker about the feed itself. """ union ChatModerationEvent = ChatModerationCaughtUp | ChatModerationFeedGap | ChatModerationGlamOutput | ChatModerationMessageCreated | ChatModerationMessageRemoved | ChatModerationMessageReported | ChatModerationRoomCleared | ChatModerationUserBanned | ChatModerationUserKicked | ChatModerationUserUnbanned """ Events of the moderation feed after a cursor, oldest first (Query.chat.moderation.events). """ type ChatModerationEventPage { """ The last event in it, to ask for the next page after. """ cursor: ID """ The events. """ events: [ChatModerationEvent!]! """ Whether some events after the cursor asked from are no longer kept. """ gap: Boolean! """ Whether there are more after this page. """ more: Boolean! } """ The events after the cursor a provider asked from are no longer kept (ExtensionEvent::RETENTION), so it missed some. What follows starts from the oldest event kept. """ type ChatModerationFeedGap { """ The cursor it asked from. """ after: ID! } """ A handle Glam's words mention ("7CE8"), and who it stands for in this provider's feed. """ type ChatModerationGlamHandle { """ Tonight's handle in the room, as Glam wrote it. """ handle: String! """ Who: their handle in this provider's feed. """ subject: String! } """ Something Glam's fast lane did, for Arbiter to review with reviewGlamOutput (doc/GLAM_FAST_LANE.md). Glam's words keep tonight's handles; `handles` says who each is. """ type ChatModerationGlamOutput implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ For a flag: targeting, body_shaming, harassment, doxxing or other. """ category: String """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The handles its reason and text mention. """ handles: [ChatModerationGlamHandle!]! """ What it did. """ kind: GlamOutputKind! """ The line that woke it. """ message: ChatModerationLine """ What reviewGlamOutput takes. """ outputId: ID! """ Whether it posted a line (a reply or a nudge) that a review can take down. """ posted: Boolean! """ Glam's reason, in its words. """ reason: String """ The room it happened in. """ room: ChatModerationRoom! """ For a safety response: self_harm, medical, drink_spiking, threat or harassment_report. """ safetyKind: String """ Who it is about: their handle in this provider's feed. """ subject: String """ For a flag: Glam's suggestion. """ suggestedAction: GlamAction """ The line it is about: replied to or flagged. """ target: ChatModerationLine """ What it said, for a reply or a nudge. """ text: String } """ Autogenerated input type of ChatModerationKickUser """ input ChatModerationKickUserInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ Why, in a line, for the admins. """ reason: String """ Who: their handle in this provider's feed. """ subject: ID! """ The venue whose room (the room id on its events). """ venueId: ID! } """ Autogenerated return type of ChatModerationKickUser. """ type ChatModerationKickUserPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ A chat message in the moderation feed, as a provider reads it. """ type ChatModerationLine { """ A rich message's own words, without its title. """ body: String """ What the message is. """ kind: ChatKind """ The role it was sent with: posts by the venue, a host or staff are the room's own, and only open to escalate. """ role: ChatRole """ When it was sent. """ sentAt: ISO8601DateTime """ Who sent it: their handle in this provider's feed. """ subject: String! """ What it says, in words, a rich message as one line of text ("Announcement: Coat check" then its words). """ text: String """ A rich message's name, apart from its words: an announcement's or special's title, the shared event's, the song request. """ title: String } """ Someone sent a message. """ type ChatModerationMessageCreated implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ The earlier lines in the room, oldest first. """ context: [ChatModerationLine!]! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The message. """ message: ChatModerationLine! """ The room it happened in. """ room: ChatModerationRoom! } """ A message was taken out of the room, by its sender, an admin or a provider. """ type ChatModerationMessageRemoved implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The message removed. """ message: ChatModerationLine! """ The room it happened in. """ room: ChatModerationRoom! } """ Someone reported a message to the admins. """ type ChatModerationMessageReported implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The message reported. """ message: ChatModerationLine! """ Why, in their words. """ reason: String """ The room it happened in. """ room: ChatModerationRoom! } """ What the audience's remote moderation provider does about its feed, signed in with its service token. Each is recorded for the admins (ModerationAction), and none acts on the people who run a room. """ type ChatModerationMutations { """ Bans someone from a venue's room for 24 hours, unless an admin confirms it by banning them too. Not the people who run the room. """ banUser( """ Parameters for ChatModerationBanUser """ input: ChatModerationBanUserInput! ): ChatModerationBanUserPayload @requires(permissions: ["chat:moderate:*"]) """ Takes someone out of a venue's room for a few minutes (1 to 30), unless a longer ban holds. Not the people who run the room. """ cooldownUser( """ Parameters for ChatModerationCooldownUser """ input: ChatModerationCooldownUserInput! ): ChatModerationCooldownUserPayload @requires(permissions: ["chat:moderate:*"]) """ Offers the sender of an event's message the crisis and support lines, privately. It never touches their message or their account. """ crisisResources( """ Parameters for ChatModerationCrisisResources """ input: ChatModerationCrisisResourcesInput! ): ChatModerationCrisisResourcesPayload @requires(permissions: ["chat:moderate:*"]) """ Puts an event's message in front of the audience's admins as a report, with the category and reason. """ escalate( """ Parameters for ChatModerationEscalate """ input: ChatModerationEscalateInput! ): ChatModerationEscalatePayload @requires(permissions: ["chat:moderate:*"]) """ Takes someone out of a venue's room; they may come back. Not the people who run the room. """ kickUser( """ Parameters for ChatModerationKickUser """ input: ChatModerationKickUserInput! ): ChatModerationKickUserPayload @requires(permissions: ["chat:moderate:*"]) """ Tells the venue's staff on shift, on their devices, that an event's message needs a look (a fight, a spiked drink). It opens no case; escalate does. """ notifyVenue( """ Parameters for ChatModerationNotifyVenue """ input: ChatModerationNotifyVenueInput! ): ChatModerationNotifyVenuePayload @requires(permissions: ["chat:moderate:*"]) """ Pins an event's message under its room's title (set times, a lost item), replacing the one pinned there. Venue rooms only. """ pinMessage( """ Parameters for ChatModerationPinMessage """ input: ChatModerationPinMessageInput! ): ChatModerationPinMessagePayload @requires(permissions: ["chat:moderate:*"]) """ Keeps a run of the AI host on one chat message (MessageAnalysis): its ruling, what was done and its deep analysis, for Arbiter to read anywhere without running a model. The message is a feed event (`cursor`), or one on the audience's chat provider (`chatProvider` and `messageId`), e.g. a Discord message. Each call is a new run of its configuration, which wins over the earlier ones, unless `version` names a run to update. A live recordDecision about a message is a run on its own. Nothing is done in the room. """ recordAnalysis( """ Parameters for ChatModerationRecordAnalysis """ input: ChatModerationRecordAnalysisInput! ): ChatModerationRecordAnalysisPayload @requires(permissions: ["chat:moderate:*"]) """ Keeps what the AI host decided about a message, with everything it read and checked, for the audience's admins to diagnose (HostDecision). Send it again as it changes (approved, carried out, labelled): the same id updates it. Nothing is done in the room. """ recordDecision( """ Parameters for ChatModerationRecordDecision """ input: ChatModerationRecordDecisionInput! ): ChatModerationRecordDecisionPayload @requires(permissions: ["chat:moderate:*"]) """ Takes an event's message out of its room. Not for posts by the people who run the room; escalate those. """ removeMessage( """ Parameters for ChatModerationRemoveMessage """ input: ChatModerationRemoveMessageInput! ): ChatModerationRemoveMessagePayload @requires(permissions: ["chat:moderate:*"]) """ Arbiter's verdict on something Glam's fast lane did (a glam.output event): confirm, downgrade, overturn or escalate (Glam::Review). Glam only suggests; this is where an action is taken, with the usual guards. Overturns are silent. Anything but confirm is logged as a disagreement. """ reviewGlamOutput( """ Parameters for ChatModerationReviewGlamOutput """ input: ChatModerationReviewGlamOutputInput! ): ChatModerationReviewGlamOutputPayload @requires(permissions: ["chat:moderate:*"]) """ The AI host says something in the room of an event's message, as the venue under its title ("Glam (AI host)" by default): an answer, a reminder of the guidelines, a welcome. At most once a minute in a room. Venue rooms only. """ say( """ Parameters for ChatModerationSay """ input: ChatModerationSayInput! ): ChatModerationSayPayload @requires(permissions: ["chat:moderate:*"]) """ Share a current event or approved reference URL for clients to render as a card or link. """ shareCard( """ Parameters for ChatModerationShareCard """ input: ChatModerationShareCardInput! ): ChatModerationShareCardPayload @requires(permissions: ["chat:moderate:*"]) """ Lifts a ban this provider made from a venue's room. A ban an admin made or confirmed is theirs. """ unbanUser( """ Parameters for ChatModerationUnbanUser """ input: ChatModerationUnbanUserInput! ): ChatModerationUnbanUserPayload @requires(permissions: ["chat:moderate:*"]) """ The AI host sends one person a private, kind word (a nudge, a check-in) as a notification only they see. Not the people who run the room. """ warnUser( """ Parameters for ChatModerationWarnUser """ input: ChatModerationWarnUserInput! ): ChatModerationWarnUserPayload @requires(permissions: ["chat:moderate:*"]) } """ Autogenerated input type of ChatModerationNotifyVenue """ input ChatModerationNotifyVenueInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose message staff should see. """ cursor: ID! """ Why, in a line, for the admins. """ reason: String } """ Autogenerated return type of ChatModerationNotifyVenue. """ type ChatModerationNotifyVenuePayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationPinMessage """ input ChatModerationPinMessageInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose message to pin. """ cursor: ID! """ Why, in a line, for the admins. """ reason: String } """ Autogenerated return type of ChatModerationPinMessage. """ type ChatModerationPinMessagePayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ What a moderation provider did (Moderation::ACTIONS). """ enum ChatModerationProviderAction { """ The ban user action. """ BAN_USER """ The cooldown user action. """ COOLDOWN_USER """ The crisis resources action. """ CRISIS_RESOURCES """ The escalate action. """ ESCALATE """ The kick user action. """ KICK_USER """ The notify admins action. """ NOTIFY_ADMINS """ The notify venue action. """ NOTIFY_VENUE """ The open safety alert action. """ OPEN_SAFETY_ALERT """ The pin message action. """ PIN_MESSAGE """ The remove message action. """ REMOVE_MESSAGE """ The resolve appeal action. """ RESOLVE_APPEAL """ The restore message action. """ RESTORE_MESSAGE """ The review glam output action. """ REVIEW_GLAM_OUTPUT """ The say action. """ SAY """ The unban user action. """ UNBAN_USER """ The warn user action. """ WARN_USER } """ Autogenerated input type of ChatModerationRecordAnalysis """ input ChatModerationRecordAnalysisInput { """ What the host did or proposed, in order, each { action, label, state, category, error, punitive, at }. """ actions: JSON """ The deep analysis, in the shape shapeVersion names, up to 256 KB. No chat text or names: send handles. """ analysis: JSON """ The policy category of the ruling. """ category: ChatModerationCategory """ The chat provider, with messageId. """ chatProvider: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the host was, 0 to 1. """ confidence: Float """ The settings it ran with: left out or null for the default, or a named variant (up to 100 characters). """ configuration: String """ The feed event whose message it is. """ cursor: ID """ The host's own ID for the call (recordDecision); its run is updated when it has one. """ decisionId: String """ shadow, not_run, awaiting, done, partial, failed or dismissed. """ executionState: String """ A guard or rule check flagged it. """ flagged: Boolean """ The message's ID on the chat provider. """ messageId: String """ The room, with messageId: a venue or locale ID. """ roomId: String """ venue or locale. """ roomKind: String """ What the host ruled, e.g. no_action, private_nudge. """ ruling: String """ The shape of `analysis`; 1 when left out. """ shapeVersion: Int """ A run of this configuration to update; left out, this is a new run. """ version: Int } """ Autogenerated return type of ChatModerationRecordAnalysis. """ type ChatModerationRecordAnalysisPayload { """ What was kept. """ analysis: MessageAnalysis! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationRecordDecision """ input ChatModerationRecordDecisionInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The decision as the host keeps it (a Glam proposal), with its own `id`, up to 512 KB. """ trace: JSON! } """ Autogenerated return type of ChatModerationRecordDecision. """ type ChatModerationRecordDecisionPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What was kept. """ decision: HostDecision! } """ Autogenerated input type of ChatModerationRemoveMessage """ input ChatModerationRemoveMessageInput { """ The policy category. """ category: ChatModerationCategory! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose message to remove. """ cursor: ID! """ Why, in a line, for the admins. """ reason: String } """ Autogenerated return type of ChatModerationRemoveMessage. """ type ChatModerationRemoveMessagePayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationReviewGlamOutput """ input ChatModerationReviewGlamOutputInput { """ The action to take instead of the suggested one (required for a downgrade). """ action: GlamAction """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The verdict. """ outcome: GlamReviewOutcome! """ The event's outputId. """ outputId: ID! """ Why, in a line, for the disagreement log. """ reason: String """ With overturn: take down the reply Glam posted, when it treated someone as the bad actor. A nudge is always taken down. """ retract: Boolean = false } """ Autogenerated return type of ChatModerationReviewGlamOutput. """ type ChatModerationReviewGlamOutputPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ The room an event in the moderation feed happened in. """ type ChatModerationRoom { """ The venue's or locale's ID. """ id: ID! """ A venue's room or a locale's. """ kind: ChatModerationRoomKind! """ The venue's or locale's name. """ name: String } """ An admin removed every message in the room. """ type ChatModerationRoomCleared implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The room it happened in. """ room: ChatModerationRoom! } """ Whose chat room an event in the moderation feed happened in. """ enum ChatModerationRoomKind { """ A locale's room. """ LOCALE """ A venue's room. """ VENUE } """ Autogenerated input type of ChatModerationSay """ input ChatModerationSayInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose room to speak in. """ cursor: ID! """ conversation, direct_reply or safety. Defaults to conversation. """ purpose: String """ Why, in a line, for the admins. """ reason: String """ What it says, up to 280 characters. Write {{name:}} to name someone in the feed: the server puts in the short name the room shows ("Aurora B."). """ text: String! } """ Autogenerated return type of ChatModerationSay. """ type ChatModerationSayPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationShareCard """ input ChatModerationShareCardInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Confidence from zero to one. """ confidence: Float """ The feed event whose room receives the card. """ cursor: ID! """ conversation, direct_reply or safety. """ purpose: String """ Why this card helps, for staff. """ reason: String """ An approved HTTPS card_url returned by a lookup. """ url: String! } """ Autogenerated return type of ChatModerationShareCard. """ type ChatModerationShareCardPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated input type of ChatModerationUnbanUser """ input ChatModerationUnbanUserInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Why, in a line, for the admins. """ reason: String """ Who: their handle in this provider's feed. """ subject: ID! """ The venue whose room. """ venueId: ID! } """ Autogenerated return type of ChatModerationUnbanUser. """ type ChatModerationUnbanUserPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Someone was banned from the room. """ type ChatModerationUserBanned implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ When a provider's ban runs out; null for a ban that lasts. """ expiresAt: ISO8601DateTime """ The room it happened in. """ room: ChatModerationRoom! """ Who: their handle in this provider's feed. """ subject: String! } """ Someone was taken out of the room; they may come back. """ type ChatModerationUserKicked implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The room it happened in. """ room: ChatModerationRoom! """ Who: their handle in this provider's feed. """ subject: String! } """ A ban from the room was lifted. """ type ChatModerationUserUnbanned implements IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The room it happened in. """ room: ChatModerationRoom! """ Who: their handle in this provider's feed. """ subject: String! } """ Autogenerated input type of ChatModerationWarnUser """ input ChatModerationWarnUserInput { """ The policy category, if any. """ category: ChatModerationCategory """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure the provider is, from 0 to 1. """ confidence: Float """ The event whose message it answers; then subject must be its sender. """ cursor: ID """ conversation, direct_reply or safety; a safety nudge is quiet. """ purpose: String """ Why, in a line, for the admins. """ reason: String """ Who: their handle in this provider's feed. """ subject: ID! """ What it says, up to 280 characters. Write {{name:}} to name someone in the feed: the server puts in the short name the room shows ("Aurora B."). """ text: String! """ The venue whose room (the room id on its events). """ venueId: ID! } """ Autogenerated return type of ChatModerationWarnUser. """ type ChatModerationWarnUserPayload { """ What was recorded. """ action: ModerationAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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! } """ One of an event's chat prompts, in setEventChatPrompts. """ input ChatPromptInput { """ A trivia question's answer, up to 120 characters. """ answer: String """ The ID of a prompt it already has; omitted for a new one. """ id: ID """ What it asks. """ kind: ChatPromptKind = CONVERSATION """ The question, up to 200 characters. """ text: String! } """ 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 } """ Autogenerated input type of ChatPromptRemove """ input ChatPromptRemoveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the prompt. """ id: ID! } """ Autogenerated return type of ChatPromptRemove. """ type ChatPromptRemovePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the change. """ event: Event! } """ Autogenerated input type of ChatPromptShowNext """ input ChatPromptShowNextInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the event. """ id: ID """ The ID of the venue whose room's event to move on. """ venueId: ID } """ Autogenerated return type of ChatPromptShowNext. """ type ChatPromptShowNextPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the prompt went up. """ event: Event! } """ 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!]! } """ Autogenerated input type of ChatPromptsImport """ input ChatPromptsImportInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The file. """ data: JSON! """ The ID of the event. """ id: ID! """ Whether to take the file's settings too, when it has them. """ settings: Boolean = true } """ Autogenerated return type of ChatPromptsImport. """ type ChatPromptsImportPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the import. """ event: Event! """ What the import left out. """ warnings: [String!]! } """ 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 } """ Autogenerated input type of ChatRoomClear """ input ChatRoomClearInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The locale whose room to clear (or venueId). """ localeId: ID """ The venue whose room to clear (or localeId). """ venueId: ID } """ Autogenerated return type of ChatRoomClear. """ type ChatRoomClearPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How many messages were removed. """ removedCount: Int! } """ 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 } """ Autogenerated input type of ChatSync """ input ChatSyncInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ A venue's own server instead of the audience's. """ venueId: ID } """ Autogenerated return type of ChatSync. """ type ChatSyncPayload { """ The account, with what was saved. """ account: ChatAccount! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ How big a screen draws the room's chat (a display's board or chat entry), set from any app so the TV needs no remote (Rick, 2026-11-21). """ enum ChatTextSize { """ Biggest: fewest messages, readable from the back. """ EXTRA_LARGE """ Bigger, for a TV across the room. """ LARGE """ The default. """ MEDIUM """ Smaller: more messages fit. """ SMALL } """ Autogenerated input type of ChatVerify """ input ChatVerifyInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ A venue's own community instead of the audience's. """ venueId: ID } """ Autogenerated return type of ChatVerify. """ type ChatVerifyPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What the provider said, for the admin. """ message: String! """ Whether the provider accepted the token. """ ok: Boolean! } """ 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!]! """ Left out of the directory and flyers. """ hidden: Boolean! @endpoint(in: [STAFF]) """ 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 } """ Autogenerated input type of CommunityResourceDelete """ input CommunityResourceDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The resource. """ id: ID! } """ Autogenerated return type of CommunityResourceDelete. """ type CommunityResourceDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The deleted resource. """ id: ID! } """ A community resource to add or change. Fields left out are left as they are. """ input CommunityResourceInput { """ Where it is. """ address: String """ When its details were checked. """ checkedAt: ISO8601Date """ What it offers. """ description: String """ CommunityResource.facets. """ facets: [String!] """ Leave it out of the directory and flyers. """ hidden: Boolean """ Regular hours. """ hours: [CommunityResourceSlotInput!] """ What to bring or expect. """ intakeNote: String """ Where it is. """ latitude: Float """ The locale it is in; required for a new one. """ localeId: ID """ Where it is. """ longitude: Float """ Its real name; required for a new one. """ name: String """ What lists show instead of its name; required for dv-stalking. """ neutralTitle: String """ The number to call. """ phone: String """ Recurring sessions. """ sessions: [CommunityResourceSlotInput!] """ Where its details were checked. """ sourceUrl: String """ The number to text. """ textNumber: String """ Its website. """ url: String } """ Autogenerated input type of CommunityResourceSave """ input CommunityResourceSaveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The resource to change; left out to add one. """ id: ID """ Its details. """ resource: CommunityResourceInput! } """ Autogenerated return type of CommunityResourceSave. """ type CommunityResourceSavePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The resource, as saved. """ resource: CommunityResource! } """ 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 } """ Regular hours on some days, or a recurring session (a mobile pantry stop). """ input CommunityResourceSlotInput { """ Where a session is, when somewhere else. """ address: String """ Weekdays (0 = Sunday); empty for all. """ days: [Int!] = [] """ Start, HH:MM local time. """ from: String """ Anything to know about it. """ note: String """ What the place is called. """ place: String """ End, HH:MM local time. """ until: String } """ The viewer's role on this audience's staff console, decided for this request: what the console shows them. """ enum ConsoleRole { """ Runs the whole audience: its admins and platform administrators. """ ADMIN """ Edits only what they were granted (`listings`): their venues and talent, the locales they are an admin or editor of, or a venue whose staff they are. """ LISTING """ Signed in, with nothing to manage here. """ MEMBER } """ 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!]! } """ Something a member reported, or someone they blocked, in the audience's report queue. What it said and who it was are kept as they were when it was reported, even after it is gone. """ type ContentReport { """ Whether the reporter also blocked the person responsible. """ blocked: Boolean! """ Whether the viewer may ban the person responsible from the audience. """ canBan: Boolean! """ Whether there is content to take down: a message still showing, a visible photo or an active ping. """ canRemove: Boolean! """ Whether it is with AudienceKit's child safety team: reported for child safety or escalated (escalateContentReport). Its content is withheld while they review it. """ childSafety: Boolean! """ What it said when reported: the message, the ping, the photo caption. """ content: String """ When it was reported. """ createdAt: ISO8601DateTime! """ The photo reported, while it exists. """ eventPhoto: EventPhoto """ The ID of the report. """ id: ID! """ The chat message reported, while it exists. """ messageId: ID """ The talent listing reported, while it exists. """ person: Person """ The ping reported, while it exists. """ pingId: ID """ The reporter's reason, or Blocked for a block. """ reason: String """ The responsible person's membership, to ban them (banAudienceMember). """ reportedMember: AudienceMember """ Who is responsible: the sender, the member reported, the ping's sender. Null for venues and photos. """ reportedUser: Profile """ Who reported it; null for a moderation provider. """ reporter: Profile """ What an admin did about it. """ resolution: ReportResolution """ When an admin resolved it. """ resolvedAt: ISO8601DateTime """ The admin who resolved it. """ resolvedBy: Profile """ When it must be acted on by, when it has a legal deadline: 48 hours after a report of an intimate image shared without consent. """ respondBy: ISO8601DateTime """ Who or what was reported, named as it was then. """ targetName: String """ What kind of thing was reported. """ targetType: ReportTarget! """ Whether a test account filed it (TestUsers): the queue leaves these out. """ testReport: Boolean! """ For a line in a Ping or Quickie chat: it and the lines before it, oldest first, as `{user_id, name, body, sent_at}`, copied when reported. Null otherwise, and while it's with the child safety team. """ transcript: JSON """ The venue reported, or the venue whose room or photo it's in. """ venue: Venue } """ The connection type for ContentReport. """ type ContentReportConnection { """ A list of edges. """ edges: [ContentReportEdge] """ A list of nodes. """ nodes: [ContentReport] """ 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 ContentReportEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: ContentReport } """ Autogenerated input type of ContentReportEscalate """ input ContentReportEscalateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the report. """ id: ID! """ What you saw. """ note: String } """ Autogenerated return type of ContentReportEscalate. """ type ContentReportEscalatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether a child safety case is open for it. """ escalated: Boolean! } """ 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 ContentReportResolve """ input ContentReportResolveInput { """ Ban the person responsible from the audience. """ banUser: Boolean = false """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the report. """ id: ID! """ Why, kept with the ban or the removal. """ reason: String """ Take the reported content down. """ removeContent: Boolean = false } """ Autogenerated return type of ContentReportResolve. """ type ContentReportResolvePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The report, resolved. """ report: ContentReport! } """ 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 CoverNightClear """ input CoverNightClearInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The night. """ night: ISO8601Date! """ The venue. """ venueId: ID! } """ Autogenerated return type of CoverNightClear. """ type CoverNightClearPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The venue, with the cover that night. """ venue: Venue! } """ Autogenerated input type of CoverNightSet """ input CoverNightSetInput { """ The cover that night: zero cents for none, null for the usual price. """ amount: MoneyInput """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ When it starts that night; null for the usual. """ from: TimeOfDay """ A sliding scale that night: the most a buyer can pay, with amount as the suggested. Null (with min) for a fixed cover. """ max: MoneyInput """ A sliding scale that night: the least a buyer can pay. """ min: MoneyInput """ The night; a night runs 6am to 6am. """ night: ISO8601Date! """ When it ends that night; null for the usual. """ until: TimeOfDay """ The venue. """ venueId: ID! } """ Autogenerated return type of CoverNightSet. """ type CoverNightSetPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The change. """ coverNight: CoverNight! """ The venue, with the cover that night. """ venue: Venue! } """ 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! } """ How complete the audience's venue and People records are (AudienceCoverage): how many have a website, a photo, a Google place, upcoming events and each social network, and which locales have no venues. """ type Coverage { """ Locales with no visible venue filed under them, by name. """ emptyLocales: [Locale!]! """ Its People listings (talent and organizations). """ people: CoverageGroup! """ Its visible venues, closed ones left out. """ venues: CoverageGroup! } """ Venues or People: how many there are and how many have each thing a complete record has. """ type CoverageGroup { """ Each stat, in display order. """ stats( """ Only these stats, e.g. ["website"]. """ keys: [String!] ): [CoverageStat!]! """ How many there are. """ total: Int! } """ One coverage stat: how many records have it and which do not. """ type CoverageStat { """ How many have it. """ count: Int! """ website, photo, cover, place, events, social, or a network (instagram, facebook, tiktok, x, threads, youtube, soundcloud, spotify). """ key: String! """ What it is, e.g. "Instagram". """ label: String! """ How many do not have it. """ missing: Int! """ The UUIDs of those that do not, for a filtered list. One query, run only when asked for. """ missingIds: [ID!]! """ How many there are. """ total: Int! } """ 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:*"]) } """ Autogenerated input type of CreditDelete """ input CreditDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The credit to remove. """ id: ID! } """ Autogenerated return type of CreditDelete. """ type CreditDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The removed credit. """ id: ID! } """ 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 } """ Autogenerated input type of CreditSave """ input CreditSaveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ For a republisher, the credit it republished. """ derivedFromId: ID """ Hide it from everyone (true) or show it again (false). """ hidden: Boolean """ The credit to change; leave out to add one. """ id: ID """ The persona credited (required to add one). """ personId: ID """ What they are credited as (required to add one). Suggesters come from accepted suggestions, not from here. """ role: CreditRole """ What they are credited on (required to add one). """ subjectId: ID } """ Autogenerated return type of CreditSave. """ type CreditSavePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The credit as saved. """ credit: Credit! } """ 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 } """ A decision on the evaluation queue: what a worker device answered and, when it was unsure or nothing could decide on its own, the person who decides it. """ type Decision { """ The Soapbox article it is about, if any (whether to feature it nationally). """ article: Article """ The worker's answer: its most likely option. """ choice: String """ When the worker answered. """ completedAt: ISO8601DateTime """ The worker's probability for its choice, 0 to 1. """ confidence: Float """ When it was queued. """ createdAt: ISO8601DateTime! """ When it was decided. """ decidedAt: ISO8601DateTime """ Who decided it; null for auto-apply. """ decidedBy: Profile """ What was decided. """ decidedOption: String """ How it is answered. """ decisionKind: DecisionKind! """ Why the worker failed, when it did. """ error: String """ What kind of work, e.g. submission_research. """ evaluationType: String! """ Its ID. """ id: ID! """ What the worker was given. """ input: JSON! """ When it went to a person; null while a worker has it or it waits on someone else. """ needsPersonAt: ISO8601DateTime """ The answers, with their probabilities. """ options: [DecisionOption!]! """ What it asks. """ question: String """ What the worker found besides its answer. """ result: JSON """ pending, running, completed or failed. """ state: String! """ The suggestion it is about, if any. """ submission: Submission """ Whether the worker couldn't settle on one option. """ unsure: Boolean! } """ The connection type for Decision. """ type DecisionConnection { """ A list of edges. """ edges: [DecisionEdge] """ A list of nodes. """ nodes: [Decision] """ Information to aid in pagination. """ pageInfo: PageInfo! """ How many there are in all, whatever page this is. """ totalCount: Int! } """ Autogenerated input type of DecisionDecide """ input DecisionDecideInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The decision. """ id: ID! """ Why, in a line. """ note: String """ One of its options' keys. """ option: String! } """ Autogenerated return type of DecisionDecide. """ type DecisionDecidePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The decision, decided. """ decision: Decision! } """ An edge in a connection. """ type DecisionEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: Decision } """ How a decision is answered (doc/DECISION_QUEUE.md). """ enum DecisionKind { """ One of several options. """ CHOICE """ A score: the options are the points on its scale. """ SCORE """ Yes or no: two options, yes and no. """ YES_NO } """ One answer a decision offers, with the worker’s probability for it once it has answered. """ type DecisionOption { """ What choosing it means. """ description: String """ Whether the worker couldn't rule it out. More than one option in the set reads as unsure. """ inConformalSet: Boolean! """ Its key, as workers answer with it. """ key: String! """ Its name, for people. """ label: String! """ The worker's probability for it, 0 to 1; null before it answered. """ score: Float } """ A change to the decision queue. """ type DecisionQueueChange { """ What happened. """ change: DecisionQueueChangeKind! """ The decision, as it is now. """ decision: Decision! } """ How the decision queue changed. """ enum DecisionQueueChangeKind { """ It now waits for a person. """ ADDED """ Someone (or auto-apply) decided it: it left the queue. """ DECIDED """ It left the queue to wait on someone else, e.g. a venue asked to confirm it. """ WAITING } """ The decision queue as the server sees it (Evaluations::Status): what waits, what workers have, the worker devices, and the AI host's uploaded calls today. """ type DecisionQueueStatus { """ When it was counted. """ at: ISO8601DateTime! """ Each type of work. """ evaluationTypes: [DecisionQueueTypeCounts!]! """ Calls the AI host uploaded today (Audience.hostDecisions). """ hostDecisionsToday: Int! """ The audience's worker devices, most recently heard from first. """ workers: [DecisionQueueWorker!]! } """ One type of work on the decision queue, counted. """ type DecisionQueueTypeCounts { """ Decided today, by a person or on its own. """ decidedToday: Int! """ e.g. submission_research. """ evaluationType: String! """ Given up on today: no worker could answer it. """ failedToday: Int! """ Waiting for a person. """ needsPerson: Int! """ Waiting for a worker. """ pending: Int! """ A worker has it. """ running: Int! } """ A worker device: a service token with an evaluations scope. """ type DecisionQueueWorker { """ Its service token's ID. """ id: ID! """ When it was last heard from. """ lastUsedAt: ISO8601DateTime """ Its name, e.g. "Rick’s M4". """ name: String! """ How much work it has now. """ running: Int! """ What it may work on, e.g. evaluations:submission_research. """ scopes: [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! """ Last day it shows. """ endsOn: ISO8601Date @endpoint(in: [STAFF]) """ 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 locale it is for; null for every one. """ locale: Locale @endpoint(in: [STAFF]) """ Not showing anywhere. """ paused: Boolean! @endpoint(in: [STAFF]) """ The resource it points at, if any. """ resource: CommunityResource """ Weekdays it shows on (0 = Sunday); empty for every day. """ showDays: [Int!]! @endpoint(in: [STAFF]) """ HH:MM it starts showing each day. """ showFrom: String @endpoint(in: [STAFF]) """ HH:MM it stops showing each day. """ showUntil: String @endpoint(in: [STAFF]) """ First day it shows. """ startsOn: ISO8601Date @endpoint(in: [STAFF]) """ What it is about; its tone and category follow from these. """ tags: [String!]! """ gentle, health or playful, from its tags. """ tone: String! } """ Autogenerated input type of DigitalFlyerDelete """ input DigitalFlyerDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The flyer. """ id: ID! } """ Autogenerated return type of DigitalFlyerDelete. """ type DigitalFlyerDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The deleted flyer. """ id: ID! } """ A digital flyer to add or change. Fields left out are left as they are. """ input DigitalFlyerInput { """ A line or two under the headline. """ body: String """ The resource it points at; null for none. """ communityResourceId: ID """ Last day it shows. """ endsOn: ISO8601Date """ What it says; required for a new one. """ headline: String """ What its link says. """ linkLabel: String """ Where its link goes. """ linkUrl: String """ The locale it is for; null for the whole audience. """ localeId: ID """ Stop showing it. """ paused: Boolean """ Weekdays it shows on (0 = Sunday). """ showDays: [Int!] """ HH:MM it starts showing each day. """ showFrom: String """ HH:MM it stops showing each day. """ showUntil: String """ First day it shows. """ startsOn: ISO8601Date """ DigitalFlyer.tags. """ tags: [String!] } """ Autogenerated input type of DigitalFlyerSave """ input DigitalFlyerSaveInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Its details. """ flyer: DigitalFlyerInput! """ The flyer to change; left out to add one. """ id: ID } """ Autogenerated return type of DigitalFlyerSave. """ type DigitalFlyerSavePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The flyer, as saved. """ flyer: DigitalFlyer! } """ 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! } """ Autogenerated input type of DiscordAppSet """ input DiscordAppSetInput { """ The Bot > Token from the Developer Portal. """ botToken: String """ The application's ID (OAuth2 > Client ID). """ clientId: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ OAuth2 > Client Secret. """ clientSecret: String """ General Information > Public Key. Read off the application when the bot token checks out, so it can be left out. """ publicKey: String } """ Autogenerated return type of DiscordAppSet. """ type DiscordAppSetPayload { """ The bot's name on Discord, once its token checks out. """ botName: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The application, after the change. """ discordApp: DiscordApp! } """ Autogenerated input type of DiscordAppSetUp """ input DiscordAppSetUpInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of DiscordAppSetUp. """ type DiscordAppSetUpPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The application. """ discordApp: DiscordApp! } """ Autogenerated input type of DiscordBotInstallStart """ input DiscordBotInstallStartInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The console page to come back to. """ returnTo: String! """ A venue's own server (e.g. 801 Labs'), for its room, instead of the audience's. """ venueId: ID } """ Autogenerated return type of DiscordBotInstallStart. """ type DiscordBotInstallStartPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether there's a bot to add: the audience's own application, or AudienceKit's. """ configured: Boolean! """ Discord's authorize page, to open in the browser. """ url: 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 } """ One kind of thing a venue's screen can show, in a display's ranking (VenueDisplay). """ enum DisplayScreen { """ Tonight's lineup with the chat beside it, and a slideshow between looks. """ BOARD """ The room's chat wall, the whole screen. """ CHAT """ The karaoke app (KaraFun) running on the Mac that drives the screen, shown live. """ KARAOKE """ Tonight's lineup and the slideshow, without the chat. """ LINEUP """ Bingo, trivia or sing-along lyrics, whichever runs at the venue right now. """ LIVE_ACTIVITY """ The venue's photographers' recent photos. """ PHOTO_WALL """ One of the venue’s slideshows: stills and videos. """ SLIDESHOW } """ Songs in a random order where neighbouring songs do not sound or feel too alike (Diverse Shuffle). """ type DiverseShuffle { """ The songs in order, as they were given. """ keys: [String!]! """ How it picked each song. """ mode: DiverseShuffleMode! """ The rule profile it followed. """ profile: String! """ The seed: the same seed gives the same order. """ seed: String! """ Each song, with why it went there. """ steps: [DiverseShuffleStep!]! } """ One hard rule checked for a song as it was placed. """ type DiverseShuffleCheck { """ min_distance, max_same_in_window or min_gap. """ check: String! """ Why it passed without comparing, or what matched. """ note: String """ Whether the song passed it. """ passed: Boolean! """ The rule: its dimension and method, or the attributes it compares, such as sound/embedding or voice(voice_gender,register_band). """ rule: String! """ The rule's threshold at the loosening level used. """ threshold: Float """ What was found: the closest distance, how many alike songs in the window, or how many songs back the last alike one was. """ value: Float } """ What Diverse Shuffle does with songs a sing-along screen can't follow: no shared lyric timing, and Musixmatch has no synced lyrics for them (or hasn't been asked yet). """ enum DiverseShuffleLyrics { """ No difference: every song is shuffled together. """ ANY """ They play only after every song with lyrics in time, shuffled among themselves. """ PREFER """ They are left out, unless fewer than two songs have lyrics in time, as on a Sing-along night. """ REQUIRE } """ How Diverse Shuffle picks each song (DiverseShuffle::Generator). """ enum DiverseShuffleMode { """ Pick a set of songs spread out from each other (a determinantal point process), place it in random order, repeat. """ DPP """ Shuffle, then take the first song that passes every hard rule. With nothing measured, the same order as Velvet's own shuffle. """ GREEDY """ Of the first few songs that pass, the one furthest from the songs before it (maximal marginal relevance), with a little randomness. """ MMR } """ One song in a Diverse Shuffle order, with why it went there. """ type DiverseShuffleStep { """ The hard rules checked for it. """ checks: [DiverseShuffleCheck!]! """ How many songs were looked at for this slot. """ considered: Int! """ Whether anything is known about the song (a measured recording); unknown songs pass every rule. """ hasFeatures: Boolean! """ The song as it was given (a Spotify track URI or id, an MBID). """ key: String! """ How far the rules were loosened to place it: 0 as written; past the profile's last step, only the soft score counted. """ level: Int! """ Its place, from 1. """ position: Int! """ How many songs were ruled out for this slot at that level. """ rejected: Int! """ How far it sits from the songs before it, 0 (alike) to 1. """ score: Float! """ Its title, when the recording is known. """ title: String } """ A recording Diverse Shuffle knows, and what has been measured about it. """ type DiverseShuffleTrack { """ Artist. """ artist: String """ Composer. """ composer: String """ The dimensions it has vectors or attributes for. """ dimensions: [String!]! """ Its id. """ id: ID! """ ISRC. """ isrc: String """ How many lyric chunks it has, over every model. """ lyricChunks: Int! """ MusicBrainz recording id. """ mbid: String """ The show or film it comes from. """ show: String """ Spotify track id. """ spotifyTrackId: String """ Title. """ title: String! """ Its vectors, as dimension/method/model. """ vectors: [String!]! """ MusicBrainz work id. """ workMbid: String """ Release year. """ year: Int } """ 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 cover that changed at the door, with the night's fresh totals. """ type DoorAdmissionChanged { """ The cover as it is now. """ admission: Admission! """ Paid covers scanned in. """ checkedInCount: Int! """ Covers paid and not refunded, before fees. """ gross: Money! """ What happened to it. """ outcome: DoorOutcome! """ Covers paid and not refunded. """ paidCount: Int! } """ What a door station following a venue hears (Subscription.door): DoorOpened first, then every cover that changes. """ union DoorEvent = DoorAdmissionChanged | DoorOpened """ 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! } """ A venue's door for the night as it stands: when a station starts following it, and when the night rolls over at 6 AM. """ type DoorOpened { """ The night. """ night: DoorNight! } """ What happened to a cover at the door. """ enum DoorOutcome { """ A paid pass was scanned in. """ ADMIT """ A guest paid. """ PAID """ A cover was refunded. """ REFUND """ A pass already scanned in tonight was scanned again. """ RE_ENTRY } """ 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 """ Why matching linked it: the field and words it matched, whether they said "live at", and how the event was chosen. Null for links people made. """ evidence: JSON @endpoint(in: [STAFF]) """ Its UUID. """ id: ID! """ What is linked. """ item: EntityLinkItem! """ When it was linked. """ linkedAt: ISO8601DateTime! """ How it was made. """ origin: EntityLinkOrigin! """ When a person confirmed or rejected it. """ reviewedAt: ISO8601DateTime @endpoint(in: [STAFF]) """ 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! } """ Autogenerated input type of EntityLinkCreate """ input EntityLinkCreateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The item. """ itemId: ID! """ What kind of item it is. """ itemKind: EntityLinkItemKind! """ What it is about. """ targetId: ID! """ What kind of record that is. """ targetKind: EntityLinkTargetKind! } """ Autogenerated return type of EntityLinkCreate. """ type EntityLinkCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The link, as saved. """ link: EntityLink! } """ 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 } """ Autogenerated input type of EntityLinkReview """ input EntityLinkReviewInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The link. """ id: ID! """ LINKED or REJECTED. """ status: EntityLinkStatus! } """ Autogenerated return type of EntityLinkReview. """ type EntityLinkReviewPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The link, as saved. """ link: EntityLink! } """ 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 """ A kind of record items can be linked to. """ enum EntityLinkTargetKind { """ An event. """ EVENT """ An event series. """ EVENT_SERIES """ A locale. """ LOCALE """ A person. """ PERSON """ A venue. """ VENUE } """ Autogenerated input type of EntityLinksDetect """ input EntityLinksDetectInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Autogenerated return type of EntityLinksDetect. """ type EntityLinksDetectPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Whether matching was queued. """ queued: Boolean! } """ 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!]! } """ Autogenerated input type of EvaluationClaim """ input EvaluationClaimInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Only these types, of those the token holds. """ evaluationTypes: [String!] } """ Autogenerated return type of EvaluationClaim. """ type EvaluationClaimPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The work, or null when none is waiting. """ work: EvaluationWork } """ Autogenerated input type of EvaluationComplete """ input EvaluationCompleteInput { """ Its answer, when not the highest scored option. """ choice: String """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ How sure it is of its choice, 0 to 1; by default the choice’s score. """ confidence: Float """ The options it couldn't rule out; more than one reads as unsure. By default the choice alone when it is confident. """ conformalSet: [String!] """ The work. """ id: ID! """ The lease it was claimed with. """ lease: String! """ What it found, in its type's shape (doc/DECISION_QUEUE.md). """ result: JSON """ Its probability per option key: {key: 0.8}. """ scores: JSON } """ Autogenerated return type of EvaluationComplete. """ type EvaluationCompletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The work, answered. """ decision: EvaluationWorkResult! } """ Autogenerated input type of EvaluationFail """ input EvaluationFailInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What went wrong, for the people who decide it. """ error: String """ The work. """ id: ID! """ The lease it was claimed with. """ lease: String! } """ Autogenerated return type of EvaluationFail. """ type EvaluationFailPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The work, given back. """ decision: EvaluationWorkResult! } """ Autogenerated input type of EvaluationLeaseRenew """ input EvaluationLeaseRenewInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The work. """ id: ID! """ The lease it was claimed with. """ lease: String! } """ Autogenerated return type of EvaluationLeaseRenew. """ type EvaluationLeaseRenewPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ When it runs out now. """ leaseExpiresAt: ISO8601DateTime! } """ Work a worker device claimed from the evaluation queue: the decision to make, what to look at, and the lease to answer with before it runs out. """ type EvaluationWork { """ Which attempt this is, from 1. """ attempt: Int! """ How to answer. """ decisionKind: DecisionKind! """ What kind of work, e.g. submission_research. """ evaluationType: String! """ Its ID. """ id: ID! """ What to look at. It names nobody. """ input: JSON! """ The lease to answer with. """ lease: String! """ When the lease runs out; renew it before then for longer work. """ leaseExpiresAt: ISO8601DateTime! """ The answers to choose from; score each one. """ options: [DecisionOption!]! """ What the decision asks. """ question: String } """ Work a worker answered or gave back, as the queue now has it. """ type EvaluationWorkResult { """ Its ID. """ id: ID! """ Whether it now waits for a person. """ needsPerson: Boolean! """ pending (to try again), completed or failed. """ state: String! """ Whether the worker's answer read as unsure. """ unsure: Boolean! } """ Work is waiting on the evaluation queue: claim it with claimEvaluation until it answers null. """ type EvaluationsAvailable { """ The types with work waiting, of those followed. """ evaluationTypes: [String!]! """ How many are waiting, of the types followed. """ pending: Int! } """ An event hosted at a venue or awaiting a venue. """ type Event implements HasBanner & HasCredits & HasReviews & HasTags & HasTaskTemplates & Node { """ The talent listings granted it without being on it, oldest first (grantEventAccess). Null for anyone who may not manage them: only its venue's managers, the talent who listed it, its hosts and the audience's admins see them. """ accessGrants: [AccessGrant!] @endpoint(in: [STAFF]) """ Every credit on it, shown or not, for its admins. """ allCredits: [Credit!]! @requires(permissions: ["audience:write:*"]) @endpoint(in: [STAFF]) """ 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 """ Its generated backgrounds and commissioned posters, newest first. Whoever may change it sees them all; everyone else, the READY ones, which are made to be shared (Backstage). """ posterArt: [PosterArt!]! @endpoint(in: [STAFF]) """ 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!]! """ Whether it has a back-of-house chat by its own setting; null follows its series' (EventSeries.roomEnabled), on without one. """ roomEnabled: Boolean @endpoint(in: [STAFF]) """ Whether it has a back-of-house chat, its own setting or its series'. """ roomOn: Boolean! @endpoint(in: [STAFF]) """ The instance's IRooms mixin, when available to the viewer. """ rooms: IRooms @requires(permissions: ["rooms:read:member"]) @endpoint(in: [STAFF]) """ 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! } """ Autogenerated input type of EventAccessGrant """ input EventAccessGrantInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event. """ eventId: ID! """ The talent listing granted it. """ personId: ID! } """ Autogenerated return type of EventAccessGrant. """ type EventAccessGrantPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, with its grants. """ event: Event! """ The grant; the existing one if they had it. """ grant: AccessGrant! } """ Autogenerated input type of EventAccessRevoke """ input EventAccessRevokeInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The grant (Event.accessGrants). """ id: ID! } """ Autogenerated return type of EventAccessRevoke. """ type EventAccessRevokePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, with its grants. """ event: Event! """ The revoked grant. """ revokedGrantId: ID! } """ 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 } """ Autogenerated input type of EventChatPromptsSet """ input EventChatPromptsSetInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the event. """ id: ID! """ How quiet the room is before a prompt card (5 to 120); null for never. """ idleMinutes: Int """ At most this many prompts a night (1 to 20). """ nightlyCap: Int """ Whether prompts wait while an act is on. """ pauseDuringActs: Boolean """ The list, in order, up to 30. """ prompts: [ChatPromptInput!] """ Whether its room shows its prompts. """ promptsEnabled: Boolean """ How often the pinned prompt changes (15 to 240); null to not rotate. """ rotateMinutes: Int """ A starter set to replace the list with. """ starterSet: String } """ Autogenerated return type of EventChatPromptsSet. """ type EventChatPromptsSetPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the change. """ event: Event! } """ 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 } """ Autogenerated input type of EventCreate """ input EventCreateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Its details. Needs a name, a start, and a venue unless a talent listing adds it (ownerPersonId). """ event: EventInput! } """ Autogenerated return type of EventCreate. """ type EventCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event that was added. """ event: Event! } """ Autogenerated input type of EventDelete """ input EventDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the event. """ id: ID! } """ Autogenerated return type of EventDelete. """ type EventDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ ID of the event that was deleted. """ deletedId: ID! } """ 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 details. Fields left out are not changed. """ input EventInput { """ One of its venue's photographers' photos to use as its banner, instead of uploading a photo. """ bannerPhotoId: ID """ Organizations co-presenting it (Person.kind organization), replacing any before. Their committees join this event's room only; they are not on its lineup. """ coPresenterIds: [ID!] """ The cover that night instead of the venue's, in cents: 0 for none, null for the venue's. """ coverCents: Int """ A sliding-scale cover: the most a buyer can pay, in cents. Set with coverMinCents, with coverCents as the suggested amount between them; both null for a fixed cover. """ coverMaxCents: Int """ A sliding-scale cover: the least a buyer can pay, in cents. """ coverMinCents: Int """ What it is, for its page in the apps. """ description: String """ When it ends. """ endAt: ISO8601DateTime """ The people hosting it, replacing any before. On a series occurrence this sets it apart from the series. """ hostIds: [ID!] """ Canceled events stay listed, marked canceled. """ isCanceled: Boolean """ Featured events are shown first. """ isFeatured: Boolean """ Who runs its music or screens, billed as KJ, DJ or VJ by its kind of night (jockeyLabel), replacing any before. On a series occurrence this sets it apart from the series. """ jockeyIds: [ID!] """ Where it happens while it has no venue ("to be announced"). Its venue's locale otherwise. """ localeId: ID """ Its name. Required to create one. """ name: String """ The organizations presenting it (Person.kind organization), billed as 'Presented by' and not on its lineup, replacing any before. """ organizerIds: [ID!] """ On create: the talent listing adding it as its own. They host it unless hostIds says otherwise; it's at their home venue unless venueId says otherwise, else to be announced. Its managers can change it later. """ ownerPersonId: ID """ The super-event it is part of, such as the Pride festival a party belongs to (Event.parentEvent); null to stand on its own. It must be in the audience, around its run, and not itself part of another. """ parentEventId: ID """ Its banner image: an image URL, or an image uploaded as a data: URI (10 MB at most). An empty string removes it; an occurrence then shows its series' image. """ photo: String """ Whether to play it shuffled; true unless set. """ playlistShuffle: Boolean """ Its playlist, e.g. https://open.spotify.com/playlist/. An empty string removes it. """ playlistUrl: String """ Whether it has a back-of-house chat; null follows its series' setting. Doesn't set an occurrence apart from its series. """ roomEnabled: Boolean """ False puts an occurrence edited on its own back in step with its series. """ seriesOverride: Boolean """ When it starts, unless venueOpenOn is set. """ startAt: ISO8601DateTime """ The audience's tags on it, all of them: tags left out are taken off. Admins only. """ tagIds: [ID!] """ Where to buy tickets. """ ticketUrl: String """ Where it happens. Required to create one, except a talent listing's own (ownerPersonId). """ venueId: ID """ Start at venue opening on this local date. Null selects an explicit startAt. """ venueOpenOn: ISO8601Date """ Public: full details. Community: basics. """ visibility: ListingVisibility } """ Autogenerated input type of EventKaraokeSet """ input EventKaraokeSetInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the event. """ id: ID! """ Whether it is a karaoke night. """ karaoke: Boolean! """ Its own provider over its venue's partner, e.g. sing_along. Omitted keeps the one it has; an empty string goes back to its venue's. """ provider: String """ The partner's session code, or the join link singers are given. Omitted keeps the one it has; an empty string clears it. """ sessionCode: String } """ Autogenerated return type of EventKaraokeSet. """ type EventKaraokeSetPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the change. """ event: 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 EventPhotoHide """ input EventPhotoHideInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the photo. """ id: ID! """ Why, for the photographer and the other admins. """ reason: String } """ Autogenerated return type of EventPhotoHide. """ type EventPhotoHidePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The photo, after the change. """ photo: 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! } """ Autogenerated input type of EventPhotoShow """ input EventPhotoShowInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the photo. """ id: ID! } """ Autogenerated return type of EventPhotoShow. """ type EventPhotoShowPayload { """ 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! } """ Autogenerated input type of EventPushToEventbrite """ input EventPushToEventbriteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the event. """ id: ID! """ Make it public on Eventbrite. """ publish: Boolean = false """ The Eventbrite account. Defaults to the one it is already on, or the only one connected. """ ticketingAccountId: ID } """ Autogenerated return type of EventPushToEventbrite. """ type EventPushToEventbritePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Its listing on Eventbrite. """ listing: EventListing! } """ 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! } """ Autogenerated input type of EventSeriesCreate """ input EventSeriesCreateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Its details. Needs an owner, a name, a rule, a first date, a start time and a time zone. """ eventSeries: EventSeriesInput! } """ Autogenerated return type of EventSeriesCreate. """ type EventSeriesCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The series that was added. """ eventSeries: EventSeries! } """ Autogenerated input type of EventSeriesDelete """ input EventSeriesDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The ID of the series. """ id: ID! } """ Autogenerated return type of EventSeriesDelete. """ type EventSeriesDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ ID of the series that was deleted. """ deletedId: ID! } """ 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 } """ A recurring series' details. Fields left out are not changed. """ input EventSeriesInput { """ One of its venue's photographers' photos to use as its banner, instead of uploading a photo. """ bannerPhotoId: ID """ What it is, copied to each occurrence. """ description: String """ How long each occurrence runs. """ durationMinutes: Int """ Its default hosts, people in the audience. """ hostIds: [ID!] """ Its default jockeys (KJ, DJ or VJ by its kind of night), people in the audience. """ jockeyIds: [ID!] """ Whether each occurrence is a karaoke night. """ karaoke: Boolean """ Each occurrence's own karaoke provider over its venue's partner, e.g. sing_along. Empty: the venue's. """ karaokeProvider: String """ A session code or join link for each occurrence. Null or empty uses the venue session. """ karaokeSessionCode: String """ Where it happens while its venue is to be announced. A venue sets it. """ localeId: ID """ Its name. Required to create one. """ name: String """ The person (talent) who runs it. """ ownerPersonId: ID """ The venue that runs it. A new series needs an owner, a venue or a person. """ ownerVenueId: ID """ Its image: an image URL, or an image uploaded as a data: URI (10 MB at most). An empty string removes it. """ photo: String """ Whether to play it shuffled; true unless set. """ playlistShuffle: Boolean """ Its playlist, e.g. https://open.spotify.com/playlist/. An empty string removes it. """ playlistUrl: String """ Whether its occurrences have a back-of-house chat, e.g. off for a weekly karaoke night. """ roomEnabled: Boolean """ Whether each occurrence has its own back-of-house chat (PER_EVENT) or they all share one (SHARED). """ roomMode: SeriesRoomMode """ How many upcoming occurrences have their back-of-house chat listed, 1 to 10. """ roomsAhead: Int """ Its RFC 5545 recurrence rule, e.g. FREQ=WEEKLY;BYDAY=TU,TH. Required to create one. """ rrule: String """ Dates to skip. Deleting an occurrence adds its date. """ skippedDates: [ISO8601Date!] """ When each occurrence starts, local time. """ startTime: TimeOfDay """ The first date it counts from. """ startsOn: ISO8601Date """ The audience tags copied to each occurrence. """ tagIds: [ID!] """ Where to buy tickets. """ ticketUrl: String """ An IANA time zone, e.g. America/Los_Angeles. """ timeZone: String """ Its default venue. Null holds a venue-owned series at its owner. """ venueId: ID } """ 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 } """ Autogenerated input type of EventSeriesUpdate """ input EventSeriesUpdateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The fields to change. """ eventSeries: EventSeriesInput! """ The ID of the series. """ id: ID! } """ Autogenerated return type of EventSeriesUpdate. """ type EventSeriesUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The series, after the change. """ eventSeries: EventSeries! } """ 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 } """ Autogenerated input type of EventUpdate """ input EventUpdateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The fields to change. """ event: EventInput! """ The ID of the event. """ id: ID! } """ Autogenerated return type of EventUpdate. """ type EventUpdatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, after the change. """ event: Event! } """ 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 } """ Autogenerated input type of EventbriteConnect """ input EventbriteConnectInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The console page to come back to. """ returnTo: String! } """ Autogenerated return type of EventbriteConnect. """ type EventbriteConnectPayload { """ Eventbrite's page for approving the connection. """ authorizeUrl: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ 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 Facebook Page or profile that can be linked to talent. """ type FacebookSearchResult { """ Profile picture. """ avatarUrl: PhotoURL """ Page category, e.g. Musician/band. """ category: String """ page, profile, group, or unknown. """ entityType: String! """ Facebook id, or the username when only that is known. """ facebookId: String! """ Facebook URL. """ link: String """ City and region of a Page with a location. """ location: String """ facebook, manual, or staff (group confirmation). """ lookupSource: String! """ Name on Facebook; null when Facebook would not share it. """ name: String """ False when Facebook would not share this profile; linking it needs a name. """ readable: Boolean! """ Whether Facebook has verified the Page. """ verified: Boolean! } """ The connection type for FacebookSearchResult. """ type FacebookSearchResultConnection { """ A list of edges. """ edges: [FacebookSearchResultEdge] """ A list of nodes. """ nodes: [FacebookSearchResult] """ Information to aid in pagination. """ pageInfo: PageInfo! } """ An edge in a connection. """ type FacebookSearchResultEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: FacebookSearchResult } """ 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 message in a venue's room that the AI host flagged or ruled something about, for the venue's staff to settle with reviewFlaggedMessage (doc/MESSAGE_ANALYSIS.md, "Staff review"). """ type FlaggedMessage { """ When the host looked at it. """ analyzedAt: ISO8601DateTime! """ The policy category, if any. """ category: ChatModerationCategory """ The category in words, e.g. "Drug sales". """ categoryTitle: String """ How sure the host was, 0 to 1. """ confidence: Float """ What the server already carried out about it (the host removed it, a provider banned the sender), oldest first. """ doneActions: [FlaggedMessageAction!]! """ Its ID (the analysis), for reviewFlaggedMessage. """ id: ID! """ The venue message's ID; null when AudienceKit has no transcript. """ messageId: ID """ Why it was flagged, in a line. """ reason: String! """ Whether the message is already out of the room. """ removed: Boolean! """ What staff did; null while it waits. """ review: FlaggedMessageAction """ When staff settled it. """ reviewedAt: ISO8601DateTime """ Who settled it: their short name. """ reviewedByName: String """ What the host ruled, e.g. private_nudge, ban_proposal. """ ruling: String """ The sender's user ID. """ senderId: ID """ The sender as the room shows them ("Aurora B."). """ senderName: String """ The sender runs the room (staff, a manager, the venue): only DISMISS and ESCALATE apply. """ senderRunsRoom: Boolean! """ When it was sent. """ sentAt: ISO8601DateTime """ What the host suggests staff do. """ suggestedAction: FlaggedMessageAction! """ The message's words, when AudienceKit has its transcript. """ text: String } """ What venue staff do about a message the AI host flagged in their room (reviewFlaggedMessage). """ enum FlaggedMessageAction { """ Bans the sender from the venue, as moderateVenueChat does. Apps confirm first. """ BAN """ Takes the sender out of the room for a few minutes (10 unless minutes says). """ COOLDOWN """ Nothing to do: it leaves the list. """ DISMISS """ Files it in the audience admins' Reports queue for a closer look. """ ESCALATE """ Takes the message out of the room for everyone. """ REMOVE """ A private line from the venue to the sender, which only they see, and a push. """ WARN } """ The connection type for FlaggedMessage. """ type FlaggedMessageConnection { """ A list of edges. """ edges: [FlaggedMessageEdge] """ A list of nodes. """ nodes: [FlaggedMessage] """ 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 FlaggedMessageEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: FlaggedMessage } """ Autogenerated input type of FlaggedMessageReview """ input FlaggedMessageReviewInput { """ What to do. """ action: FlaggedMessageAction! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The flagged message (FlaggedMessage.id). """ id: ID! """ A cooldown's length, 1 to 30 (10 without). """ minutes: Int """ A warning's words (the venue's own reminder without), or an escalation's note for the admins. """ text: String } """ Autogenerated return type of FlaggedMessageReview. """ type FlaggedMessageReviewPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ It, as it now stands. """ flaggedMessage: FlaggedMessage! } """ 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 action on a person Glam suggests or Arbiter takes in review, least to most severe. """ enum GlamAction { """ Banned from the venue's room for 24 hours unless an admin confirms. """ BLOCK """ Out of the venue's room for a few minutes. """ COOLDOWN """ Nothing. """ NONE """ Take the line down. """ REMOVE } """ What Glam's fast lane did (GlamOutput). """ enum GlamOutputKind { """ Chose to say nothing. """ DO_NOT_REPLY """ Asked Arbiter to look at a line, suggesting an action. """ FLAG """ Sent one person a kind word only they see. """ PRIVATE_NUDGE """ Said something in the room, answering a line. """ REPLY """ Sent someone support, or raised the venue safety alert for them. """ SAFETY_RESPONSE } """ Arbiter's verdict on something Glam's fast lane did (Glam::Review). """ enum GlamReviewOutcome { """ Agree; a flag's suggested action is taken. """ CONFIRM """ Take a lighter action than Glam suggested. """ DOWNGRADE """ Send it to a human moderator. """ ESCALATE """ Glam was wrong: nobody is acted on unless an action is given. Silent; a nudge (or, with retract, a reply) is taken down. """ OVERTURN } """ 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 { """ Every credit on it, shown or not, for its admins. """ allCredits: [Credit!]! @requires(permissions: ["audience:write:*"]) @endpoint(in: [STAFF]) """ 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!]! } """ Where a headshot's cut-out (its background removed) is. """ enum HeadshotCutoutStatus { """ The background-removal service is working on it. """ CUTTING """ It could not be cut out; cutoutError says why. """ FAILED """ Waiting: for the worker, or for a background-removal service to be set up. """ PENDING """ The cut-out is ready. """ READY } """ A call the audience's AI host made about a message, as its Mac uploaded it: what it chose, how sure it was, the checks on the message, and whether anything was carried out. """ type HostDecision { """ How sure it was of its choice, 0 to 1. """ confidence: Float """ The feed event it judged; null for a made-up conversation. """ cursor: ID """ When it decided. """ decidedAt: ISO8601DateTime! """ shadow, not_run, awaiting, done, partial, failed or dismissed. """ executionState: String """ Whether a guard or rule check flagged the message. """ flagged: Boolean! """ Its ID. """ id: ID! """ The moderation provider that sent it. """ providerKey: String! """ The room: a venue or locale ID. """ roomId: String """ venue or locale. """ roomKind: String """ The room's name. """ roomName: String """ live (the feed), replay or try (a made-up conversation). """ source: String! """ What it chose to do, e.g. no_action, room_message, pin_message. """ tool: String """ The whole decision as the host recorded it: the lines it read (people as handles), the guard and rule checks, its scores, the gate and what was carried out. """ trace: JSON! """ When it last changed. """ updatedAt: ISO8601DateTime! } """ The connection type for HostDecision. """ type HostDecisionConnection { """ A list of edges. """ edges: [HostDecisionEdge] """ A list of nodes. """ nodes: [HostDecision] """ 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 HostDecisionEdge { """ A cursor for use in pagination. """ cursor: String! """ The item at the end of the edge. """ node: HostDecision } """ 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:*"]) """ A locale's chat transcript, newest first. Admins only; talent who can post there (Person.chat.rooms) read its last 24 hours. """ localeMessages( """ 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 return removed messages, each with its removal. Ignored for talent. """ includeRemoved: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ The ID of the locale. """ localeId: ID! ): LocaleMessageConnection! @requires(permissions: ["chat:read:mine"]) """ The instance's IAudienceChatModeration mixin. Left out of the schema where its module isn't installed. """ moderation: IAudienceChatModeration! @endpoint(in: [AUDIENCE, STAFF]) """ 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! """ Who a room's admins can post as besides themselves and the venue (sendChatMessage asPersonId): the people on its events and lineup tonight, those on now first, then a venue's regulars. Empty for anyone but the room's admins. """ roomHosts( """ The locale whose room it is (or venueId). """ localeId: ID """ The venue whose room it is (or localeId). """ venueId: ID ): [ChatHostChoice!]! @requires(permissions: ["chat:read:mine"]) """ The audience's chat rooms, the most recently active first. Admins see every venue and locale; venue listing managers their own venues. """ 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"]) """ 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:*"]) """ People banned from a venue (its chat and seeing it), newest first. Admins, and the managers of that venue's listing, only. """ venueBans( """ 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 """ The venue UUID. """ venueId: ID! ): VenueChatBanConnection! @requires(permissions: ["chat:moderate:mine", "chat:moderate:venue"]) """ A venue's chat transcript, newest first. Admins, and the managers of that venue's listing, only; talent who can post there (Person.chat.rooms) read its last 24 hours. """ venueMessages( """ 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 return removed messages, each with its removal, so messages taken down for breaking the terms stay on record. Ignored for talent. """ includeRemoved: Boolean = false """ Returns the last _n_ elements from the list. """ last: Int """ The ID of the venue. """ venueId: ID! ): VenueMessageConnection! @requires(permissions: ["chat:read:mine", "chat:read:venue"]) } """ The moderation module's lookups on chat: the moderation feed, for the audience's remote moderation provider to catch up on (Subscription.chatModeration sends it live). """ interface IAudienceChatModeration @mixin(extensionKey: "moderation", field: "moderation", null: false, on: ["AudienceChatView"]) @endpoint(in: [AUDIENCE, STAFF]) { """ The feed's kept events after a cursor, oldest first. Only the provider signed in with its service token reads it. """ events( """ The cursor of the last event handled. """ after: ID """ How many at most (up to 200, the default). """ first: Int ): ChatModerationEventPage! @requires(permissions: ["chat:moderate:*"]) """ What an AI host may tell the room of an event's message about where it is, to answer from facts: a venue's details (address, hours, cover), tonight (events and the running order) and, with days, its events after tonight; a locale's events at its venues through tonight and days more. Performers by name only where they are Public, and never anyone a block stands between them and the message's sender. Moderation::RoomInfo. """ room( """ An event of the feed in that room. """ cursor: ID! """ How many days after tonight to list events for (14 at most). """ days: Int = 0 ): JSON @requires(permissions: ["chat:moderate:*"]) """ What the audience's admins set for the provider signed in, in the console's Moderation plugin: only the values someone set, camelCased, with configured and updatedAt. Null for a provider without settings. Arbiter reads Moderation::ArbiterSettings here. """ settings: JSON @requires(permissions: ["chat:moderate:*"]) } """ 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! """ Finds Meta metro areas (DMAs) to link locales to. Admins only. """ metroSearch( """ 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 """ A city or metro name, e.g. Seattle. """ query: String! ): MetaMetroConnection! @requires(permissions: ["facebook:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) """ The audience's own Facebook Page. Its managers can run the audience's console. """ page: Page """ Finds Facebook Pages and profiles to link. Admins only. """ search( """ 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 """ A name, a Facebook id or username, or a facebook.com link. """ query: String! ): FacebookSearchResultConnection! @requires(permissions: ["facebook:read:*"]) @endpoint(in: [AUDIENCE, STAFF]) } """ 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 places module's root lookups: finding Google places to set as locations. Admins only. """ interface IAudiencePlaces @mixin(extensionKey: "places", field: "places", null: false, on: ["Audience"]) @endpoint(in: [AUDIENCE, STAFF]) { """ Finds places on Google Maps to set as venues' and locales' locations. """ search( """ 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 """ Prefer places near this locale. """ localeId: ID """ A place's name or address, as typed. """ query: String! """ Only cities, neighborhoods and other regions, for locales. """ regions: Boolean = false ): PlaceSearchResultConnection! @requires(permissions: ["places:read:*"]) } """ 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 rooms module's root lookups: the rooms you're in, and one room. A venue's or event's own room is on it (Venue.rooms, Event.rooms). """ interface IAudienceRooms @mixin(extensionKey: "rooms", field: "rooms", null: false, on: ["Audience"]) @endpoint(in: [STAFF]) { """ The rooms you're in, the most recently active first: your venues' and the venues where your talent works, and the open rooms of events there in the next 30 days. Admins get every room anyone has opened. """ mine: [Room!]! @requires(permissions: ["rooms:read:member"]) """ A room by its UUID; null when you're not in it, or it has closed. """ room( """ Its UUID. """ id: ID! ): Room @requires(permissions: ["rooms:read:member"]) } """ 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]) { """ A venue's staff devices, newest first. Admins, and the managers of that venue's listing, only. """ devices( """ 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 """ The venue UUID. """ venueId: ID! ): VenueDeviceGrantConnection! @requires(permissions: ["venues:admin:mine", "venues:admin:venue"]) @endpoint(in: [AUDIENCE, STAFF]) """ Pairs administrators said are different places, open and undone, newest first, to reassess. Administrators only. """ dismissedDuplicates: [VenueDuplicateDismissal!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [STAFF]) """ Venues that are most likely the same place, to merge (mergeVenue), leaving out pairs dismissed as different places (dismissVenueDuplicate). Administrators only. """ duplicates: [VenueDuplicate!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [STAFF]) """ Venues of other audiences this one could link (linkVenue), by name or Google place, at most 25: public, visible ones still open (any venue for platform admins), leaving out ones it already lists. Admins only. """ linkable( """ Only the venue at this Google place. """ googlePlaceId: String """ Only venues whose name contains this. """ search: String ): [Venue!]! @requires(permissions: ["venues:write:*"]) @endpoint(in: [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! } """ An event in the moderation feed: where and when it happened, and its place in the feed. """ interface IChatModerationEvent { """ When it happened. """ at: ISO8601DateTime! """ Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). """ cursor: ID! """ The room it happened in. """ room: ChatModerationRoom! } """ 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 } """ Changes to chat, grouped by module: moderation { … } for the moderation feed. """ interface IMutationChat @mixin(extensionKey: "moderation", field: "chat", on: ["Mutation"]) @requires(permissions: ["chat:moderate:*"]) { """ What a moderation provider does about the feed. """ moderation: ChatModerationMutations! } """ 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]! } """ A venue's, event's or locale's private rooms. Null for anyone not in them, and for an event's room once it has closed. A locale's back-of-house room holds the staff of every venue in it. """ interface IRooms @mixin(extensionKey: "rooms", field: "rooms", on: ["Venue", "Event", "Locale"]) @requires(permissions: ["rooms:read:member"]) @endpoint(in: [STAFF]) { """ The back-of-house room of the people working it. """ backOfHouse: Room! } """ 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"]) { """ These songs in a random order where neighbouring songs do not sound or feel too alike (Diverse Shuffle), following a rule profile, with each step explained. The same seed gives the same order; with nothing measured about the songs, greedy mode gives Velvet's own shuffle for that seed. """ diverseShuffle( """ What to do with songs a sing-along screen can't follow: prefer or require lyrics in time. """ lyrics: DiverseShuffleLyrics = ANY """ How it picks each song. """ mode: DiverseShuffleMode = GREEDY """ A rule profile by name, such as show_tunes_default. """ profile: String = "show_tunes_default" """ A whole rule profile instead of a named one. """ profileJson: JSON """ The seed, such as "|2026-11-22". """ seed: String! """ The songs, at most 500: Spotify track URIs or ids, MBIDs (mbid:) or ISRCs (isrc:). """ songs: [String!]! ): DiverseShuffle! @endpoint(in: [STAFF]) """ 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 """ Tracks at the venue's Soundtrack matching a search, for its staff to queue one (queueVenueMusicServiceTrack). Whoever runs the show, as for controlVenueMusic. """ serviceTracks( """ A title, an artist, or both. """ query: String! ): [MusicServiceTrack!]! @endpoint(in: [STAFF]) } """ 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!]! } """ One ID a venue's door checked, as its log keeps it until it is deleted (expiresAt). Only the fields its jurisdiction lets a door keep; for proving age only. """ type IdCheck { """ Their age when checked. """ age: Int """ Their date of birth. """ birthDate: ISO8601Date """ When it was checked. """ checkedAt: ISO8601DateTime! """ The kind of ID. """ documentKind: IdDocumentKind! """ Scanned or typed in. """ entry: IdCheckEntry! """ When the log deletes it. """ expiresAt: ISO8601DateTime! """ The ID's expiry date. """ expiresOn: ISO8601Date """ male, female or unspecified, as on the ID. """ gender: String """ Its UUID. """ id: ID! """ The ID number, kept only for IDs typed in by hand (Utah keeps none for scans). """ idNumber: String """ The state or province that issued it, e.g. "UT". """ issuer: String """ The name on the ID. """ name: String """ The door saw NO ALCOHOL SALE on the card: they may come in but not buy or drink alcohol. """ noAlcoholSale: Boolean! """ What the check found. """ outcome: IdCheckOutcome! } """ How the door read an ID. """ enum IdCheckEntry { """ Typed in by the door because it couldn't be scanned. """ MANUAL """ Read from the barcode on the card's back. """ SCAN } """ A venue door's ID check log as it stands: every check its jurisdiction still lets it keep, newest first. This is what the door hands law enforcement when asked; nothing is sent anywhere. """ type IdCheckLog { """ The checks, newest first. """ checks: [IdCheck!]! """ The same checks as CSV, to share with law enforcement. """ csv: String! } """ Autogenerated input type of IdCheckMark """ input IdCheckMarkInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The check. """ id: ID! """ NO ALCOHOL SALE is on the card. """ noAlcoholSale: Boolean """ The card looks fake: keep it and call the police. """ suspect: Boolean } """ Autogenerated return type of IdCheckMark. """ type IdCheckMarkPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The check, as marked. """ idCheck: IdCheck! } """ What the door should do with a checked ID (doc/DOOR_ID_CHECKS.md). """ enum IdCheckOutcome { """ Past its expiry date: not proof of age. """ EXPIRED """ Valid, not expired, and old enough to drink. """ OK """ The barcode isn't shaped like a real one, or the door marked it fake: keep the ID and call the police (Utah Code 32B-1-407). """ SUSPECT """ Younger than the drinking age (or no birth date). """ UNDER_AGE } """ What a venue's door must do with IDs where it is (DoorId::Policy, doc/DOOR_ID_CHECKS.md). Nothing is reported to any state: the door keeps a short log and shows it to law enforcement on request. """ type IdCheckPolicy { """ The law it follows, e.g. "Utah Code 32B-1-407". """ citation: String """ The age a check must show. """ drinkingAge: Int! """ The state or province, e.g. "UT"; null when unknown. """ jurisdiction: String """ How long the log keeps a check before deleting it. """ retentionHours: Int! """ Whose ID to scan. """ scan: IdCheckScanRule! """ The rules in a sentence or two, for the door. """ summary: String! """ What to look for on the card that a scanner can't read, e.g. Utah's NO ALCOHOL SALE marking. """ visualCheck: String } """ Autogenerated input type of IdCheckRecord """ input IdCheckRecordInput { """ Their date of birth. """ birthDate: ISO8601Date! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The kind of ID. """ documentKind: IdDocumentKind! """ The ID's expiry date. """ expiresOn: ISO8601Date! """ male, female or unspecified. """ gender: String """ The ID number. """ idNumber: String! """ The issuing state, province or country. """ issuer: String """ The name on the ID. """ name: String! """ The door thinks it is fake. """ suspect: Boolean """ The door being worked. """ venueId: ID! } """ Autogenerated return type of IdCheckRecord. """ type IdCheckRecordPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The answer. """ result: IdCheckResult! } """ The answer to an ID checked at a door. """ type IdCheckResult { """ The log entry; null when what was scanned isn't an ID's barcode (nothing is logged). """ idCheck: IdCheck """ The ID number, to show the door now. A scanned one is not kept. """ idNumber: String """ What to show the door, e.g. "OK · Alex Doe, 27". """ message: String! """ What the check found; null when not an ID. """ outcome: IdCheckOutcome """ The venue's rules the check followed. """ policy: IdCheckPolicy! """ Why the barcode looks fake, when it does (e.g. "The barcode's issuer number isn't an ID issuer's"). """ problems: [String!]! } """ Autogenerated input type of IdCheckScan """ input IdCheckScanInput { """ The barcode's text, control characters included. """ barcode: String! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The door being worked. """ venueId: ID! } """ Autogenerated return type of IdCheckScan. """ type IdCheckScanPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The answer. """ result: IdCheckResult! } """ Whose ID a venue's door must scan, by its jurisdiction (DoorId::Policy). """ enum IdCheckScanRule { """ Anyone who looks 35 or younger, before serving them alcohol (Utah restaurants). """ APPEARS_35_OR_UNDER """ Every ID, before letting anyone in (Utah bars and taverns). """ EVERYONE """ Nothing makes the door scan; it may. """ OPTIONAL } """ The kind of ID checked at a door. """ enum IdDocumentKind { """ A driver's licence. """ DRIVERS_LICENSE """ A state or provincial ID card. """ ID_CARD """ A military ID. """ MILITARY """ Any other acceptable ID, e.g. a foreign licence. """ OTHER """ A passport or passport card. """ PASSPORT } """ Autogenerated input type of InstagramRefresh """ input InstagramRefreshInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The social link ID. """ id: ID! } """ Autogenerated return type of InstagramRefresh. """ type InstagramRefreshPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The queued Instagram link. """ socialLink: SocialLink! } """ 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 } """ One singer's turn as the venue's karaoke app shows it (reportKaraokeQueue). """ input KaraokeQueueEntryInput { """ Who the song is by. """ artist: String """ Who is singing, as the karaoke app shows it. """ singer: String """ The song. """ title: String } """ Autogenerated input type of KaraokeQueueReport """ input KaraokeQueueReportInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The turns, the singer up first (at most 50). """ entries: [KaraokeQueueEntryInput!]! """ What read it, such as karafun-mac. """ source: String } """ Autogenerated return type of KaraokeQueueReport. """ type KaraokeQueueReportPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The queue as the venue now shows it. """ queue: [KaraokeQueueEntry!]! } """ 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! } """ Autogenerated input type of LineupAdvance """ input LineupAdvanceInput { """ Undo the last advance instead. """ back: Boolean = false """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ An event's lineup at the venue to advance (its hosts may advance it). """ eventId: ID """ Raise the curtain even though the act's goNoGo isn't GO (go anyway). Without it, advancing onto an act whose curtain call is not GO fails. """ force: Boolean = false """ The venue. """ venueId: ID! } """ Autogenerated return type of LineupAdvance. """ type LineupAdvancePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What's on stage now. """ onStage: Appearance """ The lineup's running order. """ runningOrder: [Appearance!]! """ The show: who covers the stage, whether it ended. """ show: ShowStatus! """ What advancing puts on next. """ upNext: Appearance } """ Autogenerated input type of LineupCreate """ input LineupCreateInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event, at a venue. """ eventId: ID! """ The venue zone; null for the venue's default zone. """ zoneId: ID } """ Autogenerated return type of LineupCreate. """ type LineupCreatePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event's lineup in the zone. """ lineup: Lineup! } """ What cueLineup does to a show. """ enum LineupCue { """ The next step: start the show (host on), the next scene, back to the host, end the show when nothing is left, leave postshow. """ ADVANCE """ Undo the last change. """ BACK """ End the show now: an event goes to postshow, a zone night closes. """ END } """ Autogenerated input type of LineupCue """ input LineupCueInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What to do. """ cue: LineupCue = ADVANCE """ Raise the curtain even though the act's goNoGo isn't GO (go anyway). """ force: Boolean = false """ The lineup: a zone's night or an event's. """ lineupId: ID! } """ Autogenerated return type of LineupCue. """ type LineupCuePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The lineup cued, as it stands now. """ lineup: Lineup! """ The show on in the lineup's zone now. """ stage: Lineup! } """ Autogenerated input type of LineupDelete """ input LineupDeleteInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event's lineup. """ id: ID! } """ Autogenerated return type of LineupDelete. """ type LineupDeletePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event. """ event: Event! } """ Autogenerated input type of LineupHostPutOn """ input LineupHostPutOnInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The event whose default-zone lineup it is (with venueId). """ eventId: ID """ The lineup: a zone's night or an event's. """ lineupId: ID """ Who hosts: a person (or guest) in the audience. """ personId: ID! """ Take the hosts on now off, so they host alone. """ replace: Boolean = false """ The venue, for tonight's default-zone lineup. """ venueId: ID } """ Autogenerated return type of LineupHostPutOn. """ type LineupHostPutOnPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The lineup, with them on as its host. """ lineup: Lineup! } """ Autogenerated input type of LineupImport """ input LineupImportInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The file. """ data: JSON! """ An event's lineup at the venue instead. """ eventId: ID """ After the lineup (APPEND), or in place of it. """ mode: LineupImportMode = APPEND """ The night; tonight when left out. """ night: ISO8601Date """ The venue. """ venueId: ID! } """ Where importLineup puts the entries of a file. """ enum LineupImportMode { """ After the lineup's entries. """ APPEND """ In place of the lineup's entries (not its karaoke singers). Refused once any of it has been on. """ REPLACE } """ Autogenerated return type of LineupImport. """ type LineupImportPayload { """ The entries it added, in order. """ appearances: [Appearance!]! """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ What it left out or changed. """ warnings: [String!]! } """ A lineup's settings. Fields left out aren't changed. """ input LineupInput { """ A zone's night: when it closes; null for the venue's closing time, else the night's end. """ closesAt: ISO8601DateTime """ Its hosts, in billing order: every act goes back to them. """ hostIds: [ID!] """ A zone's night: when it opens; null for the cover's start, else the night's start. """ opensAt: ISO8601DateTime """ What ending a scene goes to unless the scene or its act says; null: back to the host. """ sceneEndsTo: ShowEndsTo """ Its billing; null: the event's name, or the zone's. """ title: 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 } """ Autogenerated input type of LineupReorder """ input LineupReorderInput { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ Just this event's lineup at the venue (its hosts may reorder it); ids are its entries. """ eventId: ID """ The night's entries in their new order; any left out follow. """ ids: [ID!]! """ The night; tonight when left out. """ night: ISO8601Date """ The venue. """ venueId: ID! } """ Autogenerated return type of LineupReorder. """ type LineupReorderPayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ The night's running order. """ runningOrder: [Appearance!]! } """ 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: