From fab69ff3e4d09730a9389b456ac8e37ac5dcc5e2 Mon Sep 17 00:00:00 2001
From: Christoph Metzger <christoph.metzger_extern@fjd.de>
Date: Mon, 25 Sep 2023 16:54:56 +0200
Subject: [PATCH] feat: Mark `forward-submission` as deprecated (planning#1292)

---
 CHANGELOG.md                 | 15 +++++++++++++++
 spec/set-payload.schema.json |  3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d510736..bd153a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,21 @@ Types of changes:
 * The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 * If available, include a ticket number in format `(planning#XXXX)`.
 
+## Unreleased
+
+### Added
+
+- `create-reply` event to document by zustelldienst that a reply has been created.
+- `submit-reply` event to document by zustelldienst that a reply has been submitted.
+- `notify-reply` event to document by zustelldienst that the sending system has gained knowledge of the reply.
+- `reject-reply` event to document by zustelldienst that a reply has been rejected.
+- `accept-reply` event to document by zustelldienst that a reply has been accepted.
+- `delete-reply` event to document by zustelldienst that a reply has been deleted.
+
+### Deprecated
+
+- Event `forward-submission` is deprecated.
+
 
 ## [1.1.0]
 
diff --git a/spec/set-payload.schema.json b/spec/set-payload.schema.json
index d1fac03..5cf45c2 100644
--- a/spec/set-payload.schema.json
+++ b/spec/set-payload.schema.json
@@ -72,7 +72,8 @@
         },
         "https://schema.fitko.de/fit-connect/events/forward-submission": {
           "description": "Mit diesem Event dokumentiert ein nachgelagertes System, dass es die Einreichung zur Weiterleitung übernommen hat.",
-          "type": "object"
+          "type": "object",
+          "deprecated": true
         },
         "https://schema.fitko.de/fit-connect/events/reject-submission": {
           "description": "Mit diesem Event dokumentiert das empfangende System, dass die Einreichung zurückgewiesen wird.",
-- 
GitLab