Skip to main content
Zorid fields are frontmatter values stored directly in Markdown files. Types are optional schemas that make a subset of those fields typed, visible, validated, and editor-enhanced.
Fields belong to the file. A Type controls which fields are active, grouped, typed, validated, and shown with richer editors.

Field syntax

v0 field syntax is YAML frontmatter:

Primitive inference

Without a Type, Zorid still indexes fields and infers primitives from YAML:

Types (.ztype)

Default location: .zorid/types/*.ztype.
Supported v0 types: string, int, float, boolean, date, datetime, select, multiselect.

Linking a file to a Type

zorid.type references the Type ID, not a path. The Type registry resolves IDs from .zorid/types/*.ztype and reports conflicts.

Notion-like preservation

If a file removes its zorid.type:
  • Field values remain in frontmatter.
  • The Task field box disappears.
  • Fields become raw / ad-hoc metadata.
  • Data Views can still query them.
If the file later re-adds zorid.type: task:
  • The Task field box reappears.
  • Previous field values are reused.
  • Select / date / multiselect editors and validation resume.

UI shape

Source

Full Fields & Types spec on GitHub.