Validate objects using a simple object schema