ex_json_schema v0.5.7 ExJsonSchema.Validator
Link to this section Summary
Link to this section Types
Link to this type
errors_with_list_paths()
Link to this section Functions
Link to this function
valid?(root, data)
valid?( ExJsonSchema.Schema.Root.t() | ExJsonSchema.object(), ExJsonSchema.data() ) :: boolean()
Link to this function
valid?(root, schema, data)
valid?( ExJsonSchema.Schema.Root.t(), ExJsonSchema.Schema.resolved(), ExJsonSchema.data() ) :: boolean()
Link to this function
validate(root, data)
validate( ExJsonSchema.Schema.Root.t() | ExJsonSchema.object(), ExJsonSchema.data() ) :: :ok | {:error, errors()}
Link to this function
validate(root, schema, data, path \\ [])
validate( ExJsonSchema.Schema.Root.t(), ExJsonSchema.Schema.resolved(), ExJsonSchema.data(), [String.t() | integer()] ) :: errors_with_list_paths()