This type of validity is assessed by testing to see whether the ideas orthemes that should not be related are actually unrelated in the responses. Discriminant validity is fundamental when a survey explores more than one idea. You should test for discriminant validity when you want to make sure that your ideas are as independent as you think they are.
You can learn more about discriminant validity in Elizabeth Arpin’s video (Arpin, 2016) below from the perspective of medicine.