Documentation
¶
Overview ¶
Package schema exposes the embedded Claude Code plugin and marketplace JSON schemas.
The schemas are a synthesis of Anthropic's published plugin docs (code.claude.com/docs/en/plugins-reference and plugin-marketplaces), the unofficial hesreallyhim/claude-code-json-schema project, and real plugin.json files in the wild. They are deliberately a touch stricter than the official CLI validator in some places (semver pattern on version) and stricter than docs in others (additionalProperties: false at the top level). Runtime rules in internal/rules handle cases that do not round-trip cleanly through JSON Schema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarketplaceSchema ¶
func MarketplaceSchema() []byte
MarketplaceSchema returns the bytes of the marketplace.json schema.
func PluginSchema ¶
func PluginSchema() []byte
PluginSchema returns the bytes of the plugin.json schema.