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

Add WotThing and WotDirectory service types #486

Merged
merged 11 commits into from
Jul 20, 2024
66 changes: 66 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1629,6 +1629,72 @@ <h4>DIDCommMessaging</h4>

</section>

<section id="wot-discovery-service-type">
<h4>Web of Things (WoT) Discovery</h4>
<table class="simple" style="width: 100%;">
<thead>
<tr>
<th>Normative Definition</th>
<th>JSON-LD</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a href="https://www.w3.org/TR/wot-discovery/">WoT Discovery</a>
OR13 marked this conversation as resolved.
Show resolved Hide resolved
</td>
<td>
<span class="issue">A valid JSON-LD context needs to be published.</span>
<a href="https://www.w3.org/2022/wot/discovery/did#WotThing">WotThing</a>
mmccool marked this conversation as resolved.
Show resolved Hide resolved
</td>
</tr><tr>
<td>
<a href="https://www.w3.org/TR/wot-discovery/">WoT Discovery</a>
</td>
<td>
<span class="issue">A valid JSON-LD context needs to be published.</span>
<a href="https://www.w3.org/2022/wot/discovery/did#WotDirectory">WotDirectory</a>
mmccool marked this conversation as resolved.
Show resolved Hide resolved
</td>
</tr>
</tbody>
</table>

<pre class="example" title="Example of WotThing serviceEndpoint properties">
{
"@context":[
"https://www.w3.org/ns/did/v1",
"https://www.w3.org/2022/wot/discovery/did"
mmccool marked this conversation as resolved.
Show resolved Hide resolved
],
...
"service": [{
"id": "did:example:wotdiscoveryexample#td",
"type": "WotThing",
"serviceEndpoint":
"https://wot.example.com/.well-known/wot"
}]
...
}
</pre>

<pre class="example" title="Example of WotDirectory serviceEndpoint properties">
{
"@context":[
"https://www.w3.org/ns/did/v1",
"https://www.w3.org/2022/wot/discovery/did"
mmccool marked this conversation as resolved.
Show resolved Hide resolved
],
...
"service": [{
"id": "did:example:wotdiscoveryexample#tdd",
"type": "WotDirectory",
"serviceEndpoint":
"https://wot.example.com/tdd"
}]
...
}
</pre>

</section>

</section>

</section>
Expand Down