Minecraft wiki entry for JSON_format, associated text:  conditions:
 effects: A list of status effects the player has.
 <minecraft:effect_name>: A status effect with the key name being the status effect name.
 amplifier: The effect amplifier.
 amplifier:
 max: The maximum value.
 min: The minimum value.
 duration: The effect duration in ticks.
 duration:
 max: The maximum value.
 min: The minimum value.
 source: The entity that was the source of the status effect. Empty when there is no entity or when the effect was self-applied or removed. May also be a list of predicates that must pass in order for the trigger to activate.
All possible conditions for entities[show]
 player: The player that would get the advancement. May also be a list of predicates that must pass in order for the trigger to activate.
All possible conditions for entities[show]