Fix schema validation