Files
plainleaf/website/Schema.md
T
2026-01-22 15:32:01 +01:00

17 lines
391 B
Markdown

SilverBullet relies on [JSON Schema](https://json-schema.org) for various types of validation, specifically:
* [[Tag#Custom tags]]
* [[^Library/Std/Config]] options
Often these schemas are encoded using [[Space Lua]], so take the shape of:
```lua
local schema = {
type = "object",
properties = {
-- ...
}
}
```
There are is the [[^Library/Std/APIs/Schema]] API for convenience.