From 69610f769710bf7286c0ff2197f533aed9a2f7ec Mon Sep 17 00:00:00 2001 From: David Porter Date: Tue, 30 Jun 2026 14:11:03 +1000 Subject: [PATCH] AP-9415 # add `emailClassificationId` to form schema --- CHANGELOG.md | 1 + src/lib/forms-schema/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f74b745..ce8c78f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - `sortBy` and `sortDirection` to `FormSearchOptions` +- `emailClassificationId` to form schema ## [13.1.7] - 2026-06-18 diff --git a/src/lib/forms-schema/index.ts b/src/lib/forms-schema/index.ts index f7d3e5b1..25d8259b 100644 --- a/src/lib/forms-schema/index.ts +++ b/src/lib/forms-schema/index.ts @@ -902,6 +902,7 @@ const formSchema = Joi.object().keys({ .required(), }), ), + emailClassificationId: Joi.number().integer().min(1), }) export const formEventTypes: SubmissionEventTypes.FormEventType[] = [