From ab4dc8f48b1152d4b147bd89f9f6927b24527901 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Thu, 5 Nov 2020 11:12:43 +0000 Subject: [PATCH] better schema order --- .../ml/server/routes/schemas/anomaly_detectors_schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts index 8063366a7c70c..6e203ae18f30f 100644 --- a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts +++ b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts @@ -83,7 +83,7 @@ export const analysisConfigSchema = schema.object({ influencers: schema.arrayOf(schema.maybe(schema.string())), categorization_field_name: schema.maybe(schema.string()), categorization_analyzer: schema.maybe(schema.any()), - categorization_filters: schema.arrayOf(schema.maybe(schema.string())), + categorization_filters: schema.maybe(schema.arrayOf(schema.string())), latency: schema.maybe(schema.number()), multivariate_by_fields: schema.maybe(schema.boolean()), per_partition_categorization: schema.maybe(