Era.Common.DataDefinition.Trigger.Server.StateTrigger

Description

State trigger configuration. Tick is generated if the filters match for the tracked state.

Properties

Name JsonSchemaType Description
filter array of references to Era.Common.DataDefinition.Filter.Filter Filters for the tracked state enumerated with logical operator AND.
state integer Tracked state (enumeration from Era::Common::DataDefinition::Trigger::Server::TrackedState).
staticGroupUuids array of string Uuids of the tracked static groups.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Trigger.Server.StateTrigger",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Trigger.Server.StateTrigger"
    ],
    "properties": {
        "Era.Common.DataDefinition.Trigger.Server.StateTrigger": {
            "$ref": "#/definitions/StateTrigger"
        }
    },
    "definitions": {
        "StateTrigger": {
            "additionalProperties": false,
            "required": [
                "state"
            ],
            "type": "object",
            "properties": {
                "filter": {
                    "minItems": 1,
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Filter.Filter#/definitions/Filter"
                        }
                    ]
                },
                "state": {
                    "type": "integer"
                },
                "staticGroupUuids": {
                    "type": "array",
                    "items": [
                        {
                            "type": "string"
                        }
                    ]
                }
            }
        }
    }
}