Implement generic schema validation for dictionaries.