# `PtcRunner.SubAgent.Signature.Validator`
[🔗](https://github.com/andreasronge/ptc_runner/blob/main/lib/ptc_runner/sub_agent/signature/validator.ex#L1)

Validates data against signature type specifications.

Provides strict validation with path-based error reporting.

# `validation_error`

```elixir
@type validation_error() :: %{
  path: [String.t() | non_neg_integer()],
  message: String.t()
}
```

# `validate`

```elixir
@spec validate(term(), term()) :: :ok | {:error, [validation_error()]}
```

Validate data against a signature AST.

Returns :ok or {:error, [validation_error()]}

---

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