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

129 lines
No EOL
2.9 KiB
JSON

{
"rougail": {
"type": "namespace",
"informations": {
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"source_variable_1": {
"type": "variable",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "rougail.source_variable_1",
"names": [
"source_variable_1"
],
"description": "The first source variable.",
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"source_variable_2": {
"type": "variable",
"default": {
"name": "Default",
"values": "val2"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "rougail.source_variable_2",
"names": [
"source_variable_2"
],
"description": "The second source variable.",
"gen_examples": [
"val2"
],
"mandatory_without_value": false
},
"my_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
"name": "choice"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"choices": {
"name": "Choices",
"values": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.source_variable_1"
},
"description": "The first source variable"
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.source_variable_2"
},
"description": "The second source variable"
}
]
},
"path": "rougail.my_variable",
"names": [
"my_variable"
],
"description": "A variable.",
"gen_examples": [
"val1"
],
"mandatory_without_value": false
}
}
}
}