rougail-output-doc/tests/results/test_without_family/00_6ip.json

99 lines
2 KiB
JSON
Raw Permalink Normal View History

{
"var1": {
"type": "variable",
"default": {
"name": "Default",
"values": "1.1.1.1"
},
2025-11-29 22:21:06 +01:00
"variable_type": "IP",
"validators": {
"name": "Validator",
"values": "reserved IP are allowed"
},
"path": "var1",
"names": [
"var1"
],
"description": "An IP.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"gen_examples": [
"1.1.1.1"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
"default": {
"name": "Default",
"values": "1.1.1.1/24"
},
2025-11-29 22:21:06 +01:00
"variable_type": "IP",
"validators": {
"name": "Validators",
"values": [
"IP must be in CIDR format",
"reserved IP are allowed"
]
},
"path": "var2",
"names": [
"var2"
],
"description": "An IP in CIDR format.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"examples": {
"name": "Example",
"values": "192.168.0.128/25"
},
"gen_examples": [
"192.168.0.128/25"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
"default": {
"name": "Default",
"values": "1.1.1.1/24"
},
2025-11-29 22:21:06 +01:00
"variable_type": "CIDR",
"validators": {
"name": "Validator",
"values": "IP must be in CIDR format"
},
"path": "var3",
"names": [
"var3"
],
"description": "An IP in CIDR format with obsolete CIDR type.",
2025-11-29 22:21:06 +01:00
"properties": [
{
"type": "property",
"name": "mandatory",
"ori_name": "mandatory",
"access_control": false
}
],
"mode": "standard",
"gen_examples": [
"1.1.1.1/24"
],
"mandatory_without_value": false
}
}