ex_json_schema v0.5.4 ExJsonSchema.Validator
Summary
Types
Functions
valid?(arg1, data)
valid?(ExJsonSchema.Schema.Root.t, ExJsonSchema.data) :: boolean
valid?(ExJsonSchema.json, ExJsonSchema.data) :: boolean
valid?(root, schema, data)
valid?(ExJsonSchema.Schema.Root.t, ExJsonSchema.Schema.resolved, ExJsonSchema.data) :: boolean
validate(arg1, data)
validate(ExJsonSchema.Schema.Root.t, ExJsonSchema.data) :: :ok | {:error, errors}
validate(ExJsonSchema.json, ExJsonSchema.data) :: :ok | {:error, errors}
validate(root, schema, data, path \\ [])
validate(ExJsonSchema.Schema.Root.t, ExJsonSchema.Schema.resolved, ExJsonSchema.data, [String.t | integer]) :: errors_with_list_paths