# `Brix.SectionTemplate`
[🔗](https://github.com/LoamStudios/brix/blob/main/lib/brix/section_template.ex#L1)

Defines the field schema for a section type. Used by the validator
to check that section content matches the expected structure.

# `field_def`

```elixir
@type field_def() :: %{
  type: atom(),
  required: boolean(),
  of: atom() | [String.t()] | nil
}
```

# `t`

```elixir
@type t() :: %Brix.SectionTemplate{
  fields: %{required(String.t()) =&gt; field_def()} | nil,
  name: String.t() | nil
}
```

---

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