A border collie is jumping through a hoop in a competition.