You can not have containers inside containers. So you can’t have a NativeArray in a NativeHashMap. But, you can use a NativeMultiHashMap, which contains multiple values for each key.
It can be traversed with a ‘IJobNativeMultiHashMapMergedSharedKeyIndices’, which is a bit confusing at first, but i got some help in this thread: