Skip to main content
diagram

Entity Types

The RTM model defines entity types under the domainModelTypes root key. Each entity type maps to a Polarion work item type via polarionType.

Standard RTM Entity Types

Document is a built-in entity type representing Polarion LiveDoc modules and does not require a polarionType mapping. Chapter represents document headings and must be explicitly declared with polarionType: heading.

Relationships

Relationships define navigable links between entity types using Polarion link roles.

Standard RTM Relationships

Constraints

Entity types support three constraint types for scoping data loading and entity creation.
Use $context.source.document.component in pick constraints to dynamically filter by the source entity’s component value. This ensures related entities are scoped to the same component.

Expansion Paths

In the sheet configuration, the RTM model supports multi-level expansion through navigation properties:
This loads UserNeed entities and expands two levels deep through SystemRequirement to DesignRequirement, enabling a full RTM hierarchy view in the sheet.

Complete YAML Example

Automotive Safety RTM (Extended Example)

Production automotive projects typically extend the basic RTM with subsystem decomposition, verification at multiple levels, and characteristics traceability. The following example demonstrates a 4-level requirements hierarchy used for ISO 26262 compliance.
This sheet configuration renders the full traceability chain with color-coded column groups and collapsible sections:
Key patterns in this configuration:
  • YAML anchors (&orange / *orange) avoid repeating the same header style across verification columns
  • collapseTo lets users collapse entire requirement levels to a single description column
  • multiItem: true on test case columns renders multiple linked test cases in a single cell
  • groupBy: true on the chapter column organizes rows by document chapter structure
  • Named views provide pre-configured column visibility for different audiences

See Also

Last modified on July 10, 2026