From 04f646bfdd9fbf306dced304ec30e1d58e8eeeb5 Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Wed, 11 Sep 2019 23:00:55 +0800 Subject: [PATCH] chore: update json schema --- schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/schema.json b/schema.json index 176f39b..f84a80e 100644 --- a/schema.json +++ b/schema.json @@ -20,8 +20,10 @@ "name": { "type": "string", "description": "节日名称" }, "date": { "type": "string", "description": "ISO 8601 日期" }, "isOffDay": { "type": "boolean", "description": "是否为休息日" } - } + }, + "required": ["name", "date", "isOffDay"] } } - } + }, + "required": ["year", "papers", "days"] }