Browse Source

Fixes for template schema.

DjWarmonger 10 năm trước cách đây
mục cha
commit
d6225f50e1
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      config/schemas/template.json

+ 17 - 0
config/schemas/template.json

@@ -44,6 +44,23 @@
 			"minimum": 1,
 			"additionalProperties" : false,
 		}
+		"connection":
+		{
+			required: ["a", "b", "guard"]
+			properties:{
+				"a":{
+					"type" : "string"
+				},
+				"b":{
+					"type" : "string"
+				},
+				"guard":
+				{
+					"type": "number",
+					"minimum" : 0
+				}
+			}
+		}
 	},
 
 	"properties":