rougail-output-doc/tests/results/test/00_9default_calculation_multi_optional_default.json

70 lines
No EOL
1.3 KiB
JSON

{
"my_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": "val1"
},
"variable_type": "string",
"path": "my_variable",
"names": [
"my_variable"
],
"properties": [
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"my_calculated_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": [
{
"message": "the value of the variable \"{0}\" if it is defined",
"path": {
"path": "my_variable"
},
"description": "My_variable"
}
]
},
"variable_type": "string",
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
],
"properties": [
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
}
],
"multiple": true,
"gen_examples": [
[
"val1",
"value"
]
],
"mandatory_without_value": false
}
}