This model reference is derived from source code configuration. Verify entity type names and property mappings against your project configuration.
Entity Types
Entity types in the risk management model use theworkItems array format with explicit name and type fields.
| Property | Type | Default | Description |
|---|---|---|---|
workItems[].name | string | None | Unique identifier for the entity type in the domain model. |
workItems[].type | string | None | Polarion work item type ID this entity maps to. |
workItems[].properties | array | [] | Property definitions for this entity type. |
Entity Property Configuration
Each property supports additional configuration for storage, type, and enum constraints.| Property | Type | Default | Description |
|---|---|---|---|
workItems[].properties[].name | string | None | Property name used in queries and data binding. |
workItems[].properties[].type | string | None | Data type of the property. Determines validation and rendering. |
workItems[].properties[].storage | string | customField | Storage mechanism in Polarion. Determines how the value is persisted. |
workItems[].properties[].customFieldName | string | None | Polarion custom field ID when storage is customField. |
workItems[].properties[].enumValues | array | None | Allowed values when property type is enum. |
workItems[].properties[].targetType | string | None | Target entity type for navigation properties. |
workItems[].properties[].cardinality | string | many-to-one | Relationship multiplicity for navigation properties. |
workItems[].properties[].navigability | string | unidirectional | Whether the relationship can be traversed in both directions. |
Relationships
| Property | Type | Default | Description |
|---|---|---|---|
relationships | array | [] | Relationship definitions between entity types. |
relationships[].from | string | None | Source entity type. Must match a workItems[].name value. |
relationships[].to | string | None | Target entity type. Must match a workItems[].name value. |
relationships[].role | string | None | Polarion link role implementing this relationship. |
relationships[].cardinality | string | None | Multiplicity defining how many instances can be linked. |
relationships[].navigability | string | unidirectional | Whether the relationship supports bidirectional traversal. |
relationships[].storage | string | linkedWorkItem | Persistence mechanism. Uses Polarion work item links. |
relationships[].fromNavPropName | string | None | Navigation property on source entity for forward traversal. |
relationships[].toNavPropName | string | None | Navigation property on target entity for reverse traversal. |
Example Entity Definitions
Example Relationships
Complete YAML Example
See Also
- RTM Model — standard requirements traceability model
- Properties — full property configuration reference
- Cardinality — relationship multiplicity options
- Storage — storage mechanism reference
- Domain Model Types — entity type definitions
Source References
Source References
Code:
riskmanagement_model.yaml, whole_rtm.template.yamlSources
Sources
Source Code
riskmanagement_model.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/whole_rtm.template.yaml