From 549d6e9db307e04018e1588e786bac2291759a1f Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 7 Dec 2022 06:22:48 +0800 Subject: [PATCH] Update domain.schema.json --- schemas/domain.schema.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/schemas/domain.schema.json b/schemas/domain.schema.json index b24925b7..6dcae39c 100644 --- a/schemas/domain.schema.json +++ b/schemas/domain.schema.json @@ -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" + ] } ] },