From 7b8ca9fd40245c3bf7f934b16e94905da8846b8f Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Mon, 18 Sep 2023 14:04:15 +0300 Subject: [PATCH] Add missing schema for "rmg" section of object description --- config/schemas/objectType.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config/schemas/objectType.json b/config/schemas/objectType.json index 5a955fa78..272e5d266 100644 --- a/config/schemas/objectType.json +++ b/config/schemas/objectType.json @@ -13,8 +13,27 @@ "type" : "number" }, "base" : { + "additionalProperties" : true, // Not validated on its own - instead data copied to main object and validated as part of it "type" : "object" }, + "rmg" : { + "additionalProperties" : false, + "type" : "object", + "properties" : { + "value" : { + "type" : "number" + }, + "mapLimit" : { + "type" : "number" + }, + "zoneLimit" : { + "type" : "number" + }, + "rarity" : { + "type" : "number" + } + } + }, "templates" : { "type" : "object", "additionalProperties" : {