rougail-output-doc/tests/results/test/60_5family_dynamic_variable_outside_suffix.json

161 lines
No EOL
3 KiB
JSON

{
"var": {
"type": "variable",
"default": {
"name": "Default",
"values": [
"val1",
"val2"
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "var",
"names": [
"var"
],
"description": "A suffix variable.",
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
},
"dyn_{{ identifier }}": {
"type": "dynamic",
"informations": {
"names": [
"dyn_val1",
"dyn_val2"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn_{{ identifier }}",
"description": "A dynamic family",
"properties": [
{
"type": "mode",
"name": "standard"
}
],
"identifier": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "var"
},
"description": "A suffix variable"
}
],
"help": [
"This family builds families dynamically"
]
},
"children": {
"var": {
"names": [
"var",
"var"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn_{{ identifier }}.var",
"description": "A variable inside dynamic family.",
"type": "variable",
"default": {
"name": "Default",
"values": "the value of the identifier"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"gen_examples": [
"val1",
"val2"
],
"mandatory_without_value": false
}
}
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "dyn_val1.var"
},
"description": "A variable inside dynamic family"
}
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "var2",
"names": [
"var2"
],
"description": "A variable.",
"gen_examples": [
"val1"
],
"mandatory_without_value": false
}
}