O-antigen repeat number in Salmonella enterica serovar Enteritidis is important for egg contamination, colonisation of the chicken reproductive tract and survival in egg albumen.