Open ashimura opened 3 years ago
The Web of Things (WoT) Profile document also has Section 5.2 Protocol Binding and we should see which part of the description should stay there or rather should be moved to the Web of Things (WoT) Binding Templates document.
I think it's important to distinguish here between:
htv:methodName
, htv:headers
, htv:fieldName
, htv:fieldValue
) in a Thing Descriptionwriteproperty
) onto concrete messages in a particular protocol, e.g.PUT /things/lamp/properties/on HTTP/1.1
Host: mythingserver.com
Content-Type: application/json
true
Currently there is duplication of the latter for HTTP in three places:
Providing a protocol binding for HTTP is one of the core requirements of the WoT Profile specification so it should definitely stay there.
I think there's possibly an argument for keeping a simple set of defaults for HTTP for consumers that don't implement the full Core Profile, but if that exists it should either be in the Thing Description specification or the WoT Binding Templates specification, not both. Both sections could also be removed and superseded by the Core Profile.
Edit: I have filed https://github.com/w3c/wot-thing-description/issues/1259 and https://github.com/w3c/wot-binding-templates/issues/135
Something else I think should be fixed is moving the table of operation names from WoT Architecture to WoT Thing Description. I have filed https://github.com/w3c/wot-architecture/issues/623 for this.
We have the following spec documents for WoT:
We need to make sure (1) all those spec documents have enough description for each spec and also (2) there is no conflicts/duplication among them.
As the starting point, I'd suggest we start with the following two steps:
and then see the relationship among the other documents as the Step 3.
For example, the Web of Things (WoT) Architecture 1.1 document has Setion 9. WoT Building Blocks which includes description on all the building blocks and we should see what kind/level of description should stay there or rather should be moved to the other spec document.
The Web of Things (WoT) Profile document also has Section 5.2 Protocol Binding and we should see which part of the description should stay there or rather should be moved to the Web of Things (WoT) Binding Templates document.
Note that this issue is the central hub for this discussion and we should create dedicated smaller issue for each narrow actual problem.