Skip to main content

Module open_badge

Module open_badge 

Source
Expand description

Optional Open Badges v3 nested JSON export for SI-04.

Native attestation is the source of truth (owner 2026-09-15). This adapter does not replace identity::credentials::codecs::OpenBadgeCodec, which only stamps context/type onto a flat HashMap<String, String> subject.

Structs§

BadgeImage
Accessible badge image bound to a digest. Not proof of the claim.
InstrumentBadgeExport
Flattened export handle. InstrumentBadgeExport::to_json nests achievement/image.

Constants§

OB_V3_CONTEXT
Open Badges v3 context URL (same string as OpenBadgeCodec; not that codec).
VC_V1_CONTEXT
W3C VC 1.1 context required on every export.

Functions§

badge_export
Build an optional Open Badge export from a validated native attestation.