hyperion.ng/libsrc/hyperion/schema/schema-network.json

81 lines
1.5 KiB
JSON
Raw Normal View History

{
"type" : "object",
"title" : "edt_conf_net_heading_title",
"required" : true,
"properties" :
{
"apiAuth" :
{
"type" : "boolean",
"title" : "edt_conf_net_apiAuth_title",
"required" : true,
"default" : true,
"propertyOrder" : 1
},
"internetAccessAPI" :
{
"type" : "boolean",
"title" : "edt_conf_net_internetAccessAPI_title",
"required" : true,
"default" : false,
"options": {
"dependencies": {
"apiAuth": true
}
},
"propertyOrder" : 2
},
"restirctedInternetAccessAPI" :
{
"type" : "boolean",
"title" : "edt_conf_net_restirctedInternetAccessAPI_title",
"required" : true,
"default" : false,
"options": {
"dependencies": {
"internetAccessAPI": true
}
},
"propertyOrder" : 3
},
"ipWhitelist" :
{
"type" : "array",
"title" : "edt_conf_net_ipWhitelist_title",
"required" : true,
"items" : {
"type": "string",
"title" : "edt_conf_net_ip_itemtitle"
},
"options": {
"dependencies": {
"restirctedInternetAccessAPI": true
}
},
"propertyOrder" : 4
},
"localApiAuth" :
{
"type" : "boolean",
"title" : "edt_conf_net_localApiAuth_title",
"required" : true,
"default" : false,
"options": {
"dependencies": {
"apiAuth": true
}
},
"propertyOrder" : 5
},
"localAdminAuth" :
{
"type" : "boolean",
"title" : "edt_conf_net_localAdminAuth_title",
"required" : true,
2019-08-25 17:44:20 +02:00
"default" : true,
"propertyOrder" : 5
}
},
"additionalProperties" : false
}