{
    "$schema": "../../../$schemas/action-schema.json",
    "actions": [
        {
            "id": "vizReset",
            "name": "Reset",
            "description": "Purges all rundowns, clears the engine and reactivates the Viz playlist",
            "destructive": true,
            "timeout": 10000,
            "payload": {
                "type": "object",
                "properties": {
                    "activeRundownPlaylistId": {
                        "name": "Rundown playlist ID",
                        "description": "Optional property that helps track what rundown is active for optimisation reasons",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            }
        },
        {
            "id": "purgeRundown",
            "name": "Purge Viz Rundown",
            "description": "Purges all elements from the viz-rundown",
            "destructive": true,
            "timeout": 10000
        },
        {
            "id": "activate",
            "name": "Activate Viz Rundown",
            "destructive": true,
            "payload": {
                "type": "object",
                "properties": {
                    "activeRundownPlaylistId": {
                        "type": "string"
                    },
                    "clearAll": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "activeRundownPlaylistId"
                ],
                "additionalProperties": false
            }
        },
        {
            "id": "standDown",
            "name": "Stand down Viz Rundown",
            "destructive": true
        },
        {
            "id": "clearAllEngines",
            "name": "Clear Engines",
            "description": "Clears all Engines in the Profile by sending the configured list of clear-commands",
            "destructive": true,
            "timeout": 10000
        }
    ]
}
