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

Update exploration figures and types #181

Merged
merged 8 commits into from
May 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions directory.td.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"http://www.w3.org/ns/td",
"https://w3c.github.io/wot-discovery/context/discovery-context.jsonld"
],
"@type": "DirectoryDescription",
"@type": "ThingDirectory",
"title": "Thing Description Directory (TDD)",
"version": {
"instance": "1.0.0-alpha"
Expand Down Expand Up @@ -428,4 +428,4 @@
]
}
}
}
}
25 changes: 0 additions & 25 deletions images/directory-td-class-diagram.puml

This file was deleted.

42 changes: 0 additions & 42 deletions images/directory-td-class-diagram.svg

This file was deleted.

43 changes: 43 additions & 0 deletions images/discovery-class-diagram-ontology.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@startuml discovery-class-diagram-ontology
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 {
schema:dateCreated : xsd:dateTime
schema:dateModified : xsd:dateTime
schema:expires : xsd:dateTime
discovery:ttl : xsd:unsignedInt
discovery:retrieved : xsd:dateTime
}
show RegInfo attributes
together {
Thing <|-- ThingDirectory
Thing <|-- ThingLink
}
Thing --> RegInfo : "discovery:hasRegistrationInformation"

note as Prefixes
Prefixes:
td: https://www.w3.org/2019/wot/td#
discovery: https://www.w3.org/2021/wot/discovery#
schema: http://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
end note

' note as Aliases
' discovery:
' ThingDirectory: discovery:ThingDirectory
' ThingLink: discovery:ThingLink
' created: schema:dateCreated
' modified: schema:dateModified
' expires: schema:expires
' ttl: discovery:ttl
' retrieved: retrieved: dateTime
' end note

@enduml
Loading