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

65 lines
1.5 KiB
JSON
Raw Normal View History

{
"general": {
"type": "family",
"informations": {
2025-10-14 12:58:39 +02:00
"path": "general",
2026-03-29 11:01:15 +02:00
"name": "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": {
2026-03-29 11:01:15 +02:00
"path": "general.int",
"name": "int",
"description": "A first integer.",
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "basic",
"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
]
},
"examples": {
"name": "Example",
"values": 5
2026-03-29 11:01:15 +02:00
}
},
"int2": {
2025-10-14 12:58:39 +02:00
"path": "general.int2",
2026-03-29 11:01:15 +02:00
"name": "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",
2026-03-29 11:01:15 +02:00
"type": "variable",
"default": {
"name": "Default",
"values": 1
},
"variable_type": "integer"
}
}
}
}