1return [
2 'fname' => 'required|max:255|regex:/^[a-zA-ZÑñ\s]+$/',
3 'lname' => 'required|max:255|regex:/^[a-zA-ZÑñ\s]+$/',
4 'mname' => 'max:255|alpha',
5 'file' => 'image|mimes:jpg,jpeg,png',
6 'contact_no' => 'regex:/^[-0-9\+]+$/',
7 'date_of_birth' => 'required|date_format:Y-m-d',
8 'school_id' => 'required|exists:schools,id',
9 'degree_id' => 'required|exists:degrees,id',
10 ];
11