# `JSONSchex.Types.Rule`
[🔗](https://github.com/xinz/jsonschex/blob/main/lib/jsonschex/types.ex#L59)

A single compiled validation step.

`name` identifies the runtime rule implementation and `params` carries the
serializable arguments consumed by `JSONSchex.Validator.Rules.apply/3`.

# `t`

```elixir
@type t() :: %JSONSchex.Types.Rule{name: atom(), params: term()}
```

---

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