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
Mark the field under validation as optional. An optional field allows both null and undefined values.
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
Mark the field under validation to be null. The null value will be written to the output as well.
If optional and nullable are used together, then both undefined
and null values will be allowed.
Creates a fresh instance of the underlying schema type and wraps it inside the meta modifier
Transforms your schema type into JSONSchema7
Compiles to compiler node
Adds meta data to the schema type.