This model reference is derived from source code fixtures. Property names and defaults should be verified against your Powersheet installation.
Entity Types
The Todos model defines entity types underdomainModelTypes. Two format variants exist: object-map and array format.
Object-Map Format (todos_model.yaml)
| Property | Type | Default | Description |
|---|---|---|---|
domainModelTypes | array | None | Defines all entity types in the domain model. |
domainModelTypes[].name | string | None | Unique identifier for the entity type. Used in queries and relationships. |
domainModelTypes[].polarionType | string | None | Maps to a Polarion work item type. If omitted, uses the domain model name. |
domainModelTypes[].properties | array | [] | Properties available on this entity type. Each maps to a Polarion field. |
domainModelTypes[].properties[].name | string | None | Field name mapping to a Polarion work item custom field or built-in field. |
Extended Format (todosBig_model.yaml)
The extended format adds inline navigation properties directly on entity types.| Property | Type | Default | Description |
|---|---|---|---|
domainModelTypes[].properties[].to | string | None (data field) | Target entity type for a navigation property. Creates a relationship to another entity. |
domainModelTypes[].properties[].cardinality | string | None | Relationship multiplicity for navigation properties (e.g., one-to-many, many-to-one). |
Relationships
Both Todos model variants define explicit bidirectional relationships with navigation properties.| Property | Type | Default | Description |
|---|---|---|---|
relationships | array | [] | Defines navigation relationships between entity types. |
relationships[].from | string | None | Source entity type. Must match a domainModelTypes[].name. |
relationships[].to | string | None | Target entity type. Must match a domainModelTypes[].name. |
relationships[].cardinality | string | None | Relationship multiplicity between entities. |
relationships[].storage | string | None | Polarion persistence mechanism (e.g., linkedWorkItems). |
relationships[].linkRole | string | None | Polarion link role ID for storing the relationship. |
relationships[].fromNavPropName | string | None | Navigation property added to the source entity. |
relationships[].toNavPropName | string | None | Navigation property added to the target entity for bidirectional traversal. |
Example Entity Definitions
Simple Format
Extended Format with Inline Navigation
Example Relationships
Complete YAML Example
See Also
- RTM Model — full-featured requirements traceability model
- Domain Model Types — entity type property reference
- Relationships — relationship configuration details
- Cardinality — multiplicity options
- Creating Your First Data Model — step-by-step tutorial
Source References
Source References
Code:
todos_model.yaml, todosBig_model.yamlSources
Sources
Source Code
todosBig_model.yamltodos_model.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/constraints_model.template.yamlpowersheet.yamlSaveTest.java