Documentation
¶
Overview ¶
Package schema compiles the published MCP JSON Schema files (mcp-schema/*.schema.json) and validates arbitrary Go values against any named $defs entry within them — the reusable round-trip validator SDK smoke tests and the mock referee both call.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry compiles and caches a jsonschema.Schema per (file, $defs name) pair, on demand.
func NewRegistry ¶
NewRegistry loads every mcp-schema/*.schema.json file embedded in the contracts package.
Click to show internal directories.
Click to hide internal directories.