[wip] Generic format validator

Finish making sure the right message gets shown