schema

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

Validator handles JSON schema validation

func NewValidator

func NewValidator(schemasDir string) (*Validator, error)

NewValidator creates a new schema validator

func (*Validator) ValidateIntent

func (v *Validator) ValidateIntent(data interface{}) error

ValidateIntent validates an intent document against the schema

func (*Validator) ValidateJobRegistry

func (v *Validator) ValidateJobRegistry(data interface{}) error

ValidateJobRegistry validates a job registry document

func (*Validator) ValidatePlan

func (v *Validator) ValidatePlan(data interface{}) error

ValidatePlan validates a plan document

Jump to

Keyboard shortcuts

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