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

105 lines
2.4 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": [
2025-10-29 10:46:57 +01:00
"int and int2 must be different",
"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-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
},
"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"
],
"description": "A second integer.",
"gen_examples": [
1
],
"mandatory_without_value": false
}
}
}
}
}
}