You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -286,7 +301,7 @@ public void validate() throws IllegalStateException {
286
301
validateRun(() -> { if (this.getId() != null) validateUrl(this.getId()); }, "'@id' must be a valid URI.");
287
302
validateRun(() -> { validateUrl(this.getIssuer()); }, "'issuer' must be a valid URI.");
288
303
validateRun(() -> { validateTrue(JSONLD_CONTEXT_CREDENTIALS.equals(this.getContext().get(0)) || JSONLD_CONTEXT_CREDENTIALS_NO_WWW.equals(this.getContext().get(0))); }, "First value of @context must be https://www.w3.org/2018/credentials/v1: " + this.getContext().get(0));
289
-
validateRun(() -> { for (Stringcontext : this.getContext()) validateUrl(context); }, "@context must be a valid URI: " + this.getContext());
304
+
validateRun(() -> { validateUrl(this.getContext().get(0)); }, "@context must be a valid URI: " + this.getContext().get(0));
0 commit comments