End-of-exercise or end-of-module score card showing correct answers, total questions, percentage, and optional time taken. Animates the score fraction on render using a CSS counter. Includes a contextual pass/fail or grade label and an optional retry/continue CTA row.
| Surface | Note |
|---|---|
| googlechat | Renders as a plain text score line — no visual card or animation |
| CSS counter animation stripped — renders as static score text card |
| Field | Type | |
|---|---|---|
| correct | integer. Number of correct answers. | required |
| total | integer. Total number of questions. | required |
| time_taken | string. Human-readable time string e.g. "2m 14s". | optional |
| pass_threshold | integer. Percentage (0–100) required to pass. Drives pass/fail label colour. | optional |
| retry_label | string. Label for the retry button. Omit to hide retry CTA. | optional |
| continue_label | string. Label for the continue button. Omit to hide continue CTA. | optional |
| continue_url | url. Destination for the continue button. | optional |
{
"type": "score_summary",
"correct": 1,
"total": 5
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:score_summary",
"displayName": "Score Summary",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/score_summary",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "End-of-exercise or end-of-module score card showing correct answers, total questions, percentage, and optional time taken. Animates the score fraction on render using a CSS counter. Includes a contextual pass/fail or grade label and an optional retry/continue CTA row.",
"representativeQueries": [
"show a end-of-exercise score card with correct/total, percentage, grade, and CTA",
"end-of-exercise or end-of-module score card showing correct answers, total questions, percentage, an",
"render a score summary"
]
}
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 →