Skip to content
OWLF
Esc
↑↓navigate↵open⌘Jpreview
On this page

JSON Schema

The machine-readable schema of an OWLF document.

Download schema/0.1.json (JSON Schema draft 2020-12). Point a document at it for editor validation:

{ "$schema": "https://owlf.org/schema/0.1.json", "owlf": "0.1" }

The schema checks structure. References and calendar dates need validateDocument from @owlf/core, which also exports the schema as documentJsonSchema() and as a zod schema, documentSchema.

The specification governs if the schema and the text conflict.

Was this page helpful?