From 621b3cb7b527a447d6ab5f5dce225f20f6909d58 Mon Sep 17 00:00:00 2001
From: Jonas Groeger <jonas.groeger_extern@fjd.de>
Date: Tue, 21 Nov 2023 14:57:19 +0100
Subject: [PATCH] fix: no events with case as subject

the sub claim refers to the subject of the SET. previously
we had events whose subject is the case (case-close-event).

since we no longer have this event, the case subject is no longer
needed.
---
 spec/set-payload.schema.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/set-payload.schema.json b/spec/set-payload.schema.json
index 5cf45c2..400a28c 100644
--- a/spec/set-payload.schema.json
+++ b/spec/set-payload.schema.json
@@ -27,7 +27,7 @@
     "sub": {
       "description": "Beschreibt, wen das SET betrifft.",
       "type": "string",
-      "pattern": "^(case|submission|reply):[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
+      "pattern": "^(submission|reply):[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
     },
     "txn": {
       "description": "Der Transaction Identifier ('txn') enthält 'case:' und die UUID des Cases.",
-- 
GitLab