rougail-output-doc/tests/docs/base/24_7validators_variable_optional.json

1 line
1,000 B
JSON
Raw Normal View History

2024-11-15 08:13:45 +01:00
{"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."]}}}}}}