Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger

Description

Configuration of trigger comparing the cardinality of two groups.

Properties

Name JsonSchemaType Description
comparedGroupUuid reference to Era.Common.DataDefinition.Common.Uuid UUID of the compared (2nd observed) static or dynamic group.
observedDynamicGroupUuid reference to Era.Common.DataDefinition.Common.Uuid UUID of the observed dynamic group - its cardinality may change in time.
trendType enum of Era.Common.DataDefinition.Trigger.TriggerTresholdTrendType Threshold trend type (above or below).
treshold reference to Era.Common.DataDefinition.Trigger.TriggerTreshold Trigger threshold (absolute or relative).

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger"
    ],
    "properties": {
        "Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger": {
            "$ref": "#/definitions/DynamicGroupsComparedSizeChangedTrigger"
        }
    },
    "definitions": {
        "DynamicGroupsComparedSizeChangedTrigger": {
            "additionalProperties": false,
            "required": [
                "comparedGroupUuid",
                "observedDynamicGroupUuid",
                "trendType",
                "treshold"
            ],
            "type": "object",
            "properties": {
                "comparedGroupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "observedDynamicGroupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "trendType": {
                    "enum": [
                        1,
                        2
                    ]
                },
                "treshold": {
                    "$ref": "Era.Common.DataDefinition.Trigger.TriggerTreshold#/definitions/TriggerTreshold"
                }
            }
        }
    }
}