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

A canonical, offline source-ownership routing companion for a draft proposal.

This artifact reads only caller-supplied declaration bytes and the exact
proposal candidate. Its owner labels are opaque, declared, and unverified;
they are routing hints, never identities, permissions, or assignments.

# `t`

```elixir
@type t() :: %Insider.Sentinel.SourceOwnership{
  attributions: term(),
  candidate: term(),
  controls: term(),
  declaration: term(),
  id: term(),
  integrity: term(),
  kind: term(),
  proposal: term(),
  schema: term(),
  trust: term()
}
```

# `canonical_binary`

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

# `decode`

```elixir
@spec decode(term()) :: {: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(term(), binary()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
```

Builds routing hints from an exact proposal and direct declaration bytes.

# `to_wire_map`

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

# `validate`

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

Validates standalone canonical structure and content identity only.

# `validate_with_proposal`

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

Recomputes routing from the exact proposal and exact declaration bytes.

---

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