# `VideoInterop.Validator`
[🔗](https://github.com/emerge-elixir/video_interop/blob/v0.1.2/lib/video_interop/validator.ex#L1)

Structural validation and producer-authority verification for borrowed frames.

# `reason`

```elixir
@type reason() :: term()
```

# `validate_descriptor`

```elixir
@spec validate_descriptor(term()) :: :ok | {:error, reason()}
```

# `validate_format`

```elixir
@spec validate_format(term()) :: :ok | {:error, reason()}
```

# `validate_frame`

```elixir
@spec validate_frame(term()) :: :ok | {:error, reason()}
```

# `validate_frame_against_format`

```elixir
@spec validate_frame_against_format(term(), term()) :: :ok | {:error, reason()}
```

---

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