fix: fix dailyScheduleSchema
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user