Random people
type: DataSet
label: Rnadom people
structure: dsd-people
unit measure: Year
unit measure: Meter
slice: slice1

Slice by adults
type: SliceKey
comment: Slice by grouping adults together
component property: agegroup

Slice by non-adults
type: SliceKey
comment: Slice by grouping children and elderly together
component property: agegroup

dsd-people
type: DataStructureDefinition
component:
  dimension: age
  order: 1
component:
  dimension: agegroup
  order: 2
component:
  dimension: height
  order: 3
component:
  dimension: civilStatus
  order: 4
component:
  measure: yearsmarried
slice key: Slice by adults
slice key: Slice by non-adults

o1
type: Observation
dataset: Random people
age: 21
agegroup: adult
height: 6.0
civil status: status-S
years married: -1

o2
type: Observation
dataset: Random people
age: 2
agegroup: child
height: 3
civil status: status-M
years married: 0

o3
type: Observation
dataset: Random people
age: 18
agegroup: adult
height: 5.7
civil status: status-M
years married: 20

o4
type: Observation
dataset: Random people
age: 221
agegroup: elderly
height: 5
civil status: status-W
years married: 2

o5
type: Observation
dataset: Random people
age: 34
agegroup: child
height: -7
civil status: status-M
years married: 3

o6
type: Observation
dataset: Random people
agegroup: child
height: 3.2
civil status: status-S
years married: 0