JSON Schema
StateMachine
Represents a state machine with a collection of states. |
||||
type |
object |
|||
properties |
||||
|
State Machine Name |
|||
The name of the state machine |
||||
type |
string |
|||
minLength |
1 |
|||
default |
State Machine |
|||
|
States |
|||
A collection of states |
||||
type |
object |
|||
patternProperties |
||||
|
#/$defs/State |
|||
additionalProperties |
False |
|||
$defs |
||||
|
State |
|||
Represents a state in the state machine. |
||||
type |
object |
|||
properties |
||||
|
State Timer |
|||
The state’s timer in seconds |
||||
type |
number |
|||
minimum |
0.0 |
|||
default |
0.0 |
|||
|
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 |
|||
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 |
|||
An optional comment describing the state. |
||||
type |
string |
|||
default |
||||
additionalProperties |
False |