Epubcheck is the only real epub validator that I know about. It is/was created by the people who did the old idpf validator. It is now mantained by Daisy and w3c, I believe.
The epubcheck plugin for Sigil handles that.
See
https://github.com/w3c/epubcheck if you want more details.