# \#draft

**URL:** https://forum.elixirforum.com/tag/draft/4927.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Draft - enforce typed structs and validation rules with draft schema](https://forum.elixirforum.com/t/draft-enforce-typed-structs-and-validation-rules-with-draft-schema/74631)

<div class="topic-metadata">

**Author:** [@2p4b](https://forum.elixirforum.com/u/2p4b)\
**Replies:** 2\
**Last updated:** [March 25, 2026, 6:17am UTC](https://forum.elixirforum.com/t/draft-enforce-typed-structs-and-validation-rules-with-draft-schema/74631 "2026-03-25T06:17:08Z")

</div>

Define typed structs with built-in validation. Draft allows developers to describe the structure of data and enforce constraints when constructing structs, helping ensure that invalid data never enters your domain. Inst…
