submodal validation
0.2.0: added sub object validation