Need help making an advancement

I want to make an advancement where if I look at an entity and it has a certain nbt value, it would grant the advancement, I'm having some trouble with specifying it The entity is a modded entity

Continue to help post