anchor.diff:          false -> ?CLIENT_SPEC_FOR_SPACE_2_SCENARIOS(Config)
       end,
       DataSpec = #data_spec{
  -        optional = [<<"inherited">>, <<"filter_type">>, <<"filter">>],
  +        optional = QsParams = [<<"inherited">>, <<"filter_type">>, <<"filter">>],
           correct_values = #{
               <<"inherited">> => [true, false],
               <<"filter_type">> => [<<"keypath">>],
  
positive.code:         _Providers = ?config(op_worker_nodes, Config),
          ClientSpec,
          DataSpec,
          _QsParams = [<<"inherited">>, <<"filter_type">>, <<"filter">>],
          Config
      ).
  
  
negative.code: 
  
  %%%===================================================================
  %%% Get xattrs functions
  %%%===================================================================
  
  
  
  get_file_xattrs_with_json_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, _SetDirectXattrs = true, _TestShareMode = false, Config).
  
  
  get_dir_xattrs_with_json_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, _SetDirectXattrs = true, _TestShareMode = false, Config).
  
  
  get_file_xattrs_without_json_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, _SetDirectXattrs = false, _TestShareMode = false, Config).
  
  
  get_dir_xattrs_without_json_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, _SetDirectXattrs = false, _TestShareMode = false, Config).
  
  
  get_shared_file_xattrs_with_json_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, _SetDirectXattrs = true, _TestShareMode = true, Config).
  
  
  get_shared_dir_xattrs_with_json_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, _SetDirectXattrs = true, _TestShareMode = true, Config).
  
  
  get_shared_file_xattrs_without_json_set_test(Config) ->
      get_xattrs_test_base(<<"file">>, _SetDirectXattrs = false, _TestShareMode = true, Config).
  
  
  get_shared_dir_xattrs_without_json_set_test(Config) ->
      get_xattrs_test_base(<<"dir">>, _SetDirectXattrs = false, _TestShareMode = true, Config).
  
  
  %% @private
  get_xattrs_test_base(FileType, SetDirectXattrs, TestShareMode, Config) ->
      {FileLayer3Path, FileLayer3Guid, ShareId} = create_get_xattrs_tests_env(
          FileType, SetDirectXattrs, TestShareMode, Config
      ),
      NotSetXattrKey = <<"not_set_xattr">>,
      GetExpCallResultFun = create_get_xattrs_call_exp_result_fun(ShareId, SetDirectXattrs, NotSetXattrKey),
  
      ClientSpec = case TestShareMode of
          true -> ?CLIENT_SPEC_FOR_SHARE_SCENARIOS(Config);
          false -> ?CLIENT_SPEC_FOR_SPACE_2_SCENARIOS(Config)
      end,
  
      DataSpec = #data_spec{
          optional = QsParams = [<<"attribute">>, <<"inherited">>, <<"show_internal">>],
          correct_values = #{
              <<"attribute">> => [
                  % Xattr name with prefixes 'cdmi_' and 'onedata_' should be forbidden
  