How to declare Array in Typedef Struct

In reply to shiva kumar:

How does your payload array look like?
Is it a good approach to use a struct. If you are working with UVM a seq_item (transaction) might be the prefered construct.