Kong · Schema

Chart

The type of chart to render.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-chart-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Chart",
  "title": "Chart",
  "description": "The type of chart to render.",
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "donut": "#/components/schemas/DonutChart",
      "timeseries_line": "#/components/schemas/TimeseriesChart",
      "timeseries_bar": "#/components/schemas/TimeseriesChart",
      "horizontal_bar": "#/components/schemas/BarChart",
      "vertical_bar": "#/components/schemas/BarChart",
      "single_value": "#/components/schemas/SingleValueChart",
      "choropleth_map": "#/components/schemas/ChoroplethMapChart"
    }
  },
  "oneOf": [
    {
      "$ref": "#/components/schemas/DonutChart"
    },
    {
      "$ref": "#/components/schemas/TimeseriesChart"
    },
    {
      "$ref": "#/components/schemas/BarChart"
    },
    {
      "$ref": "#/components/schemas/SingleValueChart"
    },
    {
      "$ref": "#/components/schemas/ChoroplethMapChart"
    }
  ]
}