BVAL-221 Add ability to create constraints on top subnode map or list va...

Can you guys specifically review the examples to make sure I did not screw them up.