rougail-output-doc/tests/results/test_namespace/00_9default_calculation_multi_optional2.json

83 lines
No EOL
1.9 KiB
JSON

{
"rougail": {
"type": "namespace",
"informations": {
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [],
"mode": "standard"
},
"children": {
"my_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": "val1"
},
"variable_type": "string",
"path": "rougail.my_variable",
"names": [
"my_variable"
],
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"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": "rougail.my_variable"
},
"description": "My_variable"
}
]
},
"variable_type": "string",
"path": "rougail.my_calculated_variable",
"names": [
"my_calculated_variable"
],
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
},
{
"type": "property",
"name": "unique",
"ori_name": "unique",
"access_control": false
}
],
"mode": "standard",
"multiple": true,
"gen_examples": [
[
"val1"
]
],
"mandatory_without_value": false
}
}
}
}