add validation to ensure uniqueness of conditional types