-
Notifications
You must be signed in to change notification settings - Fork 63
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
Init information about WoT relation types #1034
Conversation
There is a list of requirements for the relation types. I tried to reuse existing definitions from IANA relation types as much as possible. |
I think that this is a good start. Just one small thing in the examples: There is the mention of a "Drive" which I guess means a motor driver used in factories/automation. A more simple to understand Thing would be better for a wider audience |
index.html
Outdated
</p> | ||
<section id="links-relation-types-values"> | ||
<h2>Relation Values</h2> | ||
<p>In the following a best praxis relation type table is introduced that is recommended to use within WoT <a>Thing Description</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"best praxis relation" --> "best practise relation" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I updated the example + provide a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just put some comments regarding the use of engine/motor. Generally for electric motors the word motor is used from my experience
index.html
Outdated
@@ -4739,7 +4739,7 @@ <h1>WoT Link Relation Types</h1> | |||
</p> | |||
<section id="links-relation-types-values"> | |||
<h2>Relation Values</h2> | |||
<p>In the following a best praxis relation type table is introduced that is recommended to use within WoT <a>Thing Description</a> | |||
<p>In the following a best practise relation type table is introduced that is recommended to use within WoT <a>Thing Description</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
practice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
index.html
Outdated
@@ -4853,8 +4853,8 @@ <h2>Examples</h2> | |||
|
|||
<p>A superordinate Thing can collect a group of Things and refer to them by using the <code>item</code> value:</p> | |||
|
|||
<pre class="example" title="A drive includes two engines."> | |||
"title" : "Drive", | |||
<pre class="example" title="An electric drive includes two engines."> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two electric motors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
index.html
Outdated
@@ -4870,6 +4870,22 @@ <h2>Examples</h2> | |||
... | |||
</pre> | |||
|
|||
<p>A Thing refers to a group in which it is collected with the <code>collection</code> value:</p> | |||
|
|||
<pre class="example" title="An electric engine is member of the electric drive collection."> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
electric motor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
From today's TD call:
|
last commit addresses #1034 (comment) assembly was not introduced since this is covers already by the collection value. Ready to merge |
From today's TD call:
|
This PR introduces a new chapter in the TD spec about the relation types that are useful in the WoT context (also see eg. #918)
Preview | Diff