Browse Source

Fix bonus schema to support array in duration

alexvins 11 years ago
parent
commit
c7f57406eb
1 changed files with 4 additions and 1 deletions
  1. 4 1
      config/schemas/bonus.json

+ 4 - 1
config/schemas/bonus.json

@@ -19,7 +19,10 @@
 			"description": "description"
 		},
 		"duration": {
-			"type":"string",
+                        "anyOf" : [
+                                { "type": "string"},
+                                { "type": "array", "items": {"type": "string"} }
+                        ],
 			"description": "duration"
 		},
 		"effectRange": {