[
        {
            "name": "name",
            "label": "Warehouse Name",
            "type": "text",
            "required": true
        },
        {
            "name": "code",
            "label": "Warehouse Code",
            "type": "text",
            "required": true
        },
        {
            "name": "type",
            "label": "Location Type",
            "type": "select",
            "required": true,
            "options": [
                {"value": "warehouse", "label": "Warehouse"},
                {"value": "store", "label": "Store/Outlet"},
                {"value": "transit", "label": "In Transit"}
            ]
        },
        {
            "name": "address",
            "label": "Address",
            "type": "text",
            "required": false
        },
        {
            "name": "capacity",
            "label": "Capacity (units)",
            "type": "number",
            "required": false
        },
        {
            "name": "manager",
            "label": "Warehouse Manager",
            "type": "text",
            "required": false
        },
        {
            "name": "is_active",
            "label": "Active",
            "type": "checkbox",
            "default": true
        },
        {
            "name": "notes",
            "label": "Notes",
            "type": "textarea",
            "required": false,
            "colspan": 2
        }
    ]