A simple way to build javascript schemas for validating objects.