DataValue values shall be encoded as a JSON object with the fields shown in Table 39.
Table 39 – JSON Object Definition for a DataValue
Name |
Data Type |
Description |
Value |
Variant |
The value. |
Status |
StatusCode |
The status associated with the value. |
SourceTimestamp |
DateTime |
The source timestamp associated with the value. |
SourcePicoseconds |
UInt16 |
The number of 10 Picosecond intervals for the SourceTimestamp. |
ServerTimestamp |
DateTime |
The Server timestamp associated with the value. |
ServerPicoseconds |
UInt16 |
The number of 10 Picosecond intervals for the ServerTimestamp. |
If a field has a null or DefaultValue it is omitted. Each field is encoded using the rules defined for the built-in type specified in the Data Type column.