From 82564a7c10d027bdcf69065dd1c39058ac9b946f Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Thu, 7 Sep 2017 13:45:26 +0800 Subject: [PATCH] schema: add devicecgroup type pattern Signed-off-by: Ma Shimiao --- schema/defs-linux.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 4d9620a4a..737988a55 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -209,7 +209,8 @@ "type": "boolean" }, "type": { - "type": "string" + "type": "string", + "pattern": "^[abc]$" }, "major": { "$ref": "#/definitions/Major"