archival schemas
Options
Arguments
[path/to/archival-site]
optionally specify a path to an archival site. By default will run in the current working directory.
Generates JSON Schema files from your site’s object definitions. These schemas describe the exact shape of each object type, which is useful for editor autocomplete and inline validation while you hand-edit object toml files, for validating data in CI, and for sending to LLMs that support structured outputs.
By default, a schema file is written for each object type (plus a root schema) into your site’s schemas_dir (schemas unless overridden in manifest.toml). To reference a generated schema from an object file, add a schema directive at the top of the file, for example:
#:schema ./schemas/post.schema.json