validate EmotionType and NudgeType