renamed oneOf to enum