diff --git a/x-pack/plugins/file_upload/server/schemas.ts b/x-pack/plugins/file_upload/server/schemas.ts index e5eda5d5ea7065..79db26cdb8c05b 100644 --- a/x-pack/plugins/file_upload/server/schemas.ts +++ b/x-pack/plugins/file_upload/server/schemas.ts @@ -18,7 +18,7 @@ export const importFileBodySchema = schema.object({ mappings: schema.any(), /** Ingest pipeline definition */ ingestPipeline: schema.object({ - id: schema.string(), - pipeline: schema.any(), + id: schema.maybe(schema.string()), + pipeline: schema.maybe(schema.any()), }), });