58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"schema": {
|
|
"options": {
|
|
"name": "options",
|
|
"properties": {
|
|
"options.hostname1": {
|
|
"name": "options.hostname1",
|
|
"title": "Domainname Description",
|
|
"type": "domain"
|
|
},
|
|
"options.hostname2": {
|
|
"name": "options.hostname2",
|
|
"title": "Domainname without dot Description",
|
|
"type": "domain"
|
|
},
|
|
"options.hostname3": {
|
|
"name": "options.hostname3",
|
|
"title": "Hostname or IP Description",
|
|
"type": "domain"
|
|
},
|
|
"options.hostname4": {
|
|
"name": "options.hostname4",
|
|
"title": "Netbios Description",
|
|
"type": "domain"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Common configuration"
|
|
}
|
|
},
|
|
"model": [],
|
|
"form": [
|
|
{
|
|
"type": "input",
|
|
"pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$",
|
|
"key": "options.hostname1"
|
|
},
|
|
{
|
|
"type": "input",
|
|
"pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$",
|
|
"key": "options.hostname2"
|
|
},
|
|
{
|
|
"type": "input",
|
|
"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]?)))$",
|
|
"key": "options.hostname3"
|
|
},
|
|
{
|
|
"type": "input",
|
|
"pattern": "^((?!-)[a-z0-9-]{1,15})$",
|
|
"key": "options.hostname4"
|
|
},
|
|
{
|
|
"title": "Configurer",
|
|
"type": "submit"
|
|
}
|
|
]
|
|
} |