Skip to content

Commit

Permalink
Merge pull request #995 from relu91/fix-950
Browse files Browse the repository at this point in the history
fix #950
  • Loading branch information
sebastiankb authored Dec 2, 2020
2 parents c277f0c + 3acbcd4 commit bf3cc70
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1282,9 +1282,8 @@ <h2>Core Vocabulary Definitions</h2>
make Properties observable by pushing the new state after
a change.</p><table class="def"><thead><tr><th><a>Vocabulary term</a></th><th>Description</th><th>Assignment</th><th>Type</th></tr></thead><tbody><tr class="rfc2119-table-assertion" id="td-vocab-observable--PropertyAffordance"><td><code>observable</code></td><td>A hint that indicates whether Servients hosting
the Thing and Intermediaries should provide a
Protocol Binding that supports the
<code>observeproperty</code> operation for this
Property.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#boolean"><code>boolean</code></a></td></tr></tbody></table><p class="note">Property instances are also instances of
Protocol Binding that supports the <code>observeproperty</code> and <code>unobserveproperty</code> operations
for this Property.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#boolean"><code>boolean</code></a></td></tr></tbody></table><p class="note">Property instances are also instances of
the class <a href="#dataschema" class="sec-ref">DataSchema</a>. Therefore, it can contain the
<code>type</code>, <code>unit</code>,
<code>readOnly</code> and <code>writeOnly</code>
Expand Down
4 changes: 2 additions & 2 deletions ontology/td.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ <h2>Terminology</h2>
<section><h4>hasPropertyAffordance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasPropertyAffordance</code></p><span>All Property-based interaction affordance of the Thing.</span><table class="def"><tbody><tr><td>Range includes</td><td><code><a href="#propertyaffordance">td:PropertyAffordance</a></code></td></tr></tbody></table></section>
<section><h4>hasSecurityConfiguration</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasSecurityConfiguration</code></p><span>Set of security definition names, chosen from those defined in securityDefinitions. These must all be satisfied for access to resources. Note: multiple values are deprecated. Use a <a href="#combosecurityscheme"><code>ComboSecurityScheme</code></a> if necessary.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#thing">td:Thing</a></code></td></tr></tbody></table></section>
<section><h4>hasSubscriptionSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasSubscriptionSchema</code></p><span>Defines data that needs to be passed upon subscription, e.g., filters or message format for setting up Webhooks.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#eventaffordance">td:EventAffordance</a></code></td></tr></tbody></table></section>
<section><h4>hasUriTemplateSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasUriTemplateSchema</code></p><span>Define URI template variables as collection based on schema specifications.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#interactionaffordance">td:InteractionAffordance</a></code></td></tr></tbody></table></section></section><section><h3>Datatype Properties</h3><section><h4>isIdempotent</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isIdempotent</code></p><span>Indicates whether the action is idempotent (=true) or not. Informs whether the action can be called repeatedly with the same result, if present, based on the same input.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#actionaffordance">td:ActionAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section><h4>isObservable</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isObservable</code></p><span>A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the <code>observeproperty</code> operation for this Property.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#propertyaffordance">td:PropertyAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section><h4>hasUriTemplateSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasUriTemplateSchema</code></p><span>Define URI query template variables as collection based on schema specifications.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#interactionaffordance">td:InteractionAffordance</a></code></td></tr></tbody></table></section></section><section><h3>Datatype Properties</h3><section><h4>isIdempotent</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isIdempotent</code></p><span>Indicates whether the action is idempotent (=true) or not. Informs whether the action can be called repeatedly with the same result, if present, based on the same input.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#actionaffordance">td:ActionAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section><h4>isObservable</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isObservable</code></p><span>A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the <code>observeproperty</code> and <code>unobserveproperty</code> operations for this Property.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#propertyaffordance">td:PropertyAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section><h4>isSafe</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isSafe</code></p><span>Signals if the action is safe (=true) or not. Used to signal if there is no internal state (cf. resource state) is changed when invoking an Action. In that case responses can be cached as example.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#actionaffordance">td:ActionAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section><h4>name</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#name</code></p><span>Indexing property to store entity names when serializing them in a JSON-LD @index container.</span><table class="def"><tbody><tr><td>Domain includes</td><td><code><a href="#interactionaffordance">td:InteractionAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Text">schema:Text</a></code></td></tr></tbody></table></section></section><section><h3>Named Individuals</h3><section><h4>invokeAction</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#invokeAction</code></p><span>Operation type of forms used to read a property value</span><table class="def"><tbody><tr><td>Instance of</td><td><code><a href="#operationtype">td:OperationType</a></code></td></tr></tbody></table></section>
<section><h4>observeProperty</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#observeProperty</code></p><span>Operation type of forms used to read a property value</span><table class="def"><tbody><tr><td>Instance of</td><td><code><a href="#operationtype">td:OperationType</a></code></td></tr></tbody></table></section>
Expand Down
2 changes: 1 addition & 1 deletion ontology/td.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@

:isObservable rdf:type owl:DatatypeProperty ;
rdfs:label "isObservable" ;
rdfs:comment "A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the <code>observeproperty</code> operation for this Property."@en ;
rdfs:comment "A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the <code>observeproperty</code> and <code>unobserveproperty</code> operations for this Property."@en ;
schema:domainIncludes :PropertyAffordance ;
schema:rangeIncludes schema:Boolean ;
rdfs:isDefinedBy : .
Expand Down
5 changes: 2 additions & 3 deletions validation/td-validation.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,8 @@
sh:path td:isObservable ;
skos:definition """A hint that indicates whether Servients hosting
the Thing and Intermediaries should provide a
Protocol Binding that supports the
<code>observeproperty</code> operation for this
Property."""^^rdf:HTML ;
Protocol Binding that supports the <code>observeproperty</code> and <code>unobserveproperty</code> operations
for this Property."""^^rdf:HTML ;
sh:datatype xsd:boolean ;
sh:maxCount 1 ;
] ;
Expand Down

0 comments on commit bf3cc70

Please sign in to comment.