From b9a14f37255d8eb0cf733bea2eafc4324f228f9d Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Mon, 21 Mar 2016 18:32:48 +0100 Subject: [PATCH] [schema] Added minLength and maxLength to interface "mac" property --- netjsonconfig/schema.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netjsonconfig/schema.py b/netjsonconfig/schema.py index 31539e52c..0c7a7d6b6 100644 --- a/netjsonconfig/schema.py +++ b/netjsonconfig/schema.py @@ -146,6 +146,8 @@ "mac": { "type": "string", "title": "mac address", + "minLength": 17, + "maxLength": 17, "propertyOrder": 2, }, "mtu": {