# `Slither.Examples.DataEtl.SchemaStore`
[🔗](https://github.com/nshkrdotcom/slither/blob/v0.1.0/lib/slither/examples/data_etl/schema_store.ex#L1)

Hot-reloadable schema store for data validation.

Holds versioned validation schemas and transformation rules in ETS
tables with read concurrency enabled. Supports live schema updates
via `Slither.Store.Server.put/4` to demonstrate hot-reload without
process restart.

Ships with two schema versions:

  * **v1** -- baseline schema with name, age (0..150), and email
  * **v2** -- stricter rules: name min-length 2, age 18..120,
    email pattern validation, and an optional role field

Run the ETL pipeline demo with
`Slither.Examples.DataEtl.EtlPipe.run_demo/0`.

# `schema_v1`

```elixir
@spec schema_v1() :: map()
```

Return the v1 validation schema map.

# `schema_v2`

```elixir
@spec schema_v2() :: map()
```

Return the v2 validation schema map.

# `transform_rules`

```elixir
@spec transform_rules() :: map()
```

Return the default transformation rules map.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
