From d04842d9bd27cfb01b6f7a2a993e4643bcc5886b Mon Sep 17 00:00:00 2001 From: reluc Date: Tue, 27 Oct 2020 12:25:27 +0100 Subject: [PATCH 1/2] fix #950 --- ontology/td.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ontology/td.ttl b/ontology/td.ttl index d783ef485..d939a159a 100644 --- a/ontology/td.ttl +++ b/ontology/td.ttl @@ -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 observeproperty 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 observeproperty and unobserveproperty operations for this Property."@en ; schema:domainIncludes :PropertyAffordance ; schema:rangeIncludes schema:Boolean ; rdfs:isDefinedBy : . From 3acbcd49633a548b8d82e61d898ec67026f2406a Mon Sep 17 00:00:00 2001 From: reluc Date: Thu, 29 Oct 2020 12:05:17 +0100 Subject: [PATCH 2/2] run render script for fix #950 --- index.html | 5 ++--- ontology/td.html | 4 ++-- validation/td-validation.ttl | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index e2b9119c7..28240835a 100644 --- a/index.html +++ b/index.html @@ -1282,9 +1282,8 @@

Core Vocabulary Definitions

make Properties observable by pushing the new state after a change.

Vocabulary termDescriptionAssignmentType
observableA hint that indicates whether Servients hosting the Thing and Intermediaries should provide a - Protocol Binding that supports the - observeproperty operation for this - Property.optionalboolean

Property instances are also instances of + Protocol Binding that supports the observeproperty and unobserveproperty operations + for this Property.optionalboolean

Property instances are also instances of the class DataSchema. Therefore, it can contain the type, unit, readOnly and writeOnly diff --git a/ontology/td.html b/ontology/td.html index 688d34074..068949256 100644 --- a/ontology/td.html +++ b/ontology/td.html @@ -114,8 +114,8 @@

Terminology

hasPropertyAffordance

IRI: https://www.w3.org/2019/wot/td#hasPropertyAffordance

All Property-based interaction affordance of the Thing.
Range includestd:PropertyAffordance

hasSecurityConfiguration

IRI: https://www.w3.org/2019/wot/td#hasSecurityConfiguration

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 ComboSecurityScheme if necessary.
Domain includestd:Thing

hasSubscriptionSchema

IRI: https://www.w3.org/2019/wot/td#hasSubscriptionSchema

Defines data that needs to be passed upon subscription, e.g., filters or message format for setting up Webhooks.
Domain includestd:EventAffordance
-

hasUriTemplateSchema

IRI: https://www.w3.org/2019/wot/td#hasUriTemplateSchema

Define URI template variables as collection based on schema specifications.
Domain includestd:InteractionAffordance

Datatype Properties

isIdempotent

IRI: https://www.w3.org/2019/wot/td#isIdempotent

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.
Domain includestd:ActionAffordance
Range includesschema:Boolean
-

isObservable

IRI: https://www.w3.org/2019/wot/td#isObservable

A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the observeproperty operation for this Property.
Domain includestd:PropertyAffordance
Range includesschema:Boolean
+

hasUriTemplateSchema

IRI: https://www.w3.org/2019/wot/td#hasUriTemplateSchema

Define URI query template variables as collection based on schema specifications.
Domain includestd:InteractionAffordance

Datatype Properties

isIdempotent

IRI: https://www.w3.org/2019/wot/td#isIdempotent

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.
Domain includestd:ActionAffordance
Range includesschema:Boolean
+

isObservable

IRI: https://www.w3.org/2019/wot/td#isObservable

A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the observeproperty and unobserveproperty operations for this Property.
Domain includestd:PropertyAffordance
Range includesschema:Boolean

isSafe

IRI: https://www.w3.org/2019/wot/td#isSafe

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.
Domain includestd:ActionAffordance
Range includesschema:Boolean

name

IRI: https://www.w3.org/2019/wot/td#name

Indexing property to store entity names when serializing them in a JSON-LD @index container.
Domain includestd:InteractionAffordance
Range includesschema:Text

Named Individuals

invokeAction

IRI: https://www.w3.org/2019/wot/td#invokeAction

Operation type of forms used to read a property value
Instance oftd:OperationType

observeProperty

IRI: https://www.w3.org/2019/wot/td#observeProperty

Operation type of forms used to read a property value
Instance oftd:OperationType
diff --git a/validation/td-validation.ttl b/validation/td-validation.ttl index c06a4b6ee..75ab502c7 100644 --- a/validation/td-validation.ttl +++ b/validation/td-validation.ttl @@ -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 - observeproperty operation for this - Property."""^^rdf:HTML ; + Protocol Binding that supports the observeproperty and unobserveproperty operations + for this Property."""^^rdf:HTML ; sh:datatype xsd:boolean ; sh:maxCount 1 ; ] ;