From ad6f47cc735cc6d7b7b4eb7eb5c899ca1b081f22 Mon Sep 17 00:00:00 2001 From: ThorodanBrom Date: Sun, 24 Sep 2023 12:18:55 +0530 Subject: [PATCH] Update resourceItemSchema.json - update `accessPolicy` enum for PII resource items Change `PPI`/`ppi` to `PII`/`pii` for `accessPolicy` enum validation --- .../iudx/catalogue/server/validator/resourceItemSchema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/iudx/catalogue/server/validator/resourceItemSchema.json b/src/main/resources/iudx/catalogue/server/validator/resourceItemSchema.json index 81b05544..64209a46 100644 --- a/src/main/resources/iudx/catalogue/server/validator/resourceItemSchema.json +++ b/src/main/resources/iudx/catalogue/server/validator/resourceItemSchema.json @@ -97,9 +97,9 @@ "default": "", "examples": [ "SECURE", - "ppi" + "pii" ], - "pattern": "^(SECURE|OPEN|PPI|secure|open|ppi)$" + "pattern": "^(SECURE|OPEN|PII|secure|open|pii)$" }, "instance": { "$id": "#/properties/instance",