1307 - better parse record definitions with type specs