Explorar o código

Fixes for template schema.

DjWarmonger %!s(int64=10) %!d(string=hai) anos
pai
achega
d6225f50e1
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  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":