Add a schema validation utility