Score Summary

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.

Surfaces
webmeet-stagepdfapps-script-web
Degraded on
SurfaceNote
googlechatRenders as a plain text score line — no visual card or animation
emailCSS counter animation stripped — renders as static score text card
Fields
FieldType
correctinteger. Number of correct answers.required
totalinteger. Total number of questions.required
time_takenstring. Human-readable time string e.g. "2m 14s".optional
pass_thresholdinteger. Percentage (0–100) required to pass. Drives pass/fail label colour.optional
retry_labelstring. Label for the retry button. Omit to hide retry CTA.optional
continue_labelstring. Label for the continue button. Omit to hide continue CTA.optional
continue_urlurl. Destination for the continue button.optional
Example payload
{
  "type": "score_summary",
  "correct": 1,
  "total": 5
}
ARD catalog entry
{
  "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"
  ]
}
← 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 →