Documentation Index
Fetch the complete documentation index at: https://aidocs.zorid.app/llms.txt
Use this file to discover all available pages before exploring further.
.zbase files define ordered views over Markdown files and their indexed metadata. They are canonical, human-readable YAML and can be embedded from Markdown.
v0 .zbase schema
Top-level fields
| Field | Required | Notes |
|---|---|---|
schemaVersion | yes | v0 supports 1 |
id | yes | unique base ID, lowercase recommended |
name | yes | display name |
views | yes | one or more views |
description | no | help text |
View fields
| Field | Required | Notes |
|---|---|---|
type | yes | core readable type or plugin namespaced type |
name | yes | display name |
filters | yes | filter tree |
id | no | generated from name if missing |
sort | no | ordered sort specs |
groupBy | no | grouping spec |
table, table-2).
Core view types
table and list. Others remain valid schema values but show a “not implemented yet” placeholder until renderer support exists. Plugin renderers use namespaced types like charts.bar, acme.matrix.
Filter tree shape
and, or, not. Empty and is true; empty or is false.
Expression grammar
Filters are Zorid-defined expression strings parsed to AST. The parser must never useeval, new Function, or arbitrary JavaScript.
"task").
Operators and helpers
Operators:==, !=, >, >=, <, <=, in, contains.
File helpers
Special fields
Missing field behavior
Validation
- Invalid base schema → mark whole base invalid; show error; don’t rewrite user file.
- Invalid view or filter → mark that view invalid; other views remain usable.
- Unknown plugin renderer type → placeholder; other views remain usable.
Source
Full
.zbase schema and filter grammar on GitHub.