# `Reminisce.Limits`
[🔗](https://github.com/NoeticEcho/reminisce-elixir/blob/v0.6.0/lib/reminisce/limits.ex#L4)

Size caps on every text the library accepts, checked before any scanning or
I/O. A text over its cap is refused as `{:error, {:too_long, field}}`.

| field | bytes |
|---|---|
| `content` | 32,768 |
| `query` | 2,048 |
| each facet (`name=value`), `reason` | 2,048 |
| each source reference | 2,048 |
| each cue (`kind:value`) | 2,048 |
| `key`, each `derived_from` key, owner kind and key, `subject`, `consent`, `reviewed_by`, each `affect_scope` | 256 |
| `persona_set_by`, `persona_proposed_by`, each `persona_scope` | 256 |

# `cap`

The cap for `field`, in bytes.

# `check`

`:ok` when every string in `value` (a string, or a list of strings and
`{name, value}` pairs, measured as stored: `name=value`) fits `field`'s cap.

---

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