added oneOfType