فهرست منبع

dropped requirements for base in skill.json

Henning Koehler 8 سال پیش
والد
کامیت
5e28202f94
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      config/schemas/skill.json

+ 4 - 2
config/schemas/skill.json

@@ -26,11 +26,13 @@
             }
         },
 
-        "required" : ["base", "basic", "advanced", "expert"],
+        "required" : ["basic", "advanced", "expert"],
 
         "properties": {
             "base":{
-                "$ref" : "#/definitions/skillBonus"
+                "type": "object",
+                "description": "will be merged with all levels",
+                "additionalProperties": true
             },
             "basic":{
                 "$ref" : "#/definitions/skillBonus"