Versions in this module Expand all Collapse all v1 v1.0.1 Dec 24, 2023 Changes in this version + func GetAllLocalSchemas() (map[string]string, error) + func IsAnyValidAgainstJSONSchema(data any, schema string) error + func IsValidAgainstJSONSchema(data, schema string) error + func IsValidJSON(maybeJSON string) bool + func IsValidJSONSchema(maybeSchema string) error + func LoadSchema(schemaFile File) (string, error) + type CachingLoader struct + func NewCachingLoader(schemas map[string]string) (*CachingLoader, error) + func (cl *CachingLoader) EnableHTTPCache() + func (cl *CachingLoader) GetCachedSchemas() ([]string, error) + type File string + const CredentialApplicationSchema + const CredentialManifestSchema + const CredentialResponseSchema + const DisplayMappingObjectSchema + const EntityStylesSchema + const LabeledDisplayMappingObjectSchema + const OutputDescriptorsSchema + const PresentationClaimFormatDesignationsSchema + const PresentationDefinitionEnvelopeSchema + const PresentationDefinitionSchema + const PresentationSubmissionSchema + const SubmissionClaimFormatDesignationsSchema + const SubmissionRequirementSchema + const SubmissionRequirementsSchema + func (s File) String() string