data (DashboardData) is the payload that contains runtime widget data referenced by dashboard.widgets[*].data_ref.

Top-Level Fields

  • id (required): unique data payload identifier.
  • dashboard_id (required): target dashboard ID.
  • version: schema version string (default 0.0.1).
  • generated_at / updated_at: timestamps.
  • source: provenance/source system string.
  • tags: free-form tags.
  • timezone: default timezone for display/query context.
  • default_locale: default locale.
  • data_sources (required): shared dataset map keyed by reference name.

Validation Highlights

  • dashboard_id must match dashboard.id at render time.
  • data_sources keys must be non-empty.
  • Every dashboard.widgets[*].data_ref must exist in data_sources.

Example

{
  "id": "sales_dashboard_data",
  "dashboard_id": "sales_dashboard",
  "data_sources": {
    "sales_by_region": {
      "kind": "inline",
      "data": [
        {"x": "North", "y": 300000},
        {"x": "South", "y": 250000}
      ]
    }
  }
}

Schema Packaging

The data schema is published as a referenceable JSON Schema document set so validators and code generators can resolve related definitions across documents.