Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
fix: small change in schema format for clearness (#3316)
Browse files Browse the repository at this point in the history
Signed-off-by: heidihan0000 <daeun.han@avast.com>
  • Loading branch information
HeidiHan0000 committed Aug 5, 2022
1 parent 66d9bf3 commit 1d1ff78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/doc/cm/credentialmanifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ type LabeledDisplayMappingObject struct {
// Schema represents Type and (optional) Format information for a DisplayMappingObject that uses the Paths field,
// as defined in https://identity.foundation/credential-manifest/wallet-rendering/#using-path.
type Schema struct {
Type string `json:"type,omitempty"` // MUST be here
Format string `json:"format,omitempty"` // MAY be here if the Type is "string".
ContentMediaType string `json:"mediatype,omitempty"` // MAY be here if the Type is "string".
ContentEncoding string `json:"encoding,omitempty"` // MAY be here if the Type is "string".
Type string `json:"type,omitempty"` // MUST be here
Format string `json:"format,omitempty"` // MAY be here if the Type is "string".
ContentMediaType string `json:"contentMediaType,omitempty"` // MAY be here if the Type is "string".
ContentEncoding string `json:"contentEncoding,omitempty"` // MAY be here if the Type is "string".
}

type staticDisplayMappingObjects struct {
Expand Down

0 comments on commit 1d1ff78

Please sign in to comment.