how to get list of valid attributes