diff --git a/bandura.json b/bandura.json index 6e03e8d..8d24d9a 100644 --- a/bandura.json +++ b/bandura.json @@ -8,8 +8,8 @@ "fd92:58b6:2b2::/48": { "description": "Bandura Communications", "dns": { - "nserver": "ns1.bandura.crxn", - "ds": "3115 15 2 37C7191FD4573523AAECDAAA127B983191B8F06C9CF0270C6B15CFFD609E8AB7" + "nserver": ["ns1.bandura.crxn"], + "ds": ["3115 15 2 37C7191FD4573523AAECDAAA127B983191B8F06C9CF0270C6B15CFFD609E8AB7"] }, "max-len": "48", "device": { diff --git a/schema.json b/schema.json index 86727a6..9932459 100644 --- a/schema.json +++ b/schema.json @@ -37,12 +37,22 @@ "type": "object", "properties": { "nserver": { - "type": "string", - "format": "hostname" + "type": "array", + "items": { + "type": "string", + "format": "hostname" + }, + "minItems": 1, + "uniqueItems": true }, "ds": { - "type": "string", - "pattern": "\\d{1,10} ([3-9]|1[0-6]) [1-4] [\\dA-F ]{40,384}" + "type": "array", + "items": { + "type": "string", + "pattern": "\\d{1,10} ([3-9]|1[0-6]) [1-4] [\\dA-F ]{40,384}" + }, + "minItems": 1, + "uniqueItems": true } }, "required": [