# tmux_schema:relation_metadata/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_schema.erl#L43
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_schema-relation_metadata-0/

```
-type relation_metadata() ::
          #{kind := one | many,
            target := entity(),
            wire := binary(),
            stable := binary()}.
```

Generated relationship contract: kind is one or many; target names the related entity. wire and stable have the same roles as in `t:field_metadata/0`. Completeness belongs to snapshot coverage, not this static schema.
