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

88 lines
No EOL
1.5 KiB
JSON

{
"var1": {
"type": "variable",
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "var1",
"names": [
"var1"
],
"description": "A second variable.",
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": "a"
},
"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": "var1"
},
"description": "A second variable"
}
},
"path": "var2",
"names": [
"var2"
],
"description": "A first variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
}
}