schemautils

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package schemautils provides functions to validate JSON documents against JSON Schema files.

Index

Constants

This section is empty.

Variables

View Source
var JSONSchemas embed.FS

JSONSchemas is the embedded JSON Schema files.

Functions

func JSONSchemaErrors

func JSONSchemaErrors(document []byte, schema ...string) *gojsonschema.Result

JSONSchemaErrors validates a JSON document against a JSON Schema file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL