{
  "step": "dashboard-render",
  "tool": "dashboard_render",
  "input": {
    "schemaVersion": "v0.1",
    "title": "Weekly orders",
    "datasets": [
      {
        "id": "orders",
        "rows": [
          {
            "week": "2026-09-07",
            "orders": 120
          },
          {
            "week": "2026-09-14",
            "orders": 135
          },
          {
            "week": "2026-09-21",
            "orders": 128
          },
          {
            "week": "2026-09-28",
            "orders": 150
          }
        ]
      }
    ],
    "panels": [
      {
        "id": "total",
        "kind": "kpi",
        "title": "Orders",
        "datasetId": "orders",
        "field": "orders",
        "aggregate": "sum"
      },
      {
        "id": "trend",
        "kind": "chart",
        "chartType": "line",
        "title": "Orders by week",
        "datasetId": "orders",
        "encodings": {
          "x": {
            "field": "week",
            "type": "temporal"
          },
          "y": {
            "field": "orders",
            "type": "quantitative"
          }
        }
      }
    ],
    "a11y": {
      "description": "Orders for four weeks: the total, and orders by week."
    }
  },
  "isError": false,
  "error": null,
  "output": {
    "status": "ok",
    "schemaVersion": "v0.1",
    "panels": [
      {
        "id": "total",
        "kind": "kpi",
        "title": "Orders",
        "value": 533,
        "formatted": "533",
        "delta": null,
        "deltaPct": null,
        "trendDirection": "flat",
        "sparkline": [
          120,
          135,
          128,
          150
        ],
        "a11yDescription": "Orders: 533."
      },
      {
        "id": "trend",
        "kind": "chart",
        "chartType": "line",
        "renderer": "vega-lite",
        "title": "Orders by week",
        "a11yDescription": "Line chart of orders by week.",
        "spec": {
          "$schema": "https://vega.github.io/schema/vega-lite/v6.json",
          "title": "Orders by week",
          "description": "Line chart of orders by week.",
          "data": {
            "values": [
              {
                "week": "2026-09-07",
                "orders": 120
              },
              {
                "week": "2026-09-14",
                "orders": 135
              },
              {
                "week": "2026-09-21",
                "orders": 128
              },
              {
                "week": "2026-09-28",
                "orders": 150
              }
            ]
          },
          "autosize": {
            "type": "fit-y",
            "contains": "padding"
          },
          "config": {
            "background": "#FFFFFF",
            "font": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
            "title": {
              "color": "#0A0A0A",
              "font": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
              "fontSize": 24,
              "fontWeight": 600,
              "anchor": "start"
            },
            "axis": {
              "titleColor": "#0A0A0A",
              "titleFont": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
              "labelColor": "#525252",
              "labelFont": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
              "gridColor": "#E5E5E5",
              "domainColor": "#D4D4D4",
              "tickColor": "#D4D4D4"
            },
            "axisX": {
              "grid": false
            },
            "axisY": {
              "grid": true,
              "tickCount": {
                "expr": "min(5, ceil(height / 40))"
              }
            },
            "legend": {
              "titleColor": "#0A0A0A",
              "titleFont": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
              "labelColor": "#525252",
              "labelFont": "Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif"
            },
            "view": {
              "stroke": null
            }
          },
          "usermeta": {
            "oods": {
              "specId": "trend",
              "name": "Orders by week",
              "a11y": {
                "description": "Line chart of orders by week.",
                "ariaLabel": "Line chart of Orders by Week"
              }
            }
          },
          "mark": {
            "type": "line",
            "strokeWidth": 2.5,
            "color": "#3E63DD"
          },
          "encoding": {
            "x": {
              "field": "week",
              "type": "temporal",
              "scale": {
                "type": "utc"
              },
              "axis": {
                "labelExpr": "utcFormat(datum.value, {date: '%b %d'})"
              },
              "title": "Week"
            },
            "y": {
              "field": "orders",
              "type": "quantitative",
              "title": "Orders"
            }
          },
          "height": 300
        },
        "contentHash": "da4e1b2544036d437987093738e8a4af1f99915769b2ad19f69101a2e522299b"
      }
    ],
    "layout": [
      {
        "id": "total",
        "x": 0,
        "y": 0,
        "w": 3,
        "h": 1
      },
      {
        "id": "trend",
        "x": 3,
        "y": 0,
        "w": 6,
        "h": 2
      }
    ],
    "links": [],
    "a11y": {
      "description": "Orders for four weeks: the total, and orders by week.",
      "readingOrder": "kpi-first",
      "panelOrder": [
        "total",
        "trend"
      ]
    },
    "warnings": [],
    "output": {
      "compact": true,
      "theme": "light"
    },
    "meta": {
      "panelCount": 2,
      "datasetCount": 1,
      "crossFiltered": false,
      "errorPanelCount": 0
    },
    "tokenCssRef": "tokens.build",
    "specRef": "dashboard.render-63d3385c",
    "specRefCreatedAt": "2026-10-08T15:09:13.081Z",
    "specRefExpiresAt": "2026-10-08T15:39:13.081Z",
    "contentHash": "824b42cea7ff3aa39cbc9c09cdf4c2f742eba6bec67ace48ea2d463af9a1bec2"
  }
}
