A validator for (nested) objects with a simple API.