{
        "type": "dashboard",
        "refreshInterval": 30000,
        "layout": "grid",
        "widgets": [
            {
                "id": "stats_overview",
                "type": "stats",
                "title": "Submission Overview",
                "col": 1,
                "row": 1,
                "width": 4,
                "height": 1,
                "dataSource": "/api/taxcore/stats/{org_id}",
                "stats": [
                    {"key": "total", "label": "Total Submissions", "icon": "fa-file-invoice", "color": "primary"},
                    {"key": "successful", "label": "Successful", "icon": "fa-check-circle", "color": "success"},
                    {"key": "failed", "label": "Failed", "icon": "fa-times-circle", "color": "error"},
                    {"key": "pending", "label": "Pending", "icon": "fa-clock", "color": "warning"}
                ]
            },
            {
                "id": "success_rate",
                "type": "gauge",
                "title": "Success Rate",
                "col": 1,
                "row": 2,
                "width": 2,
                "height": 1,
                "dataSource": "/api/taxcore/stats/{org_id}",
                "valueKey": "success_rate",
                "min": 0,
                "max": 100,
                "unit": "%",
                "ranges": [
                    {"min": 0, "max": 70, "color": "error", "label": "Critical"},
                    {"min": 70, "max": 90, "color": "warning", "label": "Warning"},
                    {"min": 90, "max": 100, "color": "success", "label": "Healthy"}
                ]
            },
            {
                "id": "total_amount",
                "type": "metric",
                "title": "Total Amount Submitted",
                "col": 3,
                "row": 2,
                "width": 2,
                "height": 1,
                "dataSource": "/api/taxcore/stats/{org_id}",
                "valueKey": "total_amount",
                "format": "currency",
                "trend": true,
                "trendKey": "amount_trend"
            },
            {
                "id": "recent_submissions",
                "type": "list",
                "title": "Recent Submissions",
                "col": 1,
                "row": 3,
                "width": 4,
                "height": 2,
                "dataSource": "/api/taxcore/submission-history/{org_id}",
                "limit": 10,
                "columns": [
                    {"key": "status", "label": "Status", "type": "badge"},
                    {"key": "submission_type", "label": "Type"},
                    {"key": "taxcore_invoice_number", "label": "Invoice #"},
                    {"key": "total_amount", "label": "Amount", "type": "currency"},
                    {"key": "created_at", "label": "Time", "type": "datetime"}
                ],
                "actions": [{"label": "View All", "link": "/taxcore/submissions"}]
            }
        ]
    }