The QB Reader API represents tossups and bonuses as JSON objects. These schemas describe the structure of these objects.
Tossup
_id
: string
question
: string
question_sanitized
: string
answer
: string
answer_sanitized
: string
category
: string
subcategory
: string
alternate_subcategory
: string
optional
packet
: object
_id
: string
name
: string
number
: number
set
: object
_id
: string
name
: string
year
: number
standard
: boolean
number
: number
createdAt
: string
updatedAt
: string
difficulty
: number
[0-10]
.Bonus
_id
: string
leadin
: string
leadin_sanitized
: string
parts
: string[]
parts_sanitized
: string[]
parts
.answers
: string[]
parts
, but a few bonuses
have errors where this is not the case.
answers_sanitized
: string[]
answers
.category
: string
subcategory
: string
alternate_subcategory
: string
optional
packet
: object
_id
: string
name
: string
number
: number
set
: object
_id
: string
name
: string
year
: number
standard
: boolean
number
: number
createdAt
: string
updatedAt
: string
difficulty
: number
[0-10]
.