فهرست منبع

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":