Add a 'date' type to schema validation and switch DB columns to match.
Improve error reporting and tooltip