rougail-output-doc/tests/root_a_family.json

98 lines
No EOL
2.2 KiB
JSON

{
"a_second_family": {
"type": "family",
"informations": {
"path": "a_family.a_second_family",
"names": [
"a_second_family"
],
"description": "A second family",
"properties": []
},
"children": {
"a_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",
"name": "boolean"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "a_family.a_second_family.a_variable",
"names": [
"a_variable"
],
"description": "A boolean variable.",
"gen_examples": [
true
],
"mandatory_without_value": false
}
}
},
"an_other_family": {
"type": "family",
"informations": {
"path": "a_family.an_other_family",
"names": [
"an_other_family"
],
"description": "An other family",
"properties": [
{
"type": "property",
"name": "hidden",
"annotation": {
"message": "when the variable \"{0}\" has the value \"true\"",
"path": {
"path": "a_family.a_second_family.a_variable"
},
"description": "A boolean variable"
}
}
]
},
"children": {
"a_variable": {
"type": "variable",
"default": {
"name": "Default",
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "a_variable"
},
"description": "A root variable"
}
},
"properties": [
{
"type": "type",
"name": "integer"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "a_family.an_other_family.a_variable",
"names": [
"a_variable"
],
"description": "A new variable.",
"gen_examples": [
2
],
"mandatory_without_value": false
}
}
}
}