". Next-review hint computed via simplified SM-2 (1→1d, 2→2d, 3→4d, 4→7d, 5→14d).">

Spaced Repetition Card

Single flashcard with front/back flip animation and a post-flip confidence rating (1-5 with emoji). Writes {rating, next_days, rated_at} to progress_store under "srs:". Next-review hint computed via simplified SM-2 (1→1d, 2→2d, 3→4d, 4→7d, 5→14d).

Surfaces
apps-script-webwebmeet-stage
Fields
FieldType
frontstring (required). Front face — term or question.required
backstring (required). Back face — answer or definition.required
card_idstring. Key for progress_store SRS data. Auto-generated if omitted.optional
accentstring. Front card highlight colour. Defaultoptional
Example payload
{
  "type": "spaced_repetition_card",
  "front": "What is an atom?",
  "back": "A self-contained UI block with a type and fields."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:spaced_repetition_card",
  "displayName": "Spaced Repetition Card",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/spaced_repetition_card",
  "capabilities": [
    "apps-script-web",
    "web",
    "meet-stage"
  ],
  "description": "Single flashcard with front/back flip animation and a post-flip confidence rating (1-5 with emoji). Writes {rating, next_days, rated_at} to progress_store under \"srs:\". Next-review hint computed via simplified SM-2 (1\u21921d, 2\u21922d, 3\u21924d, 4\u21927d, 5\u219214d).",
  "representativeQueries": [
    "show a flip flashcard with confidence rating 1-5 \u2014 writes SRS interval to progress_store",
    "single flashcard with front/back flip animation and a post-flip confidence rating (1-5 with emoji).",
    "render a spaced repetition card"
  ]
}
← 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 →