Concepts
The pages in this section explain the ideas behind ZIO Schema rather than how to call a particular API. Read them to understand why the library works the way it does; the Reference section lists the exact types and methods, starting from the Schema cases in Basic Building Blocks.
- The Motivation Behind ZIO Schema explains why ZIO Schema describes data types as ordinary values, and what that makes possible compared with type classes written by hand for every format.
- ZIO Schema Use Cases lists the tasks that a schema drives, such as codecs, validation, diffing, migration, and generators, with a link to the page for each.
- Schema Derivation on Scala 2 and Scala 3 compares how schemas are derived on each Scala version and which language features each one supports.