From 8c46cc4689dbe805f5a18015e7d84a44d607ad33 Mon Sep 17 00:00:00 2001 From: Phillip Long Date: Fri, 16 Feb 2024 12:58:05 -0500 Subject: [PATCH] Example of the use of evidence in OBv3 VC --- index.html | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a8d176d0f..dba257579 100644 --- a/index.html +++ b/index.html @@ -3670,7 +3670,51 @@

Evidence

} } - +
+{
+  "@context": [
+    "https://www.w3.org/ns/credentials/v2",
+    "https://www.w3.org/ns/credentials/examples/v2",
+    "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
+  ],
+  "id": "http://1edtech.edu/credentials/3732",
+  "type": [
+    "VerifiableCredential",
+    "OpenBadgeCredential"
+  ],
+  "issuer": {
+    "id": "https://1edtech.edu/issuers/565049",
+    "type": "Profile"
+  },
+  "credentialSubject": {
+    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
+    "type": "AchievementSubject",
+    "name": "Alice Smith",
+    "activityEndDate": "2023-12-02T00:00:00Z",
+    "activityStartDate": "2023-12-01T00:00:00Z",
+    "awardedDate": "2024-01-01T00:00:00Z",
+    "achievement": [{
+      "id": "urn:uuid:d46e8ef1-c647-419b-be18-5e045d1c4e64",
+      "type": ["Achievement"],
+      "name": "Basic Barista Training",
+      "criteria": {
+        "narrative": "Team members are nominated for this badge by their supervisors, after passing the Basic Barista Training course."
+      },
+      "description": "This achievement certifies that the bearer is proficient in basic barista skills."
+    }]
+  },
+  "evidence": [{
+      // url to an externally hosted evidence file/artifact
+      "id": "https://videos.example.com/training/alice-espresso.mp4",
+      "type": ["Evidence"],
+       "name": "Talk-aloud video of double espresso preparation",
+      "description": "This is a talk-aloud video of Alice demonstrating preparation of a double espresso drink.",
+      // digest hash of the mp4 video file
+       "digestSRI": "sha384-zNNbQTWCSUSi0bbz7dbua...OHdzwELMYO9Mz68M26"
+    } 
+  ]
+}
+

In this `evidence` example, the [=issuer=] is asserting that they physically matched the [=subject=] of the [=credential=] to a physical