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

93 lines
2.3 KiB
JSON
Raw Normal View History

{
"rougail": {
"type": "namespace",
"informations": {
2025-10-14 12:58:39 +02:00
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
2025-11-29 22:21:06 +01:00
"properties": [],
"mode": "basic"
},
"children": {
"general": {
"type": "family",
"informations": {
2025-10-14 12:58:39 +02:00
"path": "rougail.general",
"names": [
"general"
],
2025-10-14 12:58:39 +02:00
"description": "A family",
2025-11-29 22:21:06 +01:00
"properties": [],
"mode": "basic"
},
"children": {
"int": {
"type": "variable",
2025-11-29 22:21:06 +01:00
"variable_type": "integer",
2025-09-22 09:42:46 +02:00
"validators": {
"name": "Validators",
"values": [
2025-11-21 08:15:00 +01:00
{
"description": "int and int2 must be different"
},
{
"description": "int and int3 must be different"
}
2025-09-22 09:42:46 +02:00
]
},
2025-10-14 12:58:39 +02:00
"path": "rougail.general.int",
"names": [
"int"
],
2025-10-14 12:58:39 +02:00
"description": "A first integer.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "basic",
2025-09-22 09:42:46 +02:00
"examples": {
"name": "Example",
"values": 5
},
"gen_examples": [
5
],
"mandatory_without_value": true
},
"int2": {
"type": "variable",
2025-09-22 09:42:46 +02:00
"default": {
"name": "Default",
"values": 1
},
2025-11-29 22:21:06 +01:00
"variable_type": "integer",
2025-10-14 12:58:39 +02:00
"path": "rougail.general.int2",
"names": [
"int2"
],
"description": "A second integer.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"gen_examples": [
1
],
"mandatory_without_value": false
}
}
}
}
}
}