Multi-question quiz with multiple-choice options, per-question explanations, pass score, and result screen
| Field | Type | |
|---|---|---|
| title | string | optional |
| questions | array of {question, options: [string], correct: integer (0-based index), explanation} | optional |
| pass_score | integer (optional, % to pass, default 70) | optional |
| accent | string (optional, hex) | optional |
| on_pass | object (optional, atom block shown on pass) | optional |
| on_fail | object (optional, atom block shown on fail) | optional |
{
"type": "quiz_set"
}
{
"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"
]
}
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 →