anchor.diff:          ?ERROR_DIR_STATS_NOT_READY-> {<<"initializing">>, undefined}
       end,
       {ok, value, maps_utils:remove_undefined(#{
  -        <<"accountingEnabled">> => maps:get(accounting_enabled, SpaceSupportOpts),
  -        <<"dirStatsServiceStatus">> => Status,
  +        <<"enforcedByAccounting">> => maps:get(accounting_enabled, SpaceSupportOpts),
  +        <<"status">> => Status,
           <<"since">> => Since
       })}.
   
  
positive.code: 
  data_spec(#op_req{operation = update, gri = #gri{aspect = dir_stats_service_state}}) -> #{
      required => #{
          <<"dirStatsServiceEnabled">> => {boolean, any}
      }
  }.
  
  
negative.code: %%--------------------------------------------------------------------
  -spec update(middleware:req()) -> middleware:update_result().
  update(#op_req{gri = #gri{id = SpaceId, aspect = dir_stats_service_state}, data = Data}) ->
      case maps:get(<<"enabled">>, Data) of
          true -> dir_stats_service_state:enable(SpaceId);
          false -> dir_stats_service_state:disable(SpaceId)
      end.
  