We study cocartesian fibrations between (∞, d)-categories in terms of higher Segal spaces and prove a version of straightening for them. This follows from a repeated application of an explicit combinatorial result, relating two types of fibrations between double categories.