remove unnecessary oneOf in schema