diff --git a/docs/Modders/schemas/uniques.json b/docs/Modders/schemas/uniques.json index 7f885c4bda..69dab79216 100644 --- a/docs/Modders/schemas/uniques.json +++ b/docs/Modders/schemas/uniques.json @@ -1,7 +1,19 @@ { + "$schema": "http://json-schema.org/draft-07/schema", "type": "array", "items": { "type": "string", - "pattern": "^[^><]*(\\<[^>]*\\>[^><]*)*$" + "allOf": [ + { + "type": "string", + "description": "All <> brackets come in pairs", + "pattern": "^[^><]*(\\<[^>]*\\>[^><]*)*$" + }, + { + "type": "string", + "description": "All [] brackets come in pairs", + "pattern": "^[^\\[\\]]*(\\[[^\\[\\]]*\\][^\\[\\]]*)*$" + } + ] } }