validator call with key and parent key