extensions

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChecksExtension

func ChecksExtension() jsonschema.Extension

ChecksExtension creates the metaschema and returns the full jsonschema.Extension object, gluing together the metaschema, the compile function, and the validate function.

func ComparePropertiesExtension

func ComparePropertiesExtension() jsonschema.Extension

ComparePropertiesExtension instantiates the compareProperties extension.

func DisallowPropertiesExtension

func DisallowPropertiesExtension() jsonschema.Extension

DisallowPropertiesExtension instantiates the disallowProperties extension.

func EventuallyExtension

func EventuallyExtension() jsonschema.Extension

EventuallyExtension instantiates the eventually extension.

func EventuallyRequiredExtension

func EventuallyRequiredExtension() jsonschema.Extension

EventuallyRequiredExtension instantiates the eventuallyRequired extension.

func OptionalRefExtension

func OptionalRefExtension() jsonschema.Extension

OptionalRefExtension creates the metaschema and returns the full jsonschema.Extension object, gluing together the metaschema, the compile function, and the validate function.

func UnionExtension

func UnionExtension() jsonschema.Extension

UnionExtension instantiates the union extension.

Types

type JSON

type JSON = interface{}

JSON is the type for arbitrary JSON.

type JSONArray

type JSONArray = []interface{}

JSONArray is the type for JSON arrays.

type JSONObject

type JSONObject = map[string]interface{}

JSONObject is the type for JSON objects.

Jump to

Keyboard shortcuts

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