rougail-output-doc/tests/results/test/04_5validators_differ.json

70 lines
No EOL
1.2 KiB
JSON

{
"var1": {
"type": "variable",
"default": {
"name": "Default",
"values": "oui"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"validators": {
"name": "Validator",
"values": "var1 must be different than var2"
},
"path": "var1",
"names": [
"var1"
],
"description": "A first variable.",
"examples": {
"name": "Example",
"values": "another_value"
},
"gen_examples": [
"another_value"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "var2",
"names": [
"var2"
],
"description": "A second variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
}
}