Convert admin field to type enum.