add function validRequiredObject
change required fields to qualified fields