rougail-output-doc/tests/results/test_without_family/60_6family_dynamic_leadership.json

203 lines
4.5 KiB
JSON
Raw Permalink Normal View History

{
"var": {
"type": "variable",
"default": {
"name": "Default",
"values": [
"val1",
"val2"
]
},
2025-11-29 22:21:06 +01:00
"variable_type": "string",
"path": "var",
"names": [
"var"
],
"description": "A suffix variable.",
"properties": [
{
"type": "property",
2025-11-29 22:21:06 +01:00
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
},
{
"type": "property",
2025-11-29 22:21:06 +01:00
"name": "unique",
"ori_name": "unique",
"access_control": false
}
],
2025-11-29 22:21:06 +01:00
"mode": "standard",
"multiple": true,
"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",
2025-11-29 22:21:06 +01:00
"properties": [],
"mode": "basic",
"identifier": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "var"
},
"description": "A suffix variable"
}
],
"help": [
"This family builds families dynamically"
]
},
"children": {
"leadership": {
"type": "leadership",
"informations": {
"names": [
"leadership",
"leadership"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn{{ identifier }}.leadership",
"description": "A leadership",
2025-11-29 22:21:06 +01:00
"properties": [],
"mode": "basic",
"help": [
"This family contains lists of variable blocks"
]
},
"children": {
"leader": {
"names": [
"leader",
"leader"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn{{ identifier }}.leadership.leader",
"description": "A leader.",
"type": "variable",
2025-11-29 22:21:06 +01:00
"variable_type": "string",
"properties": [
{
"type": "property",
2025-11-29 22:21:06 +01:00
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
},
{
"type": "property",
2025-11-29 22:21:06 +01:00
"name": "unique",
"ori_name": "unique",
"access_control": false
}
],
2025-11-29 22:21:06 +01:00
"mode": "basic",
"multiple": true,
"gen_examples": [
[
"example"
],
[
"example"
]
],
"mandatory_without_value": true
},
"follower1": {
"names": [
"follower1",
"follower1"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn{{ identifier }}.leadership.follower1",
"description": "A follower1.",
"type": "variable",
2025-11-29 22:21:06 +01:00
"variable_type": "string",
"properties": [],
"mode": "standard",
"gen_examples": [
[
"example"
],
[
"example"
]
],
"mandatory_without_value": false
},
"follower2": {
"names": [
"follower2",
"follower2"
],
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "dyn{{ identifier }}.leadership.follower2",
"description": "A follower2.",
"type": "variable",
2025-11-29 22:21:06 +01:00
"variable_type": "string",
"properties": [],
"mode": "standard",
"gen_examples": [
[
"example"
],
[
"example"
]
],
"mandatory_without_value": false
}
}
}
}
}
}