The expected input type before validation
The validated output type
The output type with camelCase field names
Type marker for input type inference
Type marker for output type inference
Type marker for camelCase output type inference
Optional[Unique identifier for the schema type. Implement if you want schema type to be used with unionOfTypes.
Optional[Type checking function for union type resolution
Compiles the schema into compiler nodes for validation
Creates a deep copy of the schema instance
Base interface for all constructable schema types in Vine. Defines the contract that all schema types must implement for type inference, compilation, and validation.
Example