jsonschema

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRootNotObject = errors.New("root type must be object")
	ErrUntyped       = errors.New("property must declare a type")
	ErrNested        = errors.New("nested fields are not allowed")
	ErrDynamicRef    = errors.New("$dynamicRef and $recursiveRef are not allowed")
)
View Source
var ErrEnumNotString = errors.New("enum values must be strings")

ErrEnumNotString reports a root property whose enum holds a value that is not a string.

Functions

func ReadAndValidate

func ReadAndValidate(r io.Reader) error

ReadAndValidate reads and validates an integration JSON Schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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