anchor.diff:  get_repo(DocName) when is_atom(DocName) ->
     proplists:get_value(DocName, get_docs());
   
  -get_repo(#sumo_doc{name=Name}) ->
  +get_repo(_Doc = #{name := Name}) ->
     get_repo(Name).
   
   %% @doc Returns the schema for a given DocName.
  
positive.code: 
  -export([report_overrun/1]).
  
  -opaque schema()  :: #sumo_schema{}.
  -opaque doc()     :: #sumo_doc{}.
  -opaque field()   :: #sumo_field{}.
  
  -export_type([schema/0, doc/0, field/0]).
  
  
negative.code: %% @doc Returns the name of the schema
  -spec schema_name(schema()) -> sumo:schema_name().
  schema_name(Schema) ->
    maps:get(name, Schema, undefined).
  
  %% @doc Returns the fields of the schema
  -spec schema_fields(schema()) -> [field()].
  schema_fields(Schema) ->
    maps:get(fields, Schema, []).
  
  %% @doc Returns the doc name
  -spec doc_name(doc()) -> atom().
  doc_name(Doc) ->
    maps:get(name, Doc, undefined).
  
  -spec doc_fields(doc()) -> sumo:doc().
  doc_fields(Doc) ->
    maps:get(fields, Doc, []).
  
  %% @doc Wakes up the document
  -spec wakeup(doc()) -> sumo:user_doc().
  