From df1126377eb6108bb21551e4ebbd8ec3635af273 Mon Sep 17 00:00:00 2001
From: Jonas Groeger <jonas.groeger_extern@fjd.de>
Date: Mon, 17 Jul 2023 11:04:32 +0200
Subject: [PATCH] fix: sync problem pattern with submission api

---
 spec/problems.schema.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/problems.schema.json b/spec/problems.schema.json
index c82502a..1887e93 100644
--- a/spec/problems.schema.json
+++ b/spec/problems.schema.json
@@ -21,7 +21,7 @@
       "instance": {
         "description": "Betroffener Teil der Übertragung. Mögliche Werte: `submission`, `reply`, `metadata`, `data`, `attachment:` + UUID des Attachments oder `other`",
         "type": "string",
-        "pattern": "^(submission|reply|metadata|data|attachment:.+|other)$"
+        "pattern": "^(data|metadata|attachment:[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[4][0-9A-Fa-f]{3}-[89AB][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}|reply|submission|other)$"
       }
     },
     "required": [
-- 
GitLab