浏览代码

chore: update json schema

NateScarlet 6 年之前
父节点
当前提交
04f646bfdd
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      schema.json

+ 4 - 2
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"]
 }