['sanitize:text', 'nullable','boolean'], 'fileType' => ['nullable','array'], 'file_size' => ['sanitize:text', 'nullable','Integer'], 'root_folder' => ['sanitize:text', 'nullable', ValidPathRule::class], 'root_folder_url' => ['sanitize:text', 'nullable','string'], 'folder_options' => ['sanitize:text', 'nullable','string'], 'by_role' => ['nullable', ValidateRolesRule::class], 'by_user' => ['nullable', ValidateUsersRule::class], 'by_user.*.path' => ['nullable', ValidPathRule::class], 'by_user.*.commands' => ['nullable', ValidateCommandsRule::class], 'by_role.*.path' => ['nullable', ValidPathRule::class], 'by_role.*.commands' => ['nullable', ValidateCommandsRule::class], 'guest.path' => ['sanitize:text', 'nullable','string', ValidPathRule::class], 'guest.can_download' => ['sanitize:text', 'nullable', 'boolean'], ]; } }