Type marker for input type inference
Type marker for output type inference
Type marker for camelCase output type inference
Define a fallback method to invoke when all of the union conditions fail. You may use this method to report an error.
Clones the VineUnionOfTypes schema type.
Mark the field under validation as optional. An optional field allows both null and undefined values.
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.
Compiles to a union
Vine union represents a union data type. A union is a collection of conditionals and each condition has an associated schema