From ae3b567d3c57e5a99ad0b2305a47848ed2c78ed6 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sun, 18 Aug 2019 15:11:16 -0400 Subject: [PATCH] Add example of expanded issuer property. Related to issue #709. --- index.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/index.html b/index.html index b378a84a6..507484ca8 100644 --- a/index.html +++ b/index.html @@ -1611,6 +1611,35 @@

Issuer

} +

+It is also possible to express additional information about the issuer by +associating an object with the issuer property: +

+ +
+{
+  "@context": [
+    "https://www.w3.org/2018/credentials/v1",
+    "https://www.w3.org/2018/credentials/examples/v1"
+  ],
+  "id": "http://example.edu/credentials/3732",
+  "type": ["VerifiableCredential", "UniversityDegreeCredential"],
+  "issuer": {
+    "id": "did:example:76e12ec712ebc6f1c221ebfeb1f",
+    "name": "Example University"
+  },
+  "issuanceDate": "2010-01-01T19:23:24Z",
+  "credentialSubject": {
+    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
+    "degree": {
+      "type": "BachelorDegree",
+      "name": "Bachelor of Science and Arts"
+    }
+  },
+  "proof": { ... }
+}
+        
+

The value of the issuer property can also be a JWK (for example, "https://example.com/keys/foo.jwk") or a DID (for