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

79 lines
1.3 KiB
JSON
Raw Normal View History

{
"var1": {
"type": "variable",
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
2025-11-29 22:21:06 +01:00
"variable_type": "string",
"path": "var1",
"names": [
"var1"
],
"description": "A second variable.",
"properties": [
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
}
],
2025-11-29 22:21:06 +01:00
"multiple": true,
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": "a"
},
2025-11-29 22:21:06 +01:00
"variable_type": "choice",
"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.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"gen_examples": [
"a"
],
"mandatory_without_value": false
}
}