Renders a visual representation of a star rating, optionally with a
| Surface | Note |
|---|---|
| googlechat | Renders as text (e.g., '4.5 stars') or using emoji stars; visual styling of stars is not supported. |
| Renders as text (e.g., '4.5 stars') or a static image; interactive or dynamic star rendering is not supported. |
| Field | Type | |
|---|---|---|
| rating | number | required |
| max_rating | integer | required |
| review_count | integer | required |
{
"type": "star_rating_display",
"rating": 75,
"max_rating": 75,
"review_count": 1
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:star_rating_display",
"displayName": "Star Rating Display",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/star_rating_display",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "Renders a visual representation of a star rating, optionally with a",
"representativeQueries": [
"show a read-only star rating with score and count total review count",
"renders a visual representation of a star rating, optionally with a",
"render a star rating display"
]
}
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 →