anchor.diff:              ),
               {ok, ?DOI_DC_IDENTIFIER(DoiHandle)};
           _ -> % <<"PID">> and other types
  -            DoiId = ?RANDOM_ID,
  +            DoiId = ?RANDOM_ID(),
               {ok, 201, _, RespJSON} = handle_proxy_client:put(
                   ProxyEndpoint, <<"/handle?hndl=", DoiId/binary>>, Headers, Body
               ),
  
positive.code:     case Type of
          <<"DOI">> ->
              Prefix = maps:get(<<"prefix">>, ServiceProperties),
              DoiId = ?RANDOM_ID,
              DoiHandle = <<Prefix/binary, "/", DoiId/binary>>,
              DoiHandleEncoded = http_utils:url_encode(DoiHandle),
              {ok, 201, _, _} = handle_proxy_client:put(
  
negative.code: 
  -include("datastore/oz_datastore_models.hrl").
  -include("registered_names.hrl").
  
  -type public_url() :: binary().
  
  -define(RANDOM_ID(), base64url:encode(crypto:strong_rand_bytes(5))).
  -define(DOI_DC_IDENTIFIER(Hndl), <<"doi:", Hndl/binary>>).
  
  %% API
  