[ 'nullable', 'min:2', 'max:255', ], 'last_name' => [ 'required', 'min:3', 'max:255', 'unique_with:persons,first_name,date_of_birth', ], 'first_name' => [ 'required', 'min:3', 'max:255', ], 'email' => [ 'required', 'email', 'max:50', 'unique:persons,email', ], // 'email' => [ // 'required', 'email', 'max:100', // Rule::unique('persons')->ignore($user->id), // ], 'identifier_orcid' => [ 'nullable', 'min:19', 'max:50', ], 'status' => [ 'required', 'boolean', ], 'date_of_birth' => [ 'nullable', 'date', ], ]; } }