Skip to main content
Version: 6.0.8

Condition Version

Condition version configuration on data.json requires following basic structure

{
"id": "543c21be-a600-4137-b3da-be7f1818f9f3",
"name": "0",
"schema": {
"output": {
"type": "integer"
},
"variables": [
{
"name": "to",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "cc",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "bcc",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "subject",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "body_type",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "body",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "signature",
"required": false,
"schema": {
"type": "string"
}
}
]
}
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new condition version. If id is provided, CLI will update the condition version with that id.