Reference¶ Complete documentation of the okf-schema Python API, CLI, and data models. Python API Reference Schema-declared file links Bundle operations Result types Data Models Validation Concepts Search and navigation Statistics CLI Reference Global options okf-schema init okf-schema new okf-schema validate okf-schema validate-md x-okf-link annotations okf-schema lint okf-schema list okf-schema show okf-schema index okf-schema stats okf-schema backlinks okf-schema kb Exit codes See also Knowledge Base Commands okfkb init okfkb install-skills okfkb new-finding okfkb update okfkb validate Navigating the KB okfkb search okfkb get okfkb read okfkb query okf-schema kb See also OKF-Schema vs. OKF Specification 1. Frontmatter is validated against JSONSchema 2. Root concepts and attachments See also 3. Additional properties are schema-controlled 4. Relative paths are preferred over bundle-relative paths Summary of differences What the linter does 5. links and backlinks — managed link metadata Validation Error & Warning Codes Error Codes (E0–E10) Warning Codes (W0–W15) Exit Codes Using --strict Mode Validation Scope Examples okfreq CLI reference Setup and authoring Inspect and validate Generated coverage and reports Lifecycle changes See also okfreq frontmatter reference Common fields Tier-specific Markdown bodies Generated and externally maintained fields Marker fields Extending the model okfreq configuration reference Settings Merging configuration Extending levels and fields