rougail-output-doc/tests/results/test_namespace/60_5family_dynamic_variable_outside.json

201 lines
4.6 KiB
JSON
Raw Normal View History

{
"rougail": {
"type": "namespace",
"informations": {
2025-10-14 12:58:39 +02:00
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"var": {
"type": "variable",
2025-09-22 09:42:46 +02:00
"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"
}
],
2025-10-14 12:58:39 +02:00
"path": "rougail.var",
"names": [
"var"
],
"description": "A suffix variable.",
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
},
"my_dyn_family_{{ identifier }}": {
"type": "dynamic",
"informations": {
"names": [
"my_dyn_family_val1",
"my_dyn_family_val2"
],
2025-10-14 12:58:39 +02:00
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "rougail.my_dyn_family_{{ identifier }}",
"description": "A dynamic family",
"properties": [
{
"type": "mode",
"name": "standard"
}
],
2025-10-14 12:58:39 +02:00
"identifier": [
2025-10-29 10:46:57 +01:00
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.var"
},
"description": "A suffix variable"
}
2025-10-14 12:58:39 +02:00
],
"help": [
2025-10-29 10:46:57 +01:00
"This family builds families dynamically"
]
},
"children": {
"var": {
"names": [
"var",
"var"
],
2025-10-14 12:58:39 +02:00
"identifiers": [
[
"val1"
],
[
"val2"
]
],
"path": "rougail.my_dyn_family_{{ identifier }}.var",
"description": "A variable inside a dynamic family.",
"type": "variable",
2025-09-22 09:42:46 +02:00
"default": {
"name": "Default",
2025-10-29 10:46:57 +01:00
"values": "the value of the identifier"
2025-09-22 09:42:46 +02:00
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
}
],
"gen_examples": [
"val1",
"val2"
],
"mandatory_without_value": false
}
}
},
"var2": {
"type": "variable",
2025-09-22 09:42:46 +02:00
"default": {
"name": "Default",
"values": [
2025-10-14 12:58:39 +02:00
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.my_dyn_family_{{ identifier }}.var",
"identifiers": [
"val1"
]
2025-10-29 10:46:57 +01:00
},
"description": "A variable inside a dynamic family"
2025-10-14 12:58:39 +02:00
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.my_dyn_family_{{ identifier }}.var",
"identifiers": [
"val2"
]
2025-10-29 10:46:57 +01:00
},
"description": "A variable inside a dynamic family"
2025-10-14 12:58:39 +02:00
}
2025-09-22 09:42:46 +02:00
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
2025-10-14 12:58:39 +02:00
"path": "rougail.var2",
"names": [
"var2"
],
"description": "A variable.",
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
}
}
}
}