{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SingleValueChart",
"title": "Single value chart",
"description": "A chart that can render a single number. This chart works with a single metric and no dimensions.",
"type": "object",
"properties": {
"chart_title": {
"description": "The title of the chart, which is displayed in the tile's header.",
"type": "string",
"nullable": false
},
"type": {
"type": "string",
"enum": [
"single_value"
]
},
"decimal_points": {
"description": "The number of figures to render after the decimal. Most metrics only support up to 2 decimals, but some may support more.",
"type": "number"
}
},
"additionalProperties": false,
"required": [
"type"
]
}