Define the input type of the schema
The output value of the field. The property points to a type only and not the real value.
Type marker for camelCase output type inference
Creates a fresh instance of the underlying schema type and wraps it inside the nullable modifier
Mark the field under validation as optional. When combined with nullable, allows both null and undefined values.
A new OptionalModifier wrapping this nullable schema
Apply a transformation to the final validated value. The transformer receives the validated value and can convert it to any new datatype.
The type of the transformed output
Function to transform the validated value
A new TransformModifier wrapping this schema
Compiles to compiler node
Modifies the schema type to allow null values