rougail-output-doc/tests/results/test/00_6port.json

112 lines
No EOL
2.2 KiB
JSON

{
"variable1": {
"type": "variable",
"properties": [
{
"type": "type",
"name": "port"
},
{
"type": "mode",
"name": "basic"
},
{
"type": "property",
"name": "mandatory"
}
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"path": "variable1",
"names": [
"variable1"
],
"description": "A port variable.",
"gen_examples": [
"111"
],
"mandatory_without_value": true
},
"variable2": {
"type": "variable",
"default": {
"name": "Default",
"values": "8080"
},
"properties": [
{
"type": "type",
"name": "port"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"path": "variable2",
"names": [
"variable2"
],
"description": "A port variable with default value.",
"gen_examples": [
"8080"
],
"mandatory_without_value": false
},
"variable3": {
"type": "variable",
"default": {
"name": "Default",
"values": "8080"
},
"properties": [
{
"type": "type",
"name": "port"
},
{
"type": "mode",
"name": "standard"
},
{
"type": "property",
"name": "mandatory"
}
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"path": "variable3",
"names": [
"variable3"
],
"description": "A port variable with integer default value.",
"gen_examples": [
"8080"
],
"mandatory_without_value": false
}
}