Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative Canonicalisation format #132

Open
mlagally opened this issue Nov 11, 2021 · 7 comments
Open

Normative Canonicalisation format #132

mlagally opened this issue Nov 11, 2021 · 7 comments
Assignees

Comments

@mlagally
Copy link
Contributor

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.

@benfrancis
Copy link
Member

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.

@mlagally
Copy link
Contributor Author

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.

@egekorkan
Copy link
Contributor

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

@mlagally
Copy link
Contributor Author

@EGE, @benfrancis : without canonicalisation and a unique id, a consumer is not able to check identity of 2 TDs that describe the same thing.

@egekorkan
Copy link
Contributor

But why should I do that in the first place a profile compliant consumer? What is the use case?

@mlagally
Copy link
Contributor Author

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.

@mlagally
Copy link
Contributor Author

mlagally commented Sep 7, 2022

After the TD has defined a canonicalisation format, Profile 2.0 will adopt it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants