mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 10:32:35 -05:00
added json-schema for config/dns.json
This commit is contained in:
28
schemas/config/dns.json
Normal file
28
schemas/config/dns.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z_][a-zA-Z0-9_]*$": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Primary": {
|
||||
"type": "string",
|
||||
"format": "ipv4"
|
||||
},
|
||||
"Secondary": {
|
||||
"type": "string",
|
||||
"format": "ipv4"
|
||||
},
|
||||
"Primary6": {
|
||||
"type": "string",
|
||||
"format": "ipv6"
|
||||
},
|
||||
"Secondary6": {
|
||||
"type": "string",
|
||||
"format": "ipv6"
|
||||
}
|
||||
},
|
||||
"required": ["Primary", "Secondary", "Primary6", "Secondary6"]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user