specs for validators