From 81125d2911b4db62e5c2f0fe1d4ca6ce4bc51f21 Mon Sep 17 00:00:00 2001 From: Nis Jespersen Date: Thu, 31 Aug 2023 17:10:27 +0200 Subject: [PATCH] feat: example both with revocation and suspension --- index.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index f1325bc..ce0fb00 100644 --- a/index.html +++ b/index.html @@ -368,13 +368,21 @@

BitStringStatusListEntry

"type": ["VerifiableCredential"], "issuer": "did:example:12345", "issued": "2021-04-05T14:27:42Z", - "credentialStatus": { - "id": "https://example.com/credentials/status/3#94567" - "type": "BitStringStatusListEntry", - "statusPurpose": "revocation", - "statusListIndex": "94567", - "statusListCredential": "https://example.com/credentials/status/3" - }, + "credentialStatus": [ + { + "id": "https://example.com/credentials/status/3#94567" + "type": "BitStringStatusListEntry", + "statusPurpose": "revocation", + "statusListIndex": "94567", + "statusListCredential": "https://example.com/credentials/status/3" + }, { + "id": "https://example.com/credentials/status/4#23452" + "type": "BitStringStatusListEntry", + "statusPurpose": "suspension", + "statusListIndex": "23452", + "statusListCredential": "https://example.com/credentials/status/4" + } + ], "credentialSubject": { "id": "did:example:6789", "type": "Person"