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

97 lines
2.2 KiB
JSON
Raw Normal View History

{
"rougail": {
"type": "namespace",
"informations": {
2025-10-14 12:58:39 +02:00
"path": "rougail",
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "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",
"properties": [
{
"type": "mode",
"name": "basic"
}
]
},
"children": {
"int": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "integer"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
2025-09-22 09:42:46 +02:00
"validators": {
"name": "Validators",
"values": [
"int and int2 must be different.",
"int and int3 must be different."
]
},
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-09-22 09:42:46 +02:00
"examples": {
"name": "Example",
"values": 5
}
},
"int2": {
"type": "variable",
2025-09-22 09:42:46 +02:00
"default": {
"name": "Default",
"values": 1
},
"properties": [
{
"type": "type",
"name": "integer"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
2025-10-14 12:58:39 +02:00
"path": "rougail.general.int2",
"names": [
"int2"
],
2025-10-14 12:58:39 +02:00
"description": "A second integer."
}
}
}
}
}
}