Skip to content

Group

A folder in a container’s library tree.

A Group carries no content of its own — it exists to give a module or campaign structure. Pages, maps, encounters, references and other groups point at one through their parentId, which is how an adventure gets chapters and a campaign gets sections.

The tree is built from those pointers rather than from a child list, so a group holds no references downward. Groups nest by pointing at each other through their own parentId.

  • Note: Deleting a group does not delete what it contains — the orphaned items resurface at the top level of their container.

  • SeeAlso: Page, Reference, Encounter, Module

View JSON Schema

Property Type Required Description
id string Yes The unique identifier for this group. A UUID string automatically generated when the group is created. This serves as the primary key in the Realm database, and is what its children carry as their parentId.
name string Yes The display name of the group.
Examples: "Chapter 1: Goblin Arrows"
slug string Yes A URL-friendly identifier for the group. Used to link to the group as /group/chapter-1-goblin-arrows.
Examples: "chapter-1-goblin-arrows"
parentId string Yes The identifier of the parent group, for nesting. Empty for a group at the top level of its container.
rank integer Yes The manual sort position among its siblings. Lower values sort first.