Property node

The node type property is used to represent members of a struct.

Nodes of the type property must have the following mandatory metadata:

  • Name
  • Type
  • Datatype
  • Description

For more information, see the Common Rule Set: Mandatory Metadata.

Besides the mandatory metadata mentioned above, the following optional metadata may be used

  • Unit
  • Min
  • Max
  • Allowed
  • Comment

For more information, please see the Common Rule Set: Optional Metadata.

Property node used to define struct members

Data represented by the node type property have a relationship to any other data having the same struct parent in that they are all sampled in an “atomic” operation, i.e. the set of data points have the same timestamp representing the sample time.

In this usage the node type must have a node of type struct as parent, and must not have any children.

An example of the specification of a property node for a struct member is given below.

Type.OpenHours.Open:
  datatype: uint8
  type: property
  max: 24
  description: Time the address opens