Lightweight inline comprehension pulse — a single multiple-choice question with instant feedback and no score impact. Correct answer turns green with explanation; wrong answer turns red with explanation. All options lock after selection. No retry gate — learner simply continues reading.
| Field | Type | |
|---|---|---|
| question | string (required). The comprehension question. | required |
| options | array (required). Array of answer strings. | required |
| correct | integer (required). Zero-based index of the correct answer. | required |
| explanation | string. Explanation shown after any selection. | optional |
{
"type": "knowledge_check",
"question": "Which option do you prefer?",
"options": [
{
"label": "Option A",
"value": "a"
},
{
"label": "Option B",
"value": "b"
},
{
"label": "Option C",
"value": "c"
}
],
"correct": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:knowledge_check",
"displayName": "Knowledge Check",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/knowledge_check",
"capabilities": [
"apps-script-web",
"web",
"meet-stage"
],
"description": "Lightweight inline comprehension pulse \u2014 a single multiple-choice question with instant feedback and no score impact. Correct answer turns green with explanation; wrong answer turns red with explanation. All options lock after selection. No retry gate \u2014 learner simply continues reading.",
"representativeQueries": [
"show a inline comprehension pulse \u2014 single question, instant feedback, no score pressure",
"lightweight inline comprehension pulse \u2014 a single multiple-choice question with instant feedback and",
"render a knowledge check"
]
}
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 →