{
 "label": "jev-layout-pipeline__run3",
 "task": "T2",
 "format": "express",
 "messages": [
  {
   "version": "v0.9.1",
   "create_surface": {
    "surface_id": "main",
    "catalog_id": "https://a2uicatalog.ai/catalog/c-data-display.json"
   }
  },
  {
   "version": "v0.9.1",
   "update_components": {
    "surface_id": "main",
    "components": [
     {
      "id": "ttl",
      "component": "heading",
      "text": "Performance Metrics Overview"
     },
     {
      "id": "kpis",
      "component": "metric_row",
      "cols": 4,
      "metrics": [
       {
        "value": "$48,250",
        "label": "Total Revenue",
        "sub": "+12.4% vs last period",
        "trend": "up"
       },
       {
        "value": "1,429",
        "label": "Active Users",
        "sub": "+5.1% vs last period",
        "trend": "up"
       },
       {
        "value": "3.2%",
        "label": "Churn Rate",
        "sub": "-0.8% vs last period",
        "trend": "down"
       },
       {
        "value": "$34.10",
        "label": "Avg Order Value",
        "sub": "-1.5% vs last period",
        "trend": "down"
       }
      ]
     },
     {
      "id": "chart",
      "component": "chartjs_bar",
      "labels": [
       "Week 1",
       "Week 2",
       "Week 3",
       "Week 4"
      ],
      "datasets": [
       {
        "label": "Revenue ($)",
        "data": [
         11200,
         12500,
         11900,
         12650
        ]
       }
      ]
     },
     {
      "id": "root",
      "component": "columns",
      "cols": 1,
      "gap": "1.5rem",
      "align": "top",
      "items": [
       {
        "blocks": [
         "ttl",
         "kpis",
         "chart"
        ]
       }
      ]
     }
    ]
   }
  }
 ]
}