Name of the gateway (plugin) that owns this subscription
abstracts[].mappings
array
+
List of abstracts
abstracts[].mappings[].capability
string
+
Capability of an abstract
abstracts[].mappings[].variable
string
+
Variable of an abstract
abstracts[].mappings[].item_id
string
+-
Item id of corresponding abstract. Required for subscriptions without a field.
abstracts[].mappings[].value
string or int
+
Value of an abstract. NOTE: cloud supports only string/int values
abstracts[].mappings[].response_type
string
+-
Name of a response type to use to format a template. Should point to a key in the dictionary.
abstracts[].mappings[].response_data
object
+-
Dictionary of substitutions to be used to fill a response template (see “response_type”.
abstracts[].mappings[].response_data.FIELD_NAME
string
–
A value to substitute with during the template evaluation.
abstracts[].mappings[].response_data
object
+-
Dictionary of substitutions to be used to fill a response template (see “response_type”.
response_type
object
–
A dictionary of response templates, optional.
response_type.[{name}]
object
–
Settings of a particular response template
response_type.[{name}].template
string
+
A response template to use as a callback command for abstract subscriptions value update mechanism. Defines a structure and parameters of a command Cloud should use to report subscription values changes instead of command.
response_type.[{name}].value_path
string
–
JSON path to the “value” field in the template.
response_type.[{name}].value_info
string
–
JSON path to the cloud value type field in the template.
response_type.[{name}].data_paths
object
–
A map of data paths that links and places of these fields in the template together.