From b6a47f145bab43c8262e69f82f9a2c1af75ad4d7 Mon Sep 17 00:00:00 2001 From: Bob Stasyszyn Date: Tue, 23 Aug 2022 12:44:06 -0400 Subject: [PATCH] chore: Update activity anchors context Added AnchorLink to context which defines the fields in the credential subject of an anchor credential. Signed-off-by: Bob Stasyszyn --- .../pkg/ldcontext/payload/activity-anchors-v1.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/internal/pkg/ldcontext/payload/activity-anchors-v1.json b/internal/pkg/ldcontext/payload/activity-anchors-v1.json index 021206d..d8ebe83 100644 --- a/internal/pkg/ldcontext/payload/activity-anchors-v1.json +++ b/internal/pkg/ldcontext/payload/activity-anchors-v1.json @@ -32,8 +32,18 @@ "type": "@type" } }, - "anchor": "https://w3id.org/activityanchors#anchor", - "profile": "https://w3id.org/activityanchors#profile" + "AnchorLink": { + "@id": "https://w3id.org/activityanchors#AnchorLink", + "@context": { + "@version": 1.1, + "@protected": true, + "type": "@type", + "href": "https://w3id.org/activityanchors#href", + "anchor": "https://w3id.org/activityanchors#anchor", + "profile": "https://w3id.org/activityanchors#profile", + "rel": "https://w3id.org/activityanchors#rel" + } + } } } }