Equivalent WoT TM definition

tm:ThingModel

Description

ObjectType is a type definition of an object and its encompassing variables and methods. It is a template for an object.

Therefore, an objectType definition can be mapped to a WoT Thing Model definition. A Thing Model is templates that can be used to instantiate Thing Description instances.

The same restriction guideline is applied as defined in UA Object in Section .

Snippet example in OPC UA (e.g., as nodeset)

<UAObjectType NodeId=" ns=3;i=1002" BrowseName="3:PaintingRobotType">…

Transformed usage in a TD definition (as snippet)

"@context":"https://www.w3.org/2022/wot/td/v1.1",

"@type": ["tm:ThingModel"],

Alternative:

{ "@context":"https://www.w3.org/2022/wot/td/v1.1",

"@type": ["tm:ThingMode", "uav:objectType"], …