Documentation
¶
Overview ¶
Package defaultlayout implements the repo plugin for the standard SIROS credential repository layout (co-located schema-meta + format files).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLayout ¶
type DefaultLayout struct{}
DefaultLayout handles the standard SIROS credential repository layout:
<slug>.schema-meta.yaml (TS11 governance) <slug>.vctm.json (SD-JWT VC Type Metadata) <slug>.mdoc.json (mDOC metadata) <slug>.vc.json (W3C VC schema) rulebook.md (co-located governance doc)
It also handles markdown files with vct: front matter (converted to VCTM) and legacy VCTM-only credentials (no schema-meta).
func (*DefaultLayout) Description ¶
func (d *DefaultLayout) Description() string
func (*DefaultLayout) Discover ¶
func (d *DefaultLayout) Discover(ctx repoplugin.Context) ([]repoplugin.DiscoveredCredential, error)
func (*DefaultLayout) Name ¶
func (d *DefaultLayout) Name() string
Click to show internal directories.
Click to hide internal directories.