# `Insider.Sentinel.Verification.Candidate`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/tools/insider_lab/lib/insider/sentinel/verification/candidate.ex#L1)

A bounded opaque candidate repair.

Its bytes are inert data and cannot select execution authority. They may
contain any byte sequence; only a host-allowlisted body decides how to
interpret them.

# `t`

```elixir
@type t() :: %Insider.Sentinel.Verification.Candidate{
  byte_size: term(),
  content_base64: term(),
  content_sha256: term(),
  format: term(),
  id: term(),
  integrity: term(),
  schema: term()
}
```

# `canonical_binary`

```elixir
@spec canonical_binary(term()) ::
  {:ok, binary()} | {:error, Insider.Protocol.Error.t()}
```

# `content`

```elixir
@spec content(t()) :: {:ok, binary()} | {:error, Insider.Protocol.Error.t()}
```

# `decode`

```elixir
@spec decode(binary()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `decode_map`

```elixir
@spec decode_map(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `new`

```elixir
@spec new(binary(), String.t()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

# `to_wire_map`

```elixir
@spec to_wire_map(t()) :: map()
```

# `validate`

```elixir
@spec validate(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

---

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