update contexts URLs
This commit is contained in:
		
							parent
							
								
									2ee1e92e6b
								
							
						
					
					
						commit
						04cb5dd034
					
				@ -59,14 +59,17 @@ public class ContextPropertyProbe extends Probe<JsonNode> {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	private final static Map<Set<Credential.Type>, List<String>> values = new ImmutableMap.Builder<Set<Credential.Type>, List<String>>()			
 | 
			
		||||
			// TODO uris will change
 | 
			
		||||
			.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();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user