nex_json_schema v0.8.3 NExJsonSchema.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
format_error(rule, raw_description, params \\ [])
Link to this function
valid?(root, data)
valid?(NExJsonSchema.Schema.Root.t(), NExJsonSchema.data()) :: boolean()
valid?(NExJsonSchema.json(), NExJsonSchema.data()) :: boolean()
Link to this function
valid?(root, schema, data)
valid?( NExJsonSchema.Schema.Root.t(), NExJsonSchema.Schema.resolved(), NExJsonSchema.data() ) :: boolean()
Link to this function
validate(root, data)
validate(NExJsonSchema.Schema.Root.t(), NExJsonSchema.data()) :: :ok | {:error, errors()}
validate(NExJsonSchema.json(), NExJsonSchema.data()) :: :ok | {:error, errors()}
Link to this function
validate(root, schema, data, path \\ [])
validate( NExJsonSchema.Schema.Root.t(), NExJsonSchema.Schema.resolved(), NExJsonSchema.data(), [String.t() | integer()] ) :: errors_with_list_paths()