JSON Schema

StateMachine

Represents a state machine with a collection of states.

type

object

properties

  • name

State Machine Name

The name of the state machine

type

string

minLength

1

default

State Machine

  • states

States

A collection of states

type

object

patternProperties

  • ^(?!exit$).*$

#/$defs/State

additionalProperties

False

$defs

  • State

State

Represents a state in the state machine.

type

object

properties

  • timer

State Timer

The state’s timer in seconds

type

number

minimum

0.0

default

0.0

  • state_change_conditions

State Change Conditions

The conditions for switching from the current state to others

type

object

additionalProperties

The name of the target state

type

string

minLength

1

  • output_actions

Output Actions

The actions to be executed during the state

type

object

additionalProperties

The integer value of the output action

type

integer

maximum

255

minimum

0

  • comment

Comment

An optional comment describing the state.

type

string

default

additionalProperties

False