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

102 lines
2.1 KiB
JSON
Raw Normal View History

{
"rougail": {
"type": "namespace",
"informations": {
"paths": [
"rougail"
],
"names": [
"rougail"
],
"description": "Rougail",
"properties": [
{
"type": "mode",
"name": "basic"
}
]
},
"children": {
"general": {
"type": "family",
"informations": {
"paths": [
"rougail.general"
],
"names": [
"general"
],
"description": "a family",
"properties": [
{
"type": "mode",
"name": "basic"
}
]
},
"children": {
"int": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "number"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
"validators": [
"int and int2 must be different.",
"int and int3 must be different."
],
"paths": [
"rougail.general.int"
],
"names": [
"int"
],
"descriptions": [
"A first number."
],
"examples": [
5
]
},
"int2": {
"type": "variable",
"default": 1,
"properties": [
{
"type": "type",
"name": "number"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"paths": [
"rougail.general.int2"
],
"names": [
"int2"
],
"descriptions": [
"A second number."
]
}
}
}
}
}
}