simple_schema v1.1.8 SimpleSchema.Validator behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this function

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

Link to this section Callbacks

Link to this callback

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