瀏覽代碼

Fixes for template schema.

DjWarmonger 10 年之前
父節點
當前提交
d6225f50e1
共有 1 個文件被更改,包括 17 次插入0 次删除
  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":