From 442ab68d337673f015d5439f76d5f0e107031976 Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Thu, 15 Dec 2022 10:09:05 -0400 Subject: [PATCH 1/7] Add WotThing and WotDirectory service types --- index.html | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/index.html b/index.html index 1600bb92..1dc2b60f 100644 --- a/index.html +++ b/index.html @@ -1629,6 +1629,72 @@

DIDCommMessaging

+
+

Web of Things (WoT) Discovery

+ + + + + + + + + + + + + + + + +
Normative DefinitionJSON-LD
+ WoT Discovery + + A valid JSON-LD context needs to be published. + WotThing +
+ WoT Discovery + + A valid JSON-LD context needs to be published. + WotDirectory +
+ +
+{
+  "@context":[
+      "https://www.w3.org/ns/did/v1",
+      "https://www.w3.org/2021/wot/discovery/did"
+  ],
+  ...
+  "service": [{
+      "id": "did:example:wotdiscoveryexample#td",
+      "type": "WotThing",
+      "serviceEndpoint":
+          "https://wot.example.com/.well-known/wot"
+  }]
+  ...
+}
+        
+ +
+{
+  "@context":[
+      "https://www.w3.org/ns/did/v1",
+      "https://www.w3.org/2021/wot/discovery/did"
+  ],
+  ...
+  "service": [{
+      "id": "did:example:wotdiscoveryexample#tdd",
+      "type": "WotDirectory",
+      "serviceEndpoint":
+          "https://wot.example.com/tdd"
+  }]
+  ...
+}
+        
+ +
+ From 352745c8c2b73598d603b481e6daec8242e408a5 Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Mon, 27 Mar 2023 14:49:10 -0300 Subject: [PATCH 2/7] Update context URLs The WoT TD spec uses "2022" as the year so for consistency we have used that as the namespace for Discovery also. Yes, "ns" would make more sense but we at least want Discovery and TD context files to be consistent, and the WoT TD files are already published. Publication of WoT Discovery ontology files are pending. --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 1dc2b60f..79694e1d 100644 --- a/index.html +++ b/index.html @@ -1645,7 +1645,7 @@

Web of Things (WoT) Discovery

A valid JSON-LD context needs to be published. - WotThing + WotThing @@ -1653,7 +1653,7 @@

Web of Things (WoT) Discovery

A valid JSON-LD context needs to be published. - WotDirectory + WotDirectory @@ -1663,7 +1663,7 @@

Web of Things (WoT) Discovery

{ "@context":[ "https://www.w3.org/ns/did/v1", - "https://www.w3.org/2021/wot/discovery/did" + "https://www.w3.org/2022/wot/discovery/did" ], ... "service": [{ @@ -1680,7 +1680,7 @@

Web of Things (WoT) Discovery

{ "@context":[ "https://www.w3.org/ns/did/v1", - "https://www.w3.org/2021/wot/discovery/did" + "https://www.w3.org/2022/wot/discovery/did" ], ... "service": [{ From 82e5b6eb5c85313b3350c11d57e63d00a2cee58e Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Mon, 3 Apr 2023 12:13:56 -0300 Subject: [PATCH 3/7] Revise WoT-DID URL to avoid a conflict with ontology used for WoT Directory itself... --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 79694e1d..961e0a9f 100644 --- a/index.html +++ b/index.html @@ -1645,7 +1645,7 @@

Web of Things (WoT) Discovery

A valid JSON-LD context needs to be published. - WotThing + WotThing @@ -1653,7 +1653,7 @@

Web of Things (WoT) Discovery

A valid JSON-LD context needs to be published. - WotDirectory + WotDirectory @@ -1663,7 +1663,7 @@

Web of Things (WoT) Discovery

{ "@context":[ "https://www.w3.org/ns/did/v1", - "https://www.w3.org/2022/wot/discovery/did" + "https://www.w3.org/2022/wot/discovery-did" ], ... "service": [{ @@ -1680,7 +1680,7 @@

Web of Things (WoT) Discovery

{ "@context":[ "https://www.w3.org/ns/did/v1", - "https://www.w3.org/2022/wot/discovery/did" + "https://www.w3.org/2022/wot/discovery-did" ], ... "service": [{ From f707a5b25c7b59f619ed4892605ec116d63faed6 Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Mon, 11 Dec 2023 14:42:46 -0400 Subject: [PATCH 4/7] Update index.html --- index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/index.html b/index.html index 3cc0e099..de75336c 100644 --- a/index.html +++ b/index.html @@ -1821,7 +1821,6 @@

OpenID4 Verifiable Credential Issuance

-
 {
   ...

From b7ddbdc44510ea9ef7f4a1cd38026af0d76e7c0e Mon Sep 17 00:00:00 2001
From: Michael McCool 
Date: Mon, 15 Jan 2024 09:57:44 -0400
Subject: [PATCH 5/7] Update index.html

Co-authored-by: Ted Thibodeau Jr 
---
 index.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/index.html b/index.html
index de75336c..b2f110ca 100644
--- a/index.html
+++ b/index.html
@@ -1668,12 +1668,12 @@ 

DIDCommMessaging

Web of Things (WoT) Discovery

The WotThing and WotDirectory endpoints allow publication of service endpoints in a DID document that can be used to fetch Web of Things (WoT) Thing Descriptions (TDs). - In the case of WotThing, the endpoint is a REST service that returns a TD - when the GET method is used. - This can be used by either self-describing devices or services but can also be a service + The WotThing endpoint is a REST service that returns a TD + when the GET method is used. + This can be used for self-describing devices or services or be a service separate from the actual device or service described by the TD. - The case of WotDirectory is also a REST service that returns a TD but this service is always - a Web of Things (WoT) Thing Description Directory (TDD) and the TD returned by a GET always describes the TDD's interface. + The WotDirectory is also a REST service that returns a TD, but this service is always + a Web of Things (WoT) Thing Description Directory (TDD), and the TD returned by a GET always describes the TDD's interface. Details (including normative statements detailing the above) are in the WoT Discovery specification.

From a510bf1269a3550154f751230764a95063c3282d Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Mon, 15 Jan 2024 09:58:28 -0400 Subject: [PATCH 6/7] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b2f110ca..11523508 100644 --- a/index.html +++ b/index.html @@ -1670,7 +1670,7 @@

Web of Things (WoT) Discovery

that can be used to fetch Web of Things (WoT) Thing Descriptions (TDs). The WotThing endpoint is a REST service that returns a TD when the GET method is used. - This can be used for self-describing devices or services or be a service + This can be used for self-describing devices or services, or be a service separate from the actual device or service described by the TD. The WotDirectory is also a REST service that returns a TD, but this service is always a Web of Things (WoT) Thing Description Directory (TDD), and the TD returned by a GET always describes the TDD's interface. From 500c2c4609d07714241cd484caec9d1eb114c364 Mon Sep 17 00:00:00 2001 From: Michael McCool Date: Mon, 22 Apr 2024 09:10:59 -0300 Subject: [PATCH 7/7] Update index.html Co-authored-by: Ted Thibodeau Jr --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b92753fa..54efd361 100644 --- a/index.html +++ b/index.html @@ -1667,8 +1667,9 @@

Web of Things (WoT) Discovery

This can be used for self-describing devices or services, or be a service separate from the actual device or service described by the TD. The WotDirectory is also a REST service that returns a TD, but this service is always - a Web of Things (WoT) Thing Description Directory (TDD), and the TD returned by a GET always describes the TDD's interface. - Details (including normative statements detailing the above) are in the + a Web of Things (WoT) Thing Description Directory (TDD), + and the TD returned by a GET always describes the TDD's interface. + Details (including normative statements covering the above) are in the WoT Discovery specification.