Add, test and document the enum validator type.