Data Point
| Attribute | Description |
|---|---|
| t | Reading time. The time when the data value is captured in ISO 8601 format - time zone designator is required. |
| v | Observed value (a.k.a reading). Should match to its destination property's type. |
| tt | Optional. A numeric value can be given as delta in milliseconds relative to base time given at feed level. Can be both negative and positive. |
| tags | Optional. Array of tags associated with the data point. |
| loc | Optional. The location where the data point is captured. See Location subresource for details. |
| prop | Optional. id or name of the destination property. This metadata is required by the system to identify the destination property when it cannot be inferred from the endpoint i.e. POST .../v3/data/devices/{id or name}/properties. |
| ann | Optional. The list of annotations (metadata) associated with this data point. |
๐ง Rule#
Some default attributes defined inside the
Feedobject level might overlap with the attributes defined within theDatapointobject. In such case the attributes defined inside theDatapointobject takes precedence over Feed object level ones. For examplelocobject defined inFeedcan be overwritten by anotherlocobject defined inside theDatapointobject. It is highly recommended to move all repetitive information from data point level to Feed level using default attributes and annotations in order to minimize the data size on wire.
For example all three representations shown below are considered identical by the system.
Verbose:#
Optimized:#
More Optimized:#
Some Data Point Examples#
4 data points with explicit property names#
Waypoint example#
๐ Tip#
Waypoint properties are special and accept
locationobject as value.