The WoT specification defines both a TD and a Protocol Binding.
The WoT TD is defined here:
https://www.w3.org/TR/wot-thing-description/#introduction-td
The WoT Protocol Binding is defined here:
https://www.w3.org/TR/wot-binding-templates/#binding-overview
The goal of this Companion Specification is to create a thin interface for configuring industrial connectivity software in a standardized way. By keeping the interface to a minimum, the chances of adoption by the industry are increased.
An example WoT TD is provided below:
{
"@context": [
"https://www.w3.org/2022/wot/td/v1.1"
],
"id": "urn:pac4200",
"securityDefinitions": {
"nosec_sc": {
"scheme": "nosec"
}
},
"security": [
"nosec_sc"
],
"@type": [
"Thing"
],
"name": "modbus-pac4200-sn324",
"base": "modbus+tcp://192.168.178.94:502/1",
"title": "Siemens SENTRON PAC4200",
"properties": {
"Voltage": {
"type": "number",
"readOnly": true,
"observable": true,
"forms": [
{
"href": "7?quantity=2",
"op": [
"readproperty",
"observeproperty"
],
"modv:type": "xsd:float",
"modv:entity": "holdingRegister",
"modv:pollingTime": 2000
}
]
}
}
}
Open-source WoT Thing Description parsers are available at: https://www.w3.org/WoT/developers/#runtime-consume.