Check valid annotation labels and values.