anchor.diff:  schema() ->
       case setup:get_env(aeutils, '$schema', undefined) of
           undefined ->
  -            read_schema(),
  -            setup:get_env(aeutils, '$schema', []);
  +            load_schema(),
  +            {ok, S} = setup:get_env(aeutils, '$schema'),
  +            S;
           S ->
               S
       end.
  
positive.code: validate(JSON, F) ->
      validate(JSON, F, report).
  validate(JSON, F, Mode) ->
      validate(JSON, F, read_schema(), Mode).
  
  validate(JSON, F, Schema, Mode) when is_list(JSON) ->
      check_validation([validate_(Schema, J) || J <- JSON], JSON, F, Mode);
  
negative.code:             {error, {schema_file_not_found, Schema}}
      end.
  
  schema_filename() ->
      filename:join(code:priv_dir(aeutils),
                    "epoch_config_schema.json").
  
  load_schema() ->
      load_schema(schema_filename()).
  
  load_schema(F) ->
      [Schema] = jsx:consult(F, [return_maps]),
  