1
0
Эх сурвалжийг харах

chore: update json schema

NateScarlet 6 жил өмнө
parent
commit
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"]
 }