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

153 lines
3.2 KiB
JSON
Raw Normal View History

2026-03-14 20:51:52 +01:00
{
"var1": {
"path": "var1",
2026-03-29 11:01:15 +02:00
"name": "var1",
2026-03-14 20:51:52 +01:00
"description": "A suffix variable.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
},
{
"type": "property",
"name": "unique",
"ori_name": "unique",
"access_control": false
}
],
"mode": "standard",
"type": "variable",
"default": {
"name": "Default",
2026-03-29 11:01:15 +02:00
"values": [
"val1",
"val2"
]
2026-03-14 20:51:52 +01:00
},
"variable_type": "string",
2026-03-29 11:01:15 +02:00
"multiple": true
},
"var2": {
2026-03-14 20:51:52 +01:00
"path": "var2",
2026-03-29 11:01:15 +02:00
"name": "var2",
2026-03-14 20:51:52 +01:00
"description": "A suffix variable2.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
2026-03-29 11:01:15 +02:00
"type": "variable",
"default": {
"name": "Default",
"values": "val1"
},
"variable_type": "string"
2026-03-14 20:51:52 +01:00
},
"dyn{{ identifier }}": {
"type": "dynamic",
"informations": {
2026-03-29 11:01:15 +02:00
"path": "dyn{{ identifier }}",
"name": "dyn{{ identifier }}",
"properties": [],
"mode": "standard",
2026-03-14 20:51:52 +01:00
"identifiers": [
[
"val1"
],
[
"val2"
]
],
2026-03-29 11:01:15 +02:00
"help": [
"This family builds families dynamically"
],
2026-03-14 20:51:52 +01:00
"identifier": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "var1",
"type": "variable"
},
"description": "A suffix variable"
}
]
},
"children": {
"var": {
2026-03-29 11:01:15 +02:00
"path": "dyn{{ identifier }}.var",
"name": "var",
"description": "A dynamic variable.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
2026-03-14 20:51:52 +01:00
],
2026-03-29 11:01:15 +02:00
"mode": "standard",
2026-03-14 20:51:52 +01:00
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"type": "variable",
"default": {
"name": "Default",
2026-03-29 12:42:01 +02:00
"values": "the value of the identifier."
2026-03-14 20:51:52 +01:00
},
2026-03-29 11:01:15 +02:00
"variable_type": "string"
2026-03-14 20:51:52 +01:00
}
}
},
"var3": {
2026-03-29 11:01:15 +02:00
"path": "var3",
"name": "var3",
"description": "A variable calculated.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
2026-03-14 20:51:52 +01:00
"type": "variable",
"default": {
"name": "Default",
"values": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "dyn{{ identifier }}.var",
"identifiers": [
"val1"
]
},
"description": "A dynamic variable"
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "dyn{{ identifier }}.var",
"identifiers": [
"val2"
]
},
"description": "A dynamic variable"
}
]
},
2026-03-29 11:01:15 +02:00
"variable_type": "string"
2026-03-14 20:51:52 +01:00
}
}