add eventtemplatedb to validate nullable, required, data types