Переглянути джерело

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"]
 }