From e19cac6c37389e7719f94f68d3ad9b95f9f1fa64 Mon Sep 17 00:00:00 2001 From: Jonas Groeger <jonas.groeger_extern@fjd.de> Date: Mon, 17 Jul 2023 11:54:12 +0200 Subject: [PATCH] feat: add case:<id> and reply:<id> to sub claim since we expand the API to handle replies, we need the reply in the sub claim. additionally, if we want to move away from using the 'txn' claim and use the 'sub' claim for cases, it must be possible to specify them in the sub claim. thats why case:<id> was added. --- spec/set-payload.schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/set-payload.schema.json b/spec/set-payload.schema.json index f588b79..dada5f5 100644 --- a/spec/set-payload.schema.json +++ b/spec/set-payload.schema.json @@ -25,9 +25,9 @@ "minimum": 1577833200 }, "sub": { - "description": "Das Subject ('sub') enthält 'submission:' und die UUID der Submission.", + "description": "Beschreibt, wen das SET betrifft.", "type": "string", - "pattern": "^submission:[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": "^(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}$" }, "txn": { "description": "Der Transaction Identifier ('txn') enthält 'case:' und die UUID des Cases.", -- GitLab