Replace the 'exactly' validator with support for primitive schemas