mixed_examples library

Classes

BasicUser
Example 1: Schema-only (default behavior)
BlogPost
Example 4: Complex nested model
EnhancedUser
Example 2: Enhanced user with validation
Order
Example 3: Enum example with schema-only
ProductInventory
Example 5: Model with various constraints

Properties

basicUserSchema → ObjectSchema
Generated schema for BasicUser Basic user model - generates only schema variable
final
blogPostSchema → ObjectSchema
Generated schema for BlogPost Blog post with author - demonstrates nested models
final
enhancedUserSchema → ObjectSchema
Generated schema for EnhancedUser Enhanced user with comprehensive validation
final
orderSchema → ObjectSchema
Generated schema for Order Order with status enum - schema only
final
productInventorySchema → ObjectSchema
Generated schema for ProductInventory Product inventory with comprehensive constraints
final

Functions

main() → void