rougail-output-doc/tests/root_a_family.json

98 lines
2.3 KiB
JSON
Raw Permalink Normal View History

2025-10-27 21:59:39 +01:00
{
"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
},
2025-11-29 22:21:06 +01:00
"variable_type": "boolean",
2025-10-27 21:59:39 +01:00
"path": "a_family.a_second_family.a_variable",
"names": [
"a_variable"
],
"description": "A boolean variable.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"gen_examples": [
true
],
"mandatory_without_value": false
2025-10-27 21:59:39 +01:00
}
}
},
"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",
2025-11-29 22:21:06 +01:00
"ori_name": "hidden",
"access_control": true,
2025-10-29 10:46:57 +01:00
"annotation": {
"message": "when the variable \"{0}\" has the value \"true\"",
"path": {
"path": "a_family.a_second_family.a_variable"
},
"description": "A boolean variable"
}
2025-10-27 21:59:39 +01:00
}
]
},
"children": {
"a_variable": {
"type": "variable",
"default": {
"name": "Default",
2025-10-29 10:46:57 +01:00
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "a_variable"
},
"description": "A root variable"
}
2025-10-27 21:59:39 +01:00
},
2025-11-29 22:21:06 +01:00
"variable_type": "integer",
2025-10-27 21:59:39 +01:00
"path": "a_family.an_other_family.a_variable",
"names": [
"a_variable"
],
"description": "A new variable.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"gen_examples": [
2
],
"mandatory_without_value": false
2025-10-27 21:59:39 +01:00
}
}
}
}