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

121 lines
No EOL
2.2 KiB
JSON

{
"var": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "var",
"names": [
"var"
],
"description": "A suffix variable.",
"examples": {
"name": "Examples",
"values": [
"val1",
"val2"
]
},
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
},
"dyn{{ identifier }}": {
"type": "dynamic",
"informations": {
"names": [
"dynval1",
"dynval2"
],
"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": "Suffix has value.",
"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
}
}
}
}