fix: fix dailyScheduleSchema

This commit is contained in:
2026-06-06 23:32:55 +09:00
parent a19fc3e508
commit 2e37358039

View File

@@ -46,6 +46,10 @@ const endTimeString = {
}; };
export const dailyScheduleSchema = { export const dailyScheduleSchema = {
type: "object",
additionalProperties: false,
properties: {
items: {
type: "array", type: "array",
minItems: 48, minItems: 48,
maxItems: 48, maxItems: 48,
@@ -58,8 +62,11 @@ export const dailyScheduleSchema = {
activity: { type: "string" }, activity: { type: "string" },
notes: { type: "string" }, notes: { type: "string" },
}, },
required: ["start", "end", "activity"], required: ["start", "end", "activity", "notes"],
}, },
},
},
required: ["items"],
}; };
export const monthlyScheduleSchema = { export const monthlyScheduleSchema = {