Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSchemaInvalid = errors.New("schema invalid") ErrSchemaValidation = errors.New("schema validation failed") )
Functions ¶
func NormalizeSchema ¶
NormalizeSchema converts a schema definition into a JSON schema.
func ValidatePartialPayload ¶
ValidatePartialPayload validates payload without enforcing required fields.
func ValidatePayload ¶
ValidatePayload validates payload against the provided schema.
func ValidateSchema ¶
ValidateSchema ensures the schema can be compiled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.