rougail-output-doc/tests/results/test_namespace/24_7validators_variable_optional.json

80 lines
No EOL
2 KiB
JSON

{
"rougail": {
"type": "namespace",
"informations": {
"path": "rougail",
"name": "rougail",
"description": "Rougail",
"properties": [],
"mode": "basic",
"help": [
"This family is a namespace"
]
},
"children": {
"general": {
"type": "family",
"informations": {
"path": "rougail.general",
"name": "general",
"description": "A family",
"properties": [],
"mode": "basic"
},
"children": {
"int": {
"path": "rougail.general.int",
"name": "int",
"description": "A first integer.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "basic",
"type": "variable",
"variable_type": "integer",
"validators": {
"name": "Validators",
"values": [
{
"description": "int and int2 must be different"
},
{
"description": "int and int3 must be different"
}
]
},
"examples": {
"name": "Example",
"values": 5
}
},
"int2": {
"path": "rougail.general.int2",
"name": "int2",
"description": "A second integer.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"type": "variable",
"default": {
"name": "Default",
"values": 1
},
"variable_type": "integer"
}
}
}
}
}
}