浏览代码

Add missing schema for "rmg" section of object description

Ivan Savenko 2 年之前
父节点
当前提交
7b8ca9fd40
共有 1 个文件被更改,包括 19 次插入0 次删除
  1. 19 0
      config/schemas/objectType.json

+ 19 - 0
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" : {