Trivia
Bingo on a venue’s screens: a host draws from Velvet or Backstage and the screens keep the board.
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
drawBingoNumber staffql onlyinput: BingoNumberDrawInput! |
BingoNumberDrawPayload |
Draws the next bingo number, at random from those not called yet, for the host to read out. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
endBingoGame staffql onlyinput: BingoGameEndInput! |
BingoGameEndPayload |
Ends a game of bingo; the screens keep its board until the next starts. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
openTriviaRound staffql onlyinput: TriviaRoundOpenInput! |
TriviaRoundOpenPayload |
Puts the next trivia item to the room, from the trivia segment on now (revealing any round still open). For a host segment; a room segment opens its own. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
revealTriviaRound staffql onlyinput: TriviaRoundRevealInput! |
TriviaRoundRevealPayload |
Takes the room’s call and shows the answer now, without waiting for voting to close. On a segment that reveals answers at the end, closes its voting instead: the answer shows when the segment ends. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
startBingoGame staffql onlyinput: BingoGameStartInput! |
BingoGameStartPayload |
Starts a game of bingo at the venue, ending any still running; the venue’s screens show its board. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
undoBingoCall staffql onlyinput: BingoCallUndoInput! |
BingoCallUndoPayload |
Takes back the last bingo number called. requires trivia:write:mine or trivia:write:my_troupes or events:write:venue |
voteTriviainput: TriviaVoteCastInput! |
TriviaVoteCastPayload |
Votes in a trivia round: someone at the venue picks a choice (changing it is fine while voting is open). Only counts are shown; nobody is named or scored. requires trivia:write:self |
Objects
Section titled “Objects”BingoCall
Section titled “BingoCall”Object
One number called in a bingo game.
| Field | Type | Description |
|---|---|---|
label |
String! |
How the host reads it out: B-12, or 12 in 90-ball. |
letter |
String |
B, I, N, G or O in 75-ball; null in 90-ball. |
number |
Int! |
The number. |
BingoGame
Section titled “BingoGame”Object
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.
| Field | Type | Description |
|---|---|---|
calls |
[BingoCall!]! |
The numbers called, first to last. |
endedAt |
ISO8601DateTime |
When it ended; null while it runs. |
highest |
Int! |
The highest number on the board: 75 or 90. |
id |
ID! |
Its UUID. |
lastCall |
BingoCall |
The latest number called; null before the first. |
pattern |
String |
What wins this game, as the host named it: Four corners. |
remaining |
Int! |
How many numbers are left to call. |
running |
Boolean! |
Whether it is still being played. |
startedAt |
ISO8601DateTime! |
When it started. |
style |
BingoStyle! |
Which bingo. |
TriviaChoice
Section titled “TriviaChoice”Object
One of a trivia round’s choices, with how many in the room picked it (never who).
| Field | Type | Description |
|---|---|---|
count |
Int! |
How many picked it. |
label |
String! |
The choice, e.g. Myth or Legend. |
TriviaRound
Section titled “TriviaRound”Object
One item of group trivia put to a venue’s room, posted as a card in its chat: the room talks it over and votes together (voteTrivia, changeable while open), the room’s call is taken when voting closes, and the answer is posted. Counts only: nobody is named, scored or picked.
| Field | Type | Description |
|---|---|---|
answer |
String |
The right choice, once revealed. |
choices |
[TriviaChoice!]! |
The choices, with their counts. |
closesAt |
ISO8601DateTime! |
When voting closes. |
driver |
TriviaDriver! |
Who moves it along. |
format |
TriviaFormat! |
How it is asked: Myth or Legend, multiple choice or fill in the blank (no choices). |
id |
ID! |
Its UUID. |
message |
VenueMessage |
Its card in the venue’s chat, where the room talks it over: the votes belong under it. |
myChoice |
String |
The signed-in user’s vote, if any. |
openedAt |
ISO8601DateTime! |
When it went up. |
questionNumber |
Int |
Which question of its round it is, from 1; null when its set has no rounds. |
reveal |
String |
The story behind the answer, once revealed. |
revealedAt |
ISO8601DateTime |
When the answer showed. |
revealsAtEnd |
Boolean! |
Whether its answer waits for the end of the segment. |
roomCall |
String |
The room’s call: the choice most picked, once revealed; null on a tie or with no votes. |
roundSize |
Int |
How many questions its round has; null with no rounds. |
roundTitle |
String |
Its round, as the set names it: Round 1: Divas. Null when the set has no rounds. |
set |
TriviaSet! |
Its set. |
statement |
String! |
What the room decides on. |
voting |
Boolean! |
Whether votes are taken now. |
TriviaSet
Section titled “TriviaSet”Object
A set of group trivia (config/trivia_sets): content-agnostic, so drag and sports sets are the same shape. Its topics meet an event’s or venue’s tag names.
| Field | Type | Description |
|---|---|---|
builtIn |
Boolean! |
Whether it’s one of AudienceKit’s (config/trivia_sets) rather than one the audience uploaded (importTriviaSet). |
curator |
String |
Who keeps it. |
itemCount |
Int! |
How many items it has. |
key |
String! |
Its key, as Appearance.triviaSet takes it. |
rating |
String! |
Its content rating, e.g. general. |
title |
String! |
Its name. |
topics |
[String!]! |
The tag names it suits, lower case. |
verified |
Boolean! |
Whether a person has checked every item against its source. |
version |
Int! |
Bumped when its items change. |
VenueBingoView
Section titled “VenueBingoView”Object · implements IVenueBingo
The local Bingo implementation of a venue’s bingo.
| Field | Type | Description |
|---|---|---|
current |
BingoGame |
Tonight’s game: the one running, else the last ended. Null before the first. |
VenueTriviaView
Section titled “VenueTriviaView”Object · implements IVenueTrivia
The local Trivia implementation of a venue’s group trivia.
| Field | Type | Description |
|---|---|---|
current |
TriviaRound |
Tonight’s latest round: open, or the last revealed. Null before the first. |
segment |
Appearance |
The lineup entry running trivia now; null while none is. |
setFilekey: String! |
JSON |
A trivia set, answers and all, as an audiencekit.triviaSet file , for importTriviaSet. Null for an unknown key, and for anyone who doesn’t run the venue’s shows. |
sets |
[TriviaSet!]! |
The trivia sets, those whose topics meet the venue’s tags first. |
Mutation payloads
Section titled “Mutation payloads”BingoCallUndoPayload
Section titled “BingoCallUndoPayload”Object · staffql only
Autogenerated return type of BingoCallUndo.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
game staffql only |
BingoGame |
The game. |
round staffql only |
TriviaRound |
The round. |
BingoGameEndPayload
Section titled “BingoGameEndPayload”Object · staffql only
Autogenerated return type of BingoGameEnd.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
game staffql only |
BingoGame |
The game. |
round staffql only |
TriviaRound |
The round. |
BingoGameStartPayload
Section titled “BingoGameStartPayload”Object · staffql only
Autogenerated return type of BingoGameStart.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
game staffql only |
BingoGame |
The game. |
round staffql only |
TriviaRound |
The round. |
BingoNumberDrawPayload
Section titled “BingoNumberDrawPayload”Object · staffql only
Autogenerated return type of BingoNumberDraw.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
game staffql only |
BingoGame |
The game. |
round staffql only |
TriviaRound |
The round. |
TriviaRoundOpenPayload
Section titled “TriviaRoundOpenPayload”Object · staffql only
Autogenerated return type of TriviaRoundOpen.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
round staffql only |
TriviaRound |
The round. |
TriviaRoundRevealPayload
Section titled “TriviaRoundRevealPayload”Object · staffql only
Autogenerated return type of TriviaRoundReveal.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
round staffql only |
TriviaRound |
The round. |
TriviaVoteCastPayload
Section titled “TriviaVoteCastPayload”Object
Autogenerated return type of TriviaVoteCast.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
round |
TriviaRound! |
The round, with its counts. |
Inputs
Section titled “Inputs”BingoCallUndoInput
Section titled “BingoCallUndoInput”Input · staffql only
Autogenerated input type of BingoCallUndo
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The game. |
BingoGameEndInput
Section titled “BingoGameEndInput”Input · staffql only
Autogenerated input type of BingoGameEnd
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The game. |
BingoGameStartInput
Section titled “BingoGameStartInput”Input · staffql only
Autogenerated input type of BingoGameStart
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
pattern staffql only |
String |
What wins it, as the host says it: Four corners. |
style staffql only |
BingoStyle |
75-ball (the default) or 90-ball. |
venueId staffql only |
ID! |
The venue. |
BingoNumberDrawInput
Section titled “BingoNumberDrawInput”Input · staffql only
Autogenerated input type of BingoNumberDraw
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The game. |
TriviaRoundOpenInput
Section titled “TriviaRoundOpenInput”Input · staffql only
Autogenerated input type of TriviaRoundOpen
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID! |
The venue. |
TriviaRoundRevealInput
Section titled “TriviaRoundRevealInput”Input · staffql only
Autogenerated input type of TriviaRoundReveal
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The round. |
TriviaVoteCastInput
Section titled “TriviaVoteCastInput”Input
Autogenerated input type of TriviaVoteCast
| Field | Type | Description |
|---|---|---|
choice |
String! |
One of the round’s choices, e.g. Legend. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
roundId |
ID! |
The round. |
Interfaces
Section titled “Interfaces”IVenueBingo
Section titled “IVenueBingo”Interface · implemented by VenueBingoView · mixin edge bingo on Venue
Bingo on a venue’s screens: a host draws from Velvet or Backstage and the screens keep the board.
| Field | Type | Description |
|---|---|---|
current |
BingoGame |
Tonight’s game: the one running, else the last ended. Null before the first. |
IVenueTrivia
Section titled “IVenueTrivia”Interface · implemented by VenueTriviaView · mixin edge trivia on Venue
Group trivia in a venue’s chat: runs while a trivia segment (or an intermission given a set) is on the lineup, so it never competes with the talent.
| Field | Type | Description |
|---|---|---|
current |
TriviaRound |
Tonight’s latest round: open, or the last revealed. Null before the first. |
segment |
Appearance |
The lineup entry running trivia now; null while none is. |
setFilekey: String! |
JSON |
A trivia set, answers and all, as an audiencekit.triviaSet file , for importTriviaSet. Null for an unknown key, and for anyone who doesn’t run the venue’s shows. |
sets |
[TriviaSet!]! |
The trivia sets, those whose topics meet the venue’s tags first. |
BingoStyle
Section titled “BingoStyle”Enum
Which bingo is played.
NINETY1 to 90, numbers only (the British game).SEVENTY_FIVEB-I-N-G-O, 1 to 75: B 1-15, I 16-30, N 31-45, G 46-60, O 61-75.
TriviaDriver
Section titled “TriviaDriver”Enum
Who moves a trivia segment along.
HOSTSomeone on the segment (or the venue) opens and reveals each round.ROOMRounds run themselves in the venue chat, anonymously.
TriviaFormat
Section titled “TriviaFormat”Enum
How a trivia item is asked.
FILL_BLANKA statement with a blank (___) the room calls out; no choices or votes.MULTIPLE_CHOICEA question with two to six choices, one right.MYTH_OR_LEGENDA statement: Myth or Legend (two choices).