jsonschema

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

(C) Copyright 2024 Hewlett Packard Enterprise Development LP

(C) Copyright 2024 Hewlett Packard Enterprise Development LP

(C) Copyright 2024 Hewlett Packard Enterprise Development LP

(C) Copyright 2024 Hewlett Packard Enterprise Development LP

Index

Constants

This section is empty.

Variables

View Source
var ErrConditionNotApplied = fmt.Errorf("no translation rules are supported for this condition")

Functions

func CreateSchema

func CreateSchema(path string, options CreateSchemaOptions) (map[string]any, error)

Types

type CreateSchemaOptions

type CreateSchemaOptions struct {
	RequireAll                bool
	AllowAdditionalProperties bool
	AllowEmpty                bool
	DebugOut                  bool
	SuppressLogging           bool
	NullableAll               bool
	IgnoreVariables           []string
	RootProperties            map[string]string
}

type ValidationApplyError

type ValidationApplyError struct {
	ErrorMap map[string]error
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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