Skip to content

Plugin Schema

@jrtilak-recall/plugin-schema provides the Zod schemas and TypeScript types used to validate Recall plugin manifests and theme files.

View the package source on GitHub

For most plugin projects, you do not need to install the package or use its TypeScript types. Add the appropriate JSON Schema to your JSON file to get editor validation and autocomplete:

{
"$schema": "https://recall.jrtilak.dev/schemas/plugin-config/0.0.1.json"
}

Use the npm package when you need TypeScript types or runtime validation:

Terminal window
bun add @jrtilak-recall/plugin-schema

The package includes schemas for plugin metadata, Recall-specific configuration, permissions, manifest versions, categories, and theme color definitions.

See the default theme plugin for a complete plugin manifest and theme configuration example.