updated doc for isOneOf validator