Renders a detailed comparison of two items, displaying their attributes
| Surface | Note |
|---|---|
| googlechat | Renders as stacked lists of attributes and values for each item. |
| Field | Type | |
|---|---|---|
| item_a_name | string | required |
| item_b_name | string | required |
| specs | array | required |
{
"type": "side_by_side_spec",
"item_a_name": "Item a name",
"item_b_name": "Item b name",
"specs": [
{
"label": "Weight",
"value": "1.2 kg"
},
{
"label": "Dimensions",
"value": "20\u00d715 cm"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:side_by_side_spec",
"displayName": "Side By Side Spec",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/side_by_side_spec",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "Renders a detailed comparison of two items, displaying their attributes",
"representativeQueries": [
"show a two items compared spec by spec and values side-by-side",
"renders a detailed comparison of two items, displaying their attributes",
"render a side by side spec"
]
}
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 →