> ## Documentation Index
> Fetch the complete documentation index at: https://typewall.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

```python theme={null}
from typewall import w

Account = w.object({
    "email": w.str().email(),
    "age": w.int().min(18),
    "score": w.float().min(0.0).max(1.0),
})
```

> [!NOTE]
>
> Constraint builders return new schemas; the original schema remains unchanged.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.