Amazon IoT Events · JSON Structure

Iot Events Transition Events Structure

TransitionEvents schema

Type: array Properties: 0
Event DetectionIoTState MachineAutomation

TransitionEvents is a JSON Structure definition published by Amazon IoT Events. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-structure/iot-events-transition-events-structure.json",
  "name": "TransitionEvents",
  "description": "TransitionEvents schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "eventName",
      "condition",
      "nextState"
    ],
    "properties": {
      "eventName": {
        "allOf": [
          {
            "$ref": "#/components/schemas/EventName"
          },
          {
            "description": "The name of the transition event."
          }
        ]
      },
      "condition": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Condition"
          },
          {
            "description": "Required. A Boolean expression that when TRUE causes the actions to be performed and the <code>nextState</code> to be entered."
          }
        ]
      },
      "actions": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Actions"
          },
          {
            "description": "The actions to be performed."
          }
        ]
      },
      "nextState": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StateName"
          },
          {
            "description": "The next state to enter."
          }
        ]
      }
    },
    "description": "Specifies the actions performed and the next state entered when a <code>condition</code> evaluates to TRUE."
  }
}