Improve error messages
Refactor validateChildSchema