87 lines
No EOL
1.7 KiB
JSON
87 lines
No EOL
1.7 KiB
JSON
{
|
|
"general": {
|
|
"type": "family",
|
|
"informations": {
|
|
"path": "general",
|
|
"names": [
|
|
"general"
|
|
],
|
|
"description": "A family",
|
|
"properties": [
|
|
{
|
|
"type": "mode",
|
|
"name": "basic"
|
|
}
|
|
]
|
|
},
|
|
"children": {
|
|
"int": {
|
|
"type": "variable",
|
|
"properties": [
|
|
{
|
|
"type": "type",
|
|
"name": "integer"
|
|
},
|
|
{
|
|
"type": "mode",
|
|
"name": "basic"
|
|
},
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory"
|
|
}
|
|
],
|
|
"validators": {
|
|
"name": "Validators",
|
|
"values": [
|
|
"int and int2 must be different",
|
|
"int and int3 must be different"
|
|
]
|
|
},
|
|
"path": "general.int",
|
|
"names": [
|
|
"int"
|
|
],
|
|
"description": "A first integer.",
|
|
"examples": {
|
|
"name": "Example",
|
|
"values": 5
|
|
},
|
|
"gen_examples": [
|
|
5
|
|
],
|
|
"mandatory_without_value": true
|
|
},
|
|
"int2": {
|
|
"type": "variable",
|
|
"default": {
|
|
"name": "Default",
|
|
"values": 1
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "type",
|
|
"name": "integer"
|
|
},
|
|
{
|
|
"type": "mode",
|
|
"name": "standard"
|
|
},
|
|
{
|
|
"type": "property",
|
|
"name": "mandatory"
|
|
}
|
|
],
|
|
"path": "general.int2",
|
|
"names": [
|
|
"int2"
|
|
],
|
|
"description": "A second integer.",
|
|
"gen_examples": [
|
|
1
|
|
],
|
|
"mandatory_without_value": false
|
|
}
|
|
}
|
|
}
|
|
} |