schema

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCustomType

func RegisterCustomType(recordType string, schemaPath string, data []byte) error

func ResetCustomTypes

func ResetCustomTypes()

func ValidateAgainstSchema

func ValidateAgainstSchema(data []byte, schemaPath string) error

func ValidateCustomSchema

func ValidateCustomSchema(schemaPath string, data []byte) error

func ValidateRecord

func ValidateRecord(data []byte, recordType string) error

Types

type RecordType

type RecordType struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	SchemaPath  string `json:"schema_path"`
}

func ListRecordTypes

func ListRecordTypes() []RecordType

Jump to

Keyboard shortcuts

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