Optionaloptions: Partial<FieldOptions>Optionalvalidations: Validation<any>[]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
The subtype of the literal schema field
The property must be implemented for "unionOfTypes"
Define a callback to conditionally require a field at runtime.
The callback method should return "true" to mark the field as required, or "false" to skip the required validation
Define a callback to conditionally require a field at runtime.
The callback method should return "true" to mark the field as required, or "false" to skip the required validation
Mark the field under validation as required when all
the other fields are present with value other
than undefined or null.
Mark the field under validation as required when any one of the other fields are present with non-nullable value.
Mark the field under validation as required when all
the other fields are missing or their value is
undefined or null.
Mark the field under validation as required when any one of the other fields are missing.
Checks if the value is undefined or null. The method must be implemented for "unionOfTypes"
Define a method to parse the input value. The method is invoked before any validation and hence you must perform type-checking to know the value you are working it.
Push a validation to the validations chain.
Enable/disable the bail mode. In bail mode, the field validations are stopped after the first error.
Clones the VineNull schema type. The applied options and validations are copied to the new instance
Mark the field under validation to be null. The null value will be written to the output as well.
Compiles the schema type to a compiler node
Specify an optional value inside a union.