validate

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDraft4 added in v0.6.0

func IsDraft4(path string) error

IsDraft4 returns an error if the input file is not a valid draft4 JSON schema

func IsStructuralSchema added in v0.6.0

func IsStructuralSchema(path string) error

IsStructuralSchema returns an error if the input file is not a valid structural schema

func TaxonomyCheck

func TaxonomyCheck(resourceJSON []byte, schemaPath string) ([]*field.Error, error)

TaxonomyCheck validates the given resource JSON against a 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