Skip to content

Commit d17b10a

Browse files
authored
Use v2 JSON-LD context with derive endpoint requests (#1811) (#1830)
1 parent 098d6a3 commit d17b10a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+54
-54
lines changed

access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class AccessGrantClient {
9494

9595
private static final String CONTEXT = "@context";
9696
private static final String VC_CONTEXT_URI = "https://www.w3.org/2018/credentials/v1";
97-
private static final String INRUPT_CONTEXT_URI = "https://schema.inrupt.com/credentials/v1.jsonld";
97+
private static final String INRUPT_CONTEXT_URI = "https://schema.inrupt.com/credentials/v2.jsonld";
9898
private static final String VERIFIABLE_CREDENTIAL = "verifiableCredential";
9999
private static final String SOLID_VC_NAMESPACE = "http://www.w3.org/ns/solid/vc#";
100100
private static final String SOLID_VC_QN = "vc:";

access-grant/src/test/resources/access_denial2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.test/credential/39a4fdd4-44b0-48a5-a9b5-7a9b648e9a67",
1111
"type":["VerifiableCredential","vc:SolidAccessDenial"],
1212
"issuer":"https://accessgrant.test",

access-grant/src/test/resources/access_grant1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.example/credential/5c6060ad-2f16-4bc1-b022-dffb46bff626",
1111
"type":["VerifiableCredential","SolidAccessGrant"],
1212
"issuer":"https://accessgrant.example",

access-grant/src/test/resources/access_grant2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.example/credential/5c6060ad-2f16-4bc1-b022-dffb46bff626",
1111
"type":["VerifiableCredential","SolidAccessGrant"],
1212
"issuer":"https://accessgrant.example",

access-grant/src/test/resources/access_grant3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.example/credential/5c6060ad-2f16-4bc1-b022-dffb46bff626",
1111
"type":["VerifiableCredential","SolidAccessGrant"],
1212
"issuer":"https://accessgrant.example",

access-grant/src/test/resources/access_request1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.test/credential/d604c858-209a-4bb6-a7f8-2f52c9617cab",
1111
"type":["VerifiableCredential","SolidAccessRequest"],
1212
"issuer":"https://accessgrant.test",

access-grant/src/test/resources/access_request2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.test/credential/d604c858-209a-4bb6-a7f8-2f52c9617cab",
1111
"type":["VerifiableCredential","SolidAccessRequest"],
1212
"issuer":"https://accessgrant.test",

access-grant/src/test/resources/access_request3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"https://www.w3.org/2018/credentials/v1",
77
"https://w3id.org/security/suites/ed25519-2020/v1",
88
"https://w3id.org/vc-revocation-list-2020/v1",
9-
"https://schema.inrupt.com/credentials/v1.jsonld"],
9+
"https://schema.inrupt.com/credentials/v2.jsonld"],
1010
"id":"https://accessgrant.test/credential/d604c858-209a-4bb6-a7f8-2f52c9617cab",
1111
"type":["VerifiableCredential","vc:SolidAccessRequest"],
1212
"issuer":"https://accessgrant.test",

access-grant/src/test/resources/alternative-vc-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"@context": [
33
"https://www.w3.org/2018/credentials/v1",
4-
"https://schema.inrupt.com/credentials/v1.jsonld"
4+
"https://schema.inrupt.com/credentials/v2.jsonld"
55
],
66
"issuerService": "{{baseUrl}}/issue",
77
"statusService": "{{baseUrl}}/status",

access-grant/src/test/resources/invalid_access_grant1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"https://www.w3.org/2018/credentials/v1",
44
"https://w3id.org/security/suites/ed25519-2020/v1",
55
"https://w3id.org/vc-revocation-list-2020/v1",
6-
"https://schema.inrupt.com/credentials/v1.jsonld"],
6+
"https://schema.inrupt.com/credentials/v2.jsonld"],
77
"id":"https://accessgrant.example/credential/5c6060ad-2f16-4bc1-b022-dffb46bff626",
88
"type":["VerifiableCredential","SolidAccessGrant"],
99
"issuer":"https://accessgrant.example",

0 commit comments

Comments
 (0)