Amnic · JSON Structure

Amnic Api Chart Data Structure

Cost chart data returned as a 2D array with headers and rows.

Type: object Properties: 2
Cloud Cost ObservabilityFinOpsCloud Cost ManagementCost OptimizationKubernetesAzureGoogle Cloud

ChartData is a JSON Structure definition published by Amnic, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

headers rows

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amnic/refs/heads/main/json-structure/amnic-api-chart-data-structure.json",
  "name": "ChartData",
  "description": "Cost chart data returned as a 2D array with headers and rows.",
  "type": "object",
  "properties": {
    "headers": {
      "type": "array",
      "description": "Column headers for the cost data result set.",
      "items": {
        "type": "string"
      },
      "example": [
        "date",
        "service",
        "cost"
      ]
    },
    "rows": {
      "type": "array",
      "description": "Rows of cost data values corresponding to the headers.",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    }
  }
}