View Source SimpleSchema.Validator behaviour (simple_schema v1.2.3)

Summary

Callbacks

Link to this callback

validate(get_json_schema, schema, opts, json, cache_key)

View Source
@callback validate(
  get_json_schema :: (any(), any() -> any()),
  schema :: any(),
  opts :: any(),
  json :: any(),
  cache_key :: any()
) :: :ok | {:error, any()}

Functions

Link to this function

validate(get_json_schema, schema, opts, json, cache_key)

View Source