[wip] Generic format validator

Start work on keeping track of criteria and errors