[
        {
            "name": "source_product_id",
            "label": "Source Product (Bulk)",
            "type": "select-search",
            "required": true,
            "dataSource": "/api/products/search"
        },
        {
            "name": "source_quantity",
            "label": "Quantity to Break",
            "type": "number",
            "required": true,
            "min": 0.01
        },
        {
            "name": "target_product_id",
            "label": "Target Product (Unit)",
            "type": "select-search",
            "required": true,
            "dataSource": "/api/products/search"
        },
        {
            "name": "target_quantity",
            "label": "Units Produced",
            "type": "number",
            "required": true,
            "min": 0.01
        },
        {
            "name": "warehouse_id",
            "label": "Warehouse",
            "type": "select",
            "required": true,
            "dataSource": "/api/inventory/warehouses"
        },
        {
            "name": "batch_number",
            "label": "New Batch Number",
            "type": "text",
            "required": false
        },
        {
            "name": "notes",
            "label": "Notes",
            "type": "textarea",
            "required": false,
            "colspan": 2
        }
    ]