Simple validation plugin that uses data type attributes