{ "$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-on-exit-lifecycle-structure.json", "name": "OnExitLifecycle", "description": "When exiting this state, perform these actions if the specified condition is TRUE.", "type": "object", "properties": { "events": { "allOf": [ { "$ref": "#/components/schemas/Events" }, { "description": "Specifies the actions that are performed when the state is exited and the condition is TRUE." } ] } } }