From beb0d11d5b5123e2435997422a05651d4f14a03b Mon Sep 17 00:00:00 2001 From: Sebastian Kaebisch Date: Sun, 5 May 2019 16:46:37 +0200 Subject: [PATCH] update form definitions --- index.html | 6 +++--- index.template.html | 2 +- ontology/td.ttl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 47acf8cf5..0648a14a7 100644 --- a/index.html +++ b/index.html @@ -1374,7 +1374,7 @@

Core Vocabulary Definitions

actionsAll Action-based interaction affordance of the Thing.optionalmap of ActionAffordance eventsAll Event-based interaction affordance of the Thing.optionalmap of EventAffordance linksProvides Web links to arbitrary resources that relate to the specified Thing Description.optionalarray of Link -formsIndicates one or more endpoints at which operation(s) on this resource are accessible. In this version of TD, all operations that can be described at the Thing level are concerning how to interact with the Thing's property affordances collectively at once.optionalarray of Form +formsSet of one or more form hypermedia controls that describe how the affordance can be activated. In this version of TD, all operations that can be described at the Thing level are concerning how to interact with the Thing's property affordances collectively at once.optionalarray of Form securitySet of security definition names, chosen from those defined in securityDefinitions. These must all be satisfied for access to resources.mandatorystring or array of string securityDefinitionsSet of named security configurations (definitions only). Not actually applied unless names are used in a security section.mandatorymap of SecurityScheme

@@ -1434,7 +1434,7 @@

Core Vocabulary Definitions

titlesProvides multi-language human-readable titles (e.g., display a text for UI representation in different languages) of the interaction pattern.optionalMultiLanguage descriptionProvides additional (human-readable) information based on a default language.optionalstring descriptionsCan be used to support (human-readable) information in different languages.optionalMultiLanguage -formsIndicates one or more endpoints at which operation(s) on this resource are accessible.mandatoryarray of Form +formsSet of one or more form hypermedia controls that describe how the affordance can be activated.mandatoryarray of Form uriVariablesDefine URI template variables as collection based on DataSchema declarations.optionalmap of DataSchema

The class InteractionAffordance has the following subclasses:

@@ -5113,7 +5113,7 @@

Thing Templates

(properties, actions and events), however it does not contain device-specific information, such as a serial number, GPS location, security information or concrete protocol endpoints.

- Since a Thing Template does not contain a Protocol Binding to specific endpoints and + Since a Thing Template does not contain a Protocol Binding to specific submission targets and does not define a specific security mechanism, the forms and securityDefinitions and security keys must not be present.

diff --git a/index.template.html b/index.template.html index 9898f9447..7ed83be6b 100644 --- a/index.template.html +++ b/index.template.html @@ -3444,7 +3444,7 @@

Thing Templates

(properties, actions and events), however it does not contain device-specific information, such as a serial number, GPS location, security information or concrete protocol endpoints.

- Since a Thing Template does not contain a Protocol Binding to specific endpoints and + Since a Thing Template does not contain a Protocol Binding to specific submission targets and does not define a specific security mechanism, the forms and securityDefinitions and security keys must not be present.

diff --git a/ontology/td.ttl b/ontology/td.ttl index bb42f34cd..db2258cba 100644 --- a/ontology/td.ttl +++ b/ontology/td.ttl @@ -78,7 +78,7 @@ rdfs:label "forms" ; - rdfs:comment "Indicates one or more endpoints at which operation(s) on this resource are accessible."@en . + rdfs:comment "Set of one or more form hypermedia controls that describe how the affordance can be activated."@en . ### http://www.w3.org/2019/td#uriVariables