updated doc for required, someOf and strtsWith