Equivalent usage in WoT TD

@type

At the root/Thing or property level

Description

It gives information about the semantic type of an instance (e.g., a thing or an interaction affordance).

It provides similar semantics as @type in a TD. Therefore, HasTypeDefinition reference can be mapped to @type.

The value of the @type should always be the browse name of the corresponding HasTypeDefinition (e.g. AnalogItemType for NodeId i=2368).

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

<UAVariable NodeId="ns=1;s=Temperature" BrowseName="1:Temperature" DataType="Double" ValueRank="Scalar">

<DisplayName>Temperature</DisplayName>

<References>

<Reference ReferenceType="HasTypeDefinition">i=2368</Reference> <!-- AnalogItemType -->

</References>

</UAVariable> …

Transformed usage in a TD definition (as snippet)

"properties": {

"1:Temperature": {

"@type" : ["0:AnalogItemType"]

Alternative:

"properties": {

"1:Temperature": {

"@type": ["uav:variable","0:AnalogItemType"],