Validate an object against a schema. This is the schema validation library you actually wanted.