{
        "category": "operations",
        "route": "/quality-assurance",
        "permissions": ["qa.view", "qa.manage"],
        "dataSources": {
            "qa_standards": {
                "table": "qa_standards",
                "columns": ["id", "standard_code", "name", "category", "status"],
                "filters": ["status", "category"],
                "searchable": ["standard_code", "name"]
            },
            "qa_inspections": {
                "table": "qa_inspections",
                "columns": ["id", "inspection_number", "inspection_type", "inspection_date", "product_id", "overall_result", "status"],
                "filters": ["status", "inspection_type", "overall_result"],
                "searchable": ["inspection_number", "batch_number"]
            },
            "qa_tests": {
                "table": "qa_tests",
                "columns": ["id", "inspection_id", "test_name", "parameter", "result", "tested_at"],
                "filters": ["result"],
                "searchable": ["test_name"]
            },
            "qa_non_conformances": {
                "table": "qa_non_conformances",
                "columns": ["id", "nc_number", "detected_date", "category", "severity", "status"],
                "filters": ["status", "severity", "category"],
                "searchable": ["nc_number"]
            }
        },
        "views": [
            {
                "name": "standards",
                "label": "QA Standards",
                "type": "table",
                "dataSource": "qa_standards",
                "rowActions": [
                    {"label": "Edit", "icon": "fa-edit", "action": "edit"},
                    {"label": "View Criteria", "icon": "fa-eye", "action": "qa:view-criteria"}
                ]
            },
            {
                "name": "inspections",
                "label": "Inspections",
                "type": "table",
                "dataSource": "qa_inspections",
                "rowActions": [
                    {"label": "Conduct Inspection", "icon": "fa-clipboard", "action": "qa:conduct-inspection", "condition": "status == \"pending\""},
                    {"label": "View Tests", "icon": "fa-flask", "action": "qa:view-tests"},
                    {"label": "Generate Report", "icon": "fa-file-pdf", "action": "qa:inspection-report", "condition": "status == \"completed\""}
                ]
            },
            {
                "name": "non_conformances",
                "label": "Non-Conformances",
                "type": "table",
                "dataSource": "qa_non_conformances",
                "rowActions": [
                    {"label": "Assign Action", "icon": "fa-user-plus", "action": "qa:assign-corrective-action", "condition": "status == \"open\""},
                    {"label": "Verify", "icon": "fa-check-circle", "action": "qa:verify-action", "condition": "status == \"action-taken\""},
                    {"label": "Close", "icon": "fa-times-circle", "action": "qa:close-nc", "condition": "status == \"verified\""}
                ]
            }
        ]
    }