Constraint builders return new schemas; the original schema remains unchanged.
Guides
Constraints
Length, format, and numeric range constraints
String schemas support length, email, URL, UUID, and regex constraints. Numeric schemas support inclusive ranges plus positive and negative checks.