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

145 lines
No EOL
2.9 KiB
JSON

{
"rougail": {
"type": "namespace",
"informations": {
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"var": {
"type": "variable",
"default": {
"name": "Default",
"values": [
"a"
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "rougail.var",
"names": [
"var"
],
"description": "A variable.",
"gen_examples": [
[
"a"
]
],
"mandatory_without_value": false
}
}
},
"extra": {
"type": "namespace",
"informations": {
"path": "extra",
"names": [
"extra"
],
"description": "Extra",
"properties": [
{
"type": "mode",
"name": "basic"
}
]
},
"children": {
"dyn_{{ identifier }}": {
"type": "dynamic",
"informations": {
"names": [
"dyn_a"
],
"identifiers": [
[
"a"
]
],
"path": "extra.dyn_{{ identifier }}",
"description": "dyn_{{ identifier }}",
"properties": [
{
"type": "mode",
"name": "basic"
}
],
"identifier": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.var"
},
"description": "A variable"
}
],
"help": [
"This family builds families dynamically"
]
},
"children": {
"var": {
"names": [
"var"
],
"identifiers": [
[
"a"
]
],
"path": "extra.dyn_{{ identifier }}.var",
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}
}
}
}
}