The schema type to apply when condition is met
Creates a new UnionConditional instance.
The schema type to apply when condition is met
Function that determines if this branch matches
Schema to apply when the conditional returns true
The input type of the schema
The output type of the schema
The camelCase output type of the schema
Transforms the conditional's schema into JSON Schema format.
Compiles the conditional to a union conditional node.
The name of the property being validated
Reference store for tracking validators and conditionals
Parser options including camelCase transformation
Represents a union conditional type. A conditional is a predicate function combined with a schema that is applied when the predicate evaluates to true.
Each conditional acts as a branch in the union, determining which validation schema should be applied based on runtime conditions.