Expand description
JSON Schema generation for NAP core types.
These schemas describe the NAP data model (manifest, commit, etc.)
in standard JSON Schema draft-2020-12 format. They are served by the
HTTP resolver at /schema/{name} and consumed by the MCP server’s
nap_get_schema tool so that agents can introspect the data model
without guessing field names or types.
Functions§
- commit_
schema - Returns the JSON Schema for a NAP Commit.
- manifest_
schema - Returns the JSON Schema for the full Manifest struct.
- validate_
commit - Validate a commit against the commit schema.
- validate_
manifest - Validate a manifest against the manifest schema.