assert correctness of options fields in constructors of objects created from schema