digitalcredentials / web-verifier-plus

VerifierPlus allows users to verify any supported digital academic credential
https://verifierplus.org
MIT License
7 stars 8 forks source link

Open Badges 3.0 Display #85

Closed kayaelle closed 1 year ago

kayaelle commented 1 year ago

This issue explains which Open Badges 3.0 fields the VerifierPlus should display if a Verifiable Credential also contains the type: "AchievementCredential" or "OpenBadgeCredential". The list of fields begins here:

https://1edtech.github.io/openbadges-specification/ob_v3p0.html#achievementcredential

Required properties are bolded. Otherwise, display only if the value exists.

Issuer: Issuer Information (https://1edtech.github.io/openbadges-specification/ob_v3p0.html#org.1edtech.ob.v3p0.profile.class)

kayaelle commented 1 year ago

Some test credentials can be found here: https://github.com/jchartrand/dcc-test-creds/tree/main

We will make more and link to here.

kayaelle commented 1 year ago

Adding this note in reference to: Open Badges 3.0 Display

AchievementCredential and OpenBadgeCredential are synonymous in the OBv3 spec. As a reference from the schema (https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json): " "type" : { "oneOf" : [ { "description" : "The value of the type property MUST be an unordered set. One of the items MUST be the URI 'VerifiableCredential', and one of the items MUST be the URI 'AchievementCredential' or the URI 'OpenBadgeCredential'.",

What we should do is look for both and then display the same fields for both so that when you add the missing fields for "OpenBadgeCredential" they display for both

bmuramatsu commented 1 year ago

Removed

kayaelle commented 1 year ago

Looks ok for 'OpenBadgeCredential'. Will create a follow-up ticket for example badges that are of type 'AchievementCredential' to test display - @jmcioffi4 please note for QA script.

Another follow ticket to consider display of VC without 'AchievementCredential' or the URI 'OpenBadgeCredential'. and how to accommodate @contexts that we can't plan for in advance.

kayaelle commented 1 year ago

Related to https://github.com/digitalcredentials/learner-credential-wallet/issues/460