# Relation

<img src="/icons/relation.png" alt="" width="48" height="48" class="ow-type-icon" />

Relations are non-material and capture meaningful connections between world elements. They track interactions, alignments, conflicts, or agreements between characters, groups, places, and other entities. 

Every field is optional, `actor` included. A treaty between two Institutions is a Relation with both in `institutions` and no `actor`. Set `actor` only when one Character is the side the relation belongs to.

Two conventions use Relations: `Tenure` keeps who held a [Title](/docs/schema/element_categories/title) when, and `Membership` who belonged to a body when.

Relations are special definitions between world elements. They interact with:

- **Characters and Institutions** (defining personal and organizational relationships)
- **Events** (arising from or recognizing a relationship)
- **Objects, Zones, Traits, and Abilities** (as things exchanged, contested, or shared)

They are distinct from:

- **Titles** (which indicate formal authority, not interpersonal context)
- **Events** (a happening, with its own start and end; a Relation is the standing bond between its sides, with its own span)
- **Constructs** (which encode rules or structures, not associations between elements)
- **Families and Collectives** (which describe structure, not necessarily activity)

<!-- generated:fields (scripts/gen_elements.py rewrites everything below this line) -->

## Fields

Drawn with the other element types: [what Relation links to](/docs/schema/?kind=relation#what-links-to-what).

Integers are whole numbers: the API truncates a decimal, and a range is a display hint it does not enforce ([Field types](/docs/schema/fields#field-types)).

### Nature

| Field | Type | Description |
|---|---|---|
| `background` | text | History and origin of the relation |
| `start_date` | integer | Date when the relation began, in the world's time unit (World time_basic_unit) |
| `end_date` | integer | Date when the relation ended if any, in the world's time unit (World time_basic_unit) |
| `intensity` | integer, 0 to 100 | Significance of the relation, on a relative scale of 0 to 100 |
| `actor` | link to Character | Primary character defining the relation |
| `events` | links to Event | Events where the relation is involved or relevant |

### Involves

| Field | Type | Description |
|---|---|---|
| `characters` | links to Character | Characters relevant to the relation |
| `objects` | links to Object | Objects relevant to the relation |
| `locations` | links to Location | Locations relevant to the relation |
| `species` | links to Species | Species relevant to the relation |
| `creatures` | links to Creature | Creatures relevant to the relation |
| `institutions` | links to Institution | Institutions relevant to the relation |
| `traits` | links to Trait | Traits relevant to the relation |
| `collectives` | links to Collective | Collectives relevant to the relation |
| `zones` | links to Zone | Zones relevant to the relation |
| `abilities` | links to Ability | Abilities relevant to the relation |
| `phenomena` | links to Phenomenon | Phenomena relevant to the relation |
| `languages` | links to Language | Languages relevant to the relation |
| `families` | links to Family | Families relevant to the relation |
| `titles` | links to Title | Titles relevant to the relation |
| `constructs` | links to Construct | Concepts, contracts, or principles relevant to the relation |
| `narratives` | links to Narrative | Narratives relevant to the relation |