Added validation for uniqueness, format, and presence