2
0
Эх сурвалжийг харах

Fix bonus schema to support array in duration

alexvins 11 жил өмнө
parent
commit
c7f57406eb

+ 4 - 1
config/schemas/bonus.json

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