UNPKG

@digitalcredentials/verifier-core

Version:

For verifying Verifiable Credentials in the browser, Node.js, and React Native.

46 lines (45 loc) 1.68 kB
export const v2WithBadDidWeb = { "type": [ "VerifiableCredential", "OpenBadgeCredential" ], "name": "Teamwork Badge", "issuer": { "type": [ "Profile" ], "name": "Example Corp", "id": "did:web:digitalcredentials.github.io:dcc-did-web-bad" }, "@context": [ "https://www.w3.org/ns/credentials/v2", "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", "https://w3id.org/security/suites/ed25519-2020/v1" ], "validFrom": "2010-01-01T00:00:00Z", "credentialSubject": { "type": [ "AchievementSubject" ], "name": "Taylor Tuna", "achievement": { "id": "https://example.com/achievements/21st-century-skills/teamwork", "type": [ "Achievement" ], "name": "Masters - v2 - unrevoked", "criteria": { "narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management." }, "description": "This badge recognizes the development of the capacity to collaborate within a group environment." } }, "id": "urn:uuid:677fe8a6cacf98774d482d07", "proof": { "type": "Ed25519Signature2020", "created": "2025-01-21T17:20:42Z", "verificationMethod": "did:web:digitalcredentials.github.io:dcc-did-web-bad#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q", "proofPurpose": "assertionMethod", "proofValue": "z3exwX8VPoA2qME3WQdZ5RvCY9ahbUDDAXkm8Fb4zuCE5dnMWUVZrEN1q5hVmgroQq65WUwNiGHVgr2av5r7wRtb7" } };