Property Definition Overview
Property Configuration Properties
| Name | Type | Default | Description |
|---|---|---|---|
name | string | None (required) | Property name as exposed in queries and column bindings. Must be unique within the entity type. |
serverName | string | Same as name | Optional override for the actual Polarion field name when it differs from the client-facing property name. Allows aliasing Polarion field names to more user-friendly names. |
customFieldName | string | None | Specifies the Polarion custom field ID for properties stored in custom fields. Required when property maps to a custom field rather than a built-in work item field. |
type | string | None | Data type of the property (string, integer, date, enum, etc.). Determines validation and rendering behavior. |
storage | string | None | Defines how the property value is persisted in Polarion (e.g., work item field, linked items). Critical for navigation properties and relationships. |
enumValues | array | None | List of valid enum option IDs when property type is an enumeration. Values must match Polarion enum IDs. |
readable | boolean | true | Controls whether the property can be read by users. Set to false to hide internal properties. See Permissions. |
updatable | boolean | true | Controls whether the property can be modified by users. Set to false to enforce read-only properties. See Permissions. |
scalar | boolean | true | Indicates whether property holds a single value (true) or a collection (false). Affects data binding and query expansion. |
navigability | string | None | Defines navigation direction for relationship properties (one-way, two-way). Controls whether relationships can be traversed in queries using expand clauses. |
Defining Properties in YAML
Properties are declared within each entity type under theproperties key. Simple property declarations use null values to indicate the property exists without additional constraints:
Properties with Explicit Configuration
When a property requires custom settings, provide an object with the desired attributes:Navigation Properties
Properties can also represent relationships to other entity types. These navigation properties are created automatically from Relationships definitions but can also be declared inline:| Name | Type | Default | Description |
|---|---|---|---|
to | string | None (data field) | Specifies the target entity type for a navigation property, creating a relationship to another domain model type. |
cardinality | string | None | Relationship multiplicity for navigation properties: one-to-one, one-to-many, many-to-one, many-to-many. |
Built-in Properties
All work item entity types automatically include these built-in properties:| Property | Type | Description |
|---|---|---|
objectId | string | Unique primary key identifier. Read-only. |
id | string | Polarion work item ID. Read-only. |
title | string | Work item title/name. |
projectId | string | Foreign key to the containing project. |
outlineNumber | string | Position in document hierarchy. Automatically managed by Polarion. |
Special Entity Properties
The built-inDocument and Chapter entity types have specialized property behavior:
Documentproperties include:moduleFolder,moduleName,title,type,allowedWITypes— some of these are create-only (set during document creation, read-only thereafter)Chapterrepresents Polarion headings and is used for document structure elements
Complete YAML Example
Related pages: Domain Model Types | Constraints | Storage | Permissions | Binding Syntax
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/constraints-base.yamltodosBig_model.yamlProperty.javasf_model.yamlmodel.yaml