Entity Types
The RTM model defines entity types under thedomainModelTypes 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.Expansion Paths
In the sheet configuration, the RTM model supports multi-level expansion through navigation properties: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.Extended automotive data model
Extended automotive data model
Sheet configuration for 4-level RTM view
Sheet configuration for 4-level RTM view
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 collapseTolets users collapse entire requirement levels to a single description columnmultiItem: trueon test case columns renders multiple linked test cases in a single cellgroupBy: trueon the chapter column organizes rows by document chapter structure- Named views provide pre-configured column visibility for different audiences
See Also
- Data Model Types — full property reference for
domainModelTypes - Relationships — relationship configuration reference
- Constraints — constraint types and syntax
- Risk Management Model — alternative model for risk analysis
- Creating Your First Data Model — tutorial for building a model from scratch