Each physical device in the framework, represented as device and device functional item, is mapped to thing and features in the following way:
A thing has :
thingId
policyId
features
For every device represented as thing the thingId value is {namespace}:{gatewayId}:{Device UID} and the policyId value is {namespace}:{gatewayId}. For every thing there is a feature with ID DeviceInfo which contains the device information. It is possible the device to have some functionalities – device items which are represented as features.
A feature has:
featureId – the featureId is {ItemClassName}:{ItemIndexSuffix} where ItemClassName is the short class name of the device item. The ItemIdexSuffix is the device item index, part of the deviceUID, which is optional.
definition – the value of the "definition" is a Vorto definition corresponding to the device item object classes.
properties – the feature properties are configuration, attributes and status. The device item properties name, tags and writable/readable properties go to the configuration properties. The device item attributes go to the attributes properties. The device item read only properties error, timestamp.created, status go to status properties.