A dog is jumping over a barrier at a agility competition .