1 of 14

WoT Thing Description Single Source of Truth

Ege Korkan

W3C TPAC Breakouts

2 of 14

Web of Things, not a Protocol

2

Narrow Waist Model

Network Protocols

Bindings

Interaction Affordances

Semantics

Applications

Thing

Description

3 of 14

Core Specification: Thing Description (TD)

3

Protocols

Domain Knowledge via

Semantic Annotations

Semantic Context

Security

Properties

Data Schema

Forms

Links

Actions

Data Schema

Forms

Events

Data Schema

Forms

JSON-LD Serialization

Effect in the real world

Discovery and

Usage by Clients

4 of 14

Why is the session relevant for WoT

5 of 14

Example of a TD Vocabulary Term

6 of 14

Example of a TD Vocabulary Term

7 of 14

It is not just a string

8 of 14

Where are those terms defined?

9 of 14

In many places…

index.html / Human Readable

https://github.com/w3c/wot-thing-description/blob/main/validation/td-validation.ttl#L144

This is used to generate the index.html

But wait! This is not the definition!

10 of 14

Not done

Official JSON Schema

11 of 14

Test Case for Implementation Report Generation

Based on the official JSON Schema

12 of 14

Going to published versions

TD Context

https://github.com/w3c/wot-thing-description/blob/main/context/td-context-1.1.jsonld#L168C18-L168C18

13 of 14

Going to published versions

TD Ontology in TTL and HTML

https://github.com/w3c/wot-thing-description/blob/main/ontology/td.ttl#L141

https://www.w3.org/2019/wot/td#hasSecurityConfiguration

14 of 14

Final Thoughts

  • This of course applies to all terms defined in TD
  • We wish to change only one line of “code” if we ever change “security” to “sec”