Renders a locked placeholder card until the specified module id is marked complete in progress_store. Once complete, the gate disappears to reveal content below it. Use to sequence content and prevent skipping.
| Field | Type | |
|---|---|---|
| requires | string (required). Module id that must be complete in progress_store to unlock. | required |
| label | string. Lock card heading. Default "Locked". | optional |
| message | string. Message shown on the lock card. | optional |
{
"type": "completion_gate",
"requires": "complete_intro"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:completion_gate",
"displayName": "Completion Gate",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/completion_gate",
"capabilities": [
"apps-script-web",
"web",
"meet-stage"
],
"description": "Renders a locked placeholder card until the specified module id is marked complete in progress_store. Once complete, the gate disappears to reveal content below it. Use to sequence content and prevent skipping.",
"representativeQueries": [
"show a content lock \u2014 hides until requires module id is complete in progress_store",
"renders a locked placeholder card until the specified module id is marked complete in progress_store",
"render a completion gate"
]
}
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 →