v2

package
v0.0.0-...-a0c03a0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

func (*Schema) Load

func (j *Schema) Load(schema []byte) error

Load given jsonschema.

func (*Schema) ValidateJSON

func (j *Schema) ValidateJSON(data []byte) error

Validate given data against loaded jsonschema.

func (*Schema) ValidateYAML

func (j *Schema) ValidateYAML(data []byte) error

Validate given yaml data against loaded jsonschema.

Jump to

Keyboard shortcuts

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