rougail-output-doc/tests/results/test_namespace/04_5disabled_calculation_optional_default.json

138 lines
No EOL
3 KiB
JSON

{
"rougail": {
"type": "namespace",
"informations": {
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"condition": {
"type": "variable",
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",
"name": "boolean"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "rougail.condition",
"names": [
"condition"
],
"description": "A condition.",
"gen_examples": [
false
],
"mandatory_without_value": false
},
"var1": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
}
],
"path": "rougail.var1",
"names": [
"var1"
],
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "hidden",
"annotation": {
"message": "when the variable \"{0}\" is defined and has the value \"true\"",
"path": {
"path": "rougail.condition"
},
"description": "A condition"
}
}
],
"path": "rougail.var3",
"names": [
"var3"
],
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "hidden",
"annotation": {
"message": "when the variable \"{0}\" is defined and has the value \"true\"",
"path": {
"path": "rougail.condition"
},
"description": "A condition"
}
}
],
"path": "rougail.var4",
"names": [
"var4"
],
"description": "A forth variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}
}
}