$songs */ class BatchInteractionRequest extends Request { /** @return array */ public function rules(): array { return [ 'songs' => 'required|array|exists:songs,id', ]; } }