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

88 lines
No EOL
1.5 KiB
JSON

{
"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"
},
"path": "var1",
"names": [
"var1"
],
"description": "A first variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "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"
}
],
"path": "var2",
"names": [
"var2"
],
"description": "A second variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": false
}
}