# `Raxol.AgentClientProtocol.Schema.Annotations`
[🔗](https://github.com/DROOdotFOO/raxol-agent/blob/raxol_agent_client_protocol-v0.1.0/packages/raxol_agent_client_protocol/lib/raxol/agent_client_protocol/schema/content.ex#L137)

Optional annotations for the client (audience, priority, last-modified).
Every field is optional and decode-lenient: a malformed value defaults to
absent rather than failing the whole `Annotations`.

Ported from the MIT `f1729/agent_client_protocol` (c) 2025 f1729; see NOTICE.md.

# `t`

```elixir
@type t() :: %Raxol.AgentClientProtocol.Schema.Annotations{
  _meta: map(),
  audience: [Raxol.AgentClientProtocol.Schema.Role.t()] | nil,
  last_modified: String.t() | nil,
  priority: float() | nil
}
```

# `from_json`

```elixir
@spec from_json(term()) :: {:ok, t()} | {:error, {:invalid_annotations, term()}}
```

Total: never raises. Malformed optional fields default to absent (never fail the whole object).

# `new`

```elixir
@spec new() :: t()
```

# `to_json`

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

---

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