@mikepea / @snehaso validating enum types in schema