value.ospp
Value property
type |
object |
||
properties |
|||
|
Delay to wait before forwarding the value when it changes |
||
|
The description of the value |
||
type |
string |
||
|
The inputType corresponds to the original type of the value before the pre-transform is applied. For example, if a module publishes a value of type TEXT and a pre-transform converts it into BOOLEAN, the resulting value type is BOOLEAN (this final type is the one used by all modules in OnSphere). However, the inputType remains TEXT, since the module needs to know the original type in order to apply the appropriate transformations. |
||
type |
string |
||
enum |
BOOLEAN, INTEGER, DECIMAL, TEXT |
||
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
||
type |
string |
||
|
The name of the value used for logging |
||
type |
string |
||
|
Define the Time-to-Live (TTL) of the value once it is published to other modules. All message will have at most a TTL of 7 days. It is only valid for a CHANGE. The RETRANSMISSION and INITIALIZATION mode have a TTL of 10 minutes. In any case, the message queues are limited to 100000 messages, once this limit reach the oldest message will be dropped. |
||
|
The transformation to apply to the value. This is applied after the smooth, pulse, and delay. If the transform map multiple data to one, it will generate a value for each change of the source. The reset value of a pulse will be transformed. The “PULSE_ON_READ”, “PULSE_ON_CHANGE” and “ignoreReset” will be applied to the original data. |
||
|
The transformation to apply to the value. This is applied before the smooth, pulse, and delay. If the transform map multiple data to one, it will not generate a value for each change of the source. The reset value of a pulse will not be transformed. The “PULSE_ON_READ”, “PULSE_ON_CHANGE” and “ignoreReset” will be applied to the transformed value. |
||
|
Pulse of the value (i.e. the duration for holding the value before resetting it) |
||
|
Retention of the value content (i.e. STEADY for states, FIRE_AND_FORGET for events)
Default value is [“STEADY”] |
||
type |
string |
||
enum |
STEADY, FIRE_AND_FORGET |
||
default |
STEADY |
||
|
Delay after which the value is considered stable and produced |
||
|
The delay during which the error are not published when the module is starting or the value configuration has changed. When a value without an error is publish the delay will be remove immediately. The following errors will not be delayed. This also concern the uninitialized value. During this period, any republish request will generate an uninitialized value. This configuration override the one define in the module configuration. |
||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The type of the value |
||
type |
string |
||
enum |
BOOLEAN, INTEGER, DECIMAL, TEXT |
||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
additionalProperties |
False |
||
DurationConfigurationEntity
type |
object |
|
properties |
||
|
The unit of time expressed |
|
type |
string |
|
enum |
NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS |
|
|
The amount of time expressed with the unit |
|
type |
integer |
|
additionalProperties |
False |
|
TransformConfigurationEntity
type |
object |
|
properties |
||
|
The transformation to apply. |
|
type |
string |
|
|
The type of the value after the transformation. If this is the final transformation step, the value must be equals to the value.ospp type. |
|
type |
string |
|
enum |
BOOLEAN, INTEGER, DECIMAL, TEXT |
|
additionalProperties |
False |
|
PulseConfigurationEntity
type |
object |
|
properties |
||
|
Duration of the pulse (i.e. duration for holding the value before resetting it) |
|
|
If the pulse should ignore its reset value (i.e. if the pulse should wait for its duration before resetting when the value changes to its reset value) Default value is [false] |
|
type |
boolean |
|
default |
False |
|
|
The reset value after the pulse delay is expired |
|
|
The type of the value (i.e. pulse when value changes or every time the value is updated) Default value is [“PULSE_ON_CHANGE”] |
|
type |
string |
|
enum |
PULSE_ON_READ, PULSE_ON_CHANGE |
|
default |
PULSE_ON_CHANGE |
|
additionalProperties |
False |
|