2025-10-30 21:14:34 +01:00
|
|
|
{
|
|
|
|
|
"condition": {
|
|
|
|
|
"type": "variable",
|
|
|
|
|
"default": {
|
|
|
|
|
"name": "Default",
|
|
|
|
|
"values": "no"
|
|
|
|
|
},
|
2025-11-29 22:21:06 +01:00
|
|
|
"variable_type": "string",
|
2025-10-30 21:14:34 +01:00
|
|
|
"path": "condition",
|
|
|
|
|
"names": [
|
|
|
|
|
"condition"
|
|
|
|
|
],
|
|
|
|
|
"description": "A conditional variable.",
|
2025-11-29 22:21:06 +01:00
|
|
|
"properties": [
|
|
|
|
|
{
|
|
|
|
|
"type": "property",
|
|
|
|
|
"name": "mandatory",
|
|
|
|
|
"ori_name": "mandatory",
|
|
|
|
|
"access_control": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"mode": "standard",
|
2025-10-30 21:14:34 +01:00
|
|
|
"gen_examples": [
|
|
|
|
|
"no"
|
|
|
|
|
],
|
|
|
|
|
"mandatory_without_value": false
|
|
|
|
|
},
|
|
|
|
|
"variable1": {
|
|
|
|
|
"type": "variable",
|
2025-11-29 22:21:06 +01:00
|
|
|
"variable_type": "string",
|
|
|
|
|
"path": "variable1",
|
|
|
|
|
"names": [
|
|
|
|
|
"variable1"
|
|
|
|
|
],
|
|
|
|
|
"description": "A first variable.",
|
2025-10-30 21:14:34 +01:00
|
|
|
"properties": [
|
|
|
|
|
{
|
|
|
|
|
"type": "property",
|
2025-11-29 22:21:06 +01:00
|
|
|
"name": "mandatory",
|
|
|
|
|
"ori_name": "mandatory",
|
|
|
|
|
"access_control": false
|
2025-10-30 21:14:34 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "property",
|
|
|
|
|
"name": "disabled",
|
2025-11-29 22:21:06 +01:00
|
|
|
"ori_name": "disabled",
|
|
|
|
|
"access_control": true,
|
2025-11-21 08:15:00 +01:00
|
|
|
"annotation": {
|
|
|
|
|
"description": "if condition is egal to \"yes\""
|
|
|
|
|
}
|
2025-10-30 21:14:34 +01:00
|
|
|
}
|
|
|
|
|
],
|
2025-11-29 22:21:06 +01:00
|
|
|
"mode": "basic",
|
2025-10-30 21:14:34 +01:00
|
|
|
"gen_examples": [
|
|
|
|
|
"example"
|
|
|
|
|
],
|
|
|
|
|
"mandatory_without_value": true
|
|
|
|
|
},
|
|
|
|
|
"variable2": {
|
|
|
|
|
"type": "variable",
|
2025-11-29 22:21:06 +01:00
|
|
|
"variable_type": "string",
|
|
|
|
|
"path": "variable2",
|
|
|
|
|
"names": [
|
|
|
|
|
"variable2"
|
|
|
|
|
],
|
|
|
|
|
"description": "A seconde variable.",
|
2025-10-30 21:14:34 +01:00
|
|
|
"properties": [
|
|
|
|
|
{
|
|
|
|
|
"type": "property",
|
2025-11-29 22:21:06 +01:00
|
|
|
"name": "mandatory",
|
|
|
|
|
"ori_name": "mandatory",
|
|
|
|
|
"access_control": false
|
2025-10-30 21:14:34 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "property",
|
|
|
|
|
"name": "disabled",
|
2025-11-29 22:21:06 +01:00
|
|
|
"ori_name": "disabled",
|
|
|
|
|
"access_control": true,
|
2025-11-21 08:15:00 +01:00
|
|
|
"annotation": {
|
|
|
|
|
"description": "if condition is not egal to \"yes\""
|
|
|
|
|
}
|
2025-10-30 21:14:34 +01:00
|
|
|
}
|
|
|
|
|
],
|
2025-11-29 22:21:06 +01:00
|
|
|
"mode": "basic",
|
2025-10-30 21:14:34 +01:00
|
|
|
"gen_examples": [
|
|
|
|
|
"example"
|
|
|
|
|
],
|
|
|
|
|
"mandatory_without_value": true
|
|
|
|
|
}
|
|
|
|
|
}
|