Skip to content

Commit b3e28d5

Browse files
feat: introduce level property to perspective hierarchies
1 parent 8f4ced8 commit b3e28d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sml-reference/model.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ perspectives:
127127
- unique_name: Internet Sales - No PII
128128
dimensions:
129129
- hierarchies:
130-
- levels:
131-
- Customer Name
130+
- level: Customer Name
132131
name: Customer Hierarchy
133132
name: Customer Dimension
134133
secondaryattributes:
@@ -279,6 +278,7 @@ namespace Models{
279278
}
280279
class PerspectiveHierarchy{
281280
String name
281+
String level
282282
Array~String~ levels
283283
}
284284
}
@@ -489,7 +489,8 @@ Supported properties:
489489
- `hierarchies`: Array, optional. A list of the specific hierarchies
490490
within the dimension to hide in the perspective. Supported properties:
491491
- `name`: String, required. The name of the hierarchy.
492-
- `levels`: Array, optional. Defines a single level in the hierarchy to be hidden in the perspective. All levels below the specified level will also be hidden. Only one level should be provided.
492+
- `level`: String, optional. Defines a single level in the hierarchy to be hidden in the perspective. All levels below the specified level will also be hidden.
493+
- `levels`: Array, optional. ⚠️ **DEPRECATED** use `level` instead.
493494

494495
- `secondary_attributes`: Array, optional. A list of the dimension's
495496
secondary attributes to hide in the perspective.

0 commit comments

Comments
 (0)