Data Messages

Data messages can span multiple Types and Containers. The body of a Data message is composed of an array of objects with the following keywords:

Name Value
typeid Optional ID of the type. If omitted, container is expected.
containerid Optional ID of the container. If omitted, type is expected.
typeversion Optional version of the Type, if one is specified. The version must be of format x.x.x.x, where x must be an integer greater than or equal to 0. If omitted, version is assumed.
values An array of objects conforming to the type.

For each object, either typeid or containerid must be specified. If containerid is specified, the values must conform to the Type with which the Container is associated. If typeid is specified, the values must conform to that Type.

If a Type Property is defined but no property value is provided in the Data message, a default value will be assumed. Default values are specified in Type Properties and Formats.