Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "IfElse",
"description": "Executes one of two actions depending on a condition.",
"type": "object",
"x-version": "1.0",
"required": [
"Handler",
"Condition",
"If",
"Else"
],
"properties": {
"Handler": {
"const": "IfElse"
},
"Condition": {
"$ref": "/schema/shared/Condition/1.0/index.json"
},
"If": {
"$ref": "/schema/Actions/Action/1.0/index.json"
},
"Else": {
"$ref": "/schema/Actions/Action/1.0/index.json"
},
"OnSuccess": {
"$ref": "/schema/Actions/Action/1.0/index.json"
},
"OnFailure": {
"$ref": "/schema/Actions/Action/1.0/index.json"
}
},
"additionalProperties": false,
"x-icon": "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"6\" cy=\"6\" r=\"2\"/><circle cx=\"6\" cy=\"18\" r=\"2\"/><circle cx=\"18\" cy=\"12\" r=\"2\"/><path d=\"M6 8v8M8 6h6a2 2 0 0 1 2 2v2M8 18h6a2 2 0 0 0 2-2v-2\"/></svg>",
"$id": "/schema/Actions/IfElse/1.0/index.json",
"x-family": "Actions",
"x-name": "IfElse",
"x-source-package": "zero-schema"
}