nex_json_schema v0.6.0 NExJsonSchema.Validator

Summary

Types

errors()
errors() :: [{String.t, String.t}] | []
errors_with_list_paths()
errors_with_list_paths ::
  [{String.t, [String.t | integer]}] |
  []

Functions

valid?(arg1, data)
valid?(root, schema, data)
validate(arg1, data)
validate(NExJsonSchema.Schema.Root.t, NExJsonSchema.data) ::
  :ok |
  {:error, errors}
validate(NExJsonSchema.json, NExJsonSchema.data) ::
  :ok |
  {:error, errors}
validate(root, schema, data, path \\ [])