Quiz Set

Multi-question quiz with multiple-choice options, per-question explanations, pass score, and result screen

Surfaces
apps-script-web
Fields
FieldType
titlestringoptional
questionsarray of {question, options: [string], correct: integer (0-based index), explanation}optional
pass_scoreinteger (optional, % to pass, default 70)optional
accentstring (optional, hex)optional
on_passobject (optional, atom block shown on pass)optional
on_failobject (optional, atom block shown on fail)optional
Example payload
{
  "type": "quiz_set"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:quiz_set",
  "displayName": "Quiz Set",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/quiz_set",
  "capabilities": [
    "apps-script-web"
  ],
  "description": "Multi-question quiz with multiple-choice options, per-question explanations, pass score, and result screen",
  "representativeQueries": [
    "show a multi-question interactive quiz",
    "multi-question quiz with multiple-choice options, per-question explanations, pass score, and result",
    "render a quiz set"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →