Nested composite attributes can be defined inline within a model definition without a separate type definition preceding its usage.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#
DataModel(name: SensorModel"):
String(name: SensorID")
String(name: SensorValue")
String(name: Unit")
Data(name: Device"):
String(name: Name")
String(name: Type") |