Added partial validation for the LEGEND section