Skip to content

feat: add utopia-ambulance-driver OBv3 example credential#143

Open
applesnort wants to merge 3 commits into
credential-handler:mainfrom
applesnort:feat/utopia-ambulance-driver
Open

feat: add utopia-ambulance-driver OBv3 example credential#143
applesnort wants to merge 3 commits into
credential-handler:mainfrom
applesnort:feat/utopia-ambulance-driver

Conversation

@applesnort

Copy link
Copy Markdown

Summary

  • Adds credentials/utopia-ambulance-driver/ — a Utopia-namespaced OpenBadge v3 example credential
  • Uses https://www.w3.org/ns/credentials/v2 + https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json
  • Issued by "Utopia Department of Motor Vehicles", achievementType: Certificate
  • Follows the same pattern as utopia-dl, utopia-natcert, etc.

Related

  • Linear: DB-723 (EMSA Certificates / OBv3)

Test plan

  • Credential JSON loads in vc-playground issuer tile
  • Issues end-to-end into Veres wallet via OID4VCI

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@applesnort cc: @BigBlueHat

We might want to update the image.png file here at some point.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bparth24 because?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the note, Parth. Agreed — I've tracked it as DB-725 (sub-issue of DB-723) so it doesn't get lost. I'll swap in proper artwork once the full EMSA certificate type set is finalized.

Mind dismissing your review so this can merge? Benjamin has already approved.

…river

- Add SvgRenderingTemplate2024 with Lucide ambulance icon hex badge
- Add top-level description field
- Add image field pointing to rendered badge PNG
- Add build.js to embed image.svg template into credential.json
- Regenerate image.png from final SVG design
- Replace image.svg (was hex badge) with Lucide ambulance icon on
  light blue rounded-square background; regenerate image.png
- Add badge.svg as the hexagonal SvgRenderingTemplate2024 source
- Update build.js to read badge.svg instead of image.svg
- Move image field into credentialSubject.achievement per OBv3 spec
- Add credentialSubject.id
- Normalize issuer.type to array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants