Dispatches compiled JSONSchex.Types.Rule structs to their runtime
validation implementations.
This keeps JSONSchex.Validator focused on orchestration while centralizing
rule-specific execution in one place.
Summary
Functions
Applies a compiled rule to data in the given validation context.
Types
@type result() :: :ok | {:ok, MapSet.t()} | {:error, [JSONSchex.Types.Error.t()] | JSONSchex.Types.ErrorContext.t()}
Functions
@spec apply(JSONSchex.Types.Rule.t(), term(), validation_context()) :: result()
Applies a compiled rule to data in the given validation context.