rougail-output-doc/tests/results/test_namespace/00_2default_calculated_variable.json

106 lines
2.2 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": "basic"
}
]
},
"children": {
"var1": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "domainname"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"validators": {
"name": "Validator",
"values": "the domain name can be an IP"
},
2025-10-14 12:58:39 +02:00
"path": "rougail.var1",
"names": [
"var1"
],
"description": "A first variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
2025-10-29 10:46:57 +01:00
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "rougail.var1"
},
"description": "A first variable"
}
},
"properties": [
{
"type": "type",
"name": "domainname"
},
{
"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 second variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": false
}
}
}
}