[ 'nullable', 'array', JsonApiRule::fieldSets(), ], 'user_group_id' => [ 'nullable', 'integer', new IsAllowedGroupAction(Account::class, request()->method()), ], 'filter' => [ 'nullable', 'array', JsonApiRule::filter(), ], 'include' => [ 'nullable', 'string', JsonApiRule::includePaths(), ], 'page' => [ 'nullable', 'array', JsonApiRule::page(), ], 'sort' => [ 'nullable', 'string', JsonApiRule::sort(), ], 'withCount' => [ 'nullable', 'string', JsonApiRule::countable(), ], ]; } }