[
        {
            "name": "product_id",
            "label": "Product",
            "type": "select-search",
            "required": true,
            "dataSource": "/api/products/search"
        },
        {
            "name": "adjustment_type",
            "label": "Adjustment Type",
            "type": "select",
            "required": true,
            "options": [
                {"value": "increase", "label": "Increase (Add Stock)"},
                {"value": "decrease", "label": "Decrease (Remove Stock)"}
            ]
        },
        {
            "name": "quantity",
            "label": "Quantity",
            "type": "number",
            "required": true,
            "min": 0.01
        },
        {
            "name": "warehouse_id",
            "label": "Warehouse",
            "type": "select",
            "required": true,
            "dataSource": "/api/inventory/warehouses"
        },
        {
            "name": "reason",
            "label": "Reason",
            "type": "select",
            "required": true,
            "options": [
                {"value": "stock_take", "label": "Stock Take Correction"},
                {"value": "damage", "label": "Damaged Goods"},
                {"value": "theft", "label": "Theft/Loss"},
                {"value": "return", "label": "Customer Return"},
                {"value": "expired", "label": "Expired Product"},
                {"value": "other", "label": "Other"}
            ]
        },
        {
            "name": "reference_number",
            "label": "Reference Number",
            "type": "text",
            "required": false
        },
        {
            "name": "notes",
            "label": "Notes/Details",
            "type": "textarea",
            "required": true,
            "colspan": 2
        }
    ]