validate aggregate root type