Skip to content

Commit 4e933a5

Browse files
Merge pull request #29 from semanticdatalayer/ATSCALE-27344-perspective-levels
v1.1 ATSCALE-27344 Introduce level property to perspective hierarchies
2 parents c493403 + 01d7f27 commit 4e933a5

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
@@ -125,8 +125,7 @@ perspectives:
125125
- unique_name: Internet Sales - No PII
126126
dimensions:
127127
- hierarchies:
128-
- levels:
129-
- Customer Name
128+
- level: Customer Name
130129
name: Customer Hierarchy
131130
name: Customer Dimension
132131
secondaryattributes:
@@ -279,6 +278,7 @@ namespace Models{
279278
}
280279
class PerspectiveHierarchy{
281280
String name
281+
String level
282282
Array~String~ levels
283283
}
284284
}
@@ -504,7 +504,8 @@ Supported properties:
504504
within the dimension to hide in the perspective. Supported properties:
505505

506506
- `name`: String, required. The name of the hierarchy.
507-
- `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.
507+
- `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.
508+
- `levels`: Array, optional. ⚠️ **DEPRECATED** use `level` instead.
508509

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

0 commit comments

Comments
 (0)