From 8e29141c344d415087419c605bba7f07caa57cf4 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Thu, 26 Sep 2024 16:57:54 +0100 Subject: [PATCH] [ML] Updating calendars schema (#194160) Updating schema to add `skip_result`, `skip_model_update` and `force_time_shift` --- x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts b/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts index 1ca473d77661a..7b0dead93a629 100644 --- a/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts +++ b/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts @@ -20,6 +20,9 @@ export const calendarSchema = schema.object({ description: schema.maybe(schema.string()), start_time: schema.oneOf([schema.string(), schema.number()]), end_time: schema.oneOf([schema.string(), schema.number()]), + skip_result: schema.maybe(schema.boolean()), + skip_model_update: schema.maybe(schema.boolean()), + force_time_shift: schema.maybe(schema.number()), }) ), });