From 44b951670eb8e05d2a6b0b7ab21036039ce7014b Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Mon, 19 Feb 2024 15:29:52 +0100 Subject: [PATCH] Added new alias --- .../java/org/oneedtech/inspect/vc/VerifiableCredential.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/VerifiableCredential.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/VerifiableCredential.java index ae7daab..af1833b 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/VerifiableCredential.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/VerifiableCredential.java @@ -69,6 +69,8 @@ public class VerifiableCredential extends Credential { private static final Map> contextVersioningPatternMap = new ImmutableMap.Builder>() .put("https://purl.imsglobal.org/spec/ob/v3p0/context.json", List.of("https:\\/\\/purl\\.imsglobal\\.org\\/spec\\/ob\\/v3p0\\/context(-\\d+\\.\\d+\\.\\d+)*\\.json")) + .put("https://purl.imsglobal.org/spec/clr/v2p0/context.json", + List.of("https:\\/\\/purl\\.imsglobal\\.org\\/spec\\/clr\\/v2p0\\/context(-\\d+\\.\\d+\\.\\d+)*\\.json")) .build(); public enum Type implements CredentialEnum {