Issue #2403703 by claudiu.cristea, pritish.kumar, larowlan, alexpott, jibran, pwolanin, dawehner, Berdir: Allow field types to enforce the cardinality