schema

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package schema provides JSON Schema generation for structured evaluation types.

Index

Constants

This section is empty.

Variables

View Source
var ClaimsSchemaJSON []byte

ClaimsSchemaJSON is the embedded JSON Schema for ClaimsReport.

View Source
var RubricSchemaJSON []byte

RubricSchemaJSON is the embedded JSON Schema for Rubric.

View Source
var SummarySchemaJSON []byte

SummarySchemaJSON is the embedded JSON Schema for SummaryReport.

Functions

func GenerateClaimsSchema added in v0.6.0

func GenerateClaimsSchema() ([]byte, error)

GenerateClaimsSchema generates JSON Schema for ClaimsReport.

func GenerateRubricSchema added in v0.6.0

func GenerateRubricSchema() ([]byte, error)

GenerateRubricSchema generates JSON Schema for Rubric.

func GenerateSummarySchema

func GenerateSummarySchema() ([]byte, error)

GenerateSummarySchema generates JSON Schema for SummaryReport.

func WriteSchemaFile

func WriteSchemaFile(path string, data []byte) error

WriteSchemaFile writes schema bytes to a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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