sidebar-navigation-model

๐Ÿ“˜ Sidebar Navigation Schema โ€” Overview

Welcome to the official documentation for the Sidebar Navigation Schema!
This schema defines a modular, extensible, and deeply recursive data structure for modeling navigational sidebars in documentation platforms, developer portals, content-heavy sites, and schema-driven UIs.


๐Ÿ” Purpose

The Sidebar Navigation Schema provides a clear, structured way to represent hierarchical sidebar menus in YAML or JSON. It was designed to:


๐Ÿงฉ Why Use It?

Traditional sidebar configs (especially in static site generators) can quickly become unmanageable. This schema brings:


๐Ÿ› ๏ธ Core Design Concepts

๐Ÿงฑ Composition via $defs + allOf

The schema uses allOf composition to combine reusable fragments like labelledObject and commonMeta.

๐Ÿง  Reusable Definitions

Key components include:

๐Ÿ“ Metadata Support

Fields like:

These enable sidebar content to be parsed, indexed, rendered, or auto-labeled.


๐Ÿ”ฎ Whatโ€™s Next

Future versions of the schema may include:

Explore the definitions and integrations guide to go deeper โ€” this schema is built to scale with your content platform.