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

96 lines
No EOL
2 KiB
JSON

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