anchor.diff:                     })
     end.
   
  -%%% @doc
  +%%% @doc 5.10.  maximum
  +%%
  +%% This attribute defines the maximum value of the instance property
  +%% when the type of the instance value is a number.
   %% @private
   check_maximum(Value, Maximum, ExclusiveMaximum) ->
  +%% @doc 5.12.  exclusiveMaximum
  +%%
  +%% This attribute indicates if the value of the instance (if the
  +%% instance is a number) can not equal the number defined by the
  +%% "maximum" attribute.  This is false by default, meaning the instance
  +%% value can be less then or equal to the maximum value.
  +%% @end
     Result = case ExclusiveMaximum of
                true  -> Value < Maximum;
                _     -> Value =< Maximum
  
positive.code:              ),
    ok.
  
  %% @doc
  %% @private
  check_pattern(Value, Pattern) ->
    case re:run(Value, Pattern, [{capture, none}]) of
  
negative.code: %% TODO:
  check_format(_Value, _Format) -> ok.
  
  %% @doc 5.24.  divisibleBy
  %%
  %% This attribute defines what value the number instance must be
  %% divisible by with no remainder (the result of the division must be an
  %% integer.)  The value of this attribute SHOULD NOT be 0.
  %% @private
  check_divisible_by(_Value, 0, JsonSchema) ->
    throw({ schema_invalid
  