From 04cb5dd034e210988a093157479291403f29450b Mon Sep 17 00:00:00 2001 From: Markus Gylling Date: Fri, 9 Sep 2022 10:27:01 +0200 Subject: [PATCH] update contexts URLs --- .../inspect/vc/probe/ContextPropertyProbe.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/ContextPropertyProbe.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/ContextPropertyProbe.java index a72f26b..5747336 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/ContextPropertyProbe.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/probe/ContextPropertyProbe.java @@ -58,15 +58,18 @@ public class ContextPropertyProbe extends Probe { return success(ctx); } - private final static Map, List> values = new ImmutableMap.Builder, List>() - // TODO uris will change + private final static Map, List> values = new ImmutableMap.Builder, List>() .put(Set.of(OpenBadgeCredential, AchievementCredential, EndorsementCredential), List.of("https://www.w3.org/2018/credentials/v1", - "https://imsglobal.github.io/openbadges-specification/context.json")) + //"https://imsglobal.github.io/openbadges-specification/context.json")) //dev legacy + "https://purl.imsglobal.org/spec/ob/v3p0/context.json")) .put(Set.of(ClrCredential), List.of("https://www.w3.org/2018/credentials/v1", - "https://dc.imsglobal.org/draft/clr/v2p0/context", - "https://imsglobal.github.io/openbadges-specification/context.json")) +// "https://dc.imsglobal.org/draft/clr/v2p0/context", //dev legacy +// "https://imsglobal.github.io/openbadges-specification/context.json")) //dev legacy + "https://purl.imsglobal.org/spec/clr/v2p0/context.json", + "https://purl.imsglobal.org/spec/ob/v3p0/context.json")) + .build(); public static final String ID = ContextPropertyProbe.class.getSimpleName();