jsonschema

package
v0.0.0-...-2be5db1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dereference

func Dereference(anyVal interface{}, opts DereferenceOptions) (interface{}, error)

func Loader

func Loader(path string) gojsonschema.JSONLoader

Load a JSON Schema with or without a path prefix

func Validate

func Validate(schemaPath string, documentPath string) (*gojsonschema.Result, error)

Validate the input object against the schema

Types

type DereferenceOptions

type DereferenceOptions struct {
	Client *restclient.MassdriverClient
	Cwd    string
}

Jump to

Keyboard shortcuts

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