rougail-output-doc/tests/results/test/20_9family_absolute.json

319 lines
No EOL
7.2 KiB
JSON

{
"var1": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "var1",
"names": [
"var1"
],
"description": "First variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"family": {
"type": "family",
"informations": {
"path": "family",
"names": [
"family"
],
"description": "A family",
"properties": [
{
"type": "mode",
"name": "basic"
}
]
},
"children": {
"var2": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "family.var2",
"names": [
"var2"
],
"description": "A second variable.",
"examples": {
"name": "Example",
"values": "string6"
},
"gen_examples": [
"string6"
],
"mandatory_without_value": true
},
"subfamily": {
"type": "family",
"informations": {
"path": "family.subfamily",
"names": [
"subfamily"
],
"description": "A sub family",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"variable": {
"type": "variable",
"default": {
"name": "Default",
"values": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "var1"
},
"description": "First variable"
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "family.var2"
},
"description": "A second variable"
}
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "family.subfamily.variable",
"names": [
"variable"
],
"description": "Third variable.",
"gen_examples": [
[
null,
null
]
],
"mandatory_without_value": false
}
}
}
}
},
"family2": {
"type": "family",
"informations": {
"path": "family2",
"names": [
"family2"
],
"description": "A family",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": {
"message": "the value of the variable \"{0}\"",
"path": {
"path": "family.var2"
},
"description": "A second variable"
}
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "family2.var2",
"names": [
"var2"
],
"description": "A variable2.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
"default": {
"name": "Default",
"values": "string4"
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"path": "family2.var3",
"names": [
"var3"
],
"examples": {
"name": "Example",
"values": "string5"
},
"gen_examples": [
"string5"
],
"mandatory_without_value": false
},
"subfamily": {
"type": "family",
"informations": {
"path": "family2.subfamily",
"names": [
"subfamily"
],
"description": "A sub family",
"properties": [
{
"type": "mode",
"name": "standard"
}
]
},
"children": {
"variable": {
"type": "variable",
"default": {
"name": "Default",
"values": [
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "var1"
},
"description": "First variable"
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "family.var2"
},
"description": "A second variable"
},
{
"message": "the value of the variable \"{0}\"",
"path": {
"path": "family2.var3"
},
"description": "Var3"
}
]
},
"properties": [
{
"type": "type",
"name": "string"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
},
{
"type": "property",
"name": "unique"
},
{
"type": "multiple",
"name": "multiple"
}
],
"path": "family2.subfamily.variable",
"names": [
"variable"
],
"description": "Fourth variable.",
"gen_examples": [
[
null,
null,
"string4"
]
],
"mandatory_without_value": false
}
}
}
}
}
}