Renders a list of questions and answers, where answers are hidden until
| Surface | Note |
|---|---|
| googlechat | Renders as a simple list of questions and answers without interactive collapse/expand functionality. |
| Renders as a simple list of questions and answers without interactive collapse/expand functionality. |
| Field | Type | |
|---|---|---|
| items | list of objects, each with 'question' (string) and 'answer' (string) | required |
{
"type": "faq_accordion",
"items": [
{
"label": "Item 1"
},
{
"label": "Item 2"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:faq_accordion",
"displayName": "Faq Accordion",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/faq_accordion",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "Renders a list of questions and answers, where answers are hidden until",
"representativeQueries": [
"show a collapsible FAQ question and answer list the question is clicked",
"renders a list of questions and answers, where answers are hidden until",
"render a faq accordion"
]
}
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 →