From 641ade8519457aaa24052656caf33d75d5a46d74 Mon Sep 17 00:00:00 2001 From: Farshid Tavakolizadeh Date: Wed, 26 May 2021 14:35:14 +0200 Subject: [PATCH] Improvements to diagrams and text --- images/discovery-class-diagram-ontology.puml | 17 +++---- images/discovery-class-diagram-ontology.svg | 33 ++++++------- images/exploration-class-diagram.puml | 9 ++-- images/exploration-class-diagram.svg | 36 +++++++------- index.html | 52 +++++++++++--------- 5 files changed, 77 insertions(+), 70 deletions(-) diff --git a/images/discovery-class-diagram-ontology.puml b/images/discovery-class-diagram-ontology.puml index 95c73ebf..64e087ef 100644 --- a/images/discovery-class-diagram-ontology.puml +++ b/images/discovery-class-diagram-ontology.puml @@ -1,22 +1,21 @@ @startuml hide members +skinparam classBackgroundColor Azure + class Thing as "td:Thing" +note left: Thing Description (TD) class ThingDirectory as "discovery:ThingDirectory" class ThingLink as "discovery:ThingLink" class RegInfo as "discovery:RegistrationInformation" #Azure { - discovery:created : xsd:datetime - discovery:modified : xsd:datetime - discovery:expires : xsd:datetime - discovery:ttl : xsd:integer - discovery:retrieved : xsd:datetime + discovery:created : xsd:dateTime + discovery:modified : xsd:dateTime + discovery:expires : xsd:dateTime + discovery:ttl : xsd:unsignedInt + discovery:retrieved : xsd:dateTime } show RegInfo attributes -note left of Thing - Thing Description (TD) -end note - Thing <|-- ThingDirectory Thing <|-- ThingLink Thing --> RegInfo : "discovery:hasRegistrationInformation" diff --git a/images/discovery-class-diagram-ontology.svg b/images/discovery-class-diagram-ontology.svg index 6862db20..1dd89327 100644 --- a/images/discovery-class-diagram-ontology.svg +++ b/images/discovery-class-diagram-ontology.svg @@ -1,30 +1,29 @@ -td:Thingdiscovery:ThingDirectorydiscovery:ThingLinkdiscovery:RegistrationInformationdiscovery:created : xsd:datetimediscovery:modified : xsd:datetimediscovery:expires : xsd:datetimediscovery:ttl : xsd:integerdiscovery:retrieved : xsd:datetimeThing Description (TD)Prefixes:td: https://www.w3.org/2019/wot/td#discovery: https://www.w3.org/2021/wot/discovery#discovery:hasRegistrationInformationtd:ThingThing Description (TD)discovery:ThingDirectorydiscovery:ThingLinkdiscovery:RegistrationInformationdiscovery:created : xsd:dateTimediscovery:modified : xsd:dateTimediscovery:expires : xsd:dateTimediscovery:ttl : xsd:unsignedIntdiscovery:retrieved : xsd:dateTimePrefixes:td: https://www.w3.org/2019/wot/td#discovery: https://www.w3.org/2021/wot/discovery#discovery:hasRegistrationInformation«service»Self-describing Thing«service»Directory«service»ThingThing Descriptionprovides11contains10..*«service»Self-describing Thing«service»Directory«service»Thingtd:ThingThing Description (TD)provides11contains10..* @@ -547,7 +556,7 @@

Exploration Mechanisms

                     {
                         "@context": [
-                            "http://www.w3.org/ns/td,
+                            "http://www.w3.org/ns/td",
                             "https://w3c.github.io/wot-discovery/context/discovery-context.jsonld"
                         ],
                         "@type": "ThingLink",
@@ -572,15 +581,6 @@ 

Exploration Mechanisms

- -

- Directories can store zero or more TDs. - For every TD, the directory additionally maintains the registration - information for bookkeeping and search purposes; - see [[[#discovery-class-diagram-ontology]]]. - The information model of the directory is described in [[[#exploration-directory-info]]]. -

-

Self-description