mirror of
https://github.com/tiennm99/open-domains.git
synced 2026-10-15 10:15:31 +00:00
Update domain.schema.json
This commit is contained in:
1 parent
d234030be3
commit
549d6e9db3
1 file changed
+16
-16
+16
-16
@@ -14,9 +14,9 @@
|
||||
"domain": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"is-local.org",
|
||||
"is-not-a.dev",
|
||||
"localplayer.dev",
|
||||
"is-local.org"
|
||||
"localplayer.dev"
|
||||
]
|
||||
},
|
||||
"subdomain": {
|
||||
@@ -307,7 +307,7 @@
|
||||
"properties": {
|
||||
"repo": {
|
||||
"type": "string",
|
||||
"description": "Path to the github repository"
|
||||
"description": "GitHub repository"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
@@ -319,14 +319,6 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"TXT": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 255
|
||||
}
|
||||
},
|
||||
"A": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -358,14 +350,17 @@
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9._-]{3,}$"
|
||||
}
|
||||
},
|
||||
"TXT": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 255
|
||||
}
|
||||
}
|
||||
},
|
||||
"anyOf": [
|
||||
{
|
||||
"required": [
|
||||
"TXT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"A"
|
||||
@@ -385,6 +380,11 @@
|
||||
"required": [
|
||||
"NS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"TXT"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user