Open mlagally opened 3 years ago
We need a normative canonicalisation format in the profile specification.
Since the current WoT Profile 1.0 draft does not use canonicalisation (previous drafts did, but those references have now been removed), are there features you think are currently missing from the specification which would rely on canonicalisation?
The TD should make a definition the profile should reference it.
See section 6.6 Canonicalization of the WoT Thing Description 1.1 specification.
Canonical TDs help to identify if two different TDs describe the same thing. Determining identity is a simple string comparison.
Usually there are globally unique IDs for that purpose, however during the publication of the 1.0 TD specification there were concerns raised that a unique ID may cause privacy issues.
I agree that canonicalisation is important but how does it help the interoperability claim of the core profile? I think how it is used should made more clear
@ege, @benfrancis : without canonicalisation and a unique id, a consumer is not able to check identity of 2 TDs that describe the same thing.
But why should I do that in the first place a profile compliant consumer? What is the use case?
arch call on 25.11. The term "canonicalisation" is no longer appropriate, however the TD section on canonicalisation contains several constraints. These constraints should be moved out of the TD and constraints are considered for inclusion in the profile. Canonical format is not a requirement at this point.
After the TD has defined a canonicalisation format, Profile 2.0 will adopt it.
We need a normative canonicalisation format in the profile specification. This depends on the testability, i.e. 2 implementations. The TD should make a definition the profile should reference it.