# `Insider.Observability.Export`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/lib/insider/observability/export.ex#L1)

A bounded, vendor-neutral projection of a validated incident capsule.

An export is inert data for a host-owned asynchronous client. It contains no
event bodies, payloads, artifact references, endpoints, credentials, client
callbacks, or delivery claims. Constructing or decoding one never performs
network work and grants no collection or transport authority.

# `t`

```elixir
@type t() :: %Insider.Observability.Export{
  destination_fingerprint: term(),
  evidence: term(),
  finding: term(),
  id: term(),
  idempotency_key: term(),
  incident_id: term(),
  provider: term(),
  schema: term()
}
```

# `canonical_binary`

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

Derives the only fields approved by the v1 observability boundary.

`destination_fingerprint` is a host-owned opaque SHA-256 identity. It is not
a URL, DSN, site, project name, credential, or proof of authorization.

# `to_wire_map`

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

# `validate`

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

# `validate_against_capsule`

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

Re-derives an export from its complete capsule graph and requires exact equality.

Standalone validation proves only bounded canonical identity, not that an
export was authored from the referenced capsule. Host integrations must use
this function immediately before provider mapping.

---

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