ver 1.0.1: add support for oneOf