{
        "description": "Configure multi-unit conversions for products",
        "version": "1.0.0",
        "dataSources": {
            "products": {
                "endpoint": "/api/products",
                "primaryKey": "product_id",
                "cache": true
            }
        },
        "columns": [
            {"field": "name", "label": "Product", "sortable": true, "searchable": true},
            {"field": "base_unit", "label": "Base Unit"},
            {"field": "master_unit", "label": "Master Unit 1"},
            {"field": "units_per_master", "label": "Units/Master 1", "type": "number"},
            {"field": "master_unit_2", "label": "Master Unit 2"},
            {"field": "units_per_master_2", "label": "Units/Master 2", "type": "number"},
            {"field": "conversion_display", "label": "Conversion", "computed": true, 
             "formula": "1 {master_unit_2} = {units_per_master_2} {master_unit}, 1 {master_unit} = {units_per_master} {base_unit}"}
        ],
        "rowActions": [
            {
                "label": "Edit Units",
                "icon": "fa-edit",
                "action": "product:edit-units",
                "class": "btn-sm btn-primary"
            }
        ],
        "headerActions": [
            {
                "label": "Bulk Update",
                "icon": "fa-upload",
                "action": "product:units:bulk-import",
                "class": "btn-secondary"
            }
        ],
        "filters": [
            {
                "name": "has_units",
                "label": "Show Configured Only",
                "type": "checkbox"
            }
        ]
    }