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 a literal compiler node
Creates a deep copy of the schema instance
Specialized interface for literal schema types (string, number, boolean, etc.). Extends ConstructableSchema but restricts the compiler output to literal nodes only.
Example