Factors of welfare reduction in sheep and goats