57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
|
{
|
||
|
"schema": {
|
||
|
"options": {
|
||
|
"name": "options",
|
||
|
"properties": {
|
||
|
"options.hostname1": {
|
||
|
"name": "options.hostname1",
|
||
|
"type": "domainname",
|
||
|
"title": "Domainname Description"
|
||
|
},
|
||
|
"options.hostname2": {
|
||
|
"name": "options.hostname2",
|
||
|
"type": "domainname",
|
||
|
"title": "Domainname without dot Description"
|
||
|
},
|
||
|
"options.hostname3": {
|
||
|
"name": "options.hostname3",
|
||
|
"type": "domainname",
|
||
|
"title": "Hostname or IP Description"
|
||
|
},
|
||
|
"options.hostname4": {
|
||
|
"name": "options.hostname4",
|
||
|
"type": "domainname",
|
||
|
"title": "Netbios Description"
|
||
|
}
|
||
|
},
|
||
|
"type": "object",
|
||
|
"title": "Common configuration"
|
||
|
}
|
||
|
},
|
||
|
"model": {},
|
||
|
"form": {
|
||
|
"options.hostname1": {
|
||
|
"pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$",
|
||
|
"type": "input"
|
||
|
},
|
||
|
"options.hostname2": {
|
||
|
"pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$",
|
||
|
"type": "input"
|
||
|
},
|
||
|
"options.hostname3": {
|
||
|
"pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$",
|
||
|
"type": "input"
|
||
|
},
|
||
|
"options.hostname4": {
|
||
|
"pattern": "^((?!-)[a-z0-9-]{1,15})$",
|
||
|
"type": "input"
|
||
|
},
|
||
|
"null": [
|
||
|
{
|
||
|
"title": "Configurer",
|
||
|
"type": "submit"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"version": "1.0"
|
||
|
}
|