# `Parrhesia.Web.RelayInfo`

NIP-11 relay information document.

`document/1` builds the JSON-serialisable relay info map served on
`GET /relay` with `Accept: application/nostr+json`, including supported NIPs,
limitations, and the relay's advertised public key.

# `document`

```elixir
@spec document(map()) :: map()
```

---

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